From 0250c9122d89be7d1d70267ae7f8e18802e28983 Mon Sep 17 00:00:00 2001 From: deen13 Date: Wed, 17 Mar 2021 13:36:52 +0000 Subject: [PATCH] Build --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 24930a4..6eb59f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1 +1 @@ -module.exports=(()=>{var __webpack_modules__={87351:function(e,t,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const r=n(i(12087));const s=i(5278);function issueCommand(e,t,i){const n=new Command(e,t,i);process.stdout.write(n.toString()+r.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,i){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=i}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const i in this.properties){if(this.properties.hasOwnProperty(i)){const n=this.properties[i];if(n){if(t){t=false}else{e+=","}e+=`${i}=${escapeProperty(n)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},42186:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){function adopt(e){return e instanceof i?e:new i(function(t){t(e)})}return new(i||(i=Promise))(function(i,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})};var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const s=i(87351);const a=i(717);const o=i(5278);const u=r(i(12087));const c=r(i(85622));var l;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(l=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const i=o.toCommandValue(t);process.env[e]=i;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${u.EOL}${i}${u.EOL}${t}`;a.issueCommand("ENV",n)}else{s.issueCommand("set-env",{name:e},i)}}t.exportVariable=exportVariable;function setSecret(e){s.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){a.issueCommand("PATH",e)}else{s.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${c.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const i=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!i){throw new Error(`Input required and not supplied: ${e}`)}return i.trim()}t.getInput=getInput;function setOutput(e,t){s.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){s.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=l.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){s.issueCommand("debug",{},e)}t.debug=debug;function error(e){s.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){s.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){s.issue("group",e)}t.startGroup=startGroup;function endGroup(){s.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return n(this,void 0,void 0,function*(){startGroup(e);let i;try{i=yield t()}finally{endGroup()}return i})}t.group=group;function saveState(e,t){s.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},717:function(e,t,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const r=n(i(35747));const s=n(i(12087));const a=i(5278);function issueCommand(e,t){const i=process.env[`GITHUB_${e}`];if(!i){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!r.existsSync(i)){throw new Error(`Missing file at path: ${i}`)}r.appendFileSync(i,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue},74087:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const n=i(35747);const r=i(12087);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(n.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(n.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${r.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)}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,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}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'")}}t.Context=Context},95438:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const a=s(i(74087));const o=i(73030);t.context=new a.Context;function getOctokit(e,t){return new o.GitHub(o.getOctokitOptions(e,t))}t.getOctokit=getOctokit},47914:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyAgent=t.getAuthString=void 0;const a=s(i(39925));function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new a.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},73030:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.context=void 0;const a=s(i(74087));const o=s(i(47914));const u=i(76762);const c=i(83044);const l=i(64193);t.context=new a.Context;const p=o.getApiBaseUrl();const d={baseUrl:p,request:{agent:o.getProxyAgent(p)}};t.GitHub=u.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(d);function getOctokitOptions(e,t){const i=Object.assign({},t||{});const n=o.getAuthString(e,i);if(n){i.auth=n}return i}t.getOctokitOptions=getOctokitOptions},39925:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(98605);const r=i(57211);const s=i(16443);let a;var o;(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"})(o=t.HttpCodes||(t.HttpCodes={}));var u;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(u=t.Headers||(t.Headers={}));var c;(function(e){e["ApplicationJson"]="application/json"})(c=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){let t=s.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const l=[o.MovedPermanently,o.ResourceMoved,o.SeeOther,o.TemporaryRedirect,o.PermanentRedirect];const p=[o.BadGateway,o.ServiceUnavailable,o.GatewayTimeout];const d=["OPTIONS","GET","DELETE","HEAD"];const f=10;const h=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise(async(e,t)=>{let i=Buffer.alloc(0);this.message.on("data",e=>{i=Buffer.concat([i,e])});this.message.on("end",()=>{e(i.toString())})})}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){let t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,i){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=t||[];this.requestOptions=i;if(i){if(i.ignoreSslError!=null){this._ignoreSslError=i.ignoreSslError}this._socketTimeout=i.socketTimeout;if(i.allowRedirects!=null){this._allowRedirects=i.allowRedirects}if(i.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=i.allowRedirectDowngrade}if(i.maxRedirects!=null){this._maxRedirects=Math.max(i.maxRedirects,0)}if(i.keepAlive!=null){this._keepAlive=i.keepAlive}if(i.allowRetries!=null){this._allowRetries=i.allowRetries}if(i.maxRetries!=null){this._maxRetries=i.maxRetries}}}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,i){return this.request("POST",e,t,i||{})}patch(e,t,i){return this.request("PATCH",e,t,i||{})}put(e,t,i){return this.request("PUT",e,t,i||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,i,n){return this.request(e,t,i,n)}async getJson(e,t={}){t[u.Accept]=this._getExistingOrDefaultHeader(t,u.Accept,c.ApplicationJson);let i=await this.get(e,t);return this._processResponse(i,this.requestOptions)}async postJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.post(e,n,i);return this._processResponse(r,this.requestOptions)}async putJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.put(e,n,i);return this._processResponse(r,this.requestOptions)}async patchJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.patch(e,n,i);return this._processResponse(r,this.requestOptions)}async request(e,t,i,n){if(this._disposed){throw new Error("Client has already been disposed.")}let r=new URL(t);let s=this._prepareRequest(e,r,n);let a=this._allowRetries&&d.indexOf(e)!=-1?this._maxRetries+1:1;let u=0;let c;while(u0){const a=c.message.headers["location"];if(!a){break}let o=new URL(a);if(r.protocol=="https:"&&r.protocol!=o.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.")}await c.readBody();if(o.hostname!==r.hostname){for(let e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}s=this._prepareRequest(e,o,n);c=await this.requestRaw(s,i);t--}if(p.indexOf(c.message.statusCode)==-1){return c}u+=1;if(u{let r=function(e,t){if(e){n(e)}i(t)};this.requestRawWithCallback(e,t,r)})}requestRawWithCallback(e,t,i){let n;if(typeof t==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let r=false;let s=(e,t)=>{if(!r){r=true;i(e,t)}};let a=e.httpModule.request(e.options,e=>{let t=new HttpClientResponse(e);s(null,t)});a.on("socket",e=>{n=e});a.setTimeout(this._socketTimeout||3*6e4,()=>{if(n){n.end()}s(new Error("Request timeout: "+e.options.path),null)});a.on("error",function(e){s(e,null)});if(t&&typeof t==="string"){a.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){a.end()});t.pipe(a)}else{a.end()}}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,i){const s={};s.parsedUrl=t;const a=s.parsedUrl.protocol==="https:";s.httpModule=a?r:n;const o=a?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(i);if(this.userAgent!=null){s.options.headers["user-agent"]=this.userAgent}s.options.agent=this._getAgent(s.parsedUrl);if(this.handlers){this.handlers.forEach(e=>{e.prepareRequest(s.options)})}return s}_mergeHeaders(e){const t=e=>Object.keys(e).reduce((t,i)=>(t[i.toLowerCase()]=e[i],t),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},t(this.requestOptions.headers),t(e))}return t(e||{})}_getExistingOrDefaultHeader(e,t,i){const n=e=>Object.keys(e).reduce((t,i)=>(t[i.toLowerCase()]=e[i],t),{});let r;if(this.requestOptions&&this.requestOptions.headers){r=n(this.requestOptions.headers)[t]}return e[t]||r||i}_getAgent(e){let t;let o=s.getProxyUrl(e);let u=o&&o.hostname;if(this._keepAlive&&u){t=this._proxyAgent}if(this._keepAlive&&!u){t=this._agent}if(!!t){return t}const c=e.protocol==="https:";let l=100;if(!!this.requestOptions){l=this.requestOptions.maxSockets||n.globalAgent.maxSockets}if(u){if(!a){a=i(74294)}const e={maxSockets:l,keepAlive:this._keepAlive,proxy:{proxyAuth:`${o.username}:${o.password}`,host:o.hostname,port:o.port}};let n;const r=o.protocol==="https:";if(c){n=r?a.httpsOverHttps:a.httpsOverHttp}else{n=r?a.httpOverHttps:a.httpOverHttp}t=n(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:l};t=c?new r.Agent(e):new n.Agent(e);this._agent=t}if(!t){t=c?r.globalAgent:n.globalAgent}if(c&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){e=Math.min(f,e);const t=h*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))}static dateTimeDeserializer(e,t){if(typeof t==="string"){let e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}async _processResponse(e,t){return new Promise(async(i,n)=>{const r=e.message.statusCode;const s={statusCode:r,result:null,headers:{}};if(r==o.NotFound){i(s)}let a;let u;try{u=await e.readBody();if(u&&u.length>0){if(t&&t.deserializeDates){a=JSON.parse(u,HttpClient.dateTimeDeserializer)}else{a=JSON.parse(u)}s.result=a}s.headers=e.message.headers}catch(e){}if(r>299){let e;if(a&&a.message){e=a.message}else if(u&&u.length>0){e=u}else{e="Failed request: ("+r+")"}let t=new HttpClientError(e,r);t.result=s.result;n(t)}else{i(s)}})}}t.HttpClient=HttpClient},16443:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getProxyUrl(e){let t=e.protocol==="https:";let i;if(checkBypass(e)){return i}let n;if(t){n=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{n=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(n){i=new URL(n)}return i}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let i;if(e.port){i=Number(e.port)}else if(e.protocol==="http:"){i=80}else if(e.protocol==="https:"){i=443}let n=[e.hostname.toUpperCase()];if(typeof i==="number"){n.push(`${n[0]}:${i}`)}for(let e of t.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(n.some(t=>t===e)){return true}}return false}t.checkBypass=checkBypass},56664:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(37233),t)},48698:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Attach=void 0;const n=i(75636);const r=i(71191);const s=i(76023);const a=i(47581);class Attach{constructor(e,t){this.handler=t||new a.WebSocketHandler(e)}attach(e,t,i,o,u,c,l){return n.__awaiter(this,void 0,void 0,function*(){const n={container:i,stderr:u!=null,stdin:c!=null,stdout:o!=null,tty:l};const p=r.stringify(n);const d=`/api/v1/namespaces/${e}/pods/${t}/attach?${p}`;const f=yield this.handler.connect(d,null,(e,t)=>{a.WebSocketHandler.handleStandardStreams(e,t,o,u);return true});if(c!=null){a.WebSocketHandler.handleStandardInput(f,c,a.WebSocketHandler.StdinStream)}if(s.isResizable(o)){this.terminalSizeQueue=new s.TerminalSizeQueue;a.WebSocketHandler.handleStandardInput(f,this.terminalSizeQueue,a.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(o)}return f})}}t.Attach=Attach},5434:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deleteObject=t.addOrUpdateObject=t.deleteItems=t.ListWatch=void 0;const n=i(75636);const r=i(88029);class ListWatch{constructor(e,t,i,n=true){this.path=e;this.watch=t;this.listFn=i;this.objects=[];this.indexCache={};this.callbackCache={};this.callbackCache[r.ADD]=[];this.callbackCache[r.UPDATE]=[];this.callbackCache[r.DELETE]=[];this.callbackCache[r.ERROR]=[];this.resourceVersion="";if(n){this.doneHandler(null)}}start(){return n.__awaiter(this,void 0,void 0,function*(){yield this.doneHandler(null)})}stop(){if(this.request){this.request.abort();this.request=undefined}}on(e,t){if(this.callbackCache[e]===undefined){throw new Error(`Unknown verb: ${e}`)}this.callbackCache[e].push(t)}off(e,t){if(this.callbackCache[e]===undefined){throw new Error(`Unknown verb: ${e}`)}const i=this.callbackCache[e].findIndex(e=>e===t);if(i===-1){return}this.callbackCache[e].splice(i,1)}get(e,t){return this.objects.find(i=>{return i.metadata.name===e&&(!t||i.metadata.namespace===t)})}list(e){if(!e){return this.objects}return this.indexCache[e]}latestResourceVersion(){return this.resourceVersion}doneHandler(e){return n.__awaiter(this,void 0,void 0,function*(){this.stop();if(e){this.callbackCache[r.ERROR].forEach(t=>t(e));return}const t=this.listFn();const i=yield t;const n=i.body;this.objects=deleteItems(this.objects,n.items,this.callbackCache[r.DELETE].slice());Object.keys(this.indexCache).forEach(e=>{const t=deleteItems(this.indexCache[e],n.items);if(t.length!==0){this.indexCache[e]=t}else{delete this.indexCache[e]}});this.addOrUpdateItems(n.items);this.request=yield this.watch.watch(this.path,{resourceVersion:n.metadata.resourceVersion},this.watchHandler.bind(this),this.doneHandler.bind(this))})}addOrUpdateItems(e){e.forEach(e=>{addOrUpdateObject(this.objects,e,this.callbackCache[r.ADD].slice(),this.callbackCache[r.UPDATE].slice());if(e.metadata.namespace){this.indexObj(e)}})}indexObj(e){let t=this.indexCache[e.metadata.namespace];if(!t){t=[];this.indexCache[e.metadata.namespace]=t}addOrUpdateObject(t,e)}watchHandler(e,t,i){switch(e){case"ADDED":case"MODIFIED":addOrUpdateObject(this.objects,t,this.callbackCache[r.ADD].slice(),this.callbackCache[r.UPDATE].slice());if(t.metadata.namespace){this.indexObj(t)}break;case"DELETED":deleteObject(this.objects,t,this.callbackCache[r.DELETE].slice());if(t.metadata.namespace){const e=this.indexCache[t.metadata.namespace];if(e){deleteObject(e,t)}}break;case"BOOKMARK":break}if(i&&i.metadata){this.resourceVersion=i.metadata.resourceVersion}}}t.ListWatch=ListWatch;function deleteItems(e,t,i){return e.filter(e=>{if(findKubernetesObject(t,e)===-1){if(i){i.forEach(t=>t(e))}return false}return true})}t.deleteItems=deleteItems;function addOrUpdateObject(e,t,i,n){const r=findKubernetesObject(e,t);if(r===-1){e.push(t);if(i){i.forEach(e=>e(t))}}else{e[r]=t;if(n){n.forEach(e=>e(t))}}}t.addOrUpdateObject=addOrUpdateObject;function isSameObject(e,t){return e.metadata.name===t.metadata.name&&e.metadata.namespace===t.metadata.namespace}function findKubernetesObject(e,t){return e.findIndex(e=>{return isSameObject(e,t)})}function deleteObject(e,t,i){const n=findKubernetesObject(e,t);if(n!==-1){e.splice(n,1);if(i){i.forEach(e=>e(t))}}}t.deleteObject=deleteObject},10032:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CloudAuth=void 0;const n=i(75636);const r=i(63129);const s=i(63269);class CloudAuth{isAuthProvider(e){if(!e||!e.authProvider){return false}return e.authProvider.name==="azure"||e.authProvider.name==="gcp"}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=this.getToken(e);if(i){t.headers.Authorization=`Bearer ${i}`}})}getToken(e){const t=e.authProvider.config;if(this.isExpired(t)){this.updateAccessToken(t)}return t["access-token"]}isExpired(e){const t=e["access-token"];const i=e.expiry;if(!t){return true}if(!i){return false}const n=Date.parse(i);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findObject=t.findHomeDir=t.bufferFromFileOrString=t.makeAbsolutePath=t.Config=t.KubeConfig=void 0;const n=i(75636);const r=i(55447);const s=i(35747);const a=i(11631);const o=i(85622);const u=i(21917);const c=i(33516);const l=i(56664);const p=i(10032);const d=i(86218);const f=i(18325);const h=i(38572);const m=i(41691);function fileExists(e){try{s.accessSync(e);return true}catch(e){return false}}class KubeConfig{constructor(){this.contexts=[];this.clusters=[];this.users=[]}getContexts(){return this.contexts}getClusters(){return this.clusters}getUsers(){return this.users}getCurrentContext(){return this.currentContext}setCurrentContext(e){this.currentContext=e}getContextObject(e){if(!this.contexts){return null}return findObject(this.contexts,e,"context")}getCurrentCluster(){const e=this.getCurrentContextObject();if(!e){return null}return this.getCluster(e.cluster)}getCluster(e){return findObject(this.clusters,e,"cluster")}getCurrentUser(){const e=this.getCurrentContextObject();if(!e){return null}return this.getUser(e.user)}getUser(e){return findObject(this.users,e,"user")}loadFromFile(e,t){const i=o.dirname(e);this.loadFromString(s.readFileSync(e,"utf8"),t);this.makePathsAbsolute(i)}applytoHTTPSOptions(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentUser();yield this.applyOptions(e);if(t&&t.username){e.auth=`${t.username}:${t.password}`}})}applyToRequest(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentCluster();const i=this.getCurrentUser();yield this.applyOptions(e);if(t&&t.skipTLSVerify){e.strictSSL=false}if(i&&i.username){e.auth={password:i.password,username:i.username}}})}loadFromString(e,t){const i=u.safeLoad(e);this.clusters=d.newClusters(i.clusters,t);this.contexts=d.newContexts(i.contexts,t);this.users=d.newUsers(i.users,t);this.currentContext=i["current-context"]}loadFromOptions(e){this.clusters=e.clusters;this.contexts=e.contexts;this.users=e.users;this.currentContext=e.currentContext}loadFromClusterAndUser(e,t){this.clusters=[e];this.users=[t];this.currentContext="loaded-context";this.contexts=[{cluster:e.name,user:t.name,name:this.currentContext}]}loadFromCluster(e=""){const t=process.env.KUBERNETES_SERVICE_HOST;const i=process.env.KUBERNETES_SERVICE_PORT;const n="inCluster";const r="inClusterUser";const s="inClusterContext";let o="https";if(i==="80"||i==="8080"||i==="8001"){o="http"}let u=t;if(t&&a.isIPv6(t)){u=`[${t}]`}this.clusters=[{name:n,caFile:`${e}${Config.SERVICEACCOUNT_CA_PATH}`,server:`${o}://${u}:${i}`,skipTLSVerify:false}];this.users=[{name:r,authProvider:{name:"tokenFile",config:{tokenFile:`${e}${Config.SERVICEACCOUNT_TOKEN_PATH}`}}}];this.contexts=[{cluster:n,name:s,user:r}];this.currentContext=s}mergeConfig(e,t=false){if(!t){this.currentContext=e.currentContext}e.clusters.forEach(e=>{this.addCluster(e)});e.users.forEach(e=>{this.addUser(e)});e.contexts.forEach(e=>{this.addContext(e)})}addCluster(e){if(!this.clusters){this.clusters=[]}this.clusters.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate cluster: ${t.name}`)}});this.clusters.push(e)}addUser(e){if(!this.users){this.users=[]}this.users.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate user: ${t.name}`)}});this.users.push(e)}addContext(e){if(!this.contexts){this.contexts=[]}this.contexts.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate context: ${t.name}`)}});this.contexts.push(e)}loadFromDefault(e,t=false){if(process.env.KUBECONFIG&&process.env.KUBECONFIG.length>0){const i=process.env.KUBECONFIG.split(o.delimiter);this.loadFromFile(i[0],e);for(let n=1;n{if(t.caFile){t.caFile=makeAbsolutePath(e,t.caFile)}});this.users.forEach(t=>{if(t.certFile){t.certFile=makeAbsolutePath(e,t.certFile)}if(t.keyFile){t.keyFile=makeAbsolutePath(e,t.keyFile)}})}exportConfig(){const e={apiVersion:"v1",kind:"Config",clusters:this.clusters.map(d.exportCluster),users:this.users.map(d.exportUser),contexts:this.contexts.map(d.exportContext),preferences:{},"current-context":this.getCurrentContext()};return JSON.stringify(e)}getCurrentContextObject(){return this.getContextObject(this.currentContext)}applyHTTPSOptions(e){const t=this.getCurrentCluster();const i=this.getCurrentUser();if(!i){return}if(t!=null&&t.skipTLSVerify){e.rejectUnauthorized=false}const n=t!=null?bufferFromFileOrString(t.caFile,t.caData):null;if(n){e.ca=n}const r=bufferFromFileOrString(i.certFile,i.certData);if(r){e.cert=r}const s=bufferFromFileOrString(i.keyFile,i.keyData);if(s){e.key=s}}applyAuthorizationHeader(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentUser();if(!t){return}const i=KubeConfig.authenticators.find(e=>{return e.isAuthProvider(t)});if(!e.headers){e.headers={}}if(i){yield i.applyAuthentication(t,e)}if(t.token){e.headers.Authorization=`Bearer ${t.token}`}})}applyOptions(e){return n.__awaiter(this,void 0,void 0,function*(){this.applyHTTPSOptions(e);yield this.applyAuthorizationHeader(e)})}}t.KubeConfig=KubeConfig;KubeConfig.authenticators=[new p.CloudAuth,new f.ExecAuth,new h.FileAuth,new m.OpenIDConnectAuth];class Config{static fromFile(e){return Config.apiFromFile(e,l.CoreV1Api)}static fromCluster(){return Config.apiFromCluster(l.CoreV1Api)}static defaultClient(){return Config.apiFromDefaultClient(l.CoreV1Api)}static apiFromFile(e,t){const i=new KubeConfig;i.loadFromFile(e);return i.makeApiClient(t)}static apiFromCluster(e){const t=new KubeConfig;t.loadFromCluster();const i=t.getCurrentCluster();if(!i){throw new Error("No active cluster!")}const n=new e(i.server);n.setDefaultAuthentication(t);return n}static apiFromDefaultClient(e){const t=new KubeConfig;t.loadFromDefault();return t.makeApiClient(e)}}t.Config=Config;Config.SERVICEACCOUNT_ROOT="/var/run/secrets/kubernetes.io/serviceaccount";Config.SERVICEACCOUNT_CA_PATH=Config.SERVICEACCOUNT_ROOT+"/ca.crt";Config.SERVICEACCOUNT_TOKEN_PATH=Config.SERVICEACCOUNT_ROOT+"/token";function makeAbsolutePath(e,t){if(!e||o.isAbsolute(t)){return t}return o.join(e,t)}t.makeAbsolutePath=makeAbsolutePath;function bufferFromFileOrString(e,t){if(e){return s.readFileSync(e)}if(t){return Buffer.from(t,"base64")}return null}t.bufferFromFileOrString=bufferFromFileOrString;function findHomeDir(){if(process.env.HOME){try{s.accessSync(process.env.HOME);return process.env.HOME}catch(e){}}if(process.platform!=="win32"){return null}if(process.env.HOMEDRIVE&&process.env.HOMEPATH){const e=o.join(process.env.HOMEDRIVE,process.env.HOMEPATH);try{s.accessSync(e);return e}catch(e){}}if(process.env.USERPROFILE){try{s.accessSync(process.env.USERPROFILE);return process.env.USERPROFILE}catch(e){}}return null}t.findHomeDir=findHomeDir;function findObject(e,t,i){if(!e){return null}for(const n of e){if(n.name===t){if(n[i]){n[i].name=t;return n[i]}return n}}return null}t.findObject=findObject},86218:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exportContext=t.newContexts=t.exportUser=t.newUsers=t.exportCluster=t.newClusters=t.ActionOnInvalid=void 0;const n=i(35747);const r=i(4987);var s;(function(e){e["THROW"]="throw";e["FILTER"]="filter"})(s=t.ActionOnInvalid||(t.ActionOnInvalid={}));function defaultNewConfigOptions(){return{onInvalidEntry:s.THROW}}function newClusters(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,clusterIterator(i.onInvalidEntry)))}t.newClusters=newClusters;function exportCluster(e){return{name:e.name,cluster:{server:e.server,"certificate-authority-data":e.caData,"certificate-authority":e.caFile,"insecure-skip-tls-verify":e.skipTLSVerify}}}t.exportCluster=exportCluster;function clusterIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`clusters[${i}].name is missing`)}if(!t.cluster){throw new Error(`clusters[${i}].cluster is missing`)}if(!t.cluster.server){throw new Error(`clusters[${i}].cluster.server is missing`)}return{caData:t.cluster["certificate-authority-data"],caFile:t.cluster["certificate-authority"],name:t.name,server:t.cluster.server,skipTLSVerify:t.cluster["insecure-skip-tls-verify"]===true}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}function newUsers(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,userIterator(i.onInvalidEntry)))}t.newUsers=newUsers;function exportUser(e){return{name:e.name,user:{"auth-provider":e.authProvider,"client-certificate-data":e.certData,"client-certificate":e.certFile,exec:e.exec,"client-key-data":e.keyData,"client-key":e.keyFile,token:e.token,password:e.password,username:e.username}}}t.exportUser=exportUser;function userIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`users[${i}].name is missing`)}return{authProvider:t.user?t.user["auth-provider"]:null,certData:t.user?t.user["client-certificate-data"]:null,certFile:t.user?t.user["client-certificate"]:null,exec:t.user?t.user.exec:null,keyData:t.user?t.user["client-key-data"]:null,keyFile:t.user?t.user["client-key"]:null,name:t.name,token:findToken(t.user),password:t.user?t.user.password:null,username:t.user?t.user.username:null}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}function findToken(e){if(e){if(e.token){return e.token}if(e["token-file"]){return n.readFileSync(e["token-file"]).toString()}}}function newContexts(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,contextIterator(i.onInvalidEntry)))}t.newContexts=newContexts;function exportContext(e){return{name:e.name,context:e}}t.exportContext=exportContext;function contextIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`contexts[${i}].name is missing`)}if(!t.context){throw new Error(`contexts[${i}].context is missing`)}if(!t.context.cluster){throw new Error(`contexts[${i}].context.cluster is missing`)}return{cluster:t.context.cluster,name:t.name,user:t.context.user||undefined,namespace:t.context.namespace||undefined}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}},54815:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Cp=void 0;const n=i(75636);const r=i(35747);const s=i(48168);const a=i(74674);const o=i(68065);const u=i(62864);class Cp{constructor(e,t){this.execInstance=t||new u.Exec(e)}cpFromPod(e,t,i,u,c){return n.__awaiter(this,void 0,void 0,function*(){const l=o.fileSync();const p=l.name;const d=["tar","zcf","-",u];const f=r.createWriteStream(p);const h=new s.WritableStreamBuffer;this.execInstance.exec(e,t,i,d,f,h,null,false,()=>n.__awaiter(this,void 0,void 0,function*(){if(h.size()){throw new Error(`Error from cpFromPod - details: \n ${h.getContentsAsString()}`)}yield a.x({file:p,cwd:c})}))})}cpToPod(e,t,i,u,c){return n.__awaiter(this,void 0,void 0,function*(){const l=o.fileSync();const p=l.name;const d=["tar","xf","-","-C",c];yield a.c({file:l.name},[u]);const f=r.createReadStream(p);const h=new s.WritableStreamBuffer;this.execInstance.exec(e,t,i,d,null,h,f,false,()=>n.__awaiter(this,void 0,void 0,function*(){if(h.size()){throw new Error(`Error from cpToPod - details: \n ${h.getContentsAsString()}`)}}))})}}t.Cp=Cp},62864:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Exec=void 0;const n=i(75636);const r=i(71191);const s=i(76023);const a=i(47581);class Exec{constructor(e,t){this.handler=t||new a.WebSocketHandler(e)}exec(e,t,i,o,u,c,l,p,d){return n.__awaiter(this,void 0,void 0,function*(){const n={stdout:u!=null,stderr:c!=null,stdin:l!=null,tty:p,command:o,container:i};const f=r.stringify(n);const h=`/api/v1/namespaces/${e}/pods/${t}/exec?${f}`;const m=yield this.handler.connect(h,null,(e,t)=>{const i=a.WebSocketHandler.handleStandardStreams(e,t,u,c);if(i!=null){if(d){d(i)}return false}return true});if(l!=null){a.WebSocketHandler.handleStandardInput(m,l,a.WebSocketHandler.StdinStream)}if(s.isResizable(u)){this.terminalSizeQueue=new s.TerminalSizeQueue;a.WebSocketHandler.handleStandardInput(m,this.terminalSizeQueue,a.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(u)}return m})}}t.Exec=Exec},18325:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExecAuth=void 0;const n=i(75636);const r=i(55447);class ExecAuth{constructor(){this.tokenCache={};this.execFn=r.sync}isAuthProvider(e){if(!e){return false}if(e.exec){return true}if(!e.authProvider){return false}return e.authProvider.name==="exec"||!!(e.authProvider.config&&e.authProvider.config.exec)}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=this.getCredential(e);if(!i){return}if(i.status.clientCertificateData){t.cert=i.status.clientCertificateData}if(i.status.clientKeyData){t.key=i.status.clientKeyData}const n=this.getToken(i);if(n){if(!t.headers){t.headers=[]}t.headers.Authorization=`Bearer ${n}`}})}getToken(e){if(!e){return null}if(e.status.token){return e.status.token}return null}getCredential(e){const t=this.tokenCache[e.name];if(t){const i=Date.parse(t.status.expirationTimestamp);if(i>Date.now()){return t}this.tokenCache[e.name]=null}let i=null;if(e.authProvider&&e.authProvider.config){i=e.authProvider.config.exec}if(e.exec){i=e.exec}if(!i){return null}if(!i.command){throw new Error("No command was specified for exec authProvider!")}let n={};if(i.env){const e=process.env;i.env.forEach(t=>e[t.name]=t.value);n=Object.assign(Object.assign({},n),{env:e})}const r=this.execFn(i.command,i.args,n);if(r.code===0){const t=JSON.parse(r.stdout);this.tokenCache[e.name]=t;return t}throw new Error(r.stderr)}}t.ExecAuth=ExecAuth},38572:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileAuth=void 0;const n=i(75636);const r=i(35747);class FileAuth{constructor(){this.token=null;this.lastRead=null}isAuthProvider(e){return e.authProvider&&e.authProvider.config&&e.authProvider.config.tokenFile}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(this.token==null){this.refreshToken(e.authProvider.config.tokenFile)}if(this.isTokenExpired()){this.refreshToken(e.authProvider.config.tokenFile)}if(this.token){t.headers.Authorization=`Bearer ${this.token}`}})}refreshToken(e){this.token=r.readFileSync(e).toString("UTF-8");this.lastRead=new Date}isTokenExpired(){if(this.lastRead===null){return true}const e=new Date;const t=(e.getTime()-this.lastRead.getTime())/1e3;return t>60}}t.FileAuth=FileAuth},37233:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(25997),t);n.__exportStar(i(15158),t)},79893:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationApi=t.AdmissionregistrationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationApiApiKeys||(t.AdmissionregistrationApiApiKeys={}));class AdmissionregistrationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationApi=AdmissionregistrationApi},69218:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1Api=t.AdmissionregistrationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationV1ApiApiKeys||(t.AdmissionregistrationV1ApiApiKeys={}));class AdmissionregistrationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1MutatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ValidatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteMutatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteMutatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteValidatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteValidatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchMutatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchMutatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchValidatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchValidatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceMutatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1MutatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceValidatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ValidatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationV1Api=AdmissionregistrationV1Api},62794:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1Api=t.AdmissionregistrationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationV1beta1ApiApiKeys||(t.AdmissionregistrationV1beta1ApiApiKeys={}));class AdmissionregistrationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1MutatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ValidatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteMutatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteMutatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteValidatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteValidatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchMutatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchMutatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchValidatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchValidatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceMutatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1MutatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceValidatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ValidatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationV1beta1Api=AdmissionregistrationV1beta1Api},67758:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsApi=t.ApiextensionsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsApiApiKeys||(t.ApiextensionsApiApiKeys={}));class ApiextensionsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsApi=ApiextensionsApi},91294:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1Api=t.ApiextensionsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsV1ApiApiKeys||(t.ApiextensionsV1ApiApiKeys={}));class ApiextensionsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CustomResourceDefinition")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCustomResourceDefinition(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCustomResourceDefinition.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinitionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinition(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinition.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinitionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinitionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinitionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinition(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinition.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinitionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsV1Api=ApiextensionsV1Api},7074:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1Api=t.ApiextensionsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsV1beta1ApiApiKeys||(t.ApiextensionsV1beta1ApiApiKeys={}));class ApiextensionsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CustomResourceDefinition")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCustomResourceDefinition(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCustomResourceDefinition.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinitionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinition(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinition.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinitionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinitionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinitionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinition(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinition.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinitionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsV1beta1Api=ApiextensionsV1beta1Api},99722:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationApi=t.ApiregistrationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationApiApiKeys||(t.ApiregistrationApiApiKeys={}));class ApiregistrationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationApi=ApiregistrationApi},99365:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1Api=t.ApiregistrationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationV1ApiApiKeys||(t.ApiregistrationV1ApiApiKeys={}));class ApiregistrationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1APIService")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteAPIService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionAPIService(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listAPIService(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIServiceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIServiceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationV1Api=ApiregistrationV1Api},48244:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1beta1Api=t.ApiregistrationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationV1beta1ApiApiKeys||(t.ApiregistrationV1beta1ApiApiKeys={}));class ApiregistrationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1APIService")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteAPIService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionAPIService(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listAPIService(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIServiceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIServiceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationV1beta1Api=ApiregistrationV1beta1Api},25997:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.APIS=t.HttpError=void 0;const n=i(75636);n.__exportStar(i(79893),t);const r=i(79893);n.__exportStar(i(69218),t);const s=i(69218);n.__exportStar(i(62794),t);const a=i(62794);n.__exportStar(i(67758),t);const o=i(67758);n.__exportStar(i(91294),t);const u=i(91294);n.__exportStar(i(7074),t);const c=i(7074);n.__exportStar(i(99722),t);const l=i(99722);n.__exportStar(i(99365),t);const p=i(99365);n.__exportStar(i(48244),t);const d=i(48244);n.__exportStar(i(59536),t);const f=i(59536);n.__exportStar(i(99869),t);const h=i(99869);n.__exportStar(i(10588),t);const m=i(10588);n.__exportStar(i(61226),t);const b=i(61226);n.__exportStar(i(17421),t);const g=i(17421);n.__exportStar(i(53150),t);const y=i(53150);n.__exportStar(i(75154),t);const S=i(75154);n.__exportStar(i(97999),t);const v=i(97999);n.__exportStar(i(87078),t);const w=i(87078);n.__exportStar(i(94692),t);const j=i(94692);n.__exportStar(i(47098),t);const z=i(47098);n.__exportStar(i(15872),t);const O=i(15872);n.__exportStar(i(76982),t);const k=i(76982);n.__exportStar(i(91445),t);const C=i(91445);n.__exportStar(i(78246),t);const T=i(78246);n.__exportStar(i(71101),t);const _=i(71101);n.__exportStar(i(23668),t);const A=i(23668);n.__exportStar(i(92076),t);const E=i(92076);n.__exportStar(i(32593),t);const R=i(32593);n.__exportStar(i(23732),t);const x=i(23732);n.__exportStar(i(69209),t);const N=i(69209);n.__exportStar(i(52653),t);const V=i(52653);n.__exportStar(i(82017),t);const P=i(82017);n.__exportStar(i(51489),t);const M=i(51489);n.__exportStar(i(4738),t);const B=i(4738);n.__exportStar(i(36522),t);const I=i(36522);n.__exportStar(i(44310),t);const D=i(44310);n.__exportStar(i(10420),t);const q=i(10420);n.__exportStar(i(89829),t);const L=i(89829);n.__exportStar(i(15621),t);const U=i(15621);n.__exportStar(i(5821),t);const Q=i(5821);n.__exportStar(i(71817),t);const H=i(71817);n.__exportStar(i(63382),t);const K=i(63382);n.__exportStar(i(16001),t);const G=i(16001);n.__exportStar(i(95091),t);const W=i(95091);n.__exportStar(i(58365),t);const F=i(58365);n.__exportStar(i(31857),t);const J=i(31857);n.__exportStar(i(76012),t);const Y=i(76012);n.__exportStar(i(88382),t);const X=i(88382);n.__exportStar(i(48169),t);const Z=i(48169);n.__exportStar(i(97534),t);const $=i(97534);n.__exportStar(i(71097),t);const ee=i(71097);n.__exportStar(i(31466),t);const te=i(31466);n.__exportStar(i(9090),t);const ie=i(9090);n.__exportStar(i(17374),t);const ne=i(17374);n.__exportStar(i(78504),t);const re=i(78504);n.__exportStar(i(5381),t);const se=i(5381);n.__exportStar(i(37284),t);const ae=i(37284);n.__exportStar(i(80228),t);const oe=i(80228);n.__exportStar(i(73316),t);const ue=i(73316);n.__exportStar(i(93149),t);const ce=i(93149);n.__exportStar(i(44056),t);const le=i(44056);n.__exportStar(i(81543),t);const pe=i(81543);n.__exportStar(i(29389),t);const de=i(29389);n.__exportStar(i(26757),t);const fe=i(26757);n.__exportStar(i(91655),t);const he=i(91655);n.__exportStar(i(49324),t);const me=i(49324);n.__exportStar(i(91143),t);const be=i(91143);n.__exportStar(i(922),t);const ge=i(922);n.__exportStar(i(30769),t);const ye=i(30769);n.__exportStar(i(15325),t);const Se=i(15325);n.__exportStar(i(4441),t);const ve=i(4441);n.__exportStar(i(19868),t);const we=i(19868);class HttpError extends Error{constructor(e,t,i){super("HTTP request failed");this.response=e;this.body=t;this.statusCode=i;this.name="HttpError"}}t.HttpError=HttpError;t.APIS=[r.AdmissionregistrationApi,s.AdmissionregistrationV1Api,a.AdmissionregistrationV1beta1Api,o.ApiextensionsApi,u.ApiextensionsV1Api,c.ApiextensionsV1beta1Api,l.ApiregistrationApi,p.ApiregistrationV1Api,d.ApiregistrationV1beta1Api,f.ApisApi,h.AppsApi,m.AppsV1Api,b.AuthenticationApi,g.AuthenticationV1Api,y.AuthenticationV1beta1Api,S.AuthorizationApi,v.AuthorizationV1Api,w.AuthorizationV1beta1Api,j.AutoscalingApi,z.AutoscalingV1Api,O.AutoscalingV2beta1Api,k.AutoscalingV2beta2Api,C.BatchApi,T.BatchV1Api,_.BatchV1beta1Api,A.BatchV2alpha1Api,E.CertificatesApi,R.CertificatesV1Api,x.CertificatesV1beta1Api,N.CoordinationApi,V.CoordinationV1Api,P.CoordinationV1beta1Api,M.CoreApi,B.CoreV1Api,I.CustomObjectsApi,D.DiscoveryApi,q.DiscoveryV1beta1Api,L.EventsApi,U.EventsV1Api,Q.EventsV1beta1Api,H.ExtensionsApi,K.ExtensionsV1beta1Api,G.FlowcontrolApiserverApi,W.FlowcontrolApiserverV1alpha1Api,F.FlowcontrolApiserverV1beta1Api,J.InternalApiserverApi,Y.InternalApiserverV1alpha1Api,X.LogsApi,Z.NetworkingApi,$.NetworkingV1Api,ee.NetworkingV1beta1Api,te.NodeApi,ie.NodeV1Api,ne.NodeV1alpha1Api,re.NodeV1beta1Api,se.OpenidApi,ae.PolicyApi,oe.PolicyV1beta1Api,ue.RbacAuthorizationApi,ce.RbacAuthorizationV1Api,le.RbacAuthorizationV1alpha1Api,pe.RbacAuthorizationV1beta1Api,de.SchedulingApi,fe.SchedulingV1Api,he.SchedulingV1alpha1Api,me.SchedulingV1beta1Api,be.StorageApi,ge.StorageV1Api,ye.StorageV1alpha1Api,Se.StorageV1beta1Api,ve.VersionApi,we.WellKnownApi]},59536:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApisApi=t.ApisApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApisApiApiKeys||(t.ApisApiApiKeys={}));class ApisApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIVersions(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroupList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApisApi=ApisApi},99869:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AppsApi=t.AppsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AppsApiApiKeys||(t.AppsApiApiKeys={}));class AppsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apps/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AppsApi=AppsApi},10588:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AppsV1Api=t.AppsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AppsV1ApiApiKeys||(t.AppsV1ApiApiKeys={}));class AppsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedControllerRevision(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedControllerRevision.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ControllerRevision")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedDaemonSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDaemonSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1DaemonSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedDeployment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Deployment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedReplicaSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicaSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ReplicaSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedStatefulSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedStatefulSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1StatefulSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedControllerRevision(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedControllerRevision.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedDaemonSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDaemonSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedDeployment(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedReplicaSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicaSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedStatefulSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedStatefulSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedControllerRevision(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedControllerRevision.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedDaemonSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDaemonSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedDeployment(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedReplicaSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicaSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedStatefulSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedStatefulSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apps/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listControllerRevisionForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/controllerrevisions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listDaemonSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/daemonsets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listDeploymentForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/deployments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedControllerRevision(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedControllerRevision.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedDaemonSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDaemonSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedDeployment(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedReplicaSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicaSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedStatefulSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedStatefulSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listReplicaSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/replicasets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStatefulSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/statefulsets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedControllerRevision(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedControllerRevision.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDaemonSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDaemonSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeployment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeploymentScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeploymentStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSetScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSetScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedControllerRevision(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedControllerRevision.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDaemonSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDaemonSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeployment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeploymentScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeploymentStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSetScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSetScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedControllerRevision(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedControllerRevision.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ControllerRevision")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDaemonSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1DaemonSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDaemonSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1DaemonSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeployment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Deployment")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeploymentScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeploymentStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Deployment")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicaSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSetScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicaSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1StatefulSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSetScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1StatefulSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AppsV1Api=AppsV1Api},61226:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationApi=t.AuthenticationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationApiApiKeys||(t.AuthenticationApiApiKeys={}));class AuthenticationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationApi=AuthenticationApi},17421:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1Api=t.AuthenticationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationV1ApiApiKeys||(t.AuthenticationV1ApiApiKeys={}));class AuthenticationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createTokenReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authentication.k8s.io/v1/tokenreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1TokenReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationV1Api=AuthenticationV1Api},53150:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1beta1Api=t.AuthenticationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationV1beta1ApiApiKeys||(t.AuthenticationV1beta1ApiApiKeys={}));class AuthenticationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createTokenReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authentication.k8s.io/v1beta1/tokenreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1TokenReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationV1beta1Api=AuthenticationV1beta1Api},75154:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationApi=t.AuthorizationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationApiApiKeys||(t.AuthorizationApiApiKeys={}));class AuthorizationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationApi=AuthorizationApi},97999:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationV1Api=t.AuthorizationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationV1ApiApiKeys||(t.AuthorizationV1ApiApiKeys={}));class AuthorizationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLocalSubjectAccessReview(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1LocalSubjectAccessReview")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SelfSubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectRulesReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectrulesreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SelfSubjectRulesReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/subjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationV1Api=AuthorizationV1Api},87078:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationV1beta1Api=t.AuthorizationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationV1beta1ApiApiKeys||(t.AuthorizationV1beta1ApiApiKeys={}));class AuthorizationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLocalSubjectAccessReview(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1LocalSubjectAccessReview")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SelfSubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectRulesReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SelfSubjectRulesReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/subjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationV1beta1Api=AuthorizationV1beta1Api},94692:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingApi=t.AutoscalingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingApiApiKeys||(t.AutoscalingApiApiKeys={}));class AutoscalingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingApi=AutoscalingApi},47098:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV1Api=t.AutoscalingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV1ApiApiKeys||(t.AutoscalingV1ApiApiKeys={}));class AutoscalingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV1Api=AutoscalingV1Api},15872:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV2beta1Api=t.AutoscalingV2beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV2beta1ApiApiKeys||(t.AutoscalingV2beta1ApiApiKeys={}));class AutoscalingV2beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2beta1HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v2beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV2beta1Api=AutoscalingV2beta1Api},76982:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV2beta2Api=t.AutoscalingV2beta2ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV2beta2ApiApiKeys||(t.AutoscalingV2beta2ApiApiKeys={}));class AutoscalingV2beta2Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2beta2HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v2beta2/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV2beta2Api=AutoscalingV2beta2Api},91445:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchApi=t.BatchApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchApiApiKeys||(t.BatchApiApiKeys={}));class BatchApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchApi=BatchApi},78246:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV1Api=t.BatchV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV1ApiApiKeys||(t.BatchV1ApiApiKeys={}));class BatchV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Job")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/jobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Job")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Job")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV1Api=BatchV1Api},71101:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV1beta1Api=t.BatchV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV1beta1ApiApiKeys||(t.BatchV1beta1ApiApiKeys={}));class BatchV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CronJob")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCronJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCronJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/cronjobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV1beta1Api=BatchV1beta1Api},23668:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV2alpha1Api=t.BatchV2alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV2alpha1ApiApiKeys||(t.BatchV2alpha1ApiApiKeys={}));class BatchV2alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2alpha1CronJob")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCronJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v2alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCronJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/cronjobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2alpha1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2alpha1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV2alpha1Api=BatchV2alpha1Api},92076:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesApi=t.CertificatesApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesApiApiKeys||(t.CertificatesApiApiKeys={}));class CertificatesApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesApi=CertificatesApi},32593:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesV1Api=t.CertificatesV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesV1ApiApiKeys||(t.CertificatesV1ApiApiKeys={}));class CertificatesV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CertificateSigningRequest")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCertificateSigningRequest(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCertificateSigningRequest.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequestList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequest(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequest.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestApproval(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestApproval.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestApproval(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestApproval.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequest(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequest.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestApproval(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesV1Api=CertificatesV1Api},23732:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesV1beta1Api=t.CertificatesV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesV1beta1ApiApiKeys||(t.CertificatesV1beta1ApiApiKeys={}));class CertificatesV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CertificateSigningRequest")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCertificateSigningRequest(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCertificateSigningRequest.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequestList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequest(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequest.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestApproval(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestApproval.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestApproval(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestApproval.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequest(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequest.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestApproval(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesV1beta1Api=CertificatesV1beta1Api},69209:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationApi=t.CoordinationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationApiApiKeys||(t.CoordinationApiApiKeys={}));class CoordinationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationApi=CoordinationApi},52653:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationV1Api=t.CoordinationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationV1ApiApiKeys||(t.CoordinationV1ApiApiKeys={}));class CoordinationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Lease")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLease.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLease(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLease.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLeaseForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/leases";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLease.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLease(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLease.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLease(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLease.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Lease")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationV1Api=CoordinationV1Api},82017:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationV1beta1Api=t.CoordinationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationV1beta1ApiApiKeys||(t.CoordinationV1beta1ApiApiKeys={}));class CoordinationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Lease")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLease.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLease(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLease.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLeaseForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/leases";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLease.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLease(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLease.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLease(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLease.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Lease")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationV1beta1Api=CoordinationV1beta1Api},51489:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreApi=t.CoreApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoreApiApiKeys||(t.CoreApiApiKeys={}));class CoreApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIVersions(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/api/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIVersions");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoreApi=CoreApi},4738:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1Api=t.CoreV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoreV1ApiApiKeys||(t.CoreV1ApiApiKeys={}));class CoreV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}connectDeleteNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"DELETE",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodAttach(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["*/*"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodAttach.")}if(i!==undefined){d["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["stderr"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){d["stdin"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["stdout"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){d["tty"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"GET",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodExec(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["*/*"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodExec.")}if(i!==undefined){f["command"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["container"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["stderr"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){f["stdin"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["stdout"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){f["tty"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"GET",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodPortforward(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodPortforward.")}if(i!==undefined){u["ports"]=s.ObjectSerializer.serialize(i,"number")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"HEAD",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"HEAD",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"HEAD",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"OPTIONS",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"OPTIONS",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"OPTIONS",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PATCH",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PATCH",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"PATCH",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodAttach(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["*/*"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodAttach.")}if(i!==undefined){d["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["stderr"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){d["stdin"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["stdout"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){d["tty"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"POST",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodExec(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["*/*"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodExec.")}if(i!==undefined){f["command"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["container"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["stderr"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){f["stdin"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["stdout"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){f["tty"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"POST",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodPortforward(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodPortforward.")}if(i!==undefined){u["ports"]=s.ObjectSerializer.serialize(i,"number")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"POST",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PUT",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PUT",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"PUT",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespace(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespace.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1Namespace")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/bindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedBinding.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Binding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedConfigMap(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedConfigMap.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ConfigMap")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedEndpoints(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEndpoints.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Endpoints")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"CoreV1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedLimitRange(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLimitRange.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1LimitRange")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPersistentVolumeClaim(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolumeClaim")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPod(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPod.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Pod")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/binding".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodBinding.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Binding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodEviction(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/eviction".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodEviction.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodEviction.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodEviction.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Eviction")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Eviction");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodTemplate(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodTemplate.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PodTemplate")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedReplicationController(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicationController.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ReplicationController")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedResourceQuota(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedResourceQuota.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ResourceQuota")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedSecret(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedSecret.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Secret")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Service")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedServiceAccount(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedServiceAccount.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ServiceAccount")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedServiceAccountToken(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedServiceAccountToken.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedServiceAccountToken.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedServiceAccountToken.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"AuthenticationV1TokenRequest")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"AuthenticationV1TokenRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1Node")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPersistentVolume(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPersistentVolume.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1PersistentVolume")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedConfigMap(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedConfigMap.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEndpoints(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEndpoints.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLimitRange(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLimitRange.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPersistentVolumeClaim.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPod(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPod.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPodTemplate(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodTemplate.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedReplicationController(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicationController.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedResourceQuota(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedResourceQuota.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedSecret(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedSecret.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedServiceAccount(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedServiceAccount.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPersistentVolume(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespace(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespace.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedConfigMap(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedConfigMap.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEndpoints(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEndpoints.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLimitRange(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLimitRange.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPod(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPod.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPodTemplate(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodTemplate.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedReplicationController(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicationController.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedResourceQuota(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedResourceQuota.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedSecret(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedSecret.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedService(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedService.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedServiceAccount(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedServiceAccount.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePersistentVolume(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePersistentVolume.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/api/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listComponentStatus(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/componentstatuses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ComponentStatusList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listConfigMapForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/configmaps";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEndpointsForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/endpoints";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLimitRangeForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/limitranges";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespace(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NamespaceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedConfigMap(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedConfigMap.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEndpoints(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEndpoints.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLimitRange(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLimitRange.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPersistentVolumeClaim.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPod(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPod.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPodTemplate(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodTemplate.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedReplicationController(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicationController.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedResourceQuota(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedResourceQuota.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedSecret(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedSecret.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedService(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedService.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedServiceAccount(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedServiceAccount.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPersistentVolume(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPersistentVolumeClaimForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumeclaims";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/pods";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodTemplateForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/podtemplates";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listReplicationControllerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/replicationcontrollers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listResourceQuotaForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/resourcequotas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listSecretForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/secrets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listServiceAccountForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/serviceaccounts";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listServiceForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/services";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespace(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespace.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespaceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespaceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedConfigMap(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedConfigMap.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEndpoints(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEndpoints.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLimitRange(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLimitRange.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPersistentVolumeClaimStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPod(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPod.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodTemplate(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodTemplate.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationController(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationController.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationControllerScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationControllerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedResourceQuota(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuota.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedResourceQuotaStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedSecret(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedSecret.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedService.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedServiceAccount(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceAccount.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedServiceStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNodeStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNodeStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPersistentVolume(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolume.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPersistentVolumeStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolumeStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readComponentStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/componentstatuses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readComponentStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ComponentStatus");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespace(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespace.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespaceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespaceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedConfigMap(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedConfigMap.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEndpoints(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEndpoints.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLimitRange(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLimitRange.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPersistentVolumeClaim(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPersistentVolumeClaimStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPod(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPod.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodLog(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/log".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["text/plain","application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodLog.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodLog.")}if(i!==undefined){b["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){b["follow"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){b["insecureSkipTLSVerifyBackend"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){b["limitBytes"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){b["pretty"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){b["previous"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){b["sinceSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){b["tailLines"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["timestamps"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodTemplate(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodTemplate.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationController(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationController.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationControllerScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationControllerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedResourceQuota(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuota.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedResourceQuotaStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedSecret(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedSecret.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedServiceAccount(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceAccount.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedServiceStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNodeStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNodeStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPersistentVolume(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolume.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPersistentVolumeStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolumeStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespace(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespace.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespaceFinalize(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/finalize".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceFinalize.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceFinalize.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespaceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedConfigMap(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedConfigMap.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ConfigMap")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEndpoints(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEndpoints.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Endpoints")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"CoreV1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLimitRange(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLimitRange.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1LimitRange")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPersistentVolumeClaimStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPod(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPod.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Pod")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Pod")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodTemplate(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodTemplate.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PodTemplate")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationController(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationController.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicationController")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationControllerScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationControllerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicationController")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedResourceQuota(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuota.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ResourceQuota")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedResourceQuotaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ResourceQuota")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedSecret(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedSecret.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Secret")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedService.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Service")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedServiceAccount(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceAccount.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ServiceAccount")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Service")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Node")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNodeStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNodeStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Node")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePersistentVolume(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolume.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolume")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePersistentVolumeStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolumeStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolume")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoreV1Api=CoreV1Api},36522:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CustomObjectsApi=t.CustomObjectsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CustomObjectsApiApiKeys||(t.CustomObjectsApiApiKeys={}));class CustomObjectsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterCustomObject(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling createClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterCustomObject.")}if(u!==undefined){d["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"POST",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(a,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling createNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCustomObject.")}if(c!==undefined){f["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"POST",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterCustomObject.")}if(u!==undefined){h["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){h["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){h["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(m,f.headers);let y=false;let S={method:"DELETE",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(d,"V1DeleteOptions")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteCollectionClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteCollectionClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteCollectionClusterCustomObject.")}if(a!==undefined){h["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){h["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){h["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){h["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(m,f.headers);let y=false;let S={method:"DELETE",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(d,"V1DeleteOptions")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(u!==undefined){m["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["orphanDependents"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){m["propagationPolicy"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["dryRun"]=s.ObjectSerializer.serialize(d,"string")}Object.assign(b,h.headers);let S=false;let v={method:"DELETE",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(f,"V1DeleteOptions")};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCustomObject.")}if(c!==undefined){m["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["orphanDependents"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){m["propagationPolicy"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["dryRun"]=s.ObjectSerializer.serialize(d,"string")}Object.assign(b,h.headers);let S=false;let v={method:"DELETE",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(f,"V1DeleteOptions")};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObject(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObject.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObjectScale(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectScale.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObjectStatus(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectStatus.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObject(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObject.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObjectScale(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectScale.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObjectStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectStatus.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterCustomObject(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/json;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling listClusterCustomObject.")}if(a!==undefined){b["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["continue"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){b["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h,m,b={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let g={};let y=Object.assign({},this._defaultHeaders);const S=["application/json","application/json;stream=watch"];if(S.indexOf("application/json")>=0){y.Accept="application/json"}else{y.Accept=S.join(",")}let v={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling listNamespacedCustomObject.")}if(u!==undefined){g["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){g["continue"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){g["fieldSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){g["labelSelector"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){g["limit"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){g["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){g["timeoutSeconds"]=s.ObjectSerializer.serialize(h,"number")}if(m!==undefined){g["watch"]=s.ObjectSerializer.serialize(m,"boolean")}Object.assign(y,b.headers);let w=false;let j={method:"GET",qs:g,headers:y,uri:n,useQuerystring:this._useQuerystring,json:true};let z=Promise.resolve();if(this.authentications.BearerToken.apiKey){z=z.then(()=>this.authentications.BearerToken.applyToRequest(j))}z=z.then(()=>this.authentications.default.applyToRequest(j));let O=z;for(const e of this.interceptors){O=O.then(()=>e(j))}return O.then(()=>{if(Object.keys(v).length){if(w){j.formData=v}else{j.form=v}}return new Promise((e,t)=>{r(j,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObject.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObjectScale(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectScale.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObjectStatus(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectStatus.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObject.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObject.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObjectScale(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectScale.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectScale.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObjectStatus(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObject(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObject.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObjectScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectScale.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObjectStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectStatus.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObject.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObject.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObjectScale(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObjectStatus(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CustomObjectsApi=CustomObjectsApi},44310:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscoveryApi=t.DiscoveryApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.DiscoveryApiApiKeys||(t.DiscoveryApiApiKeys={}));class DiscoveryApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/discovery.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.DiscoveryApi=DiscoveryApi},10420:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscoveryV1beta1Api=t.DiscoveryV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.DiscoveryV1beta1ApiApiKeys||(t.DiscoveryV1beta1ApiApiKeys={}));class DiscoveryV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEndpointSlice(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEndpointSlice.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1EndpointSlice")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEndpointSlice.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEndpointSlice.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/discovery.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEndpointSliceForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/endpointslices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSliceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEndpointSlice.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSliceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEndpointSlice(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEndpointSlice.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEndpointSlice.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEndpointSlice(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEndpointSlice.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEndpointSlice(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEndpointSlice.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEndpointSlice.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1EndpointSlice")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.DiscoveryV1beta1Api=DiscoveryV1beta1Api},89829:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsApi=t.EventsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsApiApiKeys||(t.EventsApiApiKeys={}));class EventsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsApi=EventsApi},15621:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1Api=t.EventsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsV1ApiApiKeys||(t.EventsV1ApiApiKeys={}));class EventsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"EventsV1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"EventsV1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsV1Api=EventsV1Api},5821:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1beta1Api=t.EventsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsV1beta1ApiApiKeys||(t.EventsV1beta1ApiApiKeys={}));class EventsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsV1beta1Api=EventsV1beta1Api},71817:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsApi=t.ExtensionsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ExtensionsApiApiKeys||(t.ExtensionsApiApiKeys={}));class ExtensionsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/extensions/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ExtensionsApi=ExtensionsApi},63382:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1Api=t.ExtensionsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ExtensionsV1beta1ApiApiKeys||(t.ExtensionsV1beta1ApiApiKeys={}));class ExtensionsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"ExtensionsV1beta1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/extensions/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"ExtensionsV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"ExtensionsV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ExtensionsV1beta1Api=ExtensionsV1beta1Api},16001:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverApi=t.FlowcontrolApiserverApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverApiApiKeys||(t.FlowcontrolApiserverApiApiKeys={}));class FlowcontrolApiserverApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverApi=FlowcontrolApiserverApi},95091:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverV1alpha1Api=t.FlowcontrolApiserverV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverV1alpha1ApiApiKeys||(t.FlowcontrolApiserverV1alpha1ApiApiKeys={}));class FlowcontrolApiserverV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1FlowSchema")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1PriorityLevelConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionFlowSchema(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteFlowSchema(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteFlowSchema.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityLevelConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityLevelConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listFlowSchema(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchemaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchema(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchema.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchemaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchemaStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfigurationStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchemaStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchemaStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfigurationStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfigurationStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchema(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchema.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchemaStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchemaStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfigurationStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverV1alpha1Api=FlowcontrolApiserverV1alpha1Api},58365:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverV1beta1Api=t.FlowcontrolApiserverV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverV1beta1ApiApiKeys||(t.FlowcontrolApiserverV1beta1ApiApiKeys={}));class FlowcontrolApiserverV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1FlowSchema")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PriorityLevelConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionFlowSchema(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteFlowSchema(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteFlowSchema.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityLevelConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityLevelConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listFlowSchema(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchemaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchema(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchema.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchemaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchemaStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfigurationStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchemaStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchemaStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfigurationStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfigurationStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchema(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchema.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchemaStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchemaStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfigurationStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverV1beta1Api=FlowcontrolApiserverV1beta1Api},31857:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InternalApiserverApi=t.InternalApiserverApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.InternalApiserverApiApiKeys||(t.InternalApiserverApiApiKeys={}));class InternalApiserverApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/internal.apiserver.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.InternalApiserverApi=InternalApiserverApi},76012:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InternalApiserverV1alpha1Api=t.InternalApiserverV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.InternalApiserverV1alpha1ApiApiKeys||(t.InternalApiserverV1alpha1ApiApiKeys={}));class InternalApiserverV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createStorageVersion(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageVersion.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1StorageVersion")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageVersion(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageVersion(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageVersion.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageVersion(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageVersion(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageVersion.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageVersion.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageVersionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageVersionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageVersionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageVersion(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageVersion.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageVersionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageVersionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageVersion(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageVersion.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageVersion.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1StorageVersion")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageVersionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageVersionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageVersionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1StorageVersion")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.InternalApiserverV1alpha1Api=InternalApiserverV1alpha1Api},88382:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogsApi=t.LogsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.LogsApiApiKeys||(t.LogsApiApiKeys={}));class LogsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}logFileHandler(e,t={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const i=this.basePath+"/logs/{logpath}".replace("{"+"logpath"+"}",encodeURIComponent(String(e)));let n={};let s=Object.assign({},this._defaultHeaders);let a={};if(e===null||e===undefined){throw new Error("Required parameter logpath was null or undefined when calling logFileHandler.")}Object.assign(s,t.headers);let u=false;let c={method:"GET",qs:n,headers:s,uri:i,useQuerystring:this._useQuerystring,json:true};let l=Promise.resolve();if(this.authentications.BearerToken.apiKey){l=l.then(()=>this.authentications.BearerToken.applyToRequest(c))}l=l.then(()=>this.authentications.default.applyToRequest(c));let p=l;for(const e of this.interceptors){p=p.then(()=>e(c))}return p.then(()=>{if(Object.keys(a).length){if(u){c.formData=a}else{c.form=a}}return new Promise((e,t)=>{r(c,(i,n,r)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}logFileListHandler(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/logs/";let i={};let n=Object.assign({},this._defaultHeaders);let s={};Object.assign(n,e.headers);let a=false;let u={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let c=Promise.resolve();if(this.authentications.BearerToken.apiKey){c=c.then(()=>this.authentications.BearerToken.applyToRequest(u))}c=c.then(()=>this.authentications.default.applyToRequest(u));let l=c;for(const e of this.interceptors){l=l.then(()=>e(u))}return l.then(()=>{if(Object.keys(s).length){if(a){u.formData=s}else{u.form=s}}return new Promise((e,t)=>{r(u,(i,n,r)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.LogsApi=LogsApi},48169:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingApi=t.NetworkingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingApiApiKeys||(t.NetworkingApiApiKeys={}));class NetworkingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingApi=NetworkingApi},97534:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1Api=t.NetworkingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingV1ApiApiKeys||(t.NetworkingV1ApiApiKeys={}));class NetworkingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1IngressClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedNetworkPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedNetworkPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1NetworkPolicy")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionIngressClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedNetworkPolicy.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteIngressClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteIngressClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedNetworkPolicy.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNetworkPolicyForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/networkpolicies";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchIngressClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchIngressClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedNetworkPolicy(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedNetworkPolicy.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedNetworkPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedNetworkPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceIngressClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceIngressClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1IngressClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedNetworkPolicy(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1NetworkPolicy")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingV1Api=NetworkingV1Api},71097:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1Api=t.NetworkingV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingV1beta1ApiApiKeys||(t.NetworkingV1beta1ApiApiKeys={}));class NetworkingV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1IngressClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"NetworkingV1beta1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionIngressClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteIngressClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteIngressClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchIngressClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchIngressClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceIngressClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceIngressClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1IngressClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"NetworkingV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"NetworkingV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingV1beta1Api=NetworkingV1beta1Api},31466:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeApi=t.NodeApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeApiApiKeys||(t.NodeApiApiKeys={}));class NodeApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeApi=NodeApi},9090:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1Api=t.NodeV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1ApiApiKeys||(t.NodeV1ApiApiKeys={}));class NodeV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1Api=NodeV1Api},17374:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1alpha1Api=t.NodeV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1alpha1ApiApiKeys||(t.NodeV1alpha1ApiApiKeys={}));class NodeV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1alpha1Api=NodeV1alpha1Api},78504:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1beta1Api=t.NodeV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1beta1ApiApiKeys||(t.NodeV1beta1ApiApiKeys={}));class NodeV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1beta1Api=NodeV1beta1Api},5381:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OpenidApi=t.OpenidApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.OpenidApiApiKeys||(t.OpenidApiApiKeys={}));class OpenidApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getServiceAccountIssuerOpenIDKeyset(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/openid/v1/jwks/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/jwk-set+json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.OpenidApi=OpenidApi},37284:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PolicyApi=t.PolicyApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.PolicyApiApiKeys||(t.PolicyApiApiKeys={}));class PolicyApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/policy/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.PolicyApi=PolicyApi},80228:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PolicyV1beta1Api=t.PolicyV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.PolicyV1beta1ApiApiKeys||(t.PolicyV1beta1ApiApiKeys={}));class PolicyV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedPodDisruptionBudget(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PodDisruptionBudget")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPodSecurityPolicy(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPodSecurityPolicy.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PodSecurityPolicy")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodDisruptionBudget.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPodSecurityPolicy(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePodSecurityPolicy(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePodSecurityPolicy.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/policy/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodDisruptionBudget.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodDisruptionBudgetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/poddisruptionbudgets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodSecurityPolicy(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodDisruptionBudgetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPodSecurityPolicy(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPodSecurityPolicy.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodDisruptionBudget(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodDisruptionBudgetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPodSecurityPolicy(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPodSecurityPolicy.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodDisruptionBudget(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodDisruptionBudgetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePodSecurityPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePodSecurityPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PodSecurityPolicy")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.PolicyV1beta1Api=PolicyV1beta1Api},73316:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationApi=t.RbacAuthorizationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationApiApiKeys||(t.RbacAuthorizationApiApiKeys={}));class RbacAuthorizationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationApi=RbacAuthorizationApi},93149:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1Api=t.RbacAuthorizationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1ApiApiKeys||(t.RbacAuthorizationV1ApiApiKeys={}));class RbacAuthorizationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1Api=RbacAuthorizationV1Api},44056:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1alpha1Api=t.RbacAuthorizationV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1alpha1ApiApiKeys||(t.RbacAuthorizationV1alpha1ApiApiKeys={}));class RbacAuthorizationV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1alpha1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1alpha1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1alpha1Api=RbacAuthorizationV1alpha1Api},81543:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1beta1Api=t.RbacAuthorizationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1beta1ApiApiKeys||(t.RbacAuthorizationV1beta1ApiApiKeys={}));class RbacAuthorizationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1beta1Api=RbacAuthorizationV1beta1Api},29389:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingApi=t.SchedulingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingApiApiKeys||(t.SchedulingApiApiKeys={}));class SchedulingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingApi=SchedulingApi},26757:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1Api=t.SchedulingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1ApiApiKeys||(t.SchedulingV1ApiApiKeys={}));class SchedulingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1Api=SchedulingV1Api},91655:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1alpha1Api=t.SchedulingV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1alpha1ApiApiKeys||(t.SchedulingV1alpha1ApiApiKeys={}));class SchedulingV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1alpha1Api=SchedulingV1alpha1Api},49324:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1beta1Api=t.SchedulingV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1beta1ApiApiKeys||(t.SchedulingV1beta1ApiApiKeys={}));class SchedulingV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1beta1Api=SchedulingV1beta1Api},91143:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageApi=t.StorageApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageApiApiKeys||(t.StorageApiApiKeys={}));class StorageApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageApi=StorageApi},922:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1Api=t.StorageV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1ApiApiKeys||(t.StorageV1ApiApiKeys={}));class StorageV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CSIDriver")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CSINode")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1StorageClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSIDriver(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSIDriver.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSINode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSINode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSIDriver(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSINode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSIDriver(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriverList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSINode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSIDriver(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSIDriver.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSINode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSINode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachmentStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachmentStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachmentStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachmentStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSIDriver(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSIDriver.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CSIDriver")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSINode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSINode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CSINode")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1StorageClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachmentStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachmentStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1Api=StorageV1Api},30769:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1alpha1Api=t.StorageV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1alpha1ApiApiKeys||(t.StorageV1alpha1ApiApiKeys={}));class StorageV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1alpha1Api=StorageV1alpha1Api},15325:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1beta1Api=t.StorageV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1beta1ApiApiKeys||(t.StorageV1beta1ApiApiKeys={}));class StorageV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CSIDriver")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CSINode")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1StorageClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSIDriver(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSIDriver.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSINode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSINode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSIDriver(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSINode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSIDriver(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriverList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSINode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSIDriver(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSIDriver.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSINode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSINode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSIDriver(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSIDriver.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CSIDriver")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSINode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSINode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CSINode")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1StorageClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1beta1Api=StorageV1beta1Api},4441:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VersionApi=t.VersionApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.VersionApiApiKeys||(t.VersionApiApiKeys={}));class VersionApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getCode(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/version/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"VersionInfo");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.VersionApi=VersionApi},19868:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WellKnownApi=t.WellKnownApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.WellKnownApiApiKeys||(t.WellKnownApiApiKeys={}));class WellKnownApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getServiceAccountIssuerOpenIDConfiguration(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/.well-known/openid-configuration/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.WellKnownApi=WellKnownApi},21616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1ServiceReference=void 0;class AdmissionregistrationV1ServiceReference{static getAttributeTypeMap(){return AdmissionregistrationV1ServiceReference.attributeTypeMap}}t.AdmissionregistrationV1ServiceReference=AdmissionregistrationV1ServiceReference;AdmissionregistrationV1ServiceReference.discriminator=undefined;AdmissionregistrationV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},7818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1WebhookClientConfig=void 0;class AdmissionregistrationV1WebhookClientConfig{static getAttributeTypeMap(){return AdmissionregistrationV1WebhookClientConfig.attributeTypeMap}}t.AdmissionregistrationV1WebhookClientConfig=AdmissionregistrationV1WebhookClientConfig;AdmissionregistrationV1WebhookClientConfig.discriminator=undefined;AdmissionregistrationV1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"AdmissionregistrationV1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},96408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1ServiceReference=void 0;class AdmissionregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return AdmissionregistrationV1beta1ServiceReference.attributeTypeMap}}t.AdmissionregistrationV1beta1ServiceReference=AdmissionregistrationV1beta1ServiceReference;AdmissionregistrationV1beta1ServiceReference.discriminator=undefined;AdmissionregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},90959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1WebhookClientConfig=void 0;class AdmissionregistrationV1beta1WebhookClientConfig{static getAttributeTypeMap(){return AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap}}t.AdmissionregistrationV1beta1WebhookClientConfig=AdmissionregistrationV1beta1WebhookClientConfig;AdmissionregistrationV1beta1WebhookClientConfig.discriminator=undefined;AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"AdmissionregistrationV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},63536:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1ServiceReference=void 0;class ApiextensionsV1ServiceReference{static getAttributeTypeMap(){return ApiextensionsV1ServiceReference.attributeTypeMap}}t.ApiextensionsV1ServiceReference=ApiextensionsV1ServiceReference;ApiextensionsV1ServiceReference.discriminator=undefined;ApiextensionsV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},22775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1WebhookClientConfig=void 0;class ApiextensionsV1WebhookClientConfig{static getAttributeTypeMap(){return ApiextensionsV1WebhookClientConfig.attributeTypeMap}}t.ApiextensionsV1WebhookClientConfig=ApiextensionsV1WebhookClientConfig;ApiextensionsV1WebhookClientConfig.discriminator=undefined;ApiextensionsV1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"ApiextensionsV1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},7588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1ServiceReference=void 0;class ApiextensionsV1beta1ServiceReference{static getAttributeTypeMap(){return ApiextensionsV1beta1ServiceReference.attributeTypeMap}}t.ApiextensionsV1beta1ServiceReference=ApiextensionsV1beta1ServiceReference;ApiextensionsV1beta1ServiceReference.discriminator=undefined;ApiextensionsV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},96116:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1WebhookClientConfig=void 0;class ApiextensionsV1beta1WebhookClientConfig{static getAttributeTypeMap(){return ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap}}t.ApiextensionsV1beta1WebhookClientConfig=ApiextensionsV1beta1WebhookClientConfig;ApiextensionsV1beta1WebhookClientConfig.discriminator=undefined;ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"ApiextensionsV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},37492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1ServiceReference=void 0;class ApiregistrationV1ServiceReference{static getAttributeTypeMap(){return ApiregistrationV1ServiceReference.attributeTypeMap}}t.ApiregistrationV1ServiceReference=ApiregistrationV1ServiceReference;ApiregistrationV1ServiceReference.discriminator=undefined;ApiregistrationV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"port",baseName:"port",type:"number"}]},67098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1beta1ServiceReference=void 0;class ApiregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return ApiregistrationV1beta1ServiceReference.attributeTypeMap}}t.ApiregistrationV1beta1ServiceReference=ApiregistrationV1beta1ServiceReference;ApiregistrationV1beta1ServiceReference.discriminator=undefined;ApiregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"port",baseName:"port",type:"number"}]},25429:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1TokenRequest=void 0;class AuthenticationV1TokenRequest{static getAttributeTypeMap(){return AuthenticationV1TokenRequest.attributeTypeMap}}t.AuthenticationV1TokenRequest=AuthenticationV1TokenRequest;AuthenticationV1TokenRequest.discriminator=undefined;AuthenticationV1TokenRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1TokenRequestSpec"},{name:"status",baseName:"status",type:"V1TokenRequestStatus"}]},42735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1Event=void 0;class CoreV1Event{static getAttributeTypeMap(){return CoreV1Event.attributeTypeMap}}t.CoreV1Event=CoreV1Event;CoreV1Event.discriminator=undefined;CoreV1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"count",baseName:"count",type:"number"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"firstTimestamp",baseName:"firstTimestamp",type:"Date"},{name:"involvedObject",baseName:"involvedObject",type:"V1ObjectReference"},{name:"kind",baseName:"kind",type:"string"},{name:"lastTimestamp",baseName:"lastTimestamp",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingComponent",baseName:"reportingComponent",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"CoreV1EventSeries"},{name:"source",baseName:"source",type:"V1EventSource"},{name:"type",baseName:"type",type:"string"}]},12368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1EventList=void 0;class CoreV1EventList{static getAttributeTypeMap(){return CoreV1EventList.attributeTypeMap}}t.CoreV1EventList=CoreV1EventList;CoreV1EventList.discriminator=undefined;CoreV1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},70438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1EventSeries=void 0;class CoreV1EventSeries{static getAttributeTypeMap(){return CoreV1EventSeries.attributeTypeMap}}t.CoreV1EventSeries=CoreV1EventSeries;CoreV1EventSeries.discriminator=undefined;CoreV1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},52191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1Event=void 0;class EventsV1Event{static getAttributeTypeMap(){return EventsV1Event.attributeTypeMap}}t.EventsV1Event=EventsV1Event;EventsV1Event.discriminator=undefined;EventsV1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deprecatedCount",baseName:"deprecatedCount",type:"number"},{name:"deprecatedFirstTimestamp",baseName:"deprecatedFirstTimestamp",type:"Date"},{name:"deprecatedLastTimestamp",baseName:"deprecatedLastTimestamp",type:"Date"},{name:"deprecatedSource",baseName:"deprecatedSource",type:"V1EventSource"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"note",baseName:"note",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"regarding",baseName:"regarding",type:"V1ObjectReference"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingController",baseName:"reportingController",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"EventsV1EventSeries"},{name:"type",baseName:"type",type:"string"}]},1051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1EventList=void 0;class EventsV1EventList{static getAttributeTypeMap(){return EventsV1EventList.attributeTypeMap}}t.EventsV1EventList=EventsV1EventList;EventsV1EventList.discriminator=undefined;EventsV1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},10000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1EventSeries=void 0;class EventsV1EventSeries{static getAttributeTypeMap(){return EventsV1EventSeries.attributeTypeMap}}t.EventsV1EventSeries=EventsV1EventSeries;EventsV1EventSeries.discriminator=undefined;EventsV1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},73491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1HTTPIngressPath=void 0;class ExtensionsV1beta1HTTPIngressPath{static getAttributeTypeMap(){return ExtensionsV1beta1HTTPIngressPath.attributeTypeMap}}t.ExtensionsV1beta1HTTPIngressPath=ExtensionsV1beta1HTTPIngressPath;ExtensionsV1beta1HTTPIngressPath.discriminator=undefined;ExtensionsV1beta1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"ExtensionsV1beta1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},77652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1HTTPIngressRuleValue=void 0;class ExtensionsV1beta1HTTPIngressRuleValue{static getAttributeTypeMap(){return ExtensionsV1beta1HTTPIngressRuleValue.attributeTypeMap}}t.ExtensionsV1beta1HTTPIngressRuleValue=ExtensionsV1beta1HTTPIngressRuleValue;ExtensionsV1beta1HTTPIngressRuleValue.discriminator=undefined;ExtensionsV1beta1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},30621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1Ingress=void 0;class ExtensionsV1beta1Ingress{static getAttributeTypeMap(){return ExtensionsV1beta1Ingress.attributeTypeMap}}t.ExtensionsV1beta1Ingress=ExtensionsV1beta1Ingress;ExtensionsV1beta1Ingress.discriminator=undefined;ExtensionsV1beta1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"ExtensionsV1beta1IngressSpec"},{name:"status",baseName:"status",type:"ExtensionsV1beta1IngressStatus"}]},29393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressBackend=void 0;class ExtensionsV1beta1IngressBackend{static getAttributeTypeMap(){return ExtensionsV1beta1IngressBackend.attributeTypeMap}}t.ExtensionsV1beta1IngressBackend=ExtensionsV1beta1IngressBackend;ExtensionsV1beta1IngressBackend.discriminator=undefined;ExtensionsV1beta1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"servicePort",baseName:"servicePort",type:"object"}]},67169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressList=void 0;class ExtensionsV1beta1IngressList{static getAttributeTypeMap(){return ExtensionsV1beta1IngressList.attributeTypeMap}}t.ExtensionsV1beta1IngressList=ExtensionsV1beta1IngressList;ExtensionsV1beta1IngressList.discriminator=undefined;ExtensionsV1beta1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},98849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressRule=void 0;class ExtensionsV1beta1IngressRule{static getAttributeTypeMap(){return ExtensionsV1beta1IngressRule.attributeTypeMap}}t.ExtensionsV1beta1IngressRule=ExtensionsV1beta1IngressRule;ExtensionsV1beta1IngressRule.discriminator=undefined;ExtensionsV1beta1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"ExtensionsV1beta1HTTPIngressRuleValue"}]},89144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressSpec=void 0;class ExtensionsV1beta1IngressSpec{static getAttributeTypeMap(){return ExtensionsV1beta1IngressSpec.attributeTypeMap}}t.ExtensionsV1beta1IngressSpec=ExtensionsV1beta1IngressSpec;ExtensionsV1beta1IngressSpec.discriminator=undefined;ExtensionsV1beta1IngressSpec.attributeTypeMap=[{name:"backend",baseName:"backend",type:"ExtensionsV1beta1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},11652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressStatus=void 0;class ExtensionsV1beta1IngressStatus{static getAttributeTypeMap(){return ExtensionsV1beta1IngressStatus.attributeTypeMap}}t.ExtensionsV1beta1IngressStatus=ExtensionsV1beta1IngressStatus;ExtensionsV1beta1IngressStatus.discriminator=undefined;ExtensionsV1beta1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},30613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressTLS=void 0;class ExtensionsV1beta1IngressTLS{static getAttributeTypeMap(){return ExtensionsV1beta1IngressTLS.attributeTypeMap}}t.ExtensionsV1beta1IngressTLS=ExtensionsV1beta1IngressTLS;ExtensionsV1beta1IngressTLS.discriminator=undefined;ExtensionsV1beta1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},43525:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolV1alpha1Subject=void 0;class FlowcontrolV1alpha1Subject{static getAttributeTypeMap(){return FlowcontrolV1alpha1Subject.attributeTypeMap}}t.FlowcontrolV1alpha1Subject=FlowcontrolV1alpha1Subject;FlowcontrolV1alpha1Subject.discriminator=undefined;FlowcontrolV1alpha1Subject.attributeTypeMap=[{name:"group",baseName:"group",type:"V1alpha1GroupSubject"},{name:"kind",baseName:"kind",type:"string"},{name:"serviceAccount",baseName:"serviceAccount",type:"V1alpha1ServiceAccountSubject"},{name:"user",baseName:"user",type:"V1alpha1UserSubject"}]},88186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolV1beta1Subject=void 0;class FlowcontrolV1beta1Subject{static getAttributeTypeMap(){return FlowcontrolV1beta1Subject.attributeTypeMap}}t.FlowcontrolV1beta1Subject=FlowcontrolV1beta1Subject;FlowcontrolV1beta1Subject.discriminator=undefined;FlowcontrolV1beta1Subject.attributeTypeMap=[{name:"group",baseName:"group",type:"V1beta1GroupSubject"},{name:"kind",baseName:"kind",type:"string"},{name:"serviceAccount",baseName:"serviceAccount",type:"V1beta1ServiceAccountSubject"},{name:"user",baseName:"user",type:"V1beta1UserSubject"}]},15158:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VoidAuth=t.OAuth=t.ApiKeyAuth=t.HttpBearerAuth=t.HttpBasicAuth=t.ObjectSerializer=void 0;const n=i(75636);n.__exportStar(i(21616),t);n.__exportStar(i(7818),t);n.__exportStar(i(96408),t);n.__exportStar(i(90959),t);n.__exportStar(i(63536),t);n.__exportStar(i(22775),t);n.__exportStar(i(7588),t);n.__exportStar(i(96116),t);n.__exportStar(i(37492),t);n.__exportStar(i(67098),t);n.__exportStar(i(25429),t);n.__exportStar(i(42735),t);n.__exportStar(i(12368),t);n.__exportStar(i(70438),t);n.__exportStar(i(52191),t);n.__exportStar(i(1051),t);n.__exportStar(i(1e4),t);n.__exportStar(i(73491),t);n.__exportStar(i(77652),t);n.__exportStar(i(30621),t);n.__exportStar(i(29393),t);n.__exportStar(i(67169),t);n.__exportStar(i(98849),t);n.__exportStar(i(89144),t);n.__exportStar(i(11652),t);n.__exportStar(i(30613),t);n.__exportStar(i(43525),t);n.__exportStar(i(88186),t);n.__exportStar(i(27197),t);n.__exportStar(i(41668),t);n.__exportStar(i(64660),t);n.__exportStar(i(36453),t);n.__exportStar(i(95951),t);n.__exportStar(i(4157),t);n.__exportStar(i(61752),t);n.__exportStar(i(50369),t);n.__exportStar(i(13517),t);n.__exportStar(i(19573),t);n.__exportStar(i(99229),t);n.__exportStar(i(25958),t);n.__exportStar(i(44481),t);n.__exportStar(i(52906),t);n.__exportStar(i(89033),t);n.__exportStar(i(5454),t);n.__exportStar(i(99042),t);n.__exportStar(i(58352),t);n.__exportStar(i(87198),t);n.__exportStar(i(61496),t);n.__exportStar(i(17883),t);n.__exportStar(i(93135),t);n.__exportStar(i(39808),t);n.__exportStar(i(61957),t);n.__exportStar(i(90312),t);n.__exportStar(i(97069),t);n.__exportStar(i(91312),t);n.__exportStar(i(23694),t);n.__exportStar(i(95073),t);n.__exportStar(i(48551),t);n.__exportStar(i(68849),t);n.__exportStar(i(34144),t);n.__exportStar(i(84881),t);n.__exportStar(i(11582),t);n.__exportStar(i(74315),t);n.__exportStar(i(90288),t);n.__exportStar(i(24e3),t);n.__exportStar(i(93142),t);n.__exportStar(i(98367),t);n.__exportStar(i(87598),t);n.__exportStar(i(82975),t);n.__exportStar(i(14268),t);n.__exportStar(i(84957),t);n.__exportStar(i(99084),t);n.__exportStar(i(92932),t);n.__exportStar(i(31530),t);n.__exportStar(i(37759),t);n.__exportStar(i(38285),t);n.__exportStar(i(41888),t);n.__exportStar(i(19111),t);n.__exportStar(i(33913),t);n.__exportStar(i(61458),t);n.__exportStar(i(32315),t);n.__exportStar(i(21181),t);n.__exportStar(i(95532),t);n.__exportStar(i(30578),t);n.__exportStar(i(2047),t);n.__exportStar(i(38596),t);n.__exportStar(i(34990),t);n.__exportStar(i(42874),t);n.__exportStar(i(99685),t);n.__exportStar(i(62892),t);n.__exportStar(i(80512),t);n.__exportStar(i(56709),t);n.__exportStar(i(61682),t);n.__exportStar(i(59708),t);n.__exportStar(i(52865),t);n.__exportStar(i(13501),t);n.__exportStar(i(50217),t);n.__exportStar(i(83765),t);n.__exportStar(i(89767),t);n.__exportStar(i(27892),t);n.__exportStar(i(19716),t);n.__exportStar(i(35980),t);n.__exportStar(i(78405),t);n.__exportStar(i(66304),t);n.__exportStar(i(34233),t);n.__exportStar(i(94346),t);n.__exportStar(i(9731),t);n.__exportStar(i(40325),t);n.__exportStar(i(32791),t);n.__exportStar(i(10486),t);n.__exportStar(i(69798),t);n.__exportStar(i(20486),t);n.__exportStar(i(25713),t);n.__exportStar(i(82283),t);n.__exportStar(i(98087),t);n.__exportStar(i(94579),t);n.__exportStar(i(25408),t);n.__exportStar(i(37060),t);n.__exportStar(i(32699),t);n.__exportStar(i(77063),t);n.__exportStar(i(173),t);n.__exportStar(i(44560),t);n.__exportStar(i(87510),t);n.__exportStar(i(48451),t);n.__exportStar(i(18029),t);n.__exportStar(i(65310),t);n.__exportStar(i(95602),t);n.__exportStar(i(81364),t);n.__exportStar(i(41298),t);n.__exportStar(i(55398),t);n.__exportStar(i(34981),t);n.__exportStar(i(38099),t);n.__exportStar(i(78901),t);n.__exportStar(i(19493),t);n.__exportStar(i(11672),t);n.__exportStar(i(57151),t);n.__exportStar(i(37917),t);n.__exportStar(i(31925),t);n.__exportStar(i(13449),t);n.__exportStar(i(95223),t);n.__exportStar(i(23074),t);n.__exportStar(i(36874),t);n.__exportStar(i(17205),t);n.__exportStar(i(32671),t);n.__exportStar(i(90017),t);n.__exportStar(i(97764),t);n.__exportStar(i(13313),t);n.__exportStar(i(77213),t);n.__exportStar(i(35093),t);n.__exportStar(i(91874),t);n.__exportStar(i(16690),t);n.__exportStar(i(10414),t);n.__exportStar(i(1016),t);n.__exportStar(i(27584),t);n.__exportStar(i(97617),t);n.__exportStar(i(37426),t);n.__exportStar(i(87855),t);n.__exportStar(i(16636),t);n.__exportStar(i(3437),t);n.__exportStar(i(86769),t);n.__exportStar(i(56219),t);n.__exportStar(i(95179),t);n.__exportStar(i(93652),t);n.__exportStar(i(17024),t);n.__exportStar(i(49823),t);n.__exportStar(i(50910),t);n.__exportStar(i(72796),t);n.__exportStar(i(69225),t);n.__exportStar(i(49202),t);n.__exportStar(i(83570),t);n.__exportStar(i(68021),t);n.__exportStar(i(32492),t);n.__exportStar(i(44340),t);n.__exportStar(i(93865),t);n.__exportStar(i(76125),t);n.__exportStar(i(92069),t);n.__exportStar(i(43693),t);n.__exportStar(i(89541),t);n.__exportStar(i(62476),t);n.__exportStar(i(59689),t);n.__exportStar(i(45830),t);n.__exportStar(i(23037),t);n.__exportStar(i(63580),t);n.__exportStar(i(91260),t);n.__exportStar(i(94069),t);n.__exportStar(i(13366),t);n.__exportStar(i(32400),t);n.__exportStar(i(57345),t);n.__exportStar(i(23549),t);n.__exportStar(i(22567),t);n.__exportStar(i(50993),t);n.__exportStar(i(98844),t);n.__exportStar(i(76838),t);n.__exportStar(i(44603),t);n.__exportStar(i(41500),t);n.__exportStar(i(86280),t);n.__exportStar(i(91128),t);n.__exportStar(i(82578),t);n.__exportStar(i(83039),t);n.__exportStar(i(88593),t);n.__exportStar(i(25667),t);n.__exportStar(i(46630),t);n.__exportStar(i(12229),t);n.__exportStar(i(31674),t);n.__exportStar(i(72729),t);n.__exportStar(i(82187),t);n.__exportStar(i(95354),t);n.__exportStar(i(2006),t);n.__exportStar(i(22665),t);n.__exportStar(i(35432),t);n.__exportStar(i(95469),t);n.__exportStar(i(314),t);n.__exportStar(i(22366),t);n.__exportStar(i(49076),t);n.__exportStar(i(8833),t);n.__exportStar(i(47995),t);n.__exportStar(i(60886),t);n.__exportStar(i(89952),t);n.__exportStar(i(74436),t);n.__exportStar(i(22173),t);n.__exportStar(i(71056),t);n.__exportStar(i(63061),t);n.__exportStar(i(3667),t);n.__exportStar(i(84893),t);n.__exportStar(i(10627),t);n.__exportStar(i(11740),t);n.__exportStar(i(4272),t);n.__exportStar(i(10912),t);n.__exportStar(i(24894),t);n.__exportStar(i(42762),t);n.__exportStar(i(32293),t);n.__exportStar(i(85161),t);n.__exportStar(i(51128),t);n.__exportStar(i(41752),t);n.__exportStar(i(21656),t);n.__exportStar(i(33645),t);n.__exportStar(i(70019),t);n.__exportStar(i(99191),t);n.__exportStar(i(86171),t);n.__exportStar(i(44696),t);n.__exportStar(i(19051),t);n.__exportStar(i(90114),t);n.__exportStar(i(7924),t);n.__exportStar(i(25570),t);n.__exportStar(i(17657),t);n.__exportStar(i(32966),t);n.__exportStar(i(78594),t);n.__exportStar(i(99911),t);n.__exportStar(i(42951),t);n.__exportStar(i(92114),t);n.__exportStar(i(69811),t);n.__exportStar(i(86312),t);n.__exportStar(i(86628),t);n.__exportStar(i(19839),t);n.__exportStar(i(51817),t);n.__exportStar(i(99975),t);n.__exportStar(i(509),t);n.__exportStar(i(65970),t);n.__exportStar(i(19574),t);n.__exportStar(i(78045),t);n.__exportStar(i(67831),t);n.__exportStar(i(74548),t);n.__exportStar(i(76774),t);n.__exportStar(i(71948),t);n.__exportStar(i(84135),t);n.__exportStar(i(79850),t);n.__exportStar(i(58881),t);n.__exportStar(i(42892),t);n.__exportStar(i(39894),t);n.__exportStar(i(88279),t);n.__exportStar(i(97621),t);n.__exportStar(i(74625),t);n.__exportStar(i(85571),t);n.__exportStar(i(3317),t);n.__exportStar(i(85751),t);n.__exportStar(i(50837),t);n.__exportStar(i(35698),t);n.__exportStar(i(80966),t);n.__exportStar(i(43933),t);n.__exportStar(i(54662),t);n.__exportStar(i(16954),t);n.__exportStar(i(70634),t);n.__exportStar(i(26573),t);n.__exportStar(i(69009),t);n.__exportStar(i(14870),t);n.__exportStar(i(40475),t);n.__exportStar(i(90975),t);n.__exportStar(i(66859),t);n.__exportStar(i(64888),t);n.__exportStar(i(36376),t);n.__exportStar(i(8350),t);n.__exportStar(i(21782),t);n.__exportStar(i(19870),t);n.__exportStar(i(94221),t);n.__exportStar(i(10936),t);n.__exportStar(i(5827),t);n.__exportStar(i(48994),t);n.__exportStar(i(55397),t);n.__exportStar(i(91686),t);n.__exportStar(i(22421),t);n.__exportStar(i(1581),t);n.__exportStar(i(61114),t);n.__exportStar(i(77568),t);n.__exportStar(i(55014),t);n.__exportStar(i(67214),t);n.__exportStar(i(56149),t);n.__exportStar(i(46136),t);n.__exportStar(i(70215),t);n.__exportStar(i(37088),t);n.__exportStar(i(1824),t);n.__exportStar(i(31828),t);n.__exportStar(i(96736),t);n.__exportStar(i(99411),t);n.__exportStar(i(9764),t);n.__exportStar(i(21058),t);n.__exportStar(i(31382),t);n.__exportStar(i(15895),t);n.__exportStar(i(56891),t);n.__exportStar(i(79991),t);n.__exportStar(i(60711),t);n.__exportStar(i(25888),t);n.__exportStar(i(845),t);n.__exportStar(i(49696),t);n.__exportStar(i(7056),t);n.__exportStar(i(3884),t);n.__exportStar(i(4248),t);n.__exportStar(i(39203),t);n.__exportStar(i(33725),t);n.__exportStar(i(19078),t);n.__exportStar(i(98113),t);n.__exportStar(i(15598),t);n.__exportStar(i(39191),t);n.__exportStar(i(84279),t);n.__exportStar(i(56581),t);n.__exportStar(i(30254),t);n.__exportStar(i(87928),t);n.__exportStar(i(9350),t);n.__exportStar(i(38169),t);n.__exportStar(i(18640),t);n.__exportStar(i(25927),t);n.__exportStar(i(26839),t);n.__exportStar(i(46881),t);n.__exportStar(i(96339),t);n.__exportStar(i(62890),t);n.__exportStar(i(69127),t);n.__exportStar(i(76275),t);n.__exportStar(i(49545),t);n.__exportStar(i(9927),t);n.__exportStar(i(18622),t);n.__exportStar(i(95926),t);n.__exportStar(i(48971),t);n.__exportStar(i(31592),t);n.__exportStar(i(83459),t);n.__exportStar(i(9077),t);n.__exportStar(i(70127),t);n.__exportStar(i(53615),t);n.__exportStar(i(14610),t);n.__exportStar(i(60878),t);n.__exportStar(i(1655),t);n.__exportStar(i(87717),t);n.__exportStar(i(34417),t);n.__exportStar(i(62967),t);n.__exportStar(i(41434),t);n.__exportStar(i(55885),t);n.__exportStar(i(20317),t);n.__exportStar(i(65055),t);n.__exportStar(i(46022),t);n.__exportStar(i(38664),t);n.__exportStar(i(93238),t);n.__exportStar(i(6538),t);n.__exportStar(i(94719),t);n.__exportStar(i(26379),t);n.__exportStar(i(14361),t);n.__exportStar(i(86872),t);n.__exportStar(i(89521),t);n.__exportStar(i(6602),t);n.__exportStar(i(75476),t);n.__exportStar(i(67027),t);n.__exportStar(i(98205),t);n.__exportStar(i(3099),t);n.__exportStar(i(61999),t);n.__exportStar(i(96086),t);n.__exportStar(i(50793),t);n.__exportStar(i(81906),t);n.__exportStar(i(92848),t);n.__exportStar(i(69489),t);n.__exportStar(i(12040),t);n.__exportStar(i(67225),t);n.__exportStar(i(6290),t);n.__exportStar(i(33698),t);n.__exportStar(i(3991),t);n.__exportStar(i(59985),t);n.__exportStar(i(52589),t);n.__exportStar(i(67377),t);n.__exportStar(i(5757),t);n.__exportStar(i(49592),t);n.__exportStar(i(35568),t);n.__exportStar(i(5287),t);n.__exportStar(i(33927),t);n.__exportStar(i(65276),t);n.__exportStar(i(83787),t);n.__exportStar(i(90989),t);n.__exportStar(i(80263),t);n.__exportStar(i(70914),t);n.__exportStar(i(85050),t);n.__exportStar(i(43969),t);n.__exportStar(i(31462),t);n.__exportStar(i(65),t);n.__exportStar(i(50767),t);n.__exportStar(i(77238),t);n.__exportStar(i(52888),t);n.__exportStar(i(44901),t);n.__exportStar(i(8070),t);n.__exportStar(i(61014),t);n.__exportStar(i(15062),t);n.__exportStar(i(89642),t);n.__exportStar(i(15220),t);n.__exportStar(i(10932),t);n.__exportStar(i(73101),t);n.__exportStar(i(78760),t);n.__exportStar(i(3464),t);n.__exportStar(i(47008),t);n.__exportStar(i(1850),t);n.__exportStar(i(62558),t);n.__exportStar(i(49471),t);n.__exportStar(i(45910),t);n.__exportStar(i(32036),t);n.__exportStar(i(53079),t);n.__exportStar(i(39479),t);n.__exportStar(i(56871),t);n.__exportStar(i(66602),t);n.__exportStar(i(41934),t);n.__exportStar(i(3593),t);n.__exportStar(i(12511),t);n.__exportStar(i(47647),t);n.__exportStar(i(23984),t);n.__exportStar(i(54349),t);n.__exportStar(i(20058),t);n.__exportStar(i(53792),t);n.__exportStar(i(20970),t);n.__exportStar(i(88064),t);n.__exportStar(i(88392),t);n.__exportStar(i(49929),t);n.__exportStar(i(23402),t);n.__exportStar(i(49584),t);n.__exportStar(i(94030),t);n.__exportStar(i(39991),t);n.__exportStar(i(48676),t);n.__exportStar(i(53943),t);n.__exportStar(i(44271),t);n.__exportStar(i(99792),t);n.__exportStar(i(43425),t);n.__exportStar(i(7806),t);n.__exportStar(i(7724),t);n.__exportStar(i(66666),t);n.__exportStar(i(29863),t);n.__exportStar(i(23519),t);n.__exportStar(i(68738),t);n.__exportStar(i(24519),t);n.__exportStar(i(92663),t);n.__exportStar(i(37328),t);n.__exportStar(i(16242),t);n.__exportStar(i(25978),t);n.__exportStar(i(16589),t);n.__exportStar(i(91864),t);n.__exportStar(i(97720),t);n.__exportStar(i(52843),t);n.__exportStar(i(63675),t);n.__exportStar(i(34506),t);n.__exportStar(i(72413),t);n.__exportStar(i(58847),t);n.__exportStar(i(38268),t);n.__exportStar(i(21270),t);n.__exportStar(i(9165),t);n.__exportStar(i(64672),t);n.__exportStar(i(60049),t);n.__exportStar(i(15358),t);n.__exportStar(i(9944),t);n.__exportStar(i(18555),t);n.__exportStar(i(49145),t);n.__exportStar(i(87178),t);n.__exportStar(i(86145),t);n.__exportStar(i(42866),t);n.__exportStar(i(18241),t);n.__exportStar(i(67694),t);n.__exportStar(i(41365),t);n.__exportStar(i(13153),t);n.__exportStar(i(27347),t);n.__exportStar(i(61730),t);n.__exportStar(i(37085),t);n.__exportStar(i(7423),t);n.__exportStar(i(26777),t);n.__exportStar(i(98830),t);n.__exportStar(i(93967),t);n.__exportStar(i(64484),t);n.__exportStar(i(63533),t);n.__exportStar(i(96254),t);n.__exportStar(i(1040),t);n.__exportStar(i(57091),t);n.__exportStar(i(98441),t);n.__exportStar(i(30089),t);n.__exportStar(i(43801),t);n.__exportStar(i(58382),t);n.__exportStar(i(84478),t);n.__exportStar(i(8076),t);n.__exportStar(i(51807),t);n.__exportStar(i(59514),t);n.__exportStar(i(96831),t);n.__exportStar(i(41330),t);n.__exportStar(i(98895),t);n.__exportStar(i(95359),t);n.__exportStar(i(24695),t);n.__exportStar(i(75855),t);n.__exportStar(i(56981),t);n.__exportStar(i(55914),t);n.__exportStar(i(14010),t);n.__exportStar(i(8326),t);n.__exportStar(i(40541),t);n.__exportStar(i(59918),t);n.__exportStar(i(74749),t);n.__exportStar(i(66991),t);n.__exportStar(i(4046),t);n.__exportStar(i(14255),t);n.__exportStar(i(81655),t);n.__exportStar(i(83111),t);n.__exportStar(i(34396),t);n.__exportStar(i(43485),t);n.__exportStar(i(63931),t);n.__exportStar(i(23257),t);n.__exportStar(i(84404),t);n.__exportStar(i(44289),t);n.__exportStar(i(90147),t);n.__exportStar(i(72683),t);n.__exportStar(i(2177),t);n.__exportStar(i(75714),t);n.__exportStar(i(59684),t);n.__exportStar(i(26149),t);n.__exportStar(i(67813),t);n.__exportStar(i(60270),t);n.__exportStar(i(90435),t);n.__exportStar(i(42319),t);n.__exportStar(i(10530),t);n.__exportStar(i(22546),t);n.__exportStar(i(62252),t);n.__exportStar(i(76021),t);n.__exportStar(i(5461),t);n.__exportStar(i(28787),t);n.__exportStar(i(51959),t);n.__exportStar(i(71667),t);n.__exportStar(i(96916),t);n.__exportStar(i(2230),t);n.__exportStar(i(74299),t);n.__exportStar(i(87497),t);n.__exportStar(i(65831),t);n.__exportStar(i(31079),t);n.__exportStar(i(75281),t);n.__exportStar(i(8109),t);n.__exportStar(i(50769),t);n.__exportStar(i(49098),t);n.__exportStar(i(34651),t);n.__exportStar(i(35033),t);n.__exportStar(i(90080),t);n.__exportStar(i(13129),t);n.__exportStar(i(14474),t);n.__exportStar(i(473),t);n.__exportStar(i(88465),t);n.__exportStar(i(2146),t);n.__exportStar(i(88931),t);n.__exportStar(i(46198),t);n.__exportStar(i(95797),t);n.__exportStar(i(31397),t);n.__exportStar(i(12802),t);n.__exportStar(i(61521),t);n.__exportStar(i(15956),t);n.__exportStar(i(54910),t);n.__exportStar(i(10285),t);n.__exportStar(i(53523),t);n.__exportStar(i(11202),t);n.__exportStar(i(39491),t);n.__exportStar(i(20812),t);n.__exportStar(i(18685),t);n.__exportStar(i(72711),t);n.__exportStar(i(72167),t);n.__exportStar(i(55473),t);n.__exportStar(i(53805),t);n.__exportStar(i(94350),t);n.__exportStar(i(53849),t);n.__exportStar(i(71688),t);n.__exportStar(i(5710),t);n.__exportStar(i(98026),t);n.__exportStar(i(41784),t);n.__exportStar(i(2411),t);n.__exportStar(i(3849),t);n.__exportStar(i(37196),t);n.__exportStar(i(27287),t);n.__exportStar(i(36502),t);n.__exportStar(i(43128),t);n.__exportStar(i(96606),t);n.__exportStar(i(74687),t);n.__exportStar(i(89728),t);n.__exportStar(i(89151),t);n.__exportStar(i(8786),t);n.__exportStar(i(66258),t);n.__exportStar(i(98064),t);n.__exportStar(i(25083),t);n.__exportStar(i(30639),t);n.__exportStar(i(5950),t);n.__exportStar(i(18291),t);n.__exportStar(i(83162),t);n.__exportStar(i(10150),t);n.__exportStar(i(29521),t);n.__exportStar(i(53209),t);n.__exportStar(i(69602),t);n.__exportStar(i(85029),t);n.__exportStar(i(75145),t);n.__exportStar(i(12390),t);n.__exportStar(i(34096),t);n.__exportStar(i(33665),t);n.__exportStar(i(96952),t);n.__exportStar(i(41473),t);n.__exportStar(i(67231),t);n.__exportStar(i(46788),t);n.__exportStar(i(17298),t);n.__exportStar(i(60715),t);n.__exportStar(i(73280),t);n.__exportStar(i(54941),t);n.__exportStar(i(5415),t);n.__exportStar(i(17383),t);n.__exportStar(i(61416),t);n.__exportStar(i(56126),t);n.__exportStar(i(60958),t);n.__exportStar(i(46865),t);n.__exportStar(i(78411),t);n.__exportStar(i(23137),t);n.__exportStar(i(849),t);n.__exportStar(i(17451),t);const r=i(21616);const s=i(7818);const a=i(96408);const o=i(90959);const u=i(63536);const c=i(22775);const l=i(7588);const p=i(96116);const d=i(37492);const f=i(67098);const h=i(25429);const m=i(42735);const b=i(12368);const g=i(70438);const y=i(52191);const S=i(1051);const v=i(1e4);const w=i(73491);const j=i(77652);const z=i(30621);const O=i(29393);const k=i(67169);const C=i(98849);const T=i(89144);const _=i(11652);const A=i(30613);const E=i(43525);const R=i(88186);const x=i(27197);const N=i(41668);const V=i(64660);const P=i(36453);const M=i(95951);const B=i(4157);const I=i(61752);const D=i(50369);const q=i(13517);const L=i(19573);const U=i(99229);const Q=i(25958);const H=i(44481);const K=i(52906);const G=i(89033);const W=i(5454);const F=i(99042);const J=i(58352);const Y=i(87198);const X=i(61496);const Z=i(17883);const $=i(93135);const ee=i(39808);const te=i(61957);const ie=i(90312);const ne=i(97069);const re=i(91312);const se=i(23694);const ae=i(95073);const oe=i(48551);const ue=i(68849);const ce=i(34144);const le=i(84881);const pe=i(11582);const de=i(74315);const fe=i(90288);const he=i(24e3);const me=i(93142);const be=i(98367);const ge=i(87598);const ye=i(82975);const Se=i(14268);const ve=i(84957);const we=i(99084);const je=i(92932);const ze=i(31530);const Oe=i(37759);const ke=i(38285);const Ce=i(41888);const Te=i(19111);const _e=i(33913);const Ae=i(61458);const Ee=i(32315);const Re=i(21181);const xe=i(95532);const Ne=i(30578);const Ve=i(2047);const Pe=i(38596);const Me=i(34990);const Be=i(42874);const Ie=i(99685);const De=i(62892);const qe=i(80512);const Le=i(56709);const Ue=i(61682);const Qe=i(59708);const He=i(52865);const Ke=i(13501);const Ge=i(50217);const We=i(83765);const Fe=i(89767);const Je=i(27892);const Ye=i(19716);const Xe=i(35980);const Ze=i(78405);const $e=i(66304);const et=i(34233);const tt=i(94346);const it=i(9731);const nt=i(40325);const rt=i(32791);const st=i(10486);const at=i(69798);const ot=i(20486);const ut=i(25713);const ct=i(82283);const lt=i(98087);const pt=i(94579);const dt=i(25408);const ft=i(37060);const ht=i(32699);const mt=i(77063);const bt=i(173);const gt=i(44560);const yt=i(87510);const St=i(48451);const vt=i(18029);const wt=i(65310);const jt=i(95602);const zt=i(81364);const Ot=i(41298);const kt=i(55398);const Ct=i(34981);const Tt=i(38099);const _t=i(78901);const At=i(19493);const Et=i(11672);const Rt=i(57151);const xt=i(37917);const Nt=i(31925);const Vt=i(13449);const Pt=i(95223);const Mt=i(23074);const Bt=i(36874);const It=i(17205);const Dt=i(32671);const qt=i(90017);const Lt=i(97764);const Ut=i(13313);const Qt=i(77213);const Ht=i(35093);const Kt=i(91874);const Gt=i(16690);const Wt=i(10414);const Ft=i(1016);const Jt=i(27584);const Yt=i(97617);const Xt=i(37426);const Zt=i(87855);const $t=i(16636);const ei=i(3437);const ti=i(86769);const ii=i(56219);const ni=i(95179);const ri=i(93652);const si=i(17024);const ai=i(49823);const oi=i(50910);const ui=i(72796);const ci=i(69225);const li=i(49202);const pi=i(83570);const di=i(68021);const fi=i(32492);const hi=i(44340);const mi=i(93865);const bi=i(76125);const gi=i(92069);const yi=i(43693);const Si=i(89541);const vi=i(62476);const wi=i(59689);const ji=i(45830);const zi=i(23037);const Oi=i(63580);const ki=i(91260);const Ci=i(94069);const Ti=i(13366);const _i=i(32400);const Ai=i(57345);const Ei=i(23549);const Ri=i(22567);const xi=i(50993);const Ni=i(98844);const Vi=i(76838);const Pi=i(44603);const Mi=i(41500);const Bi=i(86280);const Ii=i(91128);const Di=i(82578);const qi=i(83039);const Li=i(88593);const Ui=i(25667);const Qi=i(46630);const Hi=i(12229);const Ki=i(31674);const Gi=i(72729);const Wi=i(82187);const Fi=i(95354);const Ji=i(2006);const Yi=i(22665);const Xi=i(35432);const Zi=i(95469);const $i=i(314);const en=i(22366);const tn=i(49076);const nn=i(8833);const rn=i(47995);const sn=i(60886);const an=i(89952);const on=i(74436);const un=i(22173);const cn=i(71056);const ln=i(63061);const pn=i(3667);const dn=i(84893);const fn=i(10627);const hn=i(11740);const mn=i(4272);const bn=i(10912);const gn=i(24894);const yn=i(42762);const Sn=i(32293);const vn=i(85161);const wn=i(51128);const jn=i(41752);const zn=i(21656);const On=i(33645);const kn=i(70019);const Cn=i(99191);const Tn=i(86171);const _n=i(44696);const An=i(19051);const En=i(90114);const Rn=i(7924);const xn=i(25570);const Nn=i(17657);const Vn=i(32966);const Pn=i(78594);const Mn=i(99911);const Bn=i(42951);const In=i(92114);const Dn=i(69811);const qn=i(86312);const Ln=i(86628);const Un=i(19839);const Qn=i(51817);const Hn=i(99975);const Kn=i(509);const Gn=i(65970);const Wn=i(19574);const Fn=i(78045);const Jn=i(67831);const Yn=i(74548);const Xn=i(76774);const Zn=i(71948);const $n=i(84135);const er=i(79850);const tr=i(58881);const ir=i(42892);const nr=i(39894);const rr=i(88279);const sr=i(97621);const ar=i(74625);const or=i(85571);const ur=i(3317);const cr=i(85751);const lr=i(50837);const pr=i(35698);const dr=i(80966);const fr=i(43933);const hr=i(54662);const mr=i(16954);const br=i(70634);const gr=i(26573);const yr=i(69009);const Sr=i(14870);const vr=i(40475);const wr=i(90975);const jr=i(66859);const zr=i(64888);const Or=i(36376);const kr=i(8350);const Cr=i(21782);const Tr=i(19870);const _r=i(94221);const Ar=i(10936);const Er=i(5827);const Rr=i(48994);const xr=i(55397);const Nr=i(91686);const Vr=i(22421);const Pr=i(1581);const Mr=i(61114);const Br=i(77568);const Ir=i(55014);const Dr=i(67214);const qr=i(56149);const Lr=i(46136);const Ur=i(70215);const Qr=i(37088);const Hr=i(1824);const Kr=i(31828);const Gr=i(96736);const Wr=i(99411);const Fr=i(9764);const Jr=i(21058);const Yr=i(31382);const Xr=i(15895);const Zr=i(56891);const $r=i(79991);const es=i(60711);const ts=i(25888);const is=i(845);const ns=i(49696);const rs=i(7056);const ss=i(3884);const as=i(4248);const os=i(39203);const us=i(33725);const cs=i(19078);const ls=i(98113);const ps=i(15598);const ds=i(39191);const fs=i(84279);const hs=i(56581);const ms=i(30254);const bs=i(87928);const gs=i(9350);const ys=i(38169);const Ss=i(18640);const vs=i(25927);const ws=i(26839);const js=i(46881);const zs=i(96339);const Os=i(62890);const ks=i(69127);const Cs=i(76275);const Ts=i(49545);const _s=i(9927);const As=i(18622);const Es=i(95926);const Rs=i(48971);const xs=i(31592);const Ns=i(83459);const Vs=i(9077);const Ps=i(70127);const Ms=i(53615);const Bs=i(14610);const Is=i(60878);const Ds=i(1655);const qs=i(87717);const Ls=i(34417);const Us=i(62967);const Qs=i(41434);const Hs=i(55885);const Ks=i(20317);const Gs=i(65055);const Ws=i(46022);const Fs=i(38664);const Js=i(93238);const Ys=i(6538);const Xs=i(94719);const Zs=i(26379);const $s=i(14361);const ea=i(86872);const ta=i(89521);const ia=i(6602);const na=i(75476);const ra=i(67027);const sa=i(98205);const aa=i(3099);const oa=i(61999);const ua=i(96086);const ca=i(50793);const la=i(81906);const pa=i(92848);const da=i(69489);const fa=i(12040);const ha=i(67225);const ma=i(6290);const ba=i(33698);const ga=i(3991);const ya=i(59985);const Sa=i(52589);const va=i(67377);const wa=i(5757);const ja=i(49592);const za=i(35568);const Oa=i(5287);const ka=i(33927);const Ca=i(65276);const Ta=i(83787);const _a=i(90989);const Aa=i(80263);const Ea=i(70914);const Ra=i(85050);const xa=i(43969);const Na=i(31462);const Va=i(65);const Pa=i(50767);const Ma=i(77238);const Ba=i(52888);const Ia=i(44901);const Da=i(8070);const qa=i(61014);const La=i(15062);const Ua=i(89642);const Qa=i(15220);const Ha=i(10932);const Ka=i(73101);const Ga=i(78760);const Wa=i(3464);const Fa=i(47008);const Ja=i(1850);const Ya=i(62558);const Xa=i(49471);const Za=i(45910);const $a=i(32036);const eo=i(53079);const to=i(39479);const io=i(56871);const no=i(66602);const ro=i(41934);const so=i(3593);const ao=i(12511);const oo=i(47647);const uo=i(23984);const co=i(54349);const lo=i(20058);const po=i(53792);const fo=i(20970);const ho=i(88064);const mo=i(88392);const bo=i(49929);const go=i(23402);const yo=i(49584);const So=i(94030);const vo=i(39991);const wo=i(48676);const jo=i(53943);const zo=i(44271);const Oo=i(99792);const ko=i(43425);const Co=i(7806);const To=i(7724);const _o=i(66666);const Ao=i(29863);const Eo=i(23519);const Ro=i(68738);const xo=i(24519);const No=i(92663);const Vo=i(37328);const Po=i(16242);const Mo=i(25978);const Bo=i(16589);const Io=i(91864);const Do=i(97720);const qo=i(52843);const Lo=i(63675);const Uo=i(34506);const Qo=i(72413);const Ho=i(58847);const Ko=i(38268);const Go=i(21270);const Wo=i(9165);const Fo=i(64672);const Jo=i(60049);const Yo=i(15358);const Xo=i(9944);const Zo=i(18555);const $o=i(49145);const eu=i(87178);const tu=i(86145);const iu=i(42866);const nu=i(18241);const ru=i(67694);const su=i(41365);const au=i(13153);const ou=i(27347);const uu=i(61730);const cu=i(37085);const lu=i(7423);const pu=i(26777);const du=i(98830);const fu=i(93967);const hu=i(64484);const mu=i(63533);const bu=i(96254);const gu=i(1040);const yu=i(57091);const Su=i(98441);const vu=i(30089);const wu=i(43801);const ju=i(58382);const zu=i(84478);const Ou=i(8076);const ku=i(51807);const Cu=i(59514);const Tu=i(96831);const _u=i(41330);const Au=i(98895);const Eu=i(95359);const Ru=i(24695);const xu=i(75855);const Nu=i(56981);const Vu=i(55914);const Pu=i(14010);const Mu=i(8326);const Bu=i(40541);const Iu=i(59918);const Du=i(74749);const qu=i(66991);const Lu=i(4046);const Uu=i(14255);const Qu=i(81655);const Hu=i(83111);const Ku=i(34396);const Gu=i(43485);const Wu=i(63931);const Fu=i(23257);const Ju=i(84404);const Yu=i(44289);const Xu=i(90147);const Zu=i(72683);const $u=i(2177);const ec=i(75714);const tc=i(59684);const ic=i(26149);const nc=i(67813);const rc=i(60270);const sc=i(90435);const ac=i(42319);const oc=i(10530);const uc=i(22546);const cc=i(62252);const lc=i(76021);const pc=i(5461);const dc=i(28787);const fc=i(51959);const hc=i(71667);const mc=i(96916);const bc=i(2230);const gc=i(74299);const yc=i(87497);const Sc=i(65831);const vc=i(31079);const wc=i(75281);const jc=i(8109);const zc=i(50769);const Oc=i(49098);const kc=i(34651);const Cc=i(35033);const Tc=i(90080);const _c=i(13129);const Ac=i(14474);const Ec=i(473);const Rc=i(88465);const xc=i(2146);const Nc=i(88931);const Vc=i(46198);const Pc=i(95797);const Mc=i(31397);const Bc=i(12802);const Ic=i(61521);const Dc=i(15956);const qc=i(54910);const Lc=i(10285);const Uc=i(53523);const Qc=i(11202);const Hc=i(39491);const Kc=i(20812);const Gc=i(18685);const Wc=i(72711);const Fc=i(72167);const Jc=i(55473);const Yc=i(53805);const Xc=i(94350);const Zc=i(53849);const $c=i(71688);const el=i(5710);const tl=i(98026);const il=i(41784);const nl=i(2411);const rl=i(3849);const sl=i(37196);const al=i(27287);const ol=i(36502);const ul=i(43128);const cl=i(96606);const ll=i(74687);const pl=i(89728);const dl=i(89151);const fl=i(8786);const hl=i(66258);const ml=i(98064);const bl=i(25083);const gl=i(30639);const yl=i(5950);const Sl=i(18291);const vl=i(83162);const wl=i(10150);const jl=i(29521);const zl=i(53209);const Ol=i(69602);const kl=i(85029);const Cl=i(75145);const Tl=i(12390);const _l=i(34096);const Al=i(33665);const El=i(96952);const Rl=i(41473);const xl=i(67231);const Nl=i(46788);const Vl=i(17298);const Pl=i(60715);const Ml=i(73280);const Bl=i(54941);const Il=i(5415);const Dl=i(17383);const ql=i(61416);const Ll=i(56126);const Ul=i(60958);const Ql=i(46865);const Hl=i(78411);const Kl=i(23137);const Gl=i(849);const Wl=i(17451);let Fl=["string","boolean","double","integer","long","float","number","any"];let Jl={};let Yl={AdmissionregistrationV1ServiceReference:r.AdmissionregistrationV1ServiceReference,AdmissionregistrationV1WebhookClientConfig:s.AdmissionregistrationV1WebhookClientConfig,AdmissionregistrationV1beta1ServiceReference:a.AdmissionregistrationV1beta1ServiceReference,AdmissionregistrationV1beta1WebhookClientConfig:o.AdmissionregistrationV1beta1WebhookClientConfig,ApiextensionsV1ServiceReference:u.ApiextensionsV1ServiceReference,ApiextensionsV1WebhookClientConfig:c.ApiextensionsV1WebhookClientConfig,ApiextensionsV1beta1ServiceReference:l.ApiextensionsV1beta1ServiceReference,ApiextensionsV1beta1WebhookClientConfig:p.ApiextensionsV1beta1WebhookClientConfig,ApiregistrationV1ServiceReference:d.ApiregistrationV1ServiceReference,ApiregistrationV1beta1ServiceReference:f.ApiregistrationV1beta1ServiceReference,AuthenticationV1TokenRequest:h.AuthenticationV1TokenRequest,CoreV1Event:m.CoreV1Event,CoreV1EventList:b.CoreV1EventList,CoreV1EventSeries:g.CoreV1EventSeries,EventsV1Event:y.EventsV1Event,EventsV1EventList:S.EventsV1EventList,EventsV1EventSeries:v.EventsV1EventSeries,ExtensionsV1beta1HTTPIngressPath:w.ExtensionsV1beta1HTTPIngressPath,ExtensionsV1beta1HTTPIngressRuleValue:j.ExtensionsV1beta1HTTPIngressRuleValue,ExtensionsV1beta1Ingress:z.ExtensionsV1beta1Ingress,ExtensionsV1beta1IngressBackend:O.ExtensionsV1beta1IngressBackend,ExtensionsV1beta1IngressList:k.ExtensionsV1beta1IngressList,ExtensionsV1beta1IngressRule:C.ExtensionsV1beta1IngressRule,ExtensionsV1beta1IngressSpec:T.ExtensionsV1beta1IngressSpec,ExtensionsV1beta1IngressStatus:_.ExtensionsV1beta1IngressStatus,ExtensionsV1beta1IngressTLS:A.ExtensionsV1beta1IngressTLS,FlowcontrolV1alpha1Subject:E.FlowcontrolV1alpha1Subject,FlowcontrolV1beta1Subject:R.FlowcontrolV1beta1Subject,NetworkingV1beta1HTTPIngressPath:x.NetworkingV1beta1HTTPIngressPath,NetworkingV1beta1HTTPIngressRuleValue:N.NetworkingV1beta1HTTPIngressRuleValue,NetworkingV1beta1Ingress:V.NetworkingV1beta1Ingress,NetworkingV1beta1IngressBackend:P.NetworkingV1beta1IngressBackend,NetworkingV1beta1IngressList:M.NetworkingV1beta1IngressList,NetworkingV1beta1IngressRule:B.NetworkingV1beta1IngressRule,NetworkingV1beta1IngressSpec:I.NetworkingV1beta1IngressSpec,NetworkingV1beta1IngressStatus:D.NetworkingV1beta1IngressStatus,NetworkingV1beta1IngressTLS:q.NetworkingV1beta1IngressTLS,RbacV1alpha1Subject:L.RbacV1alpha1Subject,RbacV1beta1Subject:U.RbacV1beta1Subject,StorageV1TokenRequest:Q.StorageV1TokenRequest,V1APIGroup:H.V1APIGroup,V1APIGroupList:K.V1APIGroupList,V1APIResource:G.V1APIResource,V1APIResourceList:W.V1APIResourceList,V1APIService:F.V1APIService,V1APIServiceCondition:J.V1APIServiceCondition,V1APIServiceList:Y.V1APIServiceList,V1APIServiceSpec:X.V1APIServiceSpec,V1APIServiceStatus:Z.V1APIServiceStatus,V1APIVersions:$.V1APIVersions,V1AWSElasticBlockStoreVolumeSource:ee.V1AWSElasticBlockStoreVolumeSource,V1Affinity:te.V1Affinity,V1AggregationRule:ie.V1AggregationRule,V1AttachedVolume:ne.V1AttachedVolume,V1AzureDiskVolumeSource:re.V1AzureDiskVolumeSource,V1AzureFilePersistentVolumeSource:se.V1AzureFilePersistentVolumeSource,V1AzureFileVolumeSource:ae.V1AzureFileVolumeSource,V1Binding:oe.V1Binding,V1BoundObjectReference:ue.V1BoundObjectReference,V1CSIDriver:ce.V1CSIDriver,V1CSIDriverList:le.V1CSIDriverList,V1CSIDriverSpec:pe.V1CSIDriverSpec,V1CSINode:de.V1CSINode,V1CSINodeDriver:fe.V1CSINodeDriver,V1CSINodeList:he.V1CSINodeList,V1CSINodeSpec:me.V1CSINodeSpec,V1CSIPersistentVolumeSource:be.V1CSIPersistentVolumeSource,V1CSIVolumeSource:ge.V1CSIVolumeSource,V1Capabilities:ye.V1Capabilities,V1CephFSPersistentVolumeSource:Se.V1CephFSPersistentVolumeSource,V1CephFSVolumeSource:ve.V1CephFSVolumeSource,V1CertificateSigningRequest:we.V1CertificateSigningRequest,V1CertificateSigningRequestCondition:je.V1CertificateSigningRequestCondition,V1CertificateSigningRequestList:ze.V1CertificateSigningRequestList,V1CertificateSigningRequestSpec:Oe.V1CertificateSigningRequestSpec,V1CertificateSigningRequestStatus:ke.V1CertificateSigningRequestStatus,V1CinderPersistentVolumeSource:Ce.V1CinderPersistentVolumeSource,V1CinderVolumeSource:Te.V1CinderVolumeSource,V1ClientIPConfig:_e.V1ClientIPConfig,V1ClusterRole:Ae.V1ClusterRole,V1ClusterRoleBinding:Ee.V1ClusterRoleBinding,V1ClusterRoleBindingList:Re.V1ClusterRoleBindingList,V1ClusterRoleList:xe.V1ClusterRoleList,V1ComponentCondition:Ne.V1ComponentCondition,V1ComponentStatus:Ve.V1ComponentStatus,V1ComponentStatusList:Pe.V1ComponentStatusList,V1Condition:Me.V1Condition,V1ConfigMap:Be.V1ConfigMap,V1ConfigMapEnvSource:Ie.V1ConfigMapEnvSource,V1ConfigMapKeySelector:De.V1ConfigMapKeySelector,V1ConfigMapList:qe.V1ConfigMapList,V1ConfigMapNodeConfigSource:Le.V1ConfigMapNodeConfigSource,V1ConfigMapProjection:Ue.V1ConfigMapProjection,V1ConfigMapVolumeSource:Qe.V1ConfigMapVolumeSource,V1Container:He.V1Container,V1ContainerImage:Ke.V1ContainerImage,V1ContainerPort:Ge.V1ContainerPort,V1ContainerState:We.V1ContainerState,V1ContainerStateRunning:Fe.V1ContainerStateRunning,V1ContainerStateTerminated:Je.V1ContainerStateTerminated,V1ContainerStateWaiting:Ye.V1ContainerStateWaiting,V1ContainerStatus:Xe.V1ContainerStatus,V1ControllerRevision:Ze.V1ControllerRevision,V1ControllerRevisionList:$e.V1ControllerRevisionList,V1CrossVersionObjectReference:et.V1CrossVersionObjectReference,V1CustomResourceColumnDefinition:tt.V1CustomResourceColumnDefinition,V1CustomResourceConversion:it.V1CustomResourceConversion,V1CustomResourceDefinition:nt.V1CustomResourceDefinition,V1CustomResourceDefinitionCondition:rt.V1CustomResourceDefinitionCondition,V1CustomResourceDefinitionList:st.V1CustomResourceDefinitionList,V1CustomResourceDefinitionNames:at.V1CustomResourceDefinitionNames,V1CustomResourceDefinitionSpec:ot.V1CustomResourceDefinitionSpec,V1CustomResourceDefinitionStatus:ut.V1CustomResourceDefinitionStatus,V1CustomResourceDefinitionVersion:ct.V1CustomResourceDefinitionVersion,V1CustomResourceSubresourceScale:lt.V1CustomResourceSubresourceScale,V1CustomResourceSubresources:pt.V1CustomResourceSubresources,V1CustomResourceValidation:dt.V1CustomResourceValidation,V1DaemonEndpoint:ft.V1DaemonEndpoint,V1DaemonSet:ht.V1DaemonSet,V1DaemonSetCondition:mt.V1DaemonSetCondition,V1DaemonSetList:bt.V1DaemonSetList,V1DaemonSetSpec:gt.V1DaemonSetSpec,V1DaemonSetStatus:yt.V1DaemonSetStatus,V1DaemonSetUpdateStrategy:St.V1DaemonSetUpdateStrategy,V1DeleteOptions:vt.V1DeleteOptions,V1Deployment:wt.V1Deployment,V1DeploymentCondition:jt.V1DeploymentCondition,V1DeploymentList:zt.V1DeploymentList,V1DeploymentSpec:Ot.V1DeploymentSpec,V1DeploymentStatus:kt.V1DeploymentStatus,V1DeploymentStrategy:Ct.V1DeploymentStrategy,V1DownwardAPIProjection:Tt.V1DownwardAPIProjection,V1DownwardAPIVolumeFile:_t.V1DownwardAPIVolumeFile,V1DownwardAPIVolumeSource:At.V1DownwardAPIVolumeSource,V1EmptyDirVolumeSource:Et.V1EmptyDirVolumeSource,V1EndpointAddress:Rt.V1EndpointAddress,V1EndpointPort:xt.V1EndpointPort,V1EndpointSubset:Nt.V1EndpointSubset,V1Endpoints:Vt.V1Endpoints,V1EndpointsList:Pt.V1EndpointsList,V1EnvFromSource:Mt.V1EnvFromSource,V1EnvVar:Bt.V1EnvVar,V1EnvVarSource:It.V1EnvVarSource,V1EphemeralContainer:Dt.V1EphemeralContainer,V1EphemeralVolumeSource:qt.V1EphemeralVolumeSource,V1EventSource:Lt.V1EventSource,V1ExecAction:Ut.V1ExecAction,V1ExternalDocumentation:Qt.V1ExternalDocumentation,V1FCVolumeSource:Ht.V1FCVolumeSource,V1FlexPersistentVolumeSource:Kt.V1FlexPersistentVolumeSource,V1FlexVolumeSource:Gt.V1FlexVolumeSource,V1FlockerVolumeSource:Wt.V1FlockerVolumeSource,V1GCEPersistentDiskVolumeSource:Ft.V1GCEPersistentDiskVolumeSource,V1GitRepoVolumeSource:Jt.V1GitRepoVolumeSource,V1GlusterfsPersistentVolumeSource:Yt.V1GlusterfsPersistentVolumeSource,V1GlusterfsVolumeSource:Xt.V1GlusterfsVolumeSource,V1GroupVersionForDiscovery:Zt.V1GroupVersionForDiscovery,V1HTTPGetAction:$t.V1HTTPGetAction,V1HTTPHeader:ei.V1HTTPHeader,V1HTTPIngressPath:ti.V1HTTPIngressPath,V1HTTPIngressRuleValue:ii.V1HTTPIngressRuleValue,V1Handler:ni.V1Handler,V1HorizontalPodAutoscaler:ri.V1HorizontalPodAutoscaler,V1HorizontalPodAutoscalerList:si.V1HorizontalPodAutoscalerList,V1HorizontalPodAutoscalerSpec:ai.V1HorizontalPodAutoscalerSpec,V1HorizontalPodAutoscalerStatus:oi.V1HorizontalPodAutoscalerStatus,V1HostAlias:ui.V1HostAlias,V1HostPathVolumeSource:ci.V1HostPathVolumeSource,V1IPBlock:li.V1IPBlock,V1ISCSIPersistentVolumeSource:pi.V1ISCSIPersistentVolumeSource,V1ISCSIVolumeSource:di.V1ISCSIVolumeSource,V1Ingress:fi.V1Ingress,V1IngressBackend:hi.V1IngressBackend,V1IngressClass:mi.V1IngressClass,V1IngressClassList:bi.V1IngressClassList,V1IngressClassSpec:gi.V1IngressClassSpec,V1IngressList:yi.V1IngressList,V1IngressRule:Si.V1IngressRule,V1IngressServiceBackend:vi.V1IngressServiceBackend,V1IngressSpec:wi.V1IngressSpec,V1IngressStatus:ji.V1IngressStatus,V1IngressTLS:zi.V1IngressTLS,V1JSONSchemaProps:Oi.V1JSONSchemaProps,V1Job:ki.V1Job,V1JobCondition:Ci.V1JobCondition,V1JobList:Ti.V1JobList,V1JobSpec:_i.V1JobSpec,V1JobStatus:Ai.V1JobStatus,V1KeyToPath:Ei.V1KeyToPath,V1LabelSelector:Ri.V1LabelSelector,V1LabelSelectorRequirement:xi.V1LabelSelectorRequirement,V1Lease:Ni.V1Lease,V1LeaseList:Vi.V1LeaseList,V1LeaseSpec:Pi.V1LeaseSpec,V1Lifecycle:Mi.V1Lifecycle,V1LimitRange:Bi.V1LimitRange,V1LimitRangeItem:Ii.V1LimitRangeItem,V1LimitRangeList:Di.V1LimitRangeList,V1LimitRangeSpec:qi.V1LimitRangeSpec,V1ListMeta:Li.V1ListMeta,V1LoadBalancerIngress:Ui.V1LoadBalancerIngress,V1LoadBalancerStatus:Qi.V1LoadBalancerStatus,V1LocalObjectReference:Hi.V1LocalObjectReference,V1LocalSubjectAccessReview:Ki.V1LocalSubjectAccessReview,V1LocalVolumeSource:Gi.V1LocalVolumeSource,V1ManagedFieldsEntry:Wi.V1ManagedFieldsEntry,V1MutatingWebhook:Fi.V1MutatingWebhook,V1MutatingWebhookConfiguration:Ji.V1MutatingWebhookConfiguration,V1MutatingWebhookConfigurationList:Yi.V1MutatingWebhookConfigurationList,V1NFSVolumeSource:Xi.V1NFSVolumeSource,V1Namespace:Zi.V1Namespace,V1NamespaceCondition:$i.V1NamespaceCondition,V1NamespaceList:en.V1NamespaceList,V1NamespaceSpec:tn.V1NamespaceSpec,V1NamespaceStatus:nn.V1NamespaceStatus,V1NetworkPolicy:rn.V1NetworkPolicy,V1NetworkPolicyEgressRule:sn.V1NetworkPolicyEgressRule,V1NetworkPolicyIngressRule:an.V1NetworkPolicyIngressRule,V1NetworkPolicyList:on.V1NetworkPolicyList,V1NetworkPolicyPeer:un.V1NetworkPolicyPeer,V1NetworkPolicyPort:cn.V1NetworkPolicyPort,V1NetworkPolicySpec:ln.V1NetworkPolicySpec,V1Node:pn.V1Node,V1NodeAddress:dn.V1NodeAddress,V1NodeAffinity:fn.V1NodeAffinity,V1NodeCondition:hn.V1NodeCondition,V1NodeConfigSource:mn.V1NodeConfigSource,V1NodeConfigStatus:bn.V1NodeConfigStatus,V1NodeDaemonEndpoints:gn.V1NodeDaemonEndpoints,V1NodeList:yn.V1NodeList,V1NodeSelector:Sn.V1NodeSelector,V1NodeSelectorRequirement:vn.V1NodeSelectorRequirement,V1NodeSelectorTerm:wn.V1NodeSelectorTerm,V1NodeSpec:jn.V1NodeSpec,V1NodeStatus:zn.V1NodeStatus,V1NodeSystemInfo:On.V1NodeSystemInfo,V1NonResourceAttributes:kn.V1NonResourceAttributes,V1NonResourceRule:Cn.V1NonResourceRule,V1ObjectFieldSelector:Tn.V1ObjectFieldSelector,V1ObjectMeta:_n.V1ObjectMeta,V1ObjectReference:An.V1ObjectReference,V1Overhead:En.V1Overhead,V1OwnerReference:Rn.V1OwnerReference,V1PersistentVolume:xn.V1PersistentVolume,V1PersistentVolumeClaim:Nn.V1PersistentVolumeClaim,V1PersistentVolumeClaimCondition:Vn.V1PersistentVolumeClaimCondition,V1PersistentVolumeClaimList:Pn.V1PersistentVolumeClaimList,V1PersistentVolumeClaimSpec:Mn.V1PersistentVolumeClaimSpec,V1PersistentVolumeClaimStatus:Bn.V1PersistentVolumeClaimStatus,V1PersistentVolumeClaimTemplate:In.V1PersistentVolumeClaimTemplate,V1PersistentVolumeClaimVolumeSource:Dn.V1PersistentVolumeClaimVolumeSource,V1PersistentVolumeList:qn.V1PersistentVolumeList,V1PersistentVolumeSpec:Ln.V1PersistentVolumeSpec,V1PersistentVolumeStatus:Un.V1PersistentVolumeStatus,V1PhotonPersistentDiskVolumeSource:Qn.V1PhotonPersistentDiskVolumeSource,V1Pod:Hn.V1Pod,V1PodAffinity:Kn.V1PodAffinity,V1PodAffinityTerm:Gn.V1PodAffinityTerm,V1PodAntiAffinity:Wn.V1PodAntiAffinity,V1PodCondition:Fn.V1PodCondition,V1PodDNSConfig:Jn.V1PodDNSConfig,V1PodDNSConfigOption:Yn.V1PodDNSConfigOption,V1PodIP:Xn.V1PodIP,V1PodList:Zn.V1PodList,V1PodReadinessGate:$n.V1PodReadinessGate,V1PodSecurityContext:er.V1PodSecurityContext,V1PodSpec:tr.V1PodSpec,V1PodStatus:ir.V1PodStatus,V1PodTemplate:nr.V1PodTemplate,V1PodTemplateList:rr.V1PodTemplateList,V1PodTemplateSpec:sr.V1PodTemplateSpec,V1PolicyRule:ar.V1PolicyRule,V1PortStatus:or.V1PortStatus,V1PortworxVolumeSource:ur.V1PortworxVolumeSource,V1Preconditions:cr.V1Preconditions,V1PreferredSchedulingTerm:lr.V1PreferredSchedulingTerm,V1PriorityClass:pr.V1PriorityClass,V1PriorityClassList:dr.V1PriorityClassList,V1Probe:fr.V1Probe,V1ProjectedVolumeSource:hr.V1ProjectedVolumeSource,V1QuobyteVolumeSource:mr.V1QuobyteVolumeSource,V1RBDPersistentVolumeSource:br.V1RBDPersistentVolumeSource,V1RBDVolumeSource:gr.V1RBDVolumeSource,V1ReplicaSet:yr.V1ReplicaSet,V1ReplicaSetCondition:Sr.V1ReplicaSetCondition,V1ReplicaSetList:vr.V1ReplicaSetList,V1ReplicaSetSpec:wr.V1ReplicaSetSpec,V1ReplicaSetStatus:jr.V1ReplicaSetStatus,V1ReplicationController:zr.V1ReplicationController,V1ReplicationControllerCondition:Or.V1ReplicationControllerCondition,V1ReplicationControllerList:kr.V1ReplicationControllerList,V1ReplicationControllerSpec:Cr.V1ReplicationControllerSpec,V1ReplicationControllerStatus:Tr.V1ReplicationControllerStatus,V1ResourceAttributes:_r.V1ResourceAttributes,V1ResourceFieldSelector:Ar.V1ResourceFieldSelector,V1ResourceQuota:Er.V1ResourceQuota,V1ResourceQuotaList:Rr.V1ResourceQuotaList,V1ResourceQuotaSpec:xr.V1ResourceQuotaSpec,V1ResourceQuotaStatus:Nr.V1ResourceQuotaStatus,V1ResourceRequirements:Vr.V1ResourceRequirements,V1ResourceRule:Pr.V1ResourceRule,V1Role:Mr.V1Role,V1RoleBinding:Br.V1RoleBinding,V1RoleBindingList:Ir.V1RoleBindingList,V1RoleList:Dr.V1RoleList,V1RoleRef:qr.V1RoleRef,V1RollingUpdateDaemonSet:Lr.V1RollingUpdateDaemonSet,V1RollingUpdateDeployment:Ur.V1RollingUpdateDeployment,V1RollingUpdateStatefulSetStrategy:Qr.V1RollingUpdateStatefulSetStrategy,V1RuleWithOperations:Hr.V1RuleWithOperations,V1RuntimeClass:Kr.V1RuntimeClass,V1RuntimeClassList:Gr.V1RuntimeClassList,V1SELinuxOptions:Wr.V1SELinuxOptions,V1Scale:Fr.V1Scale,V1ScaleIOPersistentVolumeSource:Jr.V1ScaleIOPersistentVolumeSource,V1ScaleIOVolumeSource:Yr.V1ScaleIOVolumeSource,V1ScaleSpec:Xr.V1ScaleSpec,V1ScaleStatus:Zr.V1ScaleStatus,V1Scheduling:$r.V1Scheduling,V1ScopeSelector:es.V1ScopeSelector,V1ScopedResourceSelectorRequirement:ts.V1ScopedResourceSelectorRequirement,V1SeccompProfile:is.V1SeccompProfile,V1Secret:ns.V1Secret,V1SecretEnvSource:rs.V1SecretEnvSource,V1SecretKeySelector:ss.V1SecretKeySelector,V1SecretList:as.V1SecretList,V1SecretProjection:os.V1SecretProjection,V1SecretReference:us.V1SecretReference,V1SecretVolumeSource:cs.V1SecretVolumeSource,V1SecurityContext:ls.V1SecurityContext,V1SelfSubjectAccessReview:ps.V1SelfSubjectAccessReview,V1SelfSubjectAccessReviewSpec:ds.V1SelfSubjectAccessReviewSpec,V1SelfSubjectRulesReview:fs.V1SelfSubjectRulesReview,V1SelfSubjectRulesReviewSpec:hs.V1SelfSubjectRulesReviewSpec,V1ServerAddressByClientCIDR:ms.V1ServerAddressByClientCIDR,V1Service:bs.V1Service,V1ServiceAccount:gs.V1ServiceAccount,V1ServiceAccountList:ys.V1ServiceAccountList,V1ServiceAccountTokenProjection:Ss.V1ServiceAccountTokenProjection,V1ServiceBackendPort:vs.V1ServiceBackendPort,V1ServiceList:ws.V1ServiceList,V1ServicePort:js.V1ServicePort,V1ServiceSpec:zs.V1ServiceSpec,V1ServiceStatus:Os.V1ServiceStatus,V1SessionAffinityConfig:ks.V1SessionAffinityConfig,V1StatefulSet:Cs.V1StatefulSet,V1StatefulSetCondition:Ts.V1StatefulSetCondition,V1StatefulSetList:_s.V1StatefulSetList,V1StatefulSetSpec:As.V1StatefulSetSpec,V1StatefulSetStatus:Es.V1StatefulSetStatus,V1StatefulSetUpdateStrategy:Rs.V1StatefulSetUpdateStrategy,V1Status:xs.V1Status,V1StatusCause:Ns.V1StatusCause,V1StatusDetails:Vs.V1StatusDetails,V1StorageClass:Ps.V1StorageClass,V1StorageClassList:Ms.V1StorageClassList,V1StorageOSPersistentVolumeSource:Bs.V1StorageOSPersistentVolumeSource,V1StorageOSVolumeSource:Is.V1StorageOSVolumeSource,V1Subject:Ds.V1Subject,V1SubjectAccessReview:qs.V1SubjectAccessReview,V1SubjectAccessReviewSpec:Ls.V1SubjectAccessReviewSpec,V1SubjectAccessReviewStatus:Us.V1SubjectAccessReviewStatus,V1SubjectRulesReviewStatus:Qs.V1SubjectRulesReviewStatus,V1Sysctl:Hs.V1Sysctl,V1TCPSocketAction:Ks.V1TCPSocketAction,V1Taint:Gs.V1Taint,V1TokenRequestSpec:Ws.V1TokenRequestSpec,V1TokenRequestStatus:Fs.V1TokenRequestStatus,V1TokenReview:Js.V1TokenReview,V1TokenReviewSpec:Ys.V1TokenReviewSpec,V1TokenReviewStatus:Xs.V1TokenReviewStatus,V1Toleration:Zs.V1Toleration,V1TopologySelectorLabelRequirement:$s.V1TopologySelectorLabelRequirement,V1TopologySelectorTerm:ea.V1TopologySelectorTerm,V1TopologySpreadConstraint:ta.V1TopologySpreadConstraint,V1TypedLocalObjectReference:ia.V1TypedLocalObjectReference,V1UserInfo:na.V1UserInfo,V1ValidatingWebhook:ra.V1ValidatingWebhook,V1ValidatingWebhookConfiguration:sa.V1ValidatingWebhookConfiguration,V1ValidatingWebhookConfigurationList:aa.V1ValidatingWebhookConfigurationList,V1Volume:oa.V1Volume,V1VolumeAttachment:ua.V1VolumeAttachment,V1VolumeAttachmentList:ca.V1VolumeAttachmentList,V1VolumeAttachmentSource:la.V1VolumeAttachmentSource,V1VolumeAttachmentSpec:pa.V1VolumeAttachmentSpec,V1VolumeAttachmentStatus:da.V1VolumeAttachmentStatus,V1VolumeDevice:fa.V1VolumeDevice,V1VolumeError:ha.V1VolumeError,V1VolumeMount:ma.V1VolumeMount,V1VolumeNodeAffinity:ba.V1VolumeNodeAffinity,V1VolumeNodeResources:ga.V1VolumeNodeResources,V1VolumeProjection:ya.V1VolumeProjection,V1VsphereVirtualDiskVolumeSource:Sa.V1VsphereVirtualDiskVolumeSource,V1WatchEvent:va.V1WatchEvent,V1WebhookConversion:wa.V1WebhookConversion,V1WeightedPodAffinityTerm:ja.V1WeightedPodAffinityTerm,V1WindowsSecurityContextOptions:za.V1WindowsSecurityContextOptions,V1alpha1AggregationRule:Oa.V1alpha1AggregationRule,V1alpha1ClusterRole:ka.V1alpha1ClusterRole,V1alpha1ClusterRoleBinding:Ca.V1alpha1ClusterRoleBinding,V1alpha1ClusterRoleBindingList:Ta.V1alpha1ClusterRoleBindingList,V1alpha1ClusterRoleList:_a.V1alpha1ClusterRoleList,V1alpha1FlowDistinguisherMethod:Aa.V1alpha1FlowDistinguisherMethod,V1alpha1FlowSchema:Ea.V1alpha1FlowSchema,V1alpha1FlowSchemaCondition:Ra.V1alpha1FlowSchemaCondition,V1alpha1FlowSchemaList:xa.V1alpha1FlowSchemaList,V1alpha1FlowSchemaSpec:Na.V1alpha1FlowSchemaSpec,V1alpha1FlowSchemaStatus:Va.V1alpha1FlowSchemaStatus,V1alpha1GroupSubject:Pa.V1alpha1GroupSubject,V1alpha1LimitResponse:Ma.V1alpha1LimitResponse,V1alpha1LimitedPriorityLevelConfiguration:Ba.V1alpha1LimitedPriorityLevelConfiguration,V1alpha1NonResourcePolicyRule:Ia.V1alpha1NonResourcePolicyRule,V1alpha1Overhead:Da.V1alpha1Overhead,V1alpha1PolicyRule:qa.V1alpha1PolicyRule,V1alpha1PolicyRulesWithSubjects:La.V1alpha1PolicyRulesWithSubjects,V1alpha1PriorityClass:Ua.V1alpha1PriorityClass,V1alpha1PriorityClassList:Qa.V1alpha1PriorityClassList,V1alpha1PriorityLevelConfiguration:Ha.V1alpha1PriorityLevelConfiguration,V1alpha1PriorityLevelConfigurationCondition:Ka.V1alpha1PriorityLevelConfigurationCondition,V1alpha1PriorityLevelConfigurationList:Ga.V1alpha1PriorityLevelConfigurationList,V1alpha1PriorityLevelConfigurationReference:Wa.V1alpha1PriorityLevelConfigurationReference,V1alpha1PriorityLevelConfigurationSpec:Fa.V1alpha1PriorityLevelConfigurationSpec,V1alpha1PriorityLevelConfigurationStatus:Ja.V1alpha1PriorityLevelConfigurationStatus,V1alpha1QueuingConfiguration:Ya.V1alpha1QueuingConfiguration,V1alpha1ResourcePolicyRule:Xa.V1alpha1ResourcePolicyRule,V1alpha1Role:Za.V1alpha1Role,V1alpha1RoleBinding:$a.V1alpha1RoleBinding,V1alpha1RoleBindingList:eo.V1alpha1RoleBindingList,V1alpha1RoleList:to.V1alpha1RoleList,V1alpha1RoleRef:io.V1alpha1RoleRef,V1alpha1RuntimeClass:no.V1alpha1RuntimeClass,V1alpha1RuntimeClassList:ro.V1alpha1RuntimeClassList,V1alpha1RuntimeClassSpec:so.V1alpha1RuntimeClassSpec,V1alpha1Scheduling:ao.V1alpha1Scheduling,V1alpha1ServerStorageVersion:oo.V1alpha1ServerStorageVersion,V1alpha1ServiceAccountSubject:uo.V1alpha1ServiceAccountSubject,V1alpha1StorageVersion:co.V1alpha1StorageVersion,V1alpha1StorageVersionCondition:lo.V1alpha1StorageVersionCondition,V1alpha1StorageVersionList:po.V1alpha1StorageVersionList,V1alpha1StorageVersionStatus:fo.V1alpha1StorageVersionStatus,V1alpha1UserSubject:ho.V1alpha1UserSubject,V1alpha1VolumeAttachment:mo.V1alpha1VolumeAttachment,V1alpha1VolumeAttachmentList:bo.V1alpha1VolumeAttachmentList,V1alpha1VolumeAttachmentSource:go.V1alpha1VolumeAttachmentSource,V1alpha1VolumeAttachmentSpec:yo.V1alpha1VolumeAttachmentSpec,V1alpha1VolumeAttachmentStatus:So.V1alpha1VolumeAttachmentStatus,V1alpha1VolumeError:vo.V1alpha1VolumeError,V1beta1APIService:wo.V1beta1APIService,V1beta1APIServiceCondition:jo.V1beta1APIServiceCondition,V1beta1APIServiceList:zo.V1beta1APIServiceList,V1beta1APIServiceSpec:Oo.V1beta1APIServiceSpec,V1beta1APIServiceStatus:ko.V1beta1APIServiceStatus,V1beta1AggregationRule:Co.V1beta1AggregationRule,V1beta1AllowedCSIDriver:To.V1beta1AllowedCSIDriver,V1beta1AllowedFlexVolume:_o.V1beta1AllowedFlexVolume,V1beta1AllowedHostPath:Ao.V1beta1AllowedHostPath,V1beta1CSIDriver:Eo.V1beta1CSIDriver,V1beta1CSIDriverList:Ro.V1beta1CSIDriverList,V1beta1CSIDriverSpec:xo.V1beta1CSIDriverSpec,V1beta1CSINode:No.V1beta1CSINode,V1beta1CSINodeDriver:Vo.V1beta1CSINodeDriver,V1beta1CSINodeList:Po.V1beta1CSINodeList,V1beta1CSINodeSpec:Mo.V1beta1CSINodeSpec,V1beta1CertificateSigningRequest:Bo.V1beta1CertificateSigningRequest,V1beta1CertificateSigningRequestCondition:Io.V1beta1CertificateSigningRequestCondition,V1beta1CertificateSigningRequestList:Do.V1beta1CertificateSigningRequestList,V1beta1CertificateSigningRequestSpec:qo.V1beta1CertificateSigningRequestSpec,V1beta1CertificateSigningRequestStatus:Lo.V1beta1CertificateSigningRequestStatus,V1beta1ClusterRole:Uo.V1beta1ClusterRole,V1beta1ClusterRoleBinding:Qo.V1beta1ClusterRoleBinding,V1beta1ClusterRoleBindingList:Ho.V1beta1ClusterRoleBindingList,V1beta1ClusterRoleList:Ko.V1beta1ClusterRoleList,V1beta1CronJob:Go.V1beta1CronJob,V1beta1CronJobList:Wo.V1beta1CronJobList,V1beta1CronJobSpec:Fo.V1beta1CronJobSpec,V1beta1CronJobStatus:Jo.V1beta1CronJobStatus,V1beta1CustomResourceColumnDefinition:Yo.V1beta1CustomResourceColumnDefinition,V1beta1CustomResourceConversion:Xo.V1beta1CustomResourceConversion,V1beta1CustomResourceDefinition:Zo.V1beta1CustomResourceDefinition,V1beta1CustomResourceDefinitionCondition:$o.V1beta1CustomResourceDefinitionCondition,V1beta1CustomResourceDefinitionList:eu.V1beta1CustomResourceDefinitionList,V1beta1CustomResourceDefinitionNames:tu.V1beta1CustomResourceDefinitionNames,V1beta1CustomResourceDefinitionSpec:iu.V1beta1CustomResourceDefinitionSpec,V1beta1CustomResourceDefinitionStatus:nu.V1beta1CustomResourceDefinitionStatus,V1beta1CustomResourceDefinitionVersion:ru.V1beta1CustomResourceDefinitionVersion,V1beta1CustomResourceSubresourceScale:su.V1beta1CustomResourceSubresourceScale,V1beta1CustomResourceSubresources:au.V1beta1CustomResourceSubresources,V1beta1CustomResourceValidation:ou.V1beta1CustomResourceValidation,V1beta1Endpoint:uu.V1beta1Endpoint,V1beta1EndpointConditions:cu.V1beta1EndpointConditions,V1beta1EndpointPort:lu.V1beta1EndpointPort,V1beta1EndpointSlice:pu.V1beta1EndpointSlice,V1beta1EndpointSliceList:du.V1beta1EndpointSliceList,V1beta1Event:fu.V1beta1Event,V1beta1EventList:hu.V1beta1EventList,V1beta1EventSeries:mu.V1beta1EventSeries,V1beta1Eviction:bu.V1beta1Eviction,V1beta1ExternalDocumentation:gu.V1beta1ExternalDocumentation,V1beta1FSGroupStrategyOptions:yu.V1beta1FSGroupStrategyOptions,V1beta1FlowDistinguisherMethod:Su.V1beta1FlowDistinguisherMethod,V1beta1FlowSchema:vu.V1beta1FlowSchema,V1beta1FlowSchemaCondition:wu.V1beta1FlowSchemaCondition,V1beta1FlowSchemaList:ju.V1beta1FlowSchemaList,V1beta1FlowSchemaSpec:zu.V1beta1FlowSchemaSpec,V1beta1FlowSchemaStatus:Ou.V1beta1FlowSchemaStatus,V1beta1GroupSubject:ku.V1beta1GroupSubject,V1beta1HostPortRange:Cu.V1beta1HostPortRange,V1beta1IDRange:Tu.V1beta1IDRange,V1beta1IngressClass:_u.V1beta1IngressClass,V1beta1IngressClassList:Au.V1beta1IngressClassList,V1beta1IngressClassSpec:Eu.V1beta1IngressClassSpec,V1beta1JSONSchemaProps:Ru.V1beta1JSONSchemaProps,V1beta1JobTemplateSpec:xu.V1beta1JobTemplateSpec,V1beta1Lease:Nu.V1beta1Lease,V1beta1LeaseList:Vu.V1beta1LeaseList,V1beta1LeaseSpec:Pu.V1beta1LeaseSpec,V1beta1LimitResponse:Mu.V1beta1LimitResponse,V1beta1LimitedPriorityLevelConfiguration:Bu.V1beta1LimitedPriorityLevelConfiguration,V1beta1LocalSubjectAccessReview:Iu.V1beta1LocalSubjectAccessReview,V1beta1MutatingWebhook:Du.V1beta1MutatingWebhook,V1beta1MutatingWebhookConfiguration:qu.V1beta1MutatingWebhookConfiguration,V1beta1MutatingWebhookConfigurationList:Lu.V1beta1MutatingWebhookConfigurationList,V1beta1NonResourceAttributes:Uu.V1beta1NonResourceAttributes,V1beta1NonResourcePolicyRule:Qu.V1beta1NonResourcePolicyRule,V1beta1NonResourceRule:Hu.V1beta1NonResourceRule,V1beta1Overhead:Ku.V1beta1Overhead,V1beta1PodDisruptionBudget:Gu.V1beta1PodDisruptionBudget,V1beta1PodDisruptionBudgetList:Wu.V1beta1PodDisruptionBudgetList,V1beta1PodDisruptionBudgetSpec:Fu.V1beta1PodDisruptionBudgetSpec,V1beta1PodDisruptionBudgetStatus:Ju.V1beta1PodDisruptionBudgetStatus,V1beta1PodSecurityPolicy:Yu.V1beta1PodSecurityPolicy,V1beta1PodSecurityPolicyList:Xu.V1beta1PodSecurityPolicyList,V1beta1PodSecurityPolicySpec:Zu.V1beta1PodSecurityPolicySpec,V1beta1PolicyRule:$u.V1beta1PolicyRule,V1beta1PolicyRulesWithSubjects:ec.V1beta1PolicyRulesWithSubjects,V1beta1PriorityClass:tc.V1beta1PriorityClass,V1beta1PriorityClassList:ic.V1beta1PriorityClassList,V1beta1PriorityLevelConfiguration:nc.V1beta1PriorityLevelConfiguration,V1beta1PriorityLevelConfigurationCondition:rc.V1beta1PriorityLevelConfigurationCondition,V1beta1PriorityLevelConfigurationList:sc.V1beta1PriorityLevelConfigurationList,V1beta1PriorityLevelConfigurationReference:ac.V1beta1PriorityLevelConfigurationReference,V1beta1PriorityLevelConfigurationSpec:oc.V1beta1PriorityLevelConfigurationSpec,V1beta1PriorityLevelConfigurationStatus:uc.V1beta1PriorityLevelConfigurationStatus,V1beta1QueuingConfiguration:cc.V1beta1QueuingConfiguration,V1beta1ResourceAttributes:lc.V1beta1ResourceAttributes,V1beta1ResourcePolicyRule:pc.V1beta1ResourcePolicyRule,V1beta1ResourceRule:dc.V1beta1ResourceRule,V1beta1Role:fc.V1beta1Role,V1beta1RoleBinding:hc.V1beta1RoleBinding,V1beta1RoleBindingList:mc.V1beta1RoleBindingList,V1beta1RoleList:bc.V1beta1RoleList,V1beta1RoleRef:gc.V1beta1RoleRef,V1beta1RuleWithOperations:yc.V1beta1RuleWithOperations,V1beta1RunAsGroupStrategyOptions:Sc.V1beta1RunAsGroupStrategyOptions,V1beta1RunAsUserStrategyOptions:vc.V1beta1RunAsUserStrategyOptions,V1beta1RuntimeClass:wc.V1beta1RuntimeClass,V1beta1RuntimeClassList:jc.V1beta1RuntimeClassList,V1beta1RuntimeClassStrategyOptions:zc.V1beta1RuntimeClassStrategyOptions,V1beta1SELinuxStrategyOptions:Oc.V1beta1SELinuxStrategyOptions,V1beta1Scheduling:kc.V1beta1Scheduling,V1beta1SelfSubjectAccessReview:Cc.V1beta1SelfSubjectAccessReview,V1beta1SelfSubjectAccessReviewSpec:Tc.V1beta1SelfSubjectAccessReviewSpec,V1beta1SelfSubjectRulesReview:_c.V1beta1SelfSubjectRulesReview,V1beta1SelfSubjectRulesReviewSpec:Ac.V1beta1SelfSubjectRulesReviewSpec,V1beta1ServiceAccountSubject:Ec.V1beta1ServiceAccountSubject,V1beta1StorageClass:Rc.V1beta1StorageClass,V1beta1StorageClassList:xc.V1beta1StorageClassList,V1beta1SubjectAccessReview:Nc.V1beta1SubjectAccessReview,V1beta1SubjectAccessReviewSpec:Vc.V1beta1SubjectAccessReviewSpec,V1beta1SubjectAccessReviewStatus:Pc.V1beta1SubjectAccessReviewStatus,V1beta1SubjectRulesReviewStatus:Mc.V1beta1SubjectRulesReviewStatus,V1beta1SupplementalGroupsStrategyOptions:Bc.V1beta1SupplementalGroupsStrategyOptions,V1beta1TokenRequest:Ic.V1beta1TokenRequest,V1beta1TokenReview:Dc.V1beta1TokenReview,V1beta1TokenReviewSpec:qc.V1beta1TokenReviewSpec,V1beta1TokenReviewStatus:Lc.V1beta1TokenReviewStatus,V1beta1UserInfo:Uc.V1beta1UserInfo,V1beta1UserSubject:Qc.V1beta1UserSubject,V1beta1ValidatingWebhook:Hc.V1beta1ValidatingWebhook,V1beta1ValidatingWebhookConfiguration:Kc.V1beta1ValidatingWebhookConfiguration,V1beta1ValidatingWebhookConfigurationList:Gc.V1beta1ValidatingWebhookConfigurationList,V1beta1VolumeAttachment:Wc.V1beta1VolumeAttachment,V1beta1VolumeAttachmentList:Fc.V1beta1VolumeAttachmentList,V1beta1VolumeAttachmentSource:Jc.V1beta1VolumeAttachmentSource,V1beta1VolumeAttachmentSpec:Yc.V1beta1VolumeAttachmentSpec,V1beta1VolumeAttachmentStatus:Xc.V1beta1VolumeAttachmentStatus,V1beta1VolumeError:Zc.V1beta1VolumeError,V1beta1VolumeNodeResources:$c.V1beta1VolumeNodeResources,V2alpha1CronJob:el.V2alpha1CronJob,V2alpha1CronJobList:tl.V2alpha1CronJobList,V2alpha1CronJobSpec:il.V2alpha1CronJobSpec,V2alpha1CronJobStatus:nl.V2alpha1CronJobStatus,V2alpha1JobTemplateSpec:rl.V2alpha1JobTemplateSpec,V2beta1ContainerResourceMetricSource:sl.V2beta1ContainerResourceMetricSource,V2beta1ContainerResourceMetricStatus:al.V2beta1ContainerResourceMetricStatus,V2beta1CrossVersionObjectReference:ol.V2beta1CrossVersionObjectReference,V2beta1ExternalMetricSource:ul.V2beta1ExternalMetricSource,V2beta1ExternalMetricStatus:cl.V2beta1ExternalMetricStatus,V2beta1HorizontalPodAutoscaler:ll.V2beta1HorizontalPodAutoscaler,V2beta1HorizontalPodAutoscalerCondition:pl.V2beta1HorizontalPodAutoscalerCondition,V2beta1HorizontalPodAutoscalerList:dl.V2beta1HorizontalPodAutoscalerList,V2beta1HorizontalPodAutoscalerSpec:fl.V2beta1HorizontalPodAutoscalerSpec,V2beta1HorizontalPodAutoscalerStatus:hl.V2beta1HorizontalPodAutoscalerStatus,V2beta1MetricSpec:ml.V2beta1MetricSpec,V2beta1MetricStatus:bl.V2beta1MetricStatus,V2beta1ObjectMetricSource:gl.V2beta1ObjectMetricSource,V2beta1ObjectMetricStatus:yl.V2beta1ObjectMetricStatus,V2beta1PodsMetricSource:Sl.V2beta1PodsMetricSource,V2beta1PodsMetricStatus:vl.V2beta1PodsMetricStatus,V2beta1ResourceMetricSource:wl.V2beta1ResourceMetricSource,V2beta1ResourceMetricStatus:jl.V2beta1ResourceMetricStatus,V2beta2ContainerResourceMetricSource:zl.V2beta2ContainerResourceMetricSource,V2beta2ContainerResourceMetricStatus:Ol.V2beta2ContainerResourceMetricStatus,V2beta2CrossVersionObjectReference:kl.V2beta2CrossVersionObjectReference,V2beta2ExternalMetricSource:Cl.V2beta2ExternalMetricSource,V2beta2ExternalMetricStatus:Tl.V2beta2ExternalMetricStatus,V2beta2HPAScalingPolicy:_l.V2beta2HPAScalingPolicy,V2beta2HPAScalingRules:Al.V2beta2HPAScalingRules,V2beta2HorizontalPodAutoscaler:El.V2beta2HorizontalPodAutoscaler,V2beta2HorizontalPodAutoscalerBehavior:Rl.V2beta2HorizontalPodAutoscalerBehavior,V2beta2HorizontalPodAutoscalerCondition:xl.V2beta2HorizontalPodAutoscalerCondition,V2beta2HorizontalPodAutoscalerList:Nl.V2beta2HorizontalPodAutoscalerList,V2beta2HorizontalPodAutoscalerSpec:Vl.V2beta2HorizontalPodAutoscalerSpec,V2beta2HorizontalPodAutoscalerStatus:Pl.V2beta2HorizontalPodAutoscalerStatus,V2beta2MetricIdentifier:Ml.V2beta2MetricIdentifier,V2beta2MetricSpec:Bl.V2beta2MetricSpec,V2beta2MetricStatus:Il.V2beta2MetricStatus,V2beta2MetricTarget:Dl.V2beta2MetricTarget,V2beta2MetricValueStatus:ql.V2beta2MetricValueStatus,V2beta2ObjectMetricSource:Ll.V2beta2ObjectMetricSource,V2beta2ObjectMetricStatus:Ul.V2beta2ObjectMetricStatus,V2beta2PodsMetricSource:Ql.V2beta2PodsMetricSource,V2beta2PodsMetricStatus:Hl.V2beta2PodsMetricStatus,V2beta2ResourceMetricSource:Kl.V2beta2ResourceMetricSource,V2beta2ResourceMetricStatus:Gl.V2beta2ResourceMetricStatus,VersionInfo:Wl.VersionInfo};class ObjectSerializer{static findCorrectType(e,t){if(e==undefined){return t}else if(Fl.indexOf(t.toLowerCase())!==-1){return t}else if(t==="Date"){return t}else{if(Jl[t]){return t}if(!Yl[t]){return t}let n=Yl[t].discriminator;if(n==null){return t}else{if(e[n]){var i=e[n];if(Yl[i]){return i}else{return t}}else{return t}}}}static serialize(e,t){if(e==undefined){return e}else if(Fl.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let r=e[t];n.push(ObjectSerializer.serialize(r,i))}return n}else if(t==="Date"){return e.toISOString()}else{if(Jl[t]){return e}if(!Yl[t]){return e}t=this.findCorrectType(e,t);let i=Yl[t].getAttributeTypeMap();let n={};for(let t in i){let r=i[t];n[r.baseName]=ObjectSerializer.serialize(e[r.name],r.type)}return n}}static deserialize(e,t){t=ObjectSerializer.findCorrectType(e,t);if(e==undefined){return e}else if(Fl.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let r=e[t];n.push(ObjectSerializer.deserialize(r,i))}return n}else if(t==="Date"){return new Date(e)}else{if(Jl[t]){return e}if(!Yl[t]){return e}let i=new Yl[t];let n=Yl[t].getAttributeTypeMap();for(let t in n){let r=n[t];i[r.name]=ObjectSerializer.deserialize(e[r.baseName],r.type)}return i}}}t.ObjectSerializer=ObjectSerializer;class HttpBasicAuth{constructor(){this.username="";this.password=""}applyToRequest(e){e.auth={username:this.username,password:this.password}}}t.HttpBasicAuth=HttpBasicAuth;class HttpBearerAuth{constructor(){this.accessToken=""}applyToRequest(e){if(e&&e.headers){const t=typeof this.accessToken==="function"?this.accessToken():this.accessToken;e.headers["Authorization"]="Bearer "+t}}}t.HttpBearerAuth=HttpBearerAuth;class ApiKeyAuth{constructor(e,t){this.location=e;this.paramName=t;this.apiKey=""}applyToRequest(e){if(this.location=="query"){e.qs[this.paramName]=this.apiKey}else if(this.location=="header"&&e&&e.headers){e.headers[this.paramName]=this.apiKey}else if(this.location=="cookie"&&e&&e.headers){if(e.headers["Cookie"]){e.headers["Cookie"]+="; "+this.paramName+"="+encodeURIComponent(this.apiKey)}else{e.headers["Cookie"]=this.paramName+"="+encodeURIComponent(this.apiKey)}}}}t.ApiKeyAuth=ApiKeyAuth;class OAuth{constructor(){this.accessToken=""}applyToRequest(e){if(e&&e.headers){e.headers["Authorization"]="Bearer "+this.accessToken}}}t.OAuth=OAuth;class VoidAuth{constructor(){this.username="";this.password=""}applyToRequest(e){}}t.VoidAuth=VoidAuth},27197:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1HTTPIngressPath=void 0;class NetworkingV1beta1HTTPIngressPath{static getAttributeTypeMap(){return NetworkingV1beta1HTTPIngressPath.attributeTypeMap}}t.NetworkingV1beta1HTTPIngressPath=NetworkingV1beta1HTTPIngressPath;NetworkingV1beta1HTTPIngressPath.discriminator=undefined;NetworkingV1beta1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"NetworkingV1beta1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},41668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1HTTPIngressRuleValue=void 0;class NetworkingV1beta1HTTPIngressRuleValue{static getAttributeTypeMap(){return NetworkingV1beta1HTTPIngressRuleValue.attributeTypeMap}}t.NetworkingV1beta1HTTPIngressRuleValue=NetworkingV1beta1HTTPIngressRuleValue;NetworkingV1beta1HTTPIngressRuleValue.discriminator=undefined;NetworkingV1beta1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},64660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1Ingress=void 0;class NetworkingV1beta1Ingress{static getAttributeTypeMap(){return NetworkingV1beta1Ingress.attributeTypeMap}}t.NetworkingV1beta1Ingress=NetworkingV1beta1Ingress;NetworkingV1beta1Ingress.discriminator=undefined;NetworkingV1beta1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"NetworkingV1beta1IngressSpec"},{name:"status",baseName:"status",type:"NetworkingV1beta1IngressStatus"}]},36453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressBackend=void 0;class NetworkingV1beta1IngressBackend{static getAttributeTypeMap(){return NetworkingV1beta1IngressBackend.attributeTypeMap}}t.NetworkingV1beta1IngressBackend=NetworkingV1beta1IngressBackend;NetworkingV1beta1IngressBackend.discriminator=undefined;NetworkingV1beta1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"servicePort",baseName:"servicePort",type:"object"}]},95951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressList=void 0;class NetworkingV1beta1IngressList{static getAttributeTypeMap(){return NetworkingV1beta1IngressList.attributeTypeMap}}t.NetworkingV1beta1IngressList=NetworkingV1beta1IngressList;NetworkingV1beta1IngressList.discriminator=undefined;NetworkingV1beta1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},4157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressRule=void 0;class NetworkingV1beta1IngressRule{static getAttributeTypeMap(){return NetworkingV1beta1IngressRule.attributeTypeMap}}t.NetworkingV1beta1IngressRule=NetworkingV1beta1IngressRule;NetworkingV1beta1IngressRule.discriminator=undefined;NetworkingV1beta1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"NetworkingV1beta1HTTPIngressRuleValue"}]},61752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressSpec=void 0;class NetworkingV1beta1IngressSpec{static getAttributeTypeMap(){return NetworkingV1beta1IngressSpec.attributeTypeMap}}t.NetworkingV1beta1IngressSpec=NetworkingV1beta1IngressSpec;NetworkingV1beta1IngressSpec.discriminator=undefined;NetworkingV1beta1IngressSpec.attributeTypeMap=[{name:"backend",baseName:"backend",type:"NetworkingV1beta1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},50369:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressStatus=void 0;class NetworkingV1beta1IngressStatus{static getAttributeTypeMap(){return NetworkingV1beta1IngressStatus.attributeTypeMap}}t.NetworkingV1beta1IngressStatus=NetworkingV1beta1IngressStatus;NetworkingV1beta1IngressStatus.discriminator=undefined;NetworkingV1beta1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},13517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressTLS=void 0;class NetworkingV1beta1IngressTLS{static getAttributeTypeMap(){return NetworkingV1beta1IngressTLS.attributeTypeMap}}t.NetworkingV1beta1IngressTLS=NetworkingV1beta1IngressTLS;NetworkingV1beta1IngressTLS.discriminator=undefined;NetworkingV1beta1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},19573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacV1alpha1Subject=void 0;class RbacV1alpha1Subject{static getAttributeTypeMap(){return RbacV1alpha1Subject.attributeTypeMap}}t.RbacV1alpha1Subject=RbacV1alpha1Subject;RbacV1alpha1Subject.discriminator=undefined;RbacV1alpha1Subject.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},99229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacV1beta1Subject=void 0;class RbacV1beta1Subject{static getAttributeTypeMap(){return RbacV1beta1Subject.attributeTypeMap}}t.RbacV1beta1Subject=RbacV1beta1Subject;RbacV1beta1Subject.discriminator=undefined;RbacV1beta1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},25958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1TokenRequest=void 0;class StorageV1TokenRequest{static getAttributeTypeMap(){return StorageV1TokenRequest.attributeTypeMap}}t.StorageV1TokenRequest=StorageV1TokenRequest;StorageV1TokenRequest.discriminator=undefined;StorageV1TokenRequest.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},44481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIGroup=void 0;class V1APIGroup{static getAttributeTypeMap(){return V1APIGroup.attributeTypeMap}}t.V1APIGroup=V1APIGroup;V1APIGroup.discriminator=undefined;V1APIGroup.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"preferredVersion",baseName:"preferredVersion",type:"V1GroupVersionForDiscovery"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}]},52906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIGroupList=void 0;class V1APIGroupList{static getAttributeTypeMap(){return V1APIGroupList.attributeTypeMap}}t.V1APIGroupList=V1APIGroupList;V1APIGroupList.discriminator=undefined;V1APIGroupList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groups",baseName:"groups",type:"Array"},{name:"kind",baseName:"kind",type:"string"}]},89033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIResource=void 0;class V1APIResource{static getAttributeTypeMap(){return V1APIResource.attributeTypeMap}}t.V1APIResource=V1APIResource;V1APIResource.discriminator=undefined;V1APIResource.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaced",baseName:"namespaced",type:"boolean"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singularName",baseName:"singularName",type:"string"},{name:"storageVersionHash",baseName:"storageVersionHash",type:"string"},{name:"verbs",baseName:"verbs",type:"Array"},{name:"version",baseName:"version",type:"string"}]},5454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIResourceList=void 0;class V1APIResourceList{static getAttributeTypeMap(){return V1APIResourceList.attributeTypeMap}}t.V1APIResourceList=V1APIResourceList;V1APIResourceList.discriminator=undefined;V1APIResourceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"resources",baseName:"resources",type:"Array"}]},99042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIService=void 0;class V1APIService{static getAttributeTypeMap(){return V1APIService.attributeTypeMap}}t.V1APIService=V1APIService;V1APIService.discriminator=undefined;V1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1APIServiceSpec"},{name:"status",baseName:"status",type:"V1APIServiceStatus"}]},58352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceCondition=void 0;class V1APIServiceCondition{static getAttributeTypeMap(){return V1APIServiceCondition.attributeTypeMap}}t.V1APIServiceCondition=V1APIServiceCondition;V1APIServiceCondition.discriminator=undefined;V1APIServiceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},87198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceList=void 0;class V1APIServiceList{static getAttributeTypeMap(){return V1APIServiceList.attributeTypeMap}}t.V1APIServiceList=V1APIServiceList;V1APIServiceList.discriminator=undefined;V1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},61496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceSpec=void 0;class V1APIServiceSpec{static getAttributeTypeMap(){return V1APIServiceSpec.attributeTypeMap}}t.V1APIServiceSpec=V1APIServiceSpec;V1APIServiceSpec.discriminator=undefined;V1APIServiceSpec.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"group",baseName:"group",type:"string"},{name:"groupPriorityMinimum",baseName:"groupPriorityMinimum",type:"number"},{name:"insecureSkipTLSVerify",baseName:"insecureSkipTLSVerify",type:"boolean"},{name:"service",baseName:"service",type:"ApiregistrationV1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}]},17883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceStatus=void 0;class V1APIServiceStatus{static getAttributeTypeMap(){return V1APIServiceStatus.attributeTypeMap}}t.V1APIServiceStatus=V1APIServiceStatus;V1APIServiceStatus.discriminator=undefined;V1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},93135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIVersions=void 0;class V1APIVersions{static getAttributeTypeMap(){return V1APIVersions.attributeTypeMap}}t.V1APIVersions=V1APIVersions;V1APIVersions.discriminator=undefined;V1APIVersions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}]},39808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AWSElasticBlockStoreVolumeSource=void 0;class V1AWSElasticBlockStoreVolumeSource{static getAttributeTypeMap(){return V1AWSElasticBlockStoreVolumeSource.attributeTypeMap}}t.V1AWSElasticBlockStoreVolumeSource=V1AWSElasticBlockStoreVolumeSource;V1AWSElasticBlockStoreVolumeSource.discriminator=undefined;V1AWSElasticBlockStoreVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}]},61957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Affinity=void 0;class V1Affinity{static getAttributeTypeMap(){return V1Affinity.attributeTypeMap}}t.V1Affinity=V1Affinity;V1Affinity.discriminator=undefined;V1Affinity.attributeTypeMap=[{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1NodeAffinity"},{name:"podAffinity",baseName:"podAffinity",type:"V1PodAffinity"},{name:"podAntiAffinity",baseName:"podAntiAffinity",type:"V1PodAntiAffinity"}]},90312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AggregationRule=void 0;class V1AggregationRule{static getAttributeTypeMap(){return V1AggregationRule.attributeTypeMap}}t.V1AggregationRule=V1AggregationRule;V1AggregationRule.discriminator=undefined;V1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},97069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AttachedVolume=void 0;class V1AttachedVolume{static getAttributeTypeMap(){return V1AttachedVolume.attributeTypeMap}}t.V1AttachedVolume=V1AttachedVolume;V1AttachedVolume.discriminator=undefined;V1AttachedVolume.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}]},91312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureDiskVolumeSource=void 0;class V1AzureDiskVolumeSource{static getAttributeTypeMap(){return V1AzureDiskVolumeSource.attributeTypeMap}}t.V1AzureDiskVolumeSource=V1AzureDiskVolumeSource;V1AzureDiskVolumeSource.discriminator=undefined;V1AzureDiskVolumeSource.attributeTypeMap=[{name:"cachingMode",baseName:"cachingMode",type:"string"},{name:"diskName",baseName:"diskName",type:"string"},{name:"diskURI",baseName:"diskURI",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},23694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureFilePersistentVolumeSource=void 0;class V1AzureFilePersistentVolumeSource{static getAttributeTypeMap(){return V1AzureFilePersistentVolumeSource.attributeTypeMap}}t.V1AzureFilePersistentVolumeSource=V1AzureFilePersistentVolumeSource;V1AzureFilePersistentVolumeSource.discriminator=undefined;V1AzureFilePersistentVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"secretNamespace",baseName:"secretNamespace",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}]},95073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureFileVolumeSource=void 0;class V1AzureFileVolumeSource{static getAttributeTypeMap(){return V1AzureFileVolumeSource.attributeTypeMap}}t.V1AzureFileVolumeSource=V1AzureFileVolumeSource;V1AzureFileVolumeSource.discriminator=undefined;V1AzureFileVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}]},48551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Binding=void 0;class V1Binding{static getAttributeTypeMap(){return V1Binding.attributeTypeMap}}t.V1Binding=V1Binding;V1Binding.discriminator=undefined;V1Binding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"target",baseName:"target",type:"V1ObjectReference"}]},68849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1BoundObjectReference=void 0;class V1BoundObjectReference{static getAttributeTypeMap(){return V1BoundObjectReference.attributeTypeMap}}t.V1BoundObjectReference=V1BoundObjectReference;V1BoundObjectReference.discriminator=undefined;V1BoundObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},34144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriver=void 0;class V1CSIDriver{static getAttributeTypeMap(){return V1CSIDriver.attributeTypeMap}}t.V1CSIDriver=V1CSIDriver;V1CSIDriver.discriminator=undefined;V1CSIDriver.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CSIDriverSpec"}]},84881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriverList=void 0;class V1CSIDriverList{static getAttributeTypeMap(){return V1CSIDriverList.attributeTypeMap}}t.V1CSIDriverList=V1CSIDriverList;V1CSIDriverList.discriminator=undefined;V1CSIDriverList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},11582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriverSpec=void 0;class V1CSIDriverSpec{static getAttributeTypeMap(){return V1CSIDriverSpec.attributeTypeMap}}t.V1CSIDriverSpec=V1CSIDriverSpec;V1CSIDriverSpec.discriminator=undefined;V1CSIDriverSpec.attributeTypeMap=[{name:"attachRequired",baseName:"attachRequired",type:"boolean"},{name:"fsGroupPolicy",baseName:"fsGroupPolicy",type:"string"},{name:"podInfoOnMount",baseName:"podInfoOnMount",type:"boolean"},{name:"requiresRepublish",baseName:"requiresRepublish",type:"boolean"},{name:"storageCapacity",baseName:"storageCapacity",type:"boolean"},{name:"tokenRequests",baseName:"tokenRequests",type:"Array"},{name:"volumeLifecycleModes",baseName:"volumeLifecycleModes",type:"Array"}]},74315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINode=void 0;class V1CSINode{static getAttributeTypeMap(){return V1CSINode.attributeTypeMap}}t.V1CSINode=V1CSINode;V1CSINode.discriminator=undefined;V1CSINode.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CSINodeSpec"}]},90288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeDriver=void 0;class V1CSINodeDriver{static getAttributeTypeMap(){return V1CSINodeDriver.attributeTypeMap}}t.V1CSINodeDriver=V1CSINodeDriver;V1CSINodeDriver.discriminator=undefined;V1CSINodeDriver.attributeTypeMap=[{name:"allocatable",baseName:"allocatable",type:"V1VolumeNodeResources"},{name:"name",baseName:"name",type:"string"},{name:"nodeID",baseName:"nodeID",type:"string"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"}]},24000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeList=void 0;class V1CSINodeList{static getAttributeTypeMap(){return V1CSINodeList.attributeTypeMap}}t.V1CSINodeList=V1CSINodeList;V1CSINodeList.discriminator=undefined;V1CSINodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},93142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeSpec=void 0;class V1CSINodeSpec{static getAttributeTypeMap(){return V1CSINodeSpec.attributeTypeMap}}t.V1CSINodeSpec=V1CSINodeSpec;V1CSINodeSpec.discriminator=undefined;V1CSINodeSpec.attributeTypeMap=[{name:"drivers",baseName:"drivers",type:"Array"}]},98367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIPersistentVolumeSource=void 0;class V1CSIPersistentVolumeSource{static getAttributeTypeMap(){return V1CSIPersistentVolumeSource.attributeTypeMap}}t.V1CSIPersistentVolumeSource=V1CSIPersistentVolumeSource;V1CSIPersistentVolumeSource.discriminator=undefined;V1CSIPersistentVolumeSource.attributeTypeMap=[{name:"controllerExpandSecretRef",baseName:"controllerExpandSecretRef",type:"V1SecretReference"},{name:"controllerPublishSecretRef",baseName:"controllerPublishSecretRef",type:"V1SecretReference"},{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"nodePublishSecretRef",baseName:"nodePublishSecretRef",type:"V1SecretReference"},{name:"nodeStageSecretRef",baseName:"nodeStageSecretRef",type:"V1SecretReference"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeAttributes",baseName:"volumeAttributes",type:"{ [key: string]: string; }"},{name:"volumeHandle",baseName:"volumeHandle",type:"string"}]},87598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIVolumeSource=void 0;class V1CSIVolumeSource{static getAttributeTypeMap(){return V1CSIVolumeSource.attributeTypeMap}}t.V1CSIVolumeSource=V1CSIVolumeSource;V1CSIVolumeSource.discriminator=undefined;V1CSIVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"nodePublishSecretRef",baseName:"nodePublishSecretRef",type:"V1LocalObjectReference"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeAttributes",baseName:"volumeAttributes",type:"{ [key: string]: string; }"}]},82975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Capabilities=void 0;class V1Capabilities{static getAttributeTypeMap(){return V1Capabilities.attributeTypeMap}}t.V1Capabilities=V1Capabilities;V1Capabilities.discriminator=undefined;V1Capabilities.attributeTypeMap=[{name:"add",baseName:"add",type:"Array"},{name:"drop",baseName:"drop",type:"Array"}]},14268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CephFSPersistentVolumeSource=void 0;class V1CephFSPersistentVolumeSource{static getAttributeTypeMap(){return V1CephFSPersistentVolumeSource.attributeTypeMap}}t.V1CephFSPersistentVolumeSource=V1CephFSPersistentVolumeSource;V1CephFSPersistentVolumeSource.discriminator=undefined;V1CephFSPersistentVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}]},84957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CephFSVolumeSource=void 0;class V1CephFSVolumeSource{static getAttributeTypeMap(){return V1CephFSVolumeSource.attributeTypeMap}}t.V1CephFSVolumeSource=V1CephFSVolumeSource;V1CephFSVolumeSource.discriminator=undefined;V1CephFSVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}]},99084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequest=void 0;class V1CertificateSigningRequest{static getAttributeTypeMap(){return V1CertificateSigningRequest.attributeTypeMap}}t.V1CertificateSigningRequest=V1CertificateSigningRequest;V1CertificateSigningRequest.discriminator=undefined;V1CertificateSigningRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CertificateSigningRequestSpec"},{name:"status",baseName:"status",type:"V1CertificateSigningRequestStatus"}]},92932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestCondition=void 0;class V1CertificateSigningRequestCondition{static getAttributeTypeMap(){return V1CertificateSigningRequestCondition.attributeTypeMap}}t.V1CertificateSigningRequestCondition=V1CertificateSigningRequestCondition;V1CertificateSigningRequestCondition.discriminator=undefined;V1CertificateSigningRequestCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},31530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestList=void 0;class V1CertificateSigningRequestList{static getAttributeTypeMap(){return V1CertificateSigningRequestList.attributeTypeMap}}t.V1CertificateSigningRequestList=V1CertificateSigningRequestList;V1CertificateSigningRequestList.discriminator=undefined;V1CertificateSigningRequestList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},37759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestSpec=void 0;class V1CertificateSigningRequestSpec{static getAttributeTypeMap(){return V1CertificateSigningRequestSpec.attributeTypeMap}}t.V1CertificateSigningRequestSpec=V1CertificateSigningRequestSpec;V1CertificateSigningRequestSpec.discriminator=undefined;V1CertificateSigningRequestSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"request",baseName:"request",type:"string"},{name:"signerName",baseName:"signerName",type:"string"},{name:"uid",baseName:"uid",type:"string"},{name:"usages",baseName:"usages",type:"Array"},{name:"username",baseName:"username",type:"string"}]},38285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestStatus=void 0;class V1CertificateSigningRequestStatus{static getAttributeTypeMap(){return V1CertificateSigningRequestStatus.attributeTypeMap}}t.V1CertificateSigningRequestStatus=V1CertificateSigningRequestStatus;V1CertificateSigningRequestStatus.discriminator=undefined;V1CertificateSigningRequestStatus.attributeTypeMap=[{name:"certificate",baseName:"certificate",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"}]},41888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CinderPersistentVolumeSource=void 0;class V1CinderPersistentVolumeSource{static getAttributeTypeMap(){return V1CinderPersistentVolumeSource.attributeTypeMap}}t.V1CinderPersistentVolumeSource=V1CinderPersistentVolumeSource;V1CinderPersistentVolumeSource.discriminator=undefined;V1CinderPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"volumeID",baseName:"volumeID",type:"string"}]},19111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CinderVolumeSource=void 0;class V1CinderVolumeSource{static getAttributeTypeMap(){return V1CinderVolumeSource.attributeTypeMap}}t.V1CinderVolumeSource=V1CinderVolumeSource;V1CinderVolumeSource.discriminator=undefined;V1CinderVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeID",baseName:"volumeID",type:"string"}]},33913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClientIPConfig=void 0;class V1ClientIPConfig{static getAttributeTypeMap(){return V1ClientIPConfig.attributeTypeMap}}t.V1ClientIPConfig=V1ClientIPConfig;V1ClientIPConfig.discriminator=undefined;V1ClientIPConfig.attributeTypeMap=[{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},61458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRole=void 0;class V1ClusterRole{static getAttributeTypeMap(){return V1ClusterRole.attributeTypeMap}}t.V1ClusterRole=V1ClusterRole;V1ClusterRole.discriminator=undefined;V1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},32315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleBinding=void 0;class V1ClusterRoleBinding{static getAttributeTypeMap(){return V1ClusterRoleBinding.attributeTypeMap}}t.V1ClusterRoleBinding=V1ClusterRoleBinding;V1ClusterRoleBinding.discriminator=undefined;V1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},21181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleBindingList=void 0;class V1ClusterRoleBindingList{static getAttributeTypeMap(){return V1ClusterRoleBindingList.attributeTypeMap}}t.V1ClusterRoleBindingList=V1ClusterRoleBindingList;V1ClusterRoleBindingList.discriminator=undefined;V1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},95532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleList=void 0;class V1ClusterRoleList{static getAttributeTypeMap(){return V1ClusterRoleList.attributeTypeMap}}t.V1ClusterRoleList=V1ClusterRoleList;V1ClusterRoleList.discriminator=undefined;V1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},30578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentCondition=void 0;class V1ComponentCondition{static getAttributeTypeMap(){return V1ComponentCondition.attributeTypeMap}}t.V1ComponentCondition=V1ComponentCondition;V1ComponentCondition.discriminator=undefined;V1ComponentCondition.attributeTypeMap=[{name:"error",baseName:"error",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},2047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentStatus=void 0;class V1ComponentStatus{static getAttributeTypeMap(){return V1ComponentStatus.attributeTypeMap}}t.V1ComponentStatus=V1ComponentStatus;V1ComponentStatus.discriminator=undefined;V1ComponentStatus.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},38596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentStatusList=void 0;class V1ComponentStatusList{static getAttributeTypeMap(){return V1ComponentStatusList.attributeTypeMap}}t.V1ComponentStatusList=V1ComponentStatusList;V1ComponentStatusList.discriminator=undefined;V1ComponentStatusList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},34990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Condition=void 0;class V1Condition{static getAttributeTypeMap(){return V1Condition.attributeTypeMap}}t.V1Condition=V1Condition;V1Condition.discriminator=undefined;V1Condition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},42874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMap=void 0;class V1ConfigMap{static getAttributeTypeMap(){return V1ConfigMap.attributeTypeMap}}t.V1ConfigMap=V1ConfigMap;V1ConfigMap.discriminator=undefined;V1ConfigMap.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"binaryData",baseName:"binaryData",type:"{ [key: string]: string; }"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"immutable",baseName:"immutable",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},99685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapEnvSource=void 0;class V1ConfigMapEnvSource{static getAttributeTypeMap(){return V1ConfigMapEnvSource.attributeTypeMap}}t.V1ConfigMapEnvSource=V1ConfigMapEnvSource;V1ConfigMapEnvSource.discriminator=undefined;V1ConfigMapEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},62892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapKeySelector=void 0;class V1ConfigMapKeySelector{static getAttributeTypeMap(){return V1ConfigMapKeySelector.attributeTypeMap}}t.V1ConfigMapKeySelector=V1ConfigMapKeySelector;V1ConfigMapKeySelector.discriminator=undefined;V1ConfigMapKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},80512:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapList=void 0;class V1ConfigMapList{static getAttributeTypeMap(){return V1ConfigMapList.attributeTypeMap}}t.V1ConfigMapList=V1ConfigMapList;V1ConfigMapList.discriminator=undefined;V1ConfigMapList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapNodeConfigSource=void 0;class V1ConfigMapNodeConfigSource{static getAttributeTypeMap(){return V1ConfigMapNodeConfigSource.attributeTypeMap}}t.V1ConfigMapNodeConfigSource=V1ConfigMapNodeConfigSource;V1ConfigMapNodeConfigSource.discriminator=undefined;V1ConfigMapNodeConfigSource.attributeTypeMap=[{name:"kubeletConfigKey",baseName:"kubeletConfigKey",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},61682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapProjection=void 0;class V1ConfigMapProjection{static getAttributeTypeMap(){return V1ConfigMapProjection.attributeTypeMap}}t.V1ConfigMapProjection=V1ConfigMapProjection;V1ConfigMapProjection.discriminator=undefined;V1ConfigMapProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},59708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapVolumeSource=void 0;class V1ConfigMapVolumeSource{static getAttributeTypeMap(){return V1ConfigMapVolumeSource.attributeTypeMap}}t.V1ConfigMapVolumeSource=V1ConfigMapVolumeSource;V1ConfigMapVolumeSource.discriminator=undefined;V1ConfigMapVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},52865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Container=void 0;class V1Container{static getAttributeTypeMap(){return V1Container.attributeTypeMap}}t.V1Container=V1Container;V1Container.discriminator=undefined;V1Container.attributeTypeMap=[{name:"args",baseName:"args",type:"Array"},{name:"command",baseName:"command",type:"Array"},{name:"env",baseName:"env",type:"Array"},{name:"envFrom",baseName:"envFrom",type:"Array"},{name:"image",baseName:"image",type:"string"},{name:"imagePullPolicy",baseName:"imagePullPolicy",type:"string"},{name:"lifecycle",baseName:"lifecycle",type:"V1Lifecycle"},{name:"livenessProbe",baseName:"livenessProbe",type:"V1Probe"},{name:"name",baseName:"name",type:"string"},{name:"ports",baseName:"ports",type:"Array"},{name:"readinessProbe",baseName:"readinessProbe",type:"V1Probe"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"securityContext",baseName:"securityContext",type:"V1SecurityContext"},{name:"startupProbe",baseName:"startupProbe",type:"V1Probe"},{name:"stdin",baseName:"stdin",type:"boolean"},{name:"stdinOnce",baseName:"stdinOnce",type:"boolean"},{name:"terminationMessagePath",baseName:"terminationMessagePath",type:"string"},{name:"terminationMessagePolicy",baseName:"terminationMessagePolicy",type:"string"},{name:"tty",baseName:"tty",type:"boolean"},{name:"volumeDevices",baseName:"volumeDevices",type:"Array"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array"},{name:"workingDir",baseName:"workingDir",type:"string"}]},13501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerImage=void 0;class V1ContainerImage{static getAttributeTypeMap(){return V1ContainerImage.attributeTypeMap}}t.V1ContainerImage=V1ContainerImage;V1ContainerImage.discriminator=undefined;V1ContainerImage.attributeTypeMap=[{name:"names",baseName:"names",type:"Array"},{name:"sizeBytes",baseName:"sizeBytes",type:"number"}]},50217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerPort=void 0;class V1ContainerPort{static getAttributeTypeMap(){return V1ContainerPort.attributeTypeMap}}t.V1ContainerPort=V1ContainerPort;V1ContainerPort.discriminator=undefined;V1ContainerPort.attributeTypeMap=[{name:"containerPort",baseName:"containerPort",type:"number"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"hostPort",baseName:"hostPort",type:"number"},{name:"name",baseName:"name",type:"string"},{name:"protocol",baseName:"protocol",type:"string"}]},83765:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerState=void 0;class V1ContainerState{static getAttributeTypeMap(){return V1ContainerState.attributeTypeMap}}t.V1ContainerState=V1ContainerState;V1ContainerState.discriminator=undefined;V1ContainerState.attributeTypeMap=[{name:"running",baseName:"running",type:"V1ContainerStateRunning"},{name:"terminated",baseName:"terminated",type:"V1ContainerStateTerminated"},{name:"waiting",baseName:"waiting",type:"V1ContainerStateWaiting"}]},89767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateRunning=void 0;class V1ContainerStateRunning{static getAttributeTypeMap(){return V1ContainerStateRunning.attributeTypeMap}}t.V1ContainerStateRunning=V1ContainerStateRunning;V1ContainerStateRunning.discriminator=undefined;V1ContainerStateRunning.attributeTypeMap=[{name:"startedAt",baseName:"startedAt",type:"Date"}]},27892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateTerminated=void 0;class V1ContainerStateTerminated{static getAttributeTypeMap(){return V1ContainerStateTerminated.attributeTypeMap}}t.V1ContainerStateTerminated=V1ContainerStateTerminated;V1ContainerStateTerminated.discriminator=undefined;V1ContainerStateTerminated.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"exitCode",baseName:"exitCode",type:"number"},{name:"finishedAt",baseName:"finishedAt",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"signal",baseName:"signal",type:"number"},{name:"startedAt",baseName:"startedAt",type:"Date"}]},19716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateWaiting=void 0;class V1ContainerStateWaiting{static getAttributeTypeMap(){return V1ContainerStateWaiting.attributeTypeMap}}t.V1ContainerStateWaiting=V1ContainerStateWaiting;V1ContainerStateWaiting.discriminator=undefined;V1ContainerStateWaiting.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},35980:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStatus=void 0;class V1ContainerStatus{static getAttributeTypeMap(){return V1ContainerStatus.attributeTypeMap}}t.V1ContainerStatus=V1ContainerStatus;V1ContainerStatus.discriminator=undefined;V1ContainerStatus.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"imageID",baseName:"imageID",type:"string"},{name:"lastState",baseName:"lastState",type:"V1ContainerState"},{name:"name",baseName:"name",type:"string"},{name:"ready",baseName:"ready",type:"boolean"},{name:"restartCount",baseName:"restartCount",type:"number"},{name:"started",baseName:"started",type:"boolean"},{name:"state",baseName:"state",type:"V1ContainerState"}]},78405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ControllerRevision=void 0;class V1ControllerRevision{static getAttributeTypeMap(){return V1ControllerRevision.attributeTypeMap}}t.V1ControllerRevision=V1ControllerRevision;V1ControllerRevision.discriminator=undefined;V1ControllerRevision.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"object"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"revision",baseName:"revision",type:"number"}]},66304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ControllerRevisionList=void 0;class V1ControllerRevisionList{static getAttributeTypeMap(){return V1ControllerRevisionList.attributeTypeMap}}t.V1ControllerRevisionList=V1ControllerRevisionList;V1ControllerRevisionList.discriminator=undefined;V1ControllerRevisionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},34233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CrossVersionObjectReference=void 0;class V1CrossVersionObjectReference{static getAttributeTypeMap(){return V1CrossVersionObjectReference.attributeTypeMap}}t.V1CrossVersionObjectReference=V1CrossVersionObjectReference;V1CrossVersionObjectReference.discriminator=undefined;V1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},94346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceColumnDefinition=void 0;class V1CustomResourceColumnDefinition{static getAttributeTypeMap(){return V1CustomResourceColumnDefinition.attributeTypeMap}}t.V1CustomResourceColumnDefinition=V1CustomResourceColumnDefinition;V1CustomResourceColumnDefinition.discriminator=undefined;V1CustomResourceColumnDefinition.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"format",baseName:"format",type:"string"},{name:"jsonPath",baseName:"jsonPath",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"type",baseName:"type",type:"string"}]},9731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceConversion=void 0;class V1CustomResourceConversion{static getAttributeTypeMap(){return V1CustomResourceConversion.attributeTypeMap}}t.V1CustomResourceConversion=V1CustomResourceConversion;V1CustomResourceConversion.discriminator=undefined;V1CustomResourceConversion.attributeTypeMap=[{name:"strategy",baseName:"strategy",type:"string"},{name:"webhook",baseName:"webhook",type:"V1WebhookConversion"}]},40325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinition=void 0;class V1CustomResourceDefinition{static getAttributeTypeMap(){return V1CustomResourceDefinition.attributeTypeMap}}t.V1CustomResourceDefinition=V1CustomResourceDefinition;V1CustomResourceDefinition.discriminator=undefined;V1CustomResourceDefinition.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CustomResourceDefinitionSpec"},{name:"status",baseName:"status",type:"V1CustomResourceDefinitionStatus"}]},32791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionCondition=void 0;class V1CustomResourceDefinitionCondition{static getAttributeTypeMap(){return V1CustomResourceDefinitionCondition.attributeTypeMap}}t.V1CustomResourceDefinitionCondition=V1CustomResourceDefinitionCondition;V1CustomResourceDefinitionCondition.discriminator=undefined;V1CustomResourceDefinitionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},10486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionList=void 0;class V1CustomResourceDefinitionList{static getAttributeTypeMap(){return V1CustomResourceDefinitionList.attributeTypeMap}}t.V1CustomResourceDefinitionList=V1CustomResourceDefinitionList;V1CustomResourceDefinitionList.discriminator=undefined;V1CustomResourceDefinitionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},69798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionNames=void 0;class V1CustomResourceDefinitionNames{static getAttributeTypeMap(){return V1CustomResourceDefinitionNames.attributeTypeMap}}t.V1CustomResourceDefinitionNames=V1CustomResourceDefinitionNames;V1CustomResourceDefinitionNames.discriminator=undefined;V1CustomResourceDefinitionNames.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"listKind",baseName:"listKind",type:"string"},{name:"plural",baseName:"plural",type:"string"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singular",baseName:"singular",type:"string"}]},20486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionSpec=void 0;class V1CustomResourceDefinitionSpec{static getAttributeTypeMap(){return V1CustomResourceDefinitionSpec.attributeTypeMap}}t.V1CustomResourceDefinitionSpec=V1CustomResourceDefinitionSpec;V1CustomResourceDefinitionSpec.discriminator=undefined;V1CustomResourceDefinitionSpec.attributeTypeMap=[{name:"conversion",baseName:"conversion",type:"V1CustomResourceConversion"},{name:"group",baseName:"group",type:"string"},{name:"names",baseName:"names",type:"V1CustomResourceDefinitionNames"},{name:"preserveUnknownFields",baseName:"preserveUnknownFields",type:"boolean"},{name:"scope",baseName:"scope",type:"string"},{name:"versions",baseName:"versions",type:"Array"}]},25713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionStatus=void 0;class V1CustomResourceDefinitionStatus{static getAttributeTypeMap(){return V1CustomResourceDefinitionStatus.attributeTypeMap}}t.V1CustomResourceDefinitionStatus=V1CustomResourceDefinitionStatus;V1CustomResourceDefinitionStatus.discriminator=undefined;V1CustomResourceDefinitionStatus.attributeTypeMap=[{name:"acceptedNames",baseName:"acceptedNames",type:"V1CustomResourceDefinitionNames"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storedVersions",baseName:"storedVersions",type:"Array"}]},82283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionVersion=void 0;class V1CustomResourceDefinitionVersion{static getAttributeTypeMap(){return V1CustomResourceDefinitionVersion.attributeTypeMap}}t.V1CustomResourceDefinitionVersion=V1CustomResourceDefinitionVersion;V1CustomResourceDefinitionVersion.discriminator=undefined;V1CustomResourceDefinitionVersion.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"deprecated",baseName:"deprecated",type:"boolean"},{name:"deprecationWarning",baseName:"deprecationWarning",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"schema",baseName:"schema",type:"V1CustomResourceValidation"},{name:"served",baseName:"served",type:"boolean"},{name:"storage",baseName:"storage",type:"boolean"},{name:"subresources",baseName:"subresources",type:"V1CustomResourceSubresources"}]},98087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceSubresourceScale=void 0;class V1CustomResourceSubresourceScale{static getAttributeTypeMap(){return V1CustomResourceSubresourceScale.attributeTypeMap}}t.V1CustomResourceSubresourceScale=V1CustomResourceSubresourceScale;V1CustomResourceSubresourceScale.discriminator=undefined;V1CustomResourceSubresourceScale.attributeTypeMap=[{name:"labelSelectorPath",baseName:"labelSelectorPath",type:"string"},{name:"specReplicasPath",baseName:"specReplicasPath",type:"string"},{name:"statusReplicasPath",baseName:"statusReplicasPath",type:"string"}]},94579:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceSubresources=void 0;class V1CustomResourceSubresources{static getAttributeTypeMap(){return V1CustomResourceSubresources.attributeTypeMap}}t.V1CustomResourceSubresources=V1CustomResourceSubresources;V1CustomResourceSubresources.discriminator=undefined;V1CustomResourceSubresources.attributeTypeMap=[{name:"scale",baseName:"scale",type:"V1CustomResourceSubresourceScale"},{name:"status",baseName:"status",type:"object"}]},25408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceValidation=void 0;class V1CustomResourceValidation{static getAttributeTypeMap(){return V1CustomResourceValidation.attributeTypeMap}}t.V1CustomResourceValidation=V1CustomResourceValidation;V1CustomResourceValidation.discriminator=undefined;V1CustomResourceValidation.attributeTypeMap=[{name:"openAPIV3Schema",baseName:"openAPIV3Schema",type:"V1JSONSchemaProps"}]},37060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonEndpoint=void 0;class V1DaemonEndpoint{static getAttributeTypeMap(){return V1DaemonEndpoint.attributeTypeMap}}t.V1DaemonEndpoint=V1DaemonEndpoint;V1DaemonEndpoint.discriminator=undefined;V1DaemonEndpoint.attributeTypeMap=[{name:"Port",baseName:"Port",type:"number"}]},32699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSet=void 0;class V1DaemonSet{static getAttributeTypeMap(){return V1DaemonSet.attributeTypeMap}}t.V1DaemonSet=V1DaemonSet;V1DaemonSet.discriminator=undefined;V1DaemonSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DaemonSetSpec"},{name:"status",baseName:"status",type:"V1DaemonSetStatus"}]},77063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetCondition=void 0;class V1DaemonSetCondition{static getAttributeTypeMap(){return V1DaemonSetCondition.attributeTypeMap}}t.V1DaemonSetCondition=V1DaemonSetCondition;V1DaemonSetCondition.discriminator=undefined;V1DaemonSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetList=void 0;class V1DaemonSetList{static getAttributeTypeMap(){return V1DaemonSetList.attributeTypeMap}}t.V1DaemonSetList=V1DaemonSetList;V1DaemonSetList.discriminator=undefined;V1DaemonSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},44560:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetSpec=void 0;class V1DaemonSetSpec{static getAttributeTypeMap(){return V1DaemonSetSpec.attributeTypeMap}}t.V1DaemonSetSpec=V1DaemonSetSpec;V1DaemonSetSpec.discriminator=undefined;V1DaemonSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1DaemonSetUpdateStrategy"}]},87510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetStatus=void 0;class V1DaemonSetStatus{static getAttributeTypeMap(){return V1DaemonSetStatus.attributeTypeMap}}t.V1DaemonSetStatus=V1DaemonSetStatus;V1DaemonSetStatus.discriminator=undefined;V1DaemonSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentNumberScheduled",baseName:"currentNumberScheduled",type:"number"},{name:"desiredNumberScheduled",baseName:"desiredNumberScheduled",type:"number"},{name:"numberAvailable",baseName:"numberAvailable",type:"number"},{name:"numberMisscheduled",baseName:"numberMisscheduled",type:"number"},{name:"numberReady",baseName:"numberReady",type:"number"},{name:"numberUnavailable",baseName:"numberUnavailable",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"updatedNumberScheduled",baseName:"updatedNumberScheduled",type:"number"}]},48451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetUpdateStrategy=void 0;class V1DaemonSetUpdateStrategy{static getAttributeTypeMap(){return V1DaemonSetUpdateStrategy.attributeTypeMap}}t.V1DaemonSetUpdateStrategy=V1DaemonSetUpdateStrategy;V1DaemonSetUpdateStrategy.discriminator=undefined;V1DaemonSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDaemonSet"},{name:"type",baseName:"type",type:"string"}]},18029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeleteOptions=void 0;class V1DeleteOptions{static getAttributeTypeMap(){return V1DeleteOptions.attributeTypeMap}}t.V1DeleteOptions=V1DeleteOptions;V1DeleteOptions.discriminator=undefined;V1DeleteOptions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"dryRun",baseName:"dryRun",type:"Array"},{name:"gracePeriodSeconds",baseName:"gracePeriodSeconds",type:"number"},{name:"kind",baseName:"kind",type:"string"},{name:"orphanDependents",baseName:"orphanDependents",type:"boolean"},{name:"preconditions",baseName:"preconditions",type:"V1Preconditions"},{name:"propagationPolicy",baseName:"propagationPolicy",type:"string"}]},65310:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Deployment=void 0;class V1Deployment{static getAttributeTypeMap(){return V1Deployment.attributeTypeMap}}t.V1Deployment=V1Deployment;V1Deployment.discriminator=undefined;V1Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DeploymentSpec"},{name:"status",baseName:"status",type:"V1DeploymentStatus"}]},95602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentCondition=void 0;class V1DeploymentCondition{static getAttributeTypeMap(){return V1DeploymentCondition.attributeTypeMap}}t.V1DeploymentCondition=V1DeploymentCondition;V1DeploymentCondition.discriminator=undefined;V1DeploymentCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},81364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentList=void 0;class V1DeploymentList{static getAttributeTypeMap(){return V1DeploymentList.attributeTypeMap}}t.V1DeploymentList=V1DeploymentList;V1DeploymentList.discriminator=undefined;V1DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},41298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentSpec=void 0;class V1DeploymentSpec{static getAttributeTypeMap(){return V1DeploymentSpec.attributeTypeMap}}t.V1DeploymentSpec=V1DeploymentSpec;V1DeploymentSpec.discriminator=undefined;V1DeploymentSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"paused",baseName:"paused",type:"boolean"},{name:"progressDeadlineSeconds",baseName:"progressDeadlineSeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"strategy",baseName:"strategy",type:"V1DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},55398:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentStatus=void 0;class V1DeploymentStatus{static getAttributeTypeMap(){return V1DeploymentStatus.attributeTypeMap}}t.V1DeploymentStatus=V1DeploymentStatus;V1DeploymentStatus.discriminator=undefined;V1DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"unavailableReplicas",baseName:"unavailableReplicas",type:"number"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}]},34981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentStrategy=void 0;class V1DeploymentStrategy{static getAttributeTypeMap(){return V1DeploymentStrategy.attributeTypeMap}}t.V1DeploymentStrategy=V1DeploymentStrategy;V1DeploymentStrategy.discriminator=undefined;V1DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}]},38099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIProjection=void 0;class V1DownwardAPIProjection{static getAttributeTypeMap(){return V1DownwardAPIProjection.attributeTypeMap}}t.V1DownwardAPIProjection=V1DownwardAPIProjection;V1DownwardAPIProjection.discriminator=undefined;V1DownwardAPIProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"}]},78901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIVolumeFile=void 0;class V1DownwardAPIVolumeFile{static getAttributeTypeMap(){return V1DownwardAPIVolumeFile.attributeTypeMap}}t.V1DownwardAPIVolumeFile=V1DownwardAPIVolumeFile;V1DownwardAPIVolumeFile.discriminator=undefined;V1DownwardAPIVolumeFile.attributeTypeMap=[{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"}]},19493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIVolumeSource=void 0;class V1DownwardAPIVolumeSource{static getAttributeTypeMap(){return V1DownwardAPIVolumeSource.attributeTypeMap}}t.V1DownwardAPIVolumeSource=V1DownwardAPIVolumeSource;V1DownwardAPIVolumeSource.discriminator=undefined;V1DownwardAPIVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"}]},11672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EmptyDirVolumeSource=void 0;class V1EmptyDirVolumeSource{static getAttributeTypeMap(){return V1EmptyDirVolumeSource.attributeTypeMap}}t.V1EmptyDirVolumeSource=V1EmptyDirVolumeSource;V1EmptyDirVolumeSource.discriminator=undefined;V1EmptyDirVolumeSource.attributeTypeMap=[{name:"medium",baseName:"medium",type:"string"},{name:"sizeLimit",baseName:"sizeLimit",type:"string"}]},57151:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointAddress=void 0;class V1EndpointAddress{static getAttributeTypeMap(){return V1EndpointAddress.attributeTypeMap}}t.V1EndpointAddress=V1EndpointAddress;V1EndpointAddress.discriminator=undefined;V1EndpointAddress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"targetRef",baseName:"targetRef",type:"V1ObjectReference"}]},37917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointPort=void 0;class V1EndpointPort{static getAttributeTypeMap(){return V1EndpointPort.attributeTypeMap}}t.V1EndpointPort=V1EndpointPort;V1EndpointPort.discriminator=undefined;V1EndpointPort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},31925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointSubset=void 0;class V1EndpointSubset{static getAttributeTypeMap(){return V1EndpointSubset.attributeTypeMap}}t.V1EndpointSubset=V1EndpointSubset;V1EndpointSubset.discriminator=undefined;V1EndpointSubset.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"notReadyAddresses",baseName:"notReadyAddresses",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}]},13449:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Endpoints=void 0;class V1Endpoints{static getAttributeTypeMap(){return V1Endpoints.attributeTypeMap}}t.V1Endpoints=V1Endpoints;V1Endpoints.discriminator=undefined;V1Endpoints.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"subsets",baseName:"subsets",type:"Array"}]},95223:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointsList=void 0;class V1EndpointsList{static getAttributeTypeMap(){return V1EndpointsList.attributeTypeMap}}t.V1EndpointsList=V1EndpointsList;V1EndpointsList.discriminator=undefined;V1EndpointsList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvFromSource=void 0;class V1EnvFromSource{static getAttributeTypeMap(){return V1EnvFromSource.attributeTypeMap}}t.V1EnvFromSource=V1EnvFromSource;V1EnvFromSource.discriminator=undefined;V1EnvFromSource.attributeTypeMap=[{name:"configMapRef",baseName:"configMapRef",type:"V1ConfigMapEnvSource"},{name:"prefix",baseName:"prefix",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretEnvSource"}]},36874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvVar=void 0;class V1EnvVar{static getAttributeTypeMap(){return V1EnvVar.attributeTypeMap}}t.V1EnvVar=V1EnvVar;V1EnvVar.discriminator=undefined;V1EnvVar.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"},{name:"valueFrom",baseName:"valueFrom",type:"V1EnvVarSource"}]},17205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvVarSource=void 0;class V1EnvVarSource{static getAttributeTypeMap(){return V1EnvVarSource.attributeTypeMap}}t.V1EnvVarSource=V1EnvVarSource;V1EnvVarSource.discriminator=undefined;V1EnvVarSource.attributeTypeMap=[{name:"configMapKeyRef",baseName:"configMapKeyRef",type:"V1ConfigMapKeySelector"},{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"},{name:"secretKeyRef",baseName:"secretKeyRef",type:"V1SecretKeySelector"}]},32671:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EphemeralContainer=void 0;class V1EphemeralContainer{static getAttributeTypeMap(){return V1EphemeralContainer.attributeTypeMap}}t.V1EphemeralContainer=V1EphemeralContainer;V1EphemeralContainer.discriminator=undefined;V1EphemeralContainer.attributeTypeMap=[{name:"args",baseName:"args",type:"Array"},{name:"command",baseName:"command",type:"Array"},{name:"env",baseName:"env",type:"Array"},{name:"envFrom",baseName:"envFrom",type:"Array"},{name:"image",baseName:"image",type:"string"},{name:"imagePullPolicy",baseName:"imagePullPolicy",type:"string"},{name:"lifecycle",baseName:"lifecycle",type:"V1Lifecycle"},{name:"livenessProbe",baseName:"livenessProbe",type:"V1Probe"},{name:"name",baseName:"name",type:"string"},{name:"ports",baseName:"ports",type:"Array"},{name:"readinessProbe",baseName:"readinessProbe",type:"V1Probe"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"securityContext",baseName:"securityContext",type:"V1SecurityContext"},{name:"startupProbe",baseName:"startupProbe",type:"V1Probe"},{name:"stdin",baseName:"stdin",type:"boolean"},{name:"stdinOnce",baseName:"stdinOnce",type:"boolean"},{name:"targetContainerName",baseName:"targetContainerName",type:"string"},{name:"terminationMessagePath",baseName:"terminationMessagePath",type:"string"},{name:"terminationMessagePolicy",baseName:"terminationMessagePolicy",type:"string"},{name:"tty",baseName:"tty",type:"boolean"},{name:"volumeDevices",baseName:"volumeDevices",type:"Array"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array"},{name:"workingDir",baseName:"workingDir",type:"string"}]},90017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EphemeralVolumeSource=void 0;class V1EphemeralVolumeSource{static getAttributeTypeMap(){return V1EphemeralVolumeSource.attributeTypeMap}}t.V1EphemeralVolumeSource=V1EphemeralVolumeSource;V1EphemeralVolumeSource.discriminator=undefined;V1EphemeralVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeClaimTemplate",baseName:"volumeClaimTemplate",type:"V1PersistentVolumeClaimTemplate"}]},97764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EventSource=void 0;class V1EventSource{static getAttributeTypeMap(){return V1EventSource.attributeTypeMap}}t.V1EventSource=V1EventSource;V1EventSource.discriminator=undefined;V1EventSource.attributeTypeMap=[{name:"component",baseName:"component",type:"string"},{name:"host",baseName:"host",type:"string"}]},13313:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ExecAction=void 0;class V1ExecAction{static getAttributeTypeMap(){return V1ExecAction.attributeTypeMap}}t.V1ExecAction=V1ExecAction;V1ExecAction.discriminator=undefined;V1ExecAction.attributeTypeMap=[{name:"command",baseName:"command",type:"Array"}]},77213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ExternalDocumentation=void 0;class V1ExternalDocumentation{static getAttributeTypeMap(){return V1ExternalDocumentation.attributeTypeMap}}t.V1ExternalDocumentation=V1ExternalDocumentation;V1ExternalDocumentation.discriminator=undefined;V1ExternalDocumentation.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"url",baseName:"url",type:"string"}]},35093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FCVolumeSource=void 0;class V1FCVolumeSource{static getAttributeTypeMap(){return V1FCVolumeSource.attributeTypeMap}}t.V1FCVolumeSource=V1FCVolumeSource;V1FCVolumeSource.discriminator=undefined;V1FCVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"targetWWNs",baseName:"targetWWNs",type:"Array"},{name:"wwids",baseName:"wwids",type:"Array"}]},91874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlexPersistentVolumeSource=void 0;class V1FlexPersistentVolumeSource{static getAttributeTypeMap(){return V1FlexPersistentVolumeSource.attributeTypeMap}}t.V1FlexPersistentVolumeSource=V1FlexPersistentVolumeSource;V1FlexPersistentVolumeSource.discriminator=undefined;V1FlexPersistentVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"}]},16690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlexVolumeSource=void 0;class V1FlexVolumeSource{static getAttributeTypeMap(){return V1FlexVolumeSource.attributeTypeMap}}t.V1FlexVolumeSource=V1FlexVolumeSource;V1FlexVolumeSource.discriminator=undefined;V1FlexVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"}]},10414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlockerVolumeSource=void 0;class V1FlockerVolumeSource{static getAttributeTypeMap(){return V1FlockerVolumeSource.attributeTypeMap}}t.V1FlockerVolumeSource=V1FlockerVolumeSource;V1FlockerVolumeSource.discriminator=undefined;V1FlockerVolumeSource.attributeTypeMap=[{name:"datasetName",baseName:"datasetName",type:"string"},{name:"datasetUUID",baseName:"datasetUUID",type:"string"}]},1016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GCEPersistentDiskVolumeSource=void 0;class V1GCEPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1GCEPersistentDiskVolumeSource.attributeTypeMap}}t.V1GCEPersistentDiskVolumeSource=V1GCEPersistentDiskVolumeSource;V1GCEPersistentDiskVolumeSource.discriminator=undefined;V1GCEPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"pdName",baseName:"pdName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},27584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GitRepoVolumeSource=void 0;class V1GitRepoVolumeSource{static getAttributeTypeMap(){return V1GitRepoVolumeSource.attributeTypeMap}}t.V1GitRepoVolumeSource=V1GitRepoVolumeSource;V1GitRepoVolumeSource.discriminator=undefined;V1GitRepoVolumeSource.attributeTypeMap=[{name:"directory",baseName:"directory",type:"string"},{name:"repository",baseName:"repository",type:"string"},{name:"revision",baseName:"revision",type:"string"}]},97617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GlusterfsPersistentVolumeSource=void 0;class V1GlusterfsPersistentVolumeSource{static getAttributeTypeMap(){return V1GlusterfsPersistentVolumeSource.attributeTypeMap}}t.V1GlusterfsPersistentVolumeSource=V1GlusterfsPersistentVolumeSource;V1GlusterfsPersistentVolumeSource.discriminator=undefined;V1GlusterfsPersistentVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"endpointsNamespace",baseName:"endpointsNamespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},37426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GlusterfsVolumeSource=void 0;class V1GlusterfsVolumeSource{static getAttributeTypeMap(){return V1GlusterfsVolumeSource.attributeTypeMap}}t.V1GlusterfsVolumeSource=V1GlusterfsVolumeSource;V1GlusterfsVolumeSource.discriminator=undefined;V1GlusterfsVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},87855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GroupVersionForDiscovery=void 0;class V1GroupVersionForDiscovery{static getAttributeTypeMap(){return V1GroupVersionForDiscovery.attributeTypeMap}}t.V1GroupVersionForDiscovery=V1GroupVersionForDiscovery;V1GroupVersionForDiscovery.discriminator=undefined;V1GroupVersionForDiscovery.attributeTypeMap=[{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"version",baseName:"version",type:"string"}]},16636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPGetAction=void 0;class V1HTTPGetAction{static getAttributeTypeMap(){return V1HTTPGetAction.attributeTypeMap}}t.V1HTTPGetAction=V1HTTPGetAction;V1HTTPGetAction.discriminator=undefined;V1HTTPGetAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"httpHeaders",baseName:"httpHeaders",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"object"},{name:"scheme",baseName:"scheme",type:"string"}]},3437:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPHeader=void 0;class V1HTTPHeader{static getAttributeTypeMap(){return V1HTTPHeader.attributeTypeMap}}t.V1HTTPHeader=V1HTTPHeader;V1HTTPHeader.discriminator=undefined;V1HTTPHeader.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},86769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPIngressPath=void 0;class V1HTTPIngressPath{static getAttributeTypeMap(){return V1HTTPIngressPath.attributeTypeMap}}t.V1HTTPIngressPath=V1HTTPIngressPath;V1HTTPIngressPath.discriminator=undefined;V1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"V1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},56219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPIngressRuleValue=void 0;class V1HTTPIngressRuleValue{static getAttributeTypeMap(){return V1HTTPIngressRuleValue.attributeTypeMap}}t.V1HTTPIngressRuleValue=V1HTTPIngressRuleValue;V1HTTPIngressRuleValue.discriminator=undefined;V1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},95179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Handler=void 0;class V1Handler{static getAttributeTypeMap(){return V1Handler.attributeTypeMap}}t.V1Handler=V1Handler;V1Handler.discriminator=undefined;V1Handler.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"}]},93652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscaler=void 0;class V1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V1HorizontalPodAutoscaler.attributeTypeMap}}t.V1HorizontalPodAutoscaler=V1HorizontalPodAutoscaler;V1HorizontalPodAutoscaler.discriminator=undefined;V1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V1HorizontalPodAutoscalerStatus"}]},17024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerList=void 0;class V1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerList.attributeTypeMap}}t.V1HorizontalPodAutoscalerList=V1HorizontalPodAutoscalerList;V1HorizontalPodAutoscalerList.discriminator=undefined;V1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},49823:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerSpec=void 0;class V1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V1HorizontalPodAutoscalerSpec=V1HorizontalPodAutoscalerSpec;V1HorizontalPodAutoscalerSpec.discriminator=undefined;V1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V1CrossVersionObjectReference"},{name:"targetCPUUtilizationPercentage",baseName:"targetCPUUtilizationPercentage",type:"number"}]},50910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerStatus=void 0;class V1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V1HorizontalPodAutoscalerStatus=V1HorizontalPodAutoscalerStatus;V1HorizontalPodAutoscalerStatus.discriminator=undefined;V1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"currentCPUUtilizationPercentage",baseName:"currentCPUUtilizationPercentage",type:"number"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},72796:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HostAlias=void 0;class V1HostAlias{static getAttributeTypeMap(){return V1HostAlias.attributeTypeMap}}t.V1HostAlias=V1HostAlias;V1HostAlias.discriminator=undefined;V1HostAlias.attributeTypeMap=[{name:"hostnames",baseName:"hostnames",type:"Array"},{name:"ip",baseName:"ip",type:"string"}]},69225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HostPathVolumeSource=void 0;class V1HostPathVolumeSource{static getAttributeTypeMap(){return V1HostPathVolumeSource.attributeTypeMap}}t.V1HostPathVolumeSource=V1HostPathVolumeSource;V1HostPathVolumeSource.discriminator=undefined;V1HostPathVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"type",baseName:"type",type:"string"}]},49202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IPBlock=void 0;class V1IPBlock{static getAttributeTypeMap(){return V1IPBlock.attributeTypeMap}}t.V1IPBlock=V1IPBlock;V1IPBlock.discriminator=undefined;V1IPBlock.attributeTypeMap=[{name:"cidr",baseName:"cidr",type:"string"},{name:"except",baseName:"except",type:"Array"}]},83570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ISCSIPersistentVolumeSource=void 0;class V1ISCSIPersistentVolumeSource{static getAttributeTypeMap(){return V1ISCSIPersistentVolumeSource.attributeTypeMap}}t.V1ISCSIPersistentVolumeSource=V1ISCSIPersistentVolumeSource;V1ISCSIPersistentVolumeSource.discriminator=undefined;V1ISCSIPersistentVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}]},68021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ISCSIVolumeSource=void 0;class V1ISCSIVolumeSource{static getAttributeTypeMap(){return V1ISCSIVolumeSource.attributeTypeMap}}t.V1ISCSIVolumeSource=V1ISCSIVolumeSource;V1ISCSIVolumeSource.discriminator=undefined;V1ISCSIVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}]},32492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Ingress=void 0;class V1Ingress{static getAttributeTypeMap(){return V1Ingress.attributeTypeMap}}t.V1Ingress=V1Ingress;V1Ingress.discriminator=undefined;V1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1IngressSpec"},{name:"status",baseName:"status",type:"V1IngressStatus"}]},44340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressBackend=void 0;class V1IngressBackend{static getAttributeTypeMap(){return V1IngressBackend.attributeTypeMap}}t.V1IngressBackend=V1IngressBackend;V1IngressBackend.discriminator=undefined;V1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"service",baseName:"service",type:"V1IngressServiceBackend"}]},93865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClass=void 0;class V1IngressClass{static getAttributeTypeMap(){return V1IngressClass.attributeTypeMap}}t.V1IngressClass=V1IngressClass;V1IngressClass.discriminator=undefined;V1IngressClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1IngressClassSpec"}]},76125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClassList=void 0;class V1IngressClassList{static getAttributeTypeMap(){return V1IngressClassList.attributeTypeMap}}t.V1IngressClassList=V1IngressClassList;V1IngressClassList.discriminator=undefined;V1IngressClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},92069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClassSpec=void 0;class V1IngressClassSpec{static getAttributeTypeMap(){return V1IngressClassSpec.attributeTypeMap}}t.V1IngressClassSpec=V1IngressClassSpec;V1IngressClassSpec.discriminator=undefined;V1IngressClassSpec.attributeTypeMap=[{name:"controller",baseName:"controller",type:"string"},{name:"parameters",baseName:"parameters",type:"V1TypedLocalObjectReference"}]},43693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressList=void 0;class V1IngressList{static getAttributeTypeMap(){return V1IngressList.attributeTypeMap}}t.V1IngressList=V1IngressList;V1IngressList.discriminator=undefined;V1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},89541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressRule=void 0;class V1IngressRule{static getAttributeTypeMap(){return V1IngressRule.attributeTypeMap}}t.V1IngressRule=V1IngressRule;V1IngressRule.discriminator=undefined;V1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"V1HTTPIngressRuleValue"}]},62476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressServiceBackend=void 0;class V1IngressServiceBackend{static getAttributeTypeMap(){return V1IngressServiceBackend.attributeTypeMap}}t.V1IngressServiceBackend=V1IngressServiceBackend;V1IngressServiceBackend.discriminator=undefined;V1IngressServiceBackend.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"V1ServiceBackendPort"}]},59689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressSpec=void 0;class V1IngressSpec{static getAttributeTypeMap(){return V1IngressSpec.attributeTypeMap}}t.V1IngressSpec=V1IngressSpec;V1IngressSpec.discriminator=undefined;V1IngressSpec.attributeTypeMap=[{name:"defaultBackend",baseName:"defaultBackend",type:"V1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},45830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressStatus=void 0;class V1IngressStatus{static getAttributeTypeMap(){return V1IngressStatus.attributeTypeMap}}t.V1IngressStatus=V1IngressStatus;V1IngressStatus.discriminator=undefined;V1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},23037:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressTLS=void 0;class V1IngressTLS{static getAttributeTypeMap(){return V1IngressTLS.attributeTypeMap}}t.V1IngressTLS=V1IngressTLS;V1IngressTLS.discriminator=undefined;V1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},63580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JSONSchemaProps=void 0;class V1JSONSchemaProps{static getAttributeTypeMap(){return V1JSONSchemaProps.attributeTypeMap}}t.V1JSONSchemaProps=V1JSONSchemaProps;V1JSONSchemaProps.discriminator=undefined;V1JSONSchemaProps.attributeTypeMap=[{name:"$ref",baseName:"$ref",type:"string"},{name:"$schema",baseName:"$schema",type:"string"},{name:"additionalItems",baseName:"additionalItems",type:"object"},{name:"additionalProperties",baseName:"additionalProperties",type:"object"},{name:"allOf",baseName:"allOf",type:"Array"},{name:"anyOf",baseName:"anyOf",type:"Array"},{name:"_default",baseName:"default",type:"object"},{name:"definitions",baseName:"definitions",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"dependencies",baseName:"dependencies",type:"{ [key: string]: object; }"},{name:"description",baseName:"description",type:"string"},{name:"_enum",baseName:"enum",type:"Array"},{name:"example",baseName:"example",type:"object"},{name:"exclusiveMaximum",baseName:"exclusiveMaximum",type:"boolean"},{name:"exclusiveMinimum",baseName:"exclusiveMinimum",type:"boolean"},{name:"externalDocs",baseName:"externalDocs",type:"V1ExternalDocumentation"},{name:"format",baseName:"format",type:"string"},{name:"id",baseName:"id",type:"string"},{name:"items",baseName:"items",type:"object"},{name:"maxItems",baseName:"maxItems",type:"number"},{name:"maxLength",baseName:"maxLength",type:"number"},{name:"maxProperties",baseName:"maxProperties",type:"number"},{name:"maximum",baseName:"maximum",type:"number"},{name:"minItems",baseName:"minItems",type:"number"},{name:"minLength",baseName:"minLength",type:"number"},{name:"minProperties",baseName:"minProperties",type:"number"},{name:"minimum",baseName:"minimum",type:"number"},{name:"multipleOf",baseName:"multipleOf",type:"number"},{name:"not",baseName:"not",type:"V1JSONSchemaProps"},{name:"nullable",baseName:"nullable",type:"boolean"},{name:"oneOf",baseName:"oneOf",type:"Array"},{name:"pattern",baseName:"pattern",type:"string"},{name:"patternProperties",baseName:"patternProperties",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"properties",baseName:"properties",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"required",baseName:"required",type:"Array"},{name:"title",baseName:"title",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"uniqueItems",baseName:"uniqueItems",type:"boolean"},{name:"x_kubernetes_embedded_resource",baseName:"x-kubernetes-embedded-resource",type:"boolean"},{name:"x_kubernetes_int_or_string",baseName:"x-kubernetes-int-or-string",type:"boolean"},{name:"x_kubernetes_list_map_keys",baseName:"x-kubernetes-list-map-keys",type:"Array"},{name:"x_kubernetes_list_type",baseName:"x-kubernetes-list-type",type:"string"},{name:"x_kubernetes_map_type",baseName:"x-kubernetes-map-type",type:"string"},{name:"x_kubernetes_preserve_unknown_fields",baseName:"x-kubernetes-preserve-unknown-fields",type:"boolean"}]},91260:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Job=void 0;class V1Job{static getAttributeTypeMap(){return V1Job.attributeTypeMap}}t.V1Job=V1Job;V1Job.discriminator=undefined;V1Job.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"},{name:"status",baseName:"status",type:"V1JobStatus"}]},94069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobCondition=void 0;class V1JobCondition{static getAttributeTypeMap(){return V1JobCondition.attributeTypeMap}}t.V1JobCondition=V1JobCondition;V1JobCondition.discriminator=undefined;V1JobCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},13366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobList=void 0;class V1JobList{static getAttributeTypeMap(){return V1JobList.attributeTypeMap}}t.V1JobList=V1JobList;V1JobList.discriminator=undefined;V1JobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},32400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobSpec=void 0;class V1JobSpec{static getAttributeTypeMap(){return V1JobSpec.attributeTypeMap}}t.V1JobSpec=V1JobSpec;V1JobSpec.discriminator=undefined;V1JobSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"backoffLimit",baseName:"backoffLimit",type:"number"},{name:"completions",baseName:"completions",type:"number"},{name:"manualSelector",baseName:"manualSelector",type:"boolean"},{name:"parallelism",baseName:"parallelism",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"ttlSecondsAfterFinished",baseName:"ttlSecondsAfterFinished",type:"number"}]},57345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobStatus=void 0;class V1JobStatus{static getAttributeTypeMap(){return V1JobStatus.attributeTypeMap}}t.V1JobStatus=V1JobStatus;V1JobStatus.discriminator=undefined;V1JobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"number"},{name:"completionTime",baseName:"completionTime",type:"Date"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"failed",baseName:"failed",type:"number"},{name:"startTime",baseName:"startTime",type:"Date"},{name:"succeeded",baseName:"succeeded",type:"number"}]},23549:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1KeyToPath=void 0;class V1KeyToPath{static getAttributeTypeMap(){return V1KeyToPath.attributeTypeMap}}t.V1KeyToPath=V1KeyToPath;V1KeyToPath.discriminator=undefined;V1KeyToPath.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"}]},22567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LabelSelector=void 0;class V1LabelSelector{static getAttributeTypeMap(){return V1LabelSelector.attributeTypeMap}}t.V1LabelSelector=V1LabelSelector;V1LabelSelector.discriminator=undefined;V1LabelSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchLabels",baseName:"matchLabels",type:"{ [key: string]: string; }"}]},50993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LabelSelectorRequirement=void 0;class V1LabelSelectorRequirement{static getAttributeTypeMap(){return V1LabelSelectorRequirement.attributeTypeMap}}t.V1LabelSelectorRequirement=V1LabelSelectorRequirement;V1LabelSelectorRequirement.discriminator=undefined;V1LabelSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}]},98844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Lease=void 0;class V1Lease{static getAttributeTypeMap(){return V1Lease.attributeTypeMap}}t.V1Lease=V1Lease;V1Lease.discriminator=undefined;V1Lease.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1LeaseSpec"}]},76838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LeaseList=void 0;class V1LeaseList{static getAttributeTypeMap(){return V1LeaseList.attributeTypeMap}}t.V1LeaseList=V1LeaseList;V1LeaseList.discriminator=undefined;V1LeaseList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},44603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LeaseSpec=void 0;class V1LeaseSpec{static getAttributeTypeMap(){return V1LeaseSpec.attributeTypeMap}}t.V1LeaseSpec=V1LeaseSpec;V1LeaseSpec.discriminator=undefined;V1LeaseSpec.attributeTypeMap=[{name:"acquireTime",baseName:"acquireTime",type:"Date"},{name:"holderIdentity",baseName:"holderIdentity",type:"string"},{name:"leaseDurationSeconds",baseName:"leaseDurationSeconds",type:"number"},{name:"leaseTransitions",baseName:"leaseTransitions",type:"number"},{name:"renewTime",baseName:"renewTime",type:"Date"}]},41500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Lifecycle=void 0;class V1Lifecycle{static getAttributeTypeMap(){return V1Lifecycle.attributeTypeMap}}t.V1Lifecycle=V1Lifecycle;V1Lifecycle.discriminator=undefined;V1Lifecycle.attributeTypeMap=[{name:"postStart",baseName:"postStart",type:"V1Handler"},{name:"preStop",baseName:"preStop",type:"V1Handler"}]},86280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRange=void 0;class V1LimitRange{static getAttributeTypeMap(){return V1LimitRange.attributeTypeMap}}t.V1LimitRange=V1LimitRange;V1LimitRange.discriminator=undefined;V1LimitRange.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1LimitRangeSpec"}]},91128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeItem=void 0;class V1LimitRangeItem{static getAttributeTypeMap(){return V1LimitRangeItem.attributeTypeMap}}t.V1LimitRangeItem=V1LimitRangeItem;V1LimitRangeItem.discriminator=undefined;V1LimitRangeItem.attributeTypeMap=[{name:"_default",baseName:"default",type:"{ [key: string]: string; }"},{name:"defaultRequest",baseName:"defaultRequest",type:"{ [key: string]: string; }"},{name:"max",baseName:"max",type:"{ [key: string]: string; }"},{name:"maxLimitRequestRatio",baseName:"maxLimitRequestRatio",type:"{ [key: string]: string; }"},{name:"min",baseName:"min",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}]},82578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeList=void 0;class V1LimitRangeList{static getAttributeTypeMap(){return V1LimitRangeList.attributeTypeMap}}t.V1LimitRangeList=V1LimitRangeList;V1LimitRangeList.discriminator=undefined;V1LimitRangeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},83039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeSpec=void 0;class V1LimitRangeSpec{static getAttributeTypeMap(){return V1LimitRangeSpec.attributeTypeMap}}t.V1LimitRangeSpec=V1LimitRangeSpec;V1LimitRangeSpec.discriminator=undefined;V1LimitRangeSpec.attributeTypeMap=[{name:"limits",baseName:"limits",type:"Array"}]},88593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ListMeta=void 0;class V1ListMeta{static getAttributeTypeMap(){return V1ListMeta.attributeTypeMap}}t.V1ListMeta=V1ListMeta;V1ListMeta.discriminator=undefined;V1ListMeta.attributeTypeMap=[{name:"_continue",baseName:"continue",type:"string"},{name:"remainingItemCount",baseName:"remainingItemCount",type:"number"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"}]},25667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LoadBalancerIngress=void 0;class V1LoadBalancerIngress{static getAttributeTypeMap(){return V1LoadBalancerIngress.attributeTypeMap}}t.V1LoadBalancerIngress=V1LoadBalancerIngress;V1LoadBalancerIngress.discriminator=undefined;V1LoadBalancerIngress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"},{name:"ports",baseName:"ports",type:"Array"}]},46630:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LoadBalancerStatus=void 0;class V1LoadBalancerStatus{static getAttributeTypeMap(){return V1LoadBalancerStatus.attributeTypeMap}}t.V1LoadBalancerStatus=V1LoadBalancerStatus;V1LoadBalancerStatus.discriminator=undefined;V1LoadBalancerStatus.attributeTypeMap=[{name:"ingress",baseName:"ingress",type:"Array"}]},12229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalObjectReference=void 0;class V1LocalObjectReference{static getAttributeTypeMap(){return V1LocalObjectReference.attributeTypeMap}}t.V1LocalObjectReference=V1LocalObjectReference;V1LocalObjectReference.discriminator=undefined;V1LocalObjectReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},31674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalSubjectAccessReview=void 0;class V1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1LocalSubjectAccessReview.attributeTypeMap}}t.V1LocalSubjectAccessReview=V1LocalSubjectAccessReview;V1LocalSubjectAccessReview.discriminator=undefined;V1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},72729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalVolumeSource=void 0;class V1LocalVolumeSource{static getAttributeTypeMap(){return V1LocalVolumeSource.attributeTypeMap}}t.V1LocalVolumeSource=V1LocalVolumeSource;V1LocalVolumeSource.discriminator=undefined;V1LocalVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"path",baseName:"path",type:"string"}]},82187:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ManagedFieldsEntry=void 0;class V1ManagedFieldsEntry{static getAttributeTypeMap(){return V1ManagedFieldsEntry.attributeTypeMap}}t.V1ManagedFieldsEntry=V1ManagedFieldsEntry;V1ManagedFieldsEntry.discriminator=undefined;V1ManagedFieldsEntry.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldsType",baseName:"fieldsType",type:"string"},{name:"fieldsV1",baseName:"fieldsV1",type:"object"},{name:"manager",baseName:"manager",type:"string"},{name:"operation",baseName:"operation",type:"string"},{name:"time",baseName:"time",type:"Date"}]},95354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhook=void 0;class V1MutatingWebhook{static getAttributeTypeMap(){return V1MutatingWebhook.attributeTypeMap}}t.V1MutatingWebhook=V1MutatingWebhook;V1MutatingWebhook.discriminator=undefined;V1MutatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"reinvocationPolicy",baseName:"reinvocationPolicy",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},2006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhookConfiguration=void 0;class V1MutatingWebhookConfiguration{static getAttributeTypeMap(){return V1MutatingWebhookConfiguration.attributeTypeMap}}t.V1MutatingWebhookConfiguration=V1MutatingWebhookConfiguration;V1MutatingWebhookConfiguration.discriminator=undefined;V1MutatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},22665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhookConfigurationList=void 0;class V1MutatingWebhookConfigurationList{static getAttributeTypeMap(){return V1MutatingWebhookConfigurationList.attributeTypeMap}}t.V1MutatingWebhookConfigurationList=V1MutatingWebhookConfigurationList;V1MutatingWebhookConfigurationList.discriminator=undefined;V1MutatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},35432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NFSVolumeSource=void 0;class V1NFSVolumeSource{static getAttributeTypeMap(){return V1NFSVolumeSource.attributeTypeMap}}t.V1NFSVolumeSource=V1NFSVolumeSource;V1NFSVolumeSource.discriminator=undefined;V1NFSVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"server",baseName:"server",type:"string"}]},95469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Namespace=void 0;class V1Namespace{static getAttributeTypeMap(){return V1Namespace.attributeTypeMap}}t.V1Namespace=V1Namespace;V1Namespace.discriminator=undefined;V1Namespace.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NamespaceSpec"},{name:"status",baseName:"status",type:"V1NamespaceStatus"}]},314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceCondition=void 0;class V1NamespaceCondition{static getAttributeTypeMap(){return V1NamespaceCondition.attributeTypeMap}}t.V1NamespaceCondition=V1NamespaceCondition;V1NamespaceCondition.discriminator=undefined;V1NamespaceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},22366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceList=void 0;class V1NamespaceList{static getAttributeTypeMap(){return V1NamespaceList.attributeTypeMap}}t.V1NamespaceList=V1NamespaceList;V1NamespaceList.discriminator=undefined;V1NamespaceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},49076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceSpec=void 0;class V1NamespaceSpec{static getAttributeTypeMap(){return V1NamespaceSpec.attributeTypeMap}}t.V1NamespaceSpec=V1NamespaceSpec;V1NamespaceSpec.discriminator=undefined;V1NamespaceSpec.attributeTypeMap=[{name:"finalizers",baseName:"finalizers",type:"Array"}]},8833:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceStatus=void 0;class V1NamespaceStatus{static getAttributeTypeMap(){return V1NamespaceStatus.attributeTypeMap}}t.V1NamespaceStatus=V1NamespaceStatus;V1NamespaceStatus.discriminator=undefined;V1NamespaceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"phase",baseName:"phase",type:"string"}]},47995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicy=void 0;class V1NetworkPolicy{static getAttributeTypeMap(){return V1NetworkPolicy.attributeTypeMap}}t.V1NetworkPolicy=V1NetworkPolicy;V1NetworkPolicy.discriminator=undefined;V1NetworkPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NetworkPolicySpec"}]},60886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyEgressRule=void 0;class V1NetworkPolicyEgressRule{static getAttributeTypeMap(){return V1NetworkPolicyEgressRule.attributeTypeMap}}t.V1NetworkPolicyEgressRule=V1NetworkPolicyEgressRule;V1NetworkPolicyEgressRule.discriminator=undefined;V1NetworkPolicyEgressRule.attributeTypeMap=[{name:"ports",baseName:"ports",type:"Array"},{name:"to",baseName:"to",type:"Array"}]},89952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyIngressRule=void 0;class V1NetworkPolicyIngressRule{static getAttributeTypeMap(){return V1NetworkPolicyIngressRule.attributeTypeMap}}t.V1NetworkPolicyIngressRule=V1NetworkPolicyIngressRule;V1NetworkPolicyIngressRule.discriminator=undefined;V1NetworkPolicyIngressRule.attributeTypeMap=[{name:"from",baseName:"from",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}]},74436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyList=void 0;class V1NetworkPolicyList{static getAttributeTypeMap(){return V1NetworkPolicyList.attributeTypeMap}}t.V1NetworkPolicyList=V1NetworkPolicyList;V1NetworkPolicyList.discriminator=undefined;V1NetworkPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},22173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyPeer=void 0;class V1NetworkPolicyPeer{static getAttributeTypeMap(){return V1NetworkPolicyPeer.attributeTypeMap}}t.V1NetworkPolicyPeer=V1NetworkPolicyPeer;V1NetworkPolicyPeer.discriminator=undefined;V1NetworkPolicyPeer.attributeTypeMap=[{name:"ipBlock",baseName:"ipBlock",type:"V1IPBlock"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"}]},71056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyPort=void 0;class V1NetworkPolicyPort{static getAttributeTypeMap(){return V1NetworkPolicyPort.attributeTypeMap}}t.V1NetworkPolicyPort=V1NetworkPolicyPort;V1NetworkPolicyPort.discriminator=undefined;V1NetworkPolicyPort.attributeTypeMap=[{name:"port",baseName:"port",type:"object"},{name:"protocol",baseName:"protocol",type:"string"}]},63061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicySpec=void 0;class V1NetworkPolicySpec{static getAttributeTypeMap(){return V1NetworkPolicySpec.attributeTypeMap}}t.V1NetworkPolicySpec=V1NetworkPolicySpec;V1NetworkPolicySpec.discriminator=undefined;V1NetworkPolicySpec.attributeTypeMap=[{name:"egress",baseName:"egress",type:"Array"},{name:"ingress",baseName:"ingress",type:"Array"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"},{name:"policyTypes",baseName:"policyTypes",type:"Array"}]},3667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Node=void 0;class V1Node{static getAttributeTypeMap(){return V1Node.attributeTypeMap}}t.V1Node=V1Node;V1Node.discriminator=undefined;V1Node.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NodeSpec"},{name:"status",baseName:"status",type:"V1NodeStatus"}]},84893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeAddress=void 0;class V1NodeAddress{static getAttributeTypeMap(){return V1NodeAddress.attributeTypeMap}}t.V1NodeAddress=V1NodeAddress;V1NodeAddress.discriminator=undefined;V1NodeAddress.attributeTypeMap=[{name:"address",baseName:"address",type:"string"},{name:"type",baseName:"type",type:"string"}]},10627:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeAffinity=void 0;class V1NodeAffinity{static getAttributeTypeMap(){return V1NodeAffinity.attributeTypeMap}}t.V1NodeAffinity=V1NodeAffinity;V1NodeAffinity.discriminator=undefined;V1NodeAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"V1NodeSelector"}]},11740:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeCondition=void 0;class V1NodeCondition{static getAttributeTypeMap(){return V1NodeCondition.attributeTypeMap}}t.V1NodeCondition=V1NodeCondition;V1NodeCondition.discriminator=undefined;V1NodeCondition.attributeTypeMap=[{name:"lastHeartbeatTime",baseName:"lastHeartbeatTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},4272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeConfigSource=void 0;class V1NodeConfigSource{static getAttributeTypeMap(){return V1NodeConfigSource.attributeTypeMap}}t.V1NodeConfigSource=V1NodeConfigSource;V1NodeConfigSource.discriminator=undefined;V1NodeConfigSource.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapNodeConfigSource"}]},10912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeConfigStatus=void 0;class V1NodeConfigStatus{static getAttributeTypeMap(){return V1NodeConfigStatus.attributeTypeMap}}t.V1NodeConfigStatus=V1NodeConfigStatus;V1NodeConfigStatus.discriminator=undefined;V1NodeConfigStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"V1NodeConfigSource"},{name:"assigned",baseName:"assigned",type:"V1NodeConfigSource"},{name:"error",baseName:"error",type:"string"},{name:"lastKnownGood",baseName:"lastKnownGood",type:"V1NodeConfigSource"}]},24894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeDaemonEndpoints=void 0;class V1NodeDaemonEndpoints{static getAttributeTypeMap(){return V1NodeDaemonEndpoints.attributeTypeMap}}t.V1NodeDaemonEndpoints=V1NodeDaemonEndpoints;V1NodeDaemonEndpoints.discriminator=undefined;V1NodeDaemonEndpoints.attributeTypeMap=[{name:"kubeletEndpoint",baseName:"kubeletEndpoint",type:"V1DaemonEndpoint"}]},42762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeList=void 0;class V1NodeList{static getAttributeTypeMap(){return V1NodeList.attributeTypeMap}}t.V1NodeList=V1NodeList;V1NodeList.discriminator=undefined;V1NodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},32293:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelector=void 0;class V1NodeSelector{static getAttributeTypeMap(){return V1NodeSelector.attributeTypeMap}}t.V1NodeSelector=V1NodeSelector;V1NodeSelector.discriminator=undefined;V1NodeSelector.attributeTypeMap=[{name:"nodeSelectorTerms",baseName:"nodeSelectorTerms",type:"Array"}]},85161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelectorRequirement=void 0;class V1NodeSelectorRequirement{static getAttributeTypeMap(){return V1NodeSelectorRequirement.attributeTypeMap}}t.V1NodeSelectorRequirement=V1NodeSelectorRequirement;V1NodeSelectorRequirement.discriminator=undefined;V1NodeSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}]},51128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelectorTerm=void 0;class V1NodeSelectorTerm{static getAttributeTypeMap(){return V1NodeSelectorTerm.attributeTypeMap}}t.V1NodeSelectorTerm=V1NodeSelectorTerm;V1NodeSelectorTerm.discriminator=undefined;V1NodeSelectorTerm.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchFields",baseName:"matchFields",type:"Array"}]},41752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSpec=void 0;class V1NodeSpec{static getAttributeTypeMap(){return V1NodeSpec.attributeTypeMap}}t.V1NodeSpec=V1NodeSpec;V1NodeSpec.discriminator=undefined;V1NodeSpec.attributeTypeMap=[{name:"configSource",baseName:"configSource",type:"V1NodeConfigSource"},{name:"externalID",baseName:"externalID",type:"string"},{name:"podCIDR",baseName:"podCIDR",type:"string"},{name:"podCIDRs",baseName:"podCIDRs",type:"Array"},{name:"providerID",baseName:"providerID",type:"string"},{name:"taints",baseName:"taints",type:"Array"},{name:"unschedulable",baseName:"unschedulable",type:"boolean"}]},21656:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeStatus=void 0;class V1NodeStatus{static getAttributeTypeMap(){return V1NodeStatus.attributeTypeMap}}t.V1NodeStatus=V1NodeStatus;V1NodeStatus.discriminator=undefined;V1NodeStatus.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"allocatable",baseName:"allocatable",type:"{ [key: string]: string; }"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"config",baseName:"config",type:"V1NodeConfigStatus"},{name:"daemonEndpoints",baseName:"daemonEndpoints",type:"V1NodeDaemonEndpoints"},{name:"images",baseName:"images",type:"Array"},{name:"nodeInfo",baseName:"nodeInfo",type:"V1NodeSystemInfo"},{name:"phase",baseName:"phase",type:"string"},{name:"volumesAttached",baseName:"volumesAttached",type:"Array"},{name:"volumesInUse",baseName:"volumesInUse",type:"Array"}]},33645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSystemInfo=void 0;class V1NodeSystemInfo{static getAttributeTypeMap(){return V1NodeSystemInfo.attributeTypeMap}}t.V1NodeSystemInfo=V1NodeSystemInfo;V1NodeSystemInfo.discriminator=undefined;V1NodeSystemInfo.attributeTypeMap=[{name:"architecture",baseName:"architecture",type:"string"},{name:"bootID",baseName:"bootID",type:"string"},{name:"containerRuntimeVersion",baseName:"containerRuntimeVersion",type:"string"},{name:"kernelVersion",baseName:"kernelVersion",type:"string"},{name:"kubeProxyVersion",baseName:"kubeProxyVersion",type:"string"},{name:"kubeletVersion",baseName:"kubeletVersion",type:"string"},{name:"machineID",baseName:"machineID",type:"string"},{name:"operatingSystem",baseName:"operatingSystem",type:"string"},{name:"osImage",baseName:"osImage",type:"string"},{name:"systemUUID",baseName:"systemUUID",type:"string"}]},70019:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NonResourceAttributes=void 0;class V1NonResourceAttributes{static getAttributeTypeMap(){return V1NonResourceAttributes.attributeTypeMap}}t.V1NonResourceAttributes=V1NonResourceAttributes;V1NonResourceAttributes.discriminator=undefined;V1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}]},99191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NonResourceRule=void 0;class V1NonResourceRule{static getAttributeTypeMap(){return V1NonResourceRule.attributeTypeMap}}t.V1NonResourceRule=V1NonResourceRule;V1NonResourceRule.discriminator=undefined;V1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},86171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectFieldSelector=void 0;class V1ObjectFieldSelector{static getAttributeTypeMap(){return V1ObjectFieldSelector.attributeTypeMap}}t.V1ObjectFieldSelector=V1ObjectFieldSelector;V1ObjectFieldSelector.discriminator=undefined;V1ObjectFieldSelector.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"}]},44696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectMeta=void 0;class V1ObjectMeta{static getAttributeTypeMap(){return V1ObjectMeta.attributeTypeMap}}t.V1ObjectMeta=V1ObjectMeta;V1ObjectMeta.discriminator=undefined;V1ObjectMeta.attributeTypeMap=[{name:"annotations",baseName:"annotations",type:"{ [key: string]: string; }"},{name:"clusterName",baseName:"clusterName",type:"string"},{name:"creationTimestamp",baseName:"creationTimestamp",type:"Date"},{name:"deletionGracePeriodSeconds",baseName:"deletionGracePeriodSeconds",type:"number"},{name:"deletionTimestamp",baseName:"deletionTimestamp",type:"Date"},{name:"finalizers",baseName:"finalizers",type:"Array"},{name:"generateName",baseName:"generateName",type:"string"},{name:"generation",baseName:"generation",type:"number"},{name:"labels",baseName:"labels",type:"{ [key: string]: string; }"},{name:"managedFields",baseName:"managedFields",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"ownerReferences",baseName:"ownerReferences",type:"Array"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},19051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectReference=void 0;class V1ObjectReference{static getAttributeTypeMap(){return V1ObjectReference.attributeTypeMap}}t.V1ObjectReference=V1ObjectReference;V1ObjectReference.discriminator=undefined;V1ObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},90114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Overhead=void 0;class V1Overhead{static getAttributeTypeMap(){return V1Overhead.attributeTypeMap}}t.V1Overhead=V1Overhead;V1Overhead.discriminator=undefined;V1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},7924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1OwnerReference=void 0;class V1OwnerReference{static getAttributeTypeMap(){return V1OwnerReference.attributeTypeMap}}t.V1OwnerReference=V1OwnerReference;V1OwnerReference.discriminator=undefined;V1OwnerReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"blockOwnerDeletion",baseName:"blockOwnerDeletion",type:"boolean"},{name:"controller",baseName:"controller",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},25570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolume=void 0;class V1PersistentVolume{static getAttributeTypeMap(){return V1PersistentVolume.attributeTypeMap}}t.V1PersistentVolume=V1PersistentVolume;V1PersistentVolume.discriminator=undefined;V1PersistentVolume.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeStatus"}]},17657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaim=void 0;class V1PersistentVolumeClaim{static getAttributeTypeMap(){return V1PersistentVolumeClaim.attributeTypeMap}}t.V1PersistentVolumeClaim=V1PersistentVolumeClaim;V1PersistentVolumeClaim.discriminator=undefined;V1PersistentVolumeClaim.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeClaimSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeClaimStatus"}]},32966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimCondition=void 0;class V1PersistentVolumeClaimCondition{static getAttributeTypeMap(){return V1PersistentVolumeClaimCondition.attributeTypeMap}}t.V1PersistentVolumeClaimCondition=V1PersistentVolumeClaimCondition;V1PersistentVolumeClaimCondition.discriminator=undefined;V1PersistentVolumeClaimCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},78594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimList=void 0;class V1PersistentVolumeClaimList{static getAttributeTypeMap(){return V1PersistentVolumeClaimList.attributeTypeMap}}t.V1PersistentVolumeClaimList=V1PersistentVolumeClaimList;V1PersistentVolumeClaimList.discriminator=undefined;V1PersistentVolumeClaimList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimSpec=void 0;class V1PersistentVolumeClaimSpec{static getAttributeTypeMap(){return V1PersistentVolumeClaimSpec.attributeTypeMap}}t.V1PersistentVolumeClaimSpec=V1PersistentVolumeClaimSpec;V1PersistentVolumeClaimSpec.discriminator=undefined;V1PersistentVolumeClaimSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"dataSource",baseName:"dataSource",type:"V1TypedLocalObjectReference"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},42951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimStatus=void 0;class V1PersistentVolumeClaimStatus{static getAttributeTypeMap(){return V1PersistentVolumeClaimStatus.attributeTypeMap}}t.V1PersistentVolumeClaimStatus=V1PersistentVolumeClaimStatus;V1PersistentVolumeClaimStatus.discriminator=undefined;V1PersistentVolumeClaimStatus.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"phase",baseName:"phase",type:"string"}]},92114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimTemplate=void 0;class V1PersistentVolumeClaimTemplate{static getAttributeTypeMap(){return V1PersistentVolumeClaimTemplate.attributeTypeMap}}t.V1PersistentVolumeClaimTemplate=V1PersistentVolumeClaimTemplate;V1PersistentVolumeClaimTemplate.discriminator=undefined;V1PersistentVolumeClaimTemplate.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeClaimSpec"}]},69811:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimVolumeSource=void 0;class V1PersistentVolumeClaimVolumeSource{static getAttributeTypeMap(){return V1PersistentVolumeClaimVolumeSource.attributeTypeMap}}t.V1PersistentVolumeClaimVolumeSource=V1PersistentVolumeClaimVolumeSource;V1PersistentVolumeClaimVolumeSource.discriminator=undefined;V1PersistentVolumeClaimVolumeSource.attributeTypeMap=[{name:"claimName",baseName:"claimName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},86312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeList=void 0;class V1PersistentVolumeList{static getAttributeTypeMap(){return V1PersistentVolumeList.attributeTypeMap}}t.V1PersistentVolumeList=V1PersistentVolumeList;V1PersistentVolumeList.discriminator=undefined;V1PersistentVolumeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},86628:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeSpec=void 0;class V1PersistentVolumeSpec{static getAttributeTypeMap(){return V1PersistentVolumeSpec.attributeTypeMap}}t.V1PersistentVolumeSpec=V1PersistentVolumeSpec;V1PersistentVolumeSpec.discriminator=undefined;V1PersistentVolumeSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFilePersistentVolumeSource"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSPersistentVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderPersistentVolumeSource"},{name:"claimRef",baseName:"claimRef",type:"V1ObjectReference"},{name:"csi",baseName:"csi",type:"V1CSIPersistentVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexPersistentVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsPersistentVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIPersistentVolumeSource"},{name:"local",baseName:"local",type:"V1LocalVolumeSource"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1VolumeNodeAffinity"},{name:"persistentVolumeReclaimPolicy",baseName:"persistentVolumeReclaimPolicy",type:"string"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDPersistentVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOPersistentVolumeSource"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"storageos",baseName:"storageos",type:"V1StorageOSPersistentVolumeSource"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}]},19839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeStatus=void 0;class V1PersistentVolumeStatus{static getAttributeTypeMap(){return V1PersistentVolumeStatus.attributeTypeMap}}t.V1PersistentVolumeStatus=V1PersistentVolumeStatus;V1PersistentVolumeStatus.discriminator=undefined;V1PersistentVolumeStatus.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},51817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PhotonPersistentDiskVolumeSource=void 0;class V1PhotonPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1PhotonPersistentDiskVolumeSource.attributeTypeMap}}t.V1PhotonPersistentDiskVolumeSource=V1PhotonPersistentDiskVolumeSource;V1PhotonPersistentDiskVolumeSource.discriminator=undefined;V1PhotonPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"pdID",baseName:"pdID",type:"string"}]},99975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Pod=void 0;class V1Pod{static getAttributeTypeMap(){return V1Pod.attributeTypeMap}}t.V1Pod=V1Pod;V1Pod.discriminator=undefined;V1Pod.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"},{name:"status",baseName:"status",type:"V1PodStatus"}]},509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAffinity=void 0;class V1PodAffinity{static getAttributeTypeMap(){return V1PodAffinity.attributeTypeMap}}t.V1PodAffinity=V1PodAffinity;V1PodAffinity.discriminator=undefined;V1PodAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}]},65970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAffinityTerm=void 0;class V1PodAffinityTerm{static getAttributeTypeMap(){return V1PodAffinityTerm.attributeTypeMap}}t.V1PodAffinityTerm=V1PodAffinityTerm;V1PodAffinityTerm.discriminator=undefined;V1PodAffinityTerm.attributeTypeMap=[{name:"labelSelector",baseName:"labelSelector",type:"V1LabelSelector"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"topologyKey",baseName:"topologyKey",type:"string"}]},19574:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAntiAffinity=void 0;class V1PodAntiAffinity{static getAttributeTypeMap(){return V1PodAntiAffinity.attributeTypeMap}}t.V1PodAntiAffinity=V1PodAntiAffinity;V1PodAntiAffinity.discriminator=undefined;V1PodAntiAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}]},78045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodCondition=void 0;class V1PodCondition{static getAttributeTypeMap(){return V1PodCondition.attributeTypeMap}}t.V1PodCondition=V1PodCondition;V1PodCondition.discriminator=undefined;V1PodCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},67831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodDNSConfig=void 0;class V1PodDNSConfig{static getAttributeTypeMap(){return V1PodDNSConfig.attributeTypeMap}}t.V1PodDNSConfig=V1PodDNSConfig;V1PodDNSConfig.discriminator=undefined;V1PodDNSConfig.attributeTypeMap=[{name:"nameservers",baseName:"nameservers",type:"Array"},{name:"options",baseName:"options",type:"Array"},{name:"searches",baseName:"searches",type:"Array"}]},74548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodDNSConfigOption=void 0;class V1PodDNSConfigOption{static getAttributeTypeMap(){return V1PodDNSConfigOption.attributeTypeMap}}t.V1PodDNSConfigOption=V1PodDNSConfigOption;V1PodDNSConfigOption.discriminator=undefined;V1PodDNSConfigOption.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},76774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodIP=void 0;class V1PodIP{static getAttributeTypeMap(){return V1PodIP.attributeTypeMap}}t.V1PodIP=V1PodIP;V1PodIP.discriminator=undefined;V1PodIP.attributeTypeMap=[{name:"ip",baseName:"ip",type:"string"}]},71948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodList=void 0;class V1PodList{static getAttributeTypeMap(){return V1PodList.attributeTypeMap}}t.V1PodList=V1PodList;V1PodList.discriminator=undefined;V1PodList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},84135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodReadinessGate=void 0;class V1PodReadinessGate{static getAttributeTypeMap(){return V1PodReadinessGate.attributeTypeMap}}t.V1PodReadinessGate=V1PodReadinessGate;V1PodReadinessGate.discriminator=undefined;V1PodReadinessGate.attributeTypeMap=[{name:"conditionType",baseName:"conditionType",type:"string"}]},79850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodSecurityContext=void 0;class V1PodSecurityContext{static getAttributeTypeMap(){return V1PodSecurityContext.attributeTypeMap}}t.V1PodSecurityContext=V1PodSecurityContext;V1PodSecurityContext.discriminator=undefined;V1PodSecurityContext.attributeTypeMap=[{name:"fsGroup",baseName:"fsGroup",type:"number"},{name:"fsGroupChangePolicy",baseName:"fsGroupChangePolicy",type:"string"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"},{name:"seccompProfile",baseName:"seccompProfile",type:"V1SeccompProfile"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"Array"},{name:"sysctls",baseName:"sysctls",type:"Array"},{name:"windowsOptions",baseName:"windowsOptions",type:"V1WindowsSecurityContextOptions"}]},58881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodSpec=void 0;class V1PodSpec{static getAttributeTypeMap(){return V1PodSpec.attributeTypeMap}}t.V1PodSpec=V1PodSpec;V1PodSpec.discriminator=undefined;V1PodSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"affinity",baseName:"affinity",type:"V1Affinity"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"containers",baseName:"containers",type:"Array"},{name:"dnsConfig",baseName:"dnsConfig",type:"V1PodDNSConfig"},{name:"dnsPolicy",baseName:"dnsPolicy",type:"string"},{name:"enableServiceLinks",baseName:"enableServiceLinks",type:"boolean"},{name:"ephemeralContainers",baseName:"ephemeralContainers",type:"Array"},{name:"hostAliases",baseName:"hostAliases",type:"Array"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostname",baseName:"hostname",type:"string"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array"},{name:"initContainers",baseName:"initContainers",type:"Array"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"overhead",baseName:"overhead",type:"{ [key: string]: string; }"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"priorityClassName",baseName:"priorityClassName",type:"string"},{name:"readinessGates",baseName:"readinessGates",type:"Array"},{name:"restartPolicy",baseName:"restartPolicy",type:"string"},{name:"runtimeClassName",baseName:"runtimeClassName",type:"string"},{name:"schedulerName",baseName:"schedulerName",type:"string"},{name:"securityContext",baseName:"securityContext",type:"V1PodSecurityContext"},{name:"serviceAccount",baseName:"serviceAccount",type:"string"},{name:"serviceAccountName",baseName:"serviceAccountName",type:"string"},{name:"setHostnameAsFQDN",baseName:"setHostnameAsFQDN",type:"boolean"},{name:"shareProcessNamespace",baseName:"shareProcessNamespace",type:"boolean"},{name:"subdomain",baseName:"subdomain",type:"string"},{name:"terminationGracePeriodSeconds",baseName:"terminationGracePeriodSeconds",type:"number"},{name:"tolerations",baseName:"tolerations",type:"Array"},{name:"topologySpreadConstraints",baseName:"topologySpreadConstraints",type:"Array"},{name:"volumes",baseName:"volumes",type:"Array"}]},42892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodStatus=void 0;class V1PodStatus{static getAttributeTypeMap(){return V1PodStatus.attributeTypeMap}}t.V1PodStatus=V1PodStatus;V1PodStatus.discriminator=undefined;V1PodStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"containerStatuses",baseName:"containerStatuses",type:"Array"},{name:"ephemeralContainerStatuses",baseName:"ephemeralContainerStatuses",type:"Array"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"initContainerStatuses",baseName:"initContainerStatuses",type:"Array"},{name:"message",baseName:"message",type:"string"},{name:"nominatedNodeName",baseName:"nominatedNodeName",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"podIP",baseName:"podIP",type:"string"},{name:"podIPs",baseName:"podIPs",type:"Array"},{name:"qosClass",baseName:"qosClass",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"startTime",baseName:"startTime",type:"Date"}]},39894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplate=void 0;class V1PodTemplate{static getAttributeTypeMap(){return V1PodTemplate.attributeTypeMap}}t.V1PodTemplate=V1PodTemplate;V1PodTemplate.discriminator=undefined;V1PodTemplate.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},88279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplateList=void 0;class V1PodTemplateList{static getAttributeTypeMap(){return V1PodTemplateList.attributeTypeMap}}t.V1PodTemplateList=V1PodTemplateList;V1PodTemplateList.discriminator=undefined;V1PodTemplateList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},97621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplateSpec=void 0;class V1PodTemplateSpec{static getAttributeTypeMap(){return V1PodTemplateSpec.attributeTypeMap}}t.V1PodTemplateSpec=V1PodTemplateSpec;V1PodTemplateSpec.discriminator=undefined;V1PodTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"}]},74625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PolicyRule=void 0;class V1PolicyRule{static getAttributeTypeMap(){return V1PolicyRule.attributeTypeMap}}t.V1PolicyRule=V1PolicyRule;V1PolicyRule.discriminator=undefined;V1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},85571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PortStatus=void 0;class V1PortStatus{static getAttributeTypeMap(){return V1PortStatus.attributeTypeMap}}t.V1PortStatus=V1PortStatus;V1PortStatus.discriminator=undefined;V1PortStatus.attributeTypeMap=[{name:"error",baseName:"error",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},3317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PortworxVolumeSource=void 0;class V1PortworxVolumeSource{static getAttributeTypeMap(){return V1PortworxVolumeSource.attributeTypeMap}}t.V1PortworxVolumeSource=V1PortworxVolumeSource;V1PortworxVolumeSource.discriminator=undefined;V1PortworxVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}]},85751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Preconditions=void 0;class V1Preconditions{static getAttributeTypeMap(){return V1Preconditions.attributeTypeMap}}t.V1Preconditions=V1Preconditions;V1Preconditions.discriminator=undefined;V1Preconditions.attributeTypeMap=[{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},50837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PreferredSchedulingTerm=void 0;class V1PreferredSchedulingTerm{static getAttributeTypeMap(){return V1PreferredSchedulingTerm.attributeTypeMap}}t.V1PreferredSchedulingTerm=V1PreferredSchedulingTerm;V1PreferredSchedulingTerm.discriminator=undefined;V1PreferredSchedulingTerm.attributeTypeMap=[{name:"preference",baseName:"preference",type:"V1NodeSelectorTerm"},{name:"weight",baseName:"weight",type:"number"}]},35698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PriorityClass=void 0;class V1PriorityClass{static getAttributeTypeMap(){return V1PriorityClass.attributeTypeMap}}t.V1PriorityClass=V1PriorityClass;V1PriorityClass.discriminator=undefined;V1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},80966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PriorityClassList=void 0;class V1PriorityClassList{static getAttributeTypeMap(){return V1PriorityClassList.attributeTypeMap}}t.V1PriorityClassList=V1PriorityClassList;V1PriorityClassList.discriminator=undefined;V1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},43933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Probe=void 0;class V1Probe{static getAttributeTypeMap(){return V1Probe.attributeTypeMap}}t.V1Probe=V1Probe;V1Probe.discriminator=undefined;V1Probe.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"failureThreshold",baseName:"failureThreshold",type:"number"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"initialDelaySeconds",baseName:"initialDelaySeconds",type:"number"},{name:"periodSeconds",baseName:"periodSeconds",type:"number"},{name:"successThreshold",baseName:"successThreshold",type:"number"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},54662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ProjectedVolumeSource=void 0;class V1ProjectedVolumeSource{static getAttributeTypeMap(){return V1ProjectedVolumeSource.attributeTypeMap}}t.V1ProjectedVolumeSource=V1ProjectedVolumeSource;V1ProjectedVolumeSource.discriminator=undefined;V1ProjectedVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"sources",baseName:"sources",type:"Array"}]},16954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1QuobyteVolumeSource=void 0;class V1QuobyteVolumeSource{static getAttributeTypeMap(){return V1QuobyteVolumeSource.attributeTypeMap}}t.V1QuobyteVolumeSource=V1QuobyteVolumeSource;V1QuobyteVolumeSource.discriminator=undefined;V1QuobyteVolumeSource.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"registry",baseName:"registry",type:"string"},{name:"tenant",baseName:"tenant",type:"string"},{name:"user",baseName:"user",type:"string"},{name:"volume",baseName:"volume",type:"string"}]},70634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RBDPersistentVolumeSource=void 0;class V1RBDPersistentVolumeSource{static getAttributeTypeMap(){return V1RBDPersistentVolumeSource.attributeTypeMap}}t.V1RBDPersistentVolumeSource=V1RBDPersistentVolumeSource;V1RBDPersistentVolumeSource.discriminator=undefined;V1RBDPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}]},26573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RBDVolumeSource=void 0;class V1RBDVolumeSource{static getAttributeTypeMap(){return V1RBDVolumeSource.attributeTypeMap}}t.V1RBDVolumeSource=V1RBDVolumeSource;V1RBDVolumeSource.discriminator=undefined;V1RBDVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}]},69009:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSet=void 0;class V1ReplicaSet{static getAttributeTypeMap(){return V1ReplicaSet.attributeTypeMap}}t.V1ReplicaSet=V1ReplicaSet;V1ReplicaSet.discriminator=undefined;V1ReplicaSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicaSetSpec"},{name:"status",baseName:"status",type:"V1ReplicaSetStatus"}]},14870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetCondition=void 0;class V1ReplicaSetCondition{static getAttributeTypeMap(){return V1ReplicaSetCondition.attributeTypeMap}}t.V1ReplicaSetCondition=V1ReplicaSetCondition;V1ReplicaSetCondition.discriminator=undefined;V1ReplicaSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},40475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetList=void 0;class V1ReplicaSetList{static getAttributeTypeMap(){return V1ReplicaSetList.attributeTypeMap}}t.V1ReplicaSetList=V1ReplicaSetList;V1ReplicaSetList.discriminator=undefined;V1ReplicaSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},90975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetSpec=void 0;class V1ReplicaSetSpec{static getAttributeTypeMap(){return V1ReplicaSetSpec.attributeTypeMap}}t.V1ReplicaSetSpec=V1ReplicaSetSpec;V1ReplicaSetSpec.discriminator=undefined;V1ReplicaSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},66859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetStatus=void 0;class V1ReplicaSetStatus{static getAttributeTypeMap(){return V1ReplicaSetStatus.attributeTypeMap}}t.V1ReplicaSetStatus=V1ReplicaSetStatus;V1ReplicaSetStatus.discriminator=undefined;V1ReplicaSetStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}]},64888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationController=void 0;class V1ReplicationController{static getAttributeTypeMap(){return V1ReplicationController.attributeTypeMap}}t.V1ReplicationController=V1ReplicationController;V1ReplicationController.discriminator=undefined;V1ReplicationController.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicationControllerSpec"},{name:"status",baseName:"status",type:"V1ReplicationControllerStatus"}]},36376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerCondition=void 0;class V1ReplicationControllerCondition{static getAttributeTypeMap(){return V1ReplicationControllerCondition.attributeTypeMap}}t.V1ReplicationControllerCondition=V1ReplicationControllerCondition;V1ReplicationControllerCondition.discriminator=undefined;V1ReplicationControllerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},8350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerList=void 0;class V1ReplicationControllerList{static getAttributeTypeMap(){return V1ReplicationControllerList.attributeTypeMap}}t.V1ReplicationControllerList=V1ReplicationControllerList;V1ReplicationControllerList.discriminator=undefined;V1ReplicationControllerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},21782:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerSpec=void 0;class V1ReplicationControllerSpec{static getAttributeTypeMap(){return V1ReplicationControllerSpec.attributeTypeMap}}t.V1ReplicationControllerSpec=V1ReplicationControllerSpec;V1ReplicationControllerSpec.discriminator=undefined;V1ReplicationControllerSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},19870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerStatus=void 0;class V1ReplicationControllerStatus{static getAttributeTypeMap(){return V1ReplicationControllerStatus.attributeTypeMap}}t.V1ReplicationControllerStatus=V1ReplicationControllerStatus;V1ReplicationControllerStatus.discriminator=undefined;V1ReplicationControllerStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}]},94221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceAttributes=void 0;class V1ResourceAttributes{static getAttributeTypeMap(){return V1ResourceAttributes.attributeTypeMap}}t.V1ResourceAttributes=V1ResourceAttributes;V1ResourceAttributes.discriminator=undefined;V1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}]},10936:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceFieldSelector=void 0;class V1ResourceFieldSelector{static getAttributeTypeMap(){return V1ResourceFieldSelector.attributeTypeMap}}t.V1ResourceFieldSelector=V1ResourceFieldSelector;V1ResourceFieldSelector.discriminator=undefined;V1ResourceFieldSelector.attributeTypeMap=[{name:"containerName",baseName:"containerName",type:"string"},{name:"divisor",baseName:"divisor",type:"string"},{name:"resource",baseName:"resource",type:"string"}]},5827:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuota=void 0;class V1ResourceQuota{static getAttributeTypeMap(){return V1ResourceQuota.attributeTypeMap}}t.V1ResourceQuota=V1ResourceQuota;V1ResourceQuota.discriminator=undefined;V1ResourceQuota.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ResourceQuotaSpec"},{name:"status",baseName:"status",type:"V1ResourceQuotaStatus"}]},48994:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaList=void 0;class V1ResourceQuotaList{static getAttributeTypeMap(){return V1ResourceQuotaList.attributeTypeMap}}t.V1ResourceQuotaList=V1ResourceQuotaList;V1ResourceQuotaList.discriminator=undefined;V1ResourceQuotaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},55397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaSpec=void 0;class V1ResourceQuotaSpec{static getAttributeTypeMap(){return V1ResourceQuotaSpec.attributeTypeMap}}t.V1ResourceQuotaSpec=V1ResourceQuotaSpec;V1ResourceQuotaSpec.discriminator=undefined;V1ResourceQuotaSpec.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"scopeSelector",baseName:"scopeSelector",type:"V1ScopeSelector"},{name:"scopes",baseName:"scopes",type:"Array"}]},91686:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaStatus=void 0;class V1ResourceQuotaStatus{static getAttributeTypeMap(){return V1ResourceQuotaStatus.attributeTypeMap}}t.V1ResourceQuotaStatus=V1ResourceQuotaStatus;V1ResourceQuotaStatus.discriminator=undefined;V1ResourceQuotaStatus.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"used",baseName:"used",type:"{ [key: string]: string; }"}]},22421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceRequirements=void 0;class V1ResourceRequirements{static getAttributeTypeMap(){return V1ResourceRequirements.attributeTypeMap}}t.V1ResourceRequirements=V1ResourceRequirements;V1ResourceRequirements.discriminator=undefined;V1ResourceRequirements.attributeTypeMap=[{name:"limits",baseName:"limits",type:"{ [key: string]: string; }"},{name:"requests",baseName:"requests",type:"{ [key: string]: string; }"}]},1581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceRule=void 0;class V1ResourceRule{static getAttributeTypeMap(){return V1ResourceRule.attributeTypeMap}}t.V1ResourceRule=V1ResourceRule;V1ResourceRule.discriminator=undefined;V1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},61114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Role=void 0;class V1Role{static getAttributeTypeMap(){return V1Role.attributeTypeMap}}t.V1Role=V1Role;V1Role.discriminator=undefined;V1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},77568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleBinding=void 0;class V1RoleBinding{static getAttributeTypeMap(){return V1RoleBinding.attributeTypeMap}}t.V1RoleBinding=V1RoleBinding;V1RoleBinding.discriminator=undefined;V1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},55014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleBindingList=void 0;class V1RoleBindingList{static getAttributeTypeMap(){return V1RoleBindingList.attributeTypeMap}}t.V1RoleBindingList=V1RoleBindingList;V1RoleBindingList.discriminator=undefined;V1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},67214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleList=void 0;class V1RoleList{static getAttributeTypeMap(){return V1RoleList.attributeTypeMap}}t.V1RoleList=V1RoleList;V1RoleList.discriminator=undefined;V1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleRef=void 0;class V1RoleRef{static getAttributeTypeMap(){return V1RoleRef.attributeTypeMap}}t.V1RoleRef=V1RoleRef;V1RoleRef.discriminator=undefined;V1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},46136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateDaemonSet=void 0;class V1RollingUpdateDaemonSet{static getAttributeTypeMap(){return V1RollingUpdateDaemonSet.attributeTypeMap}}t.V1RollingUpdateDaemonSet=V1RollingUpdateDaemonSet;V1RollingUpdateDaemonSet.discriminator=undefined;V1RollingUpdateDaemonSet.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"}]},70215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateDeployment=void 0;class V1RollingUpdateDeployment{static getAttributeTypeMap(){return V1RollingUpdateDeployment.attributeTypeMap}}t.V1RollingUpdateDeployment=V1RollingUpdateDeployment;V1RollingUpdateDeployment.discriminator=undefined;V1RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"object"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"}]},37088:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateStatefulSetStrategy=void 0;class V1RollingUpdateStatefulSetStrategy{static getAttributeTypeMap(){return V1RollingUpdateStatefulSetStrategy.attributeTypeMap}}t.V1RollingUpdateStatefulSetStrategy=V1RollingUpdateStatefulSetStrategy;V1RollingUpdateStatefulSetStrategy.discriminator=undefined;V1RollingUpdateStatefulSetStrategy.attributeTypeMap=[{name:"partition",baseName:"partition",type:"number"}]},1824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuleWithOperations=void 0;class V1RuleWithOperations{static getAttributeTypeMap(){return V1RuleWithOperations.attributeTypeMap}}t.V1RuleWithOperations=V1RuleWithOperations;V1RuleWithOperations.discriminator=undefined;V1RuleWithOperations.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"apiVersions",baseName:"apiVersions",type:"Array"},{name:"operations",baseName:"operations",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"scope",baseName:"scope",type:"string"}]},31828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuntimeClass=void 0;class V1RuntimeClass{static getAttributeTypeMap(){return V1RuntimeClass.attributeTypeMap}}t.V1RuntimeClass=V1RuntimeClass;V1RuntimeClass.discriminator=undefined;V1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"handler",baseName:"handler",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"overhead",baseName:"overhead",type:"V1Overhead"},{name:"scheduling",baseName:"scheduling",type:"V1Scheduling"}]},96736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuntimeClassList=void 0;class V1RuntimeClassList{static getAttributeTypeMap(){return V1RuntimeClassList.attributeTypeMap}}t.V1RuntimeClassList=V1RuntimeClassList;V1RuntimeClassList.discriminator=undefined;V1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SELinuxOptions=void 0;class V1SELinuxOptions{static getAttributeTypeMap(){return V1SELinuxOptions.attributeTypeMap}}t.V1SELinuxOptions=V1SELinuxOptions;V1SELinuxOptions.discriminator=undefined;V1SELinuxOptions.attributeTypeMap=[{name:"level",baseName:"level",type:"string"},{name:"role",baseName:"role",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"user",baseName:"user",type:"string"}]},9764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Scale=void 0;class V1Scale{static getAttributeTypeMap(){return V1Scale.attributeTypeMap}}t.V1Scale=V1Scale;V1Scale.discriminator=undefined;V1Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ScaleSpec"},{name:"status",baseName:"status",type:"V1ScaleStatus"}]},21058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleIOPersistentVolumeSource=void 0;class V1ScaleIOPersistentVolumeSource{static getAttributeTypeMap(){return V1ScaleIOPersistentVolumeSource.attributeTypeMap}}t.V1ScaleIOPersistentVolumeSource=V1ScaleIOPersistentVolumeSource;V1ScaleIOPersistentVolumeSource.discriminator=undefined;V1ScaleIOPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},31382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleIOVolumeSource=void 0;class V1ScaleIOVolumeSource{static getAttributeTypeMap(){return V1ScaleIOVolumeSource.attributeTypeMap}}t.V1ScaleIOVolumeSource=V1ScaleIOVolumeSource;V1ScaleIOVolumeSource.discriminator=undefined;V1ScaleIOVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},15895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleSpec=void 0;class V1ScaleSpec{static getAttributeTypeMap(){return V1ScaleSpec.attributeTypeMap}}t.V1ScaleSpec=V1ScaleSpec;V1ScaleSpec.discriminator=undefined;V1ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}]},56891:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleStatus=void 0;class V1ScaleStatus{static getAttributeTypeMap(){return V1ScaleStatus.attributeTypeMap}}t.V1ScaleStatus=V1ScaleStatus;V1ScaleStatus.discriminator=undefined;V1ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"string"}]},79991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Scheduling=void 0;class V1Scheduling{static getAttributeTypeMap(){return V1Scheduling.attributeTypeMap}}t.V1Scheduling=V1Scheduling;V1Scheduling.discriminator=undefined;V1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},60711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScopeSelector=void 0;class V1ScopeSelector{static getAttributeTypeMap(){return V1ScopeSelector.attributeTypeMap}}t.V1ScopeSelector=V1ScopeSelector;V1ScopeSelector.discriminator=undefined;V1ScopeSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"}]},25888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScopedResourceSelectorRequirement=void 0;class V1ScopedResourceSelectorRequirement{static getAttributeTypeMap(){return V1ScopedResourceSelectorRequirement.attributeTypeMap}}t.V1ScopedResourceSelectorRequirement=V1ScopedResourceSelectorRequirement;V1ScopedResourceSelectorRequirement.discriminator=undefined;V1ScopedResourceSelectorRequirement.attributeTypeMap=[{name:"operator",baseName:"operator",type:"string"},{name:"scopeName",baseName:"scopeName",type:"string"},{name:"values",baseName:"values",type:"Array"}]},845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SeccompProfile=void 0;class V1SeccompProfile{static getAttributeTypeMap(){return V1SeccompProfile.attributeTypeMap}}t.V1SeccompProfile=V1SeccompProfile;V1SeccompProfile.discriminator=undefined;V1SeccompProfile.attributeTypeMap=[{name:"localhostProfile",baseName:"localhostProfile",type:"string"},{name:"type",baseName:"type",type:"string"}]},49696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Secret=void 0;class V1Secret{static getAttributeTypeMap(){return V1Secret.attributeTypeMap}}t.V1Secret=V1Secret;V1Secret.discriminator=undefined;V1Secret.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"immutable",baseName:"immutable",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"stringData",baseName:"stringData",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}]},7056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretEnvSource=void 0;class V1SecretEnvSource{static getAttributeTypeMap(){return V1SecretEnvSource.attributeTypeMap}}t.V1SecretEnvSource=V1SecretEnvSource;V1SecretEnvSource.discriminator=undefined;V1SecretEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},3884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretKeySelector=void 0;class V1SecretKeySelector{static getAttributeTypeMap(){return V1SecretKeySelector.attributeTypeMap}}t.V1SecretKeySelector=V1SecretKeySelector;V1SecretKeySelector.discriminator=undefined;V1SecretKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},4248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretList=void 0;class V1SecretList{static getAttributeTypeMap(){return V1SecretList.attributeTypeMap}}t.V1SecretList=V1SecretList;V1SecretList.discriminator=undefined;V1SecretList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},39203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretProjection=void 0;class V1SecretProjection{static getAttributeTypeMap(){return V1SecretProjection.attributeTypeMap}}t.V1SecretProjection=V1SecretProjection;V1SecretProjection.discriminator=undefined;V1SecretProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},33725:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretReference=void 0;class V1SecretReference{static getAttributeTypeMap(){return V1SecretReference.attributeTypeMap}}t.V1SecretReference=V1SecretReference;V1SecretReference.discriminator=undefined;V1SecretReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},19078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretVolumeSource=void 0;class V1SecretVolumeSource{static getAttributeTypeMap(){return V1SecretVolumeSource.attributeTypeMap}}t.V1SecretVolumeSource=V1SecretVolumeSource;V1SecretVolumeSource.discriminator=undefined;V1SecretVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"},{name:"optional",baseName:"optional",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"}]},98113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecurityContext=void 0;class V1SecurityContext{static getAttributeTypeMap(){return V1SecurityContext.attributeTypeMap}}t.V1SecurityContext=V1SecurityContext;V1SecurityContext.discriminator=undefined;V1SecurityContext.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"capabilities",baseName:"capabilities",type:"V1Capabilities"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"procMount",baseName:"procMount",type:"string"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"},{name:"seccompProfile",baseName:"seccompProfile",type:"V1SeccompProfile"},{name:"windowsOptions",baseName:"windowsOptions",type:"V1WindowsSecurityContextOptions"}]},15598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectAccessReview=void 0;class V1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1SelfSubjectAccessReview.attributeTypeMap}}t.V1SelfSubjectAccessReview=V1SelfSubjectAccessReview;V1SelfSubjectAccessReview.discriminator=undefined;V1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},39191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectAccessReviewSpec=void 0;class V1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectAccessReviewSpec.attributeTypeMap}}t.V1SelfSubjectAccessReviewSpec=V1SelfSubjectAccessReviewSpec;V1SelfSubjectAccessReviewSpec.discriminator=undefined;V1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"}]},84279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectRulesReview=void 0;class V1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1SelfSubjectRulesReview.attributeTypeMap}}t.V1SelfSubjectRulesReview=V1SelfSubjectRulesReview;V1SelfSubjectRulesReview.discriminator=undefined;V1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectRulesReviewStatus"}]},56581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectRulesReviewSpec=void 0;class V1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectRulesReviewSpec.attributeTypeMap}}t.V1SelfSubjectRulesReviewSpec=V1SelfSubjectRulesReviewSpec;V1SelfSubjectRulesReviewSpec.discriminator=undefined;V1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}]},30254:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServerAddressByClientCIDR=void 0;class V1ServerAddressByClientCIDR{static getAttributeTypeMap(){return V1ServerAddressByClientCIDR.attributeTypeMap}}t.V1ServerAddressByClientCIDR=V1ServerAddressByClientCIDR;V1ServerAddressByClientCIDR.discriminator=undefined;V1ServerAddressByClientCIDR.attributeTypeMap=[{name:"clientCIDR",baseName:"clientCIDR",type:"string"},{name:"serverAddress",baseName:"serverAddress",type:"string"}]},87928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Service=void 0;class V1Service{static getAttributeTypeMap(){return V1Service.attributeTypeMap}}t.V1Service=V1Service;V1Service.discriminator=undefined;V1Service.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ServiceSpec"},{name:"status",baseName:"status",type:"V1ServiceStatus"}]},9350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccount=void 0;class V1ServiceAccount{static getAttributeTypeMap(){return V1ServiceAccount.attributeTypeMap}}t.V1ServiceAccount=V1ServiceAccount;V1ServiceAccount.discriminator=undefined;V1ServiceAccount.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"secrets",baseName:"secrets",type:"Array"}]},38169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccountList=void 0;class V1ServiceAccountList{static getAttributeTypeMap(){return V1ServiceAccountList.attributeTypeMap}}t.V1ServiceAccountList=V1ServiceAccountList;V1ServiceAccountList.discriminator=undefined;V1ServiceAccountList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},18640:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccountTokenProjection=void 0;class V1ServiceAccountTokenProjection{static getAttributeTypeMap(){return V1ServiceAccountTokenProjection.attributeTypeMap}}t.V1ServiceAccountTokenProjection=V1ServiceAccountTokenProjection;V1ServiceAccountTokenProjection.discriminator=undefined;V1ServiceAccountTokenProjection.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"},{name:"path",baseName:"path",type:"string"}]},25927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceBackendPort=void 0;class V1ServiceBackendPort{static getAttributeTypeMap(){return V1ServiceBackendPort.attributeTypeMap}}t.V1ServiceBackendPort=V1ServiceBackendPort;V1ServiceBackendPort.discriminator=undefined;V1ServiceBackendPort.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"number",baseName:"number",type:"number"}]},26839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceList=void 0;class V1ServiceList{static getAttributeTypeMap(){return V1ServiceList.attributeTypeMap}}t.V1ServiceList=V1ServiceList;V1ServiceList.discriminator=undefined;V1ServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},46881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServicePort=void 0;class V1ServicePort{static getAttributeTypeMap(){return V1ServicePort.attributeTypeMap}}t.V1ServicePort=V1ServicePort;V1ServicePort.discriminator=undefined;V1ServicePort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"nodePort",baseName:"nodePort",type:"number"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"},{name:"targetPort",baseName:"targetPort",type:"object"}]},96339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceSpec=void 0;class V1ServiceSpec{static getAttributeTypeMap(){return V1ServiceSpec.attributeTypeMap}}t.V1ServiceSpec=V1ServiceSpec;V1ServiceSpec.discriminator=undefined;V1ServiceSpec.attributeTypeMap=[{name:"allocateLoadBalancerNodePorts",baseName:"allocateLoadBalancerNodePorts",type:"boolean"},{name:"clusterIP",baseName:"clusterIP",type:"string"},{name:"clusterIPs",baseName:"clusterIPs",type:"Array"},{name:"externalIPs",baseName:"externalIPs",type:"Array"},{name:"externalName",baseName:"externalName",type:"string"},{name:"externalTrafficPolicy",baseName:"externalTrafficPolicy",type:"string"},{name:"healthCheckNodePort",baseName:"healthCheckNodePort",type:"number"},{name:"ipFamilies",baseName:"ipFamilies",type:"Array"},{name:"ipFamilyPolicy",baseName:"ipFamilyPolicy",type:"string"},{name:"loadBalancerIP",baseName:"loadBalancerIP",type:"string"},{name:"loadBalancerSourceRanges",baseName:"loadBalancerSourceRanges",type:"Array"},{name:"ports",baseName:"ports",type:"Array"},{name:"publishNotReadyAddresses",baseName:"publishNotReadyAddresses",type:"boolean"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"sessionAffinity",baseName:"sessionAffinity",type:"string"},{name:"sessionAffinityConfig",baseName:"sessionAffinityConfig",type:"V1SessionAffinityConfig"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"},{name:"type",baseName:"type",type:"string"}]},62890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceStatus=void 0;class V1ServiceStatus{static getAttributeTypeMap(){return V1ServiceStatus.attributeTypeMap}}t.V1ServiceStatus=V1ServiceStatus;V1ServiceStatus.discriminator=undefined;V1ServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},69127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SessionAffinityConfig=void 0;class V1SessionAffinityConfig{static getAttributeTypeMap(){return V1SessionAffinityConfig.attributeTypeMap}}t.V1SessionAffinityConfig=V1SessionAffinityConfig;V1SessionAffinityConfig.discriminator=undefined;V1SessionAffinityConfig.attributeTypeMap=[{name:"clientIP",baseName:"clientIP",type:"V1ClientIPConfig"}]},76275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSet=void 0;class V1StatefulSet{static getAttributeTypeMap(){return V1StatefulSet.attributeTypeMap}}t.V1StatefulSet=V1StatefulSet;V1StatefulSet.discriminator=undefined;V1StatefulSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1StatefulSetSpec"},{name:"status",baseName:"status",type:"V1StatefulSetStatus"}]},49545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetCondition=void 0;class V1StatefulSetCondition{static getAttributeTypeMap(){return V1StatefulSetCondition.attributeTypeMap}}t.V1StatefulSetCondition=V1StatefulSetCondition;V1StatefulSetCondition.discriminator=undefined;V1StatefulSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},9927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetList=void 0;class V1StatefulSetList{static getAttributeTypeMap(){return V1StatefulSetList.attributeTypeMap}}t.V1StatefulSetList=V1StatefulSetList;V1StatefulSetList.discriminator=undefined;V1StatefulSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},18622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetSpec=void 0;class V1StatefulSetSpec{static getAttributeTypeMap(){return V1StatefulSetSpec.attributeTypeMap}}t.V1StatefulSetSpec=V1StatefulSetSpec;V1StatefulSetSpec.discriminator=undefined;V1StatefulSetSpec.attributeTypeMap=[{name:"podManagementPolicy",baseName:"podManagementPolicy",type:"string"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1StatefulSetUpdateStrategy"},{name:"volumeClaimTemplates",baseName:"volumeClaimTemplates",type:"Array"}]},95926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetStatus=void 0;class V1StatefulSetStatus{static getAttributeTypeMap(){return V1StatefulSetStatus.attributeTypeMap}}t.V1StatefulSetStatus=V1StatefulSetStatus;V1StatefulSetStatus.discriminator=undefined;V1StatefulSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"currentRevision",baseName:"currentRevision",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"updateRevision",baseName:"updateRevision",type:"string"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}]},48971:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetUpdateStrategy=void 0;class V1StatefulSetUpdateStrategy{static getAttributeTypeMap(){return V1StatefulSetUpdateStrategy.attributeTypeMap}}t.V1StatefulSetUpdateStrategy=V1StatefulSetUpdateStrategy;V1StatefulSetUpdateStrategy.discriminator=undefined;V1StatefulSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateStatefulSetStrategy"},{name:"type",baseName:"type",type:"string"}]},31592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Status=void 0;class V1Status{static getAttributeTypeMap(){return V1Status.attributeTypeMap}}t.V1Status=V1Status;V1Status.discriminator=undefined;V1Status.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"code",baseName:"code",type:"number"},{name:"details",baseName:"details",type:"V1StatusDetails"},{name:"kind",baseName:"kind",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"}]},83459:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatusCause=void 0;class V1StatusCause{static getAttributeTypeMap(){return V1StatusCause.attributeTypeMap}}t.V1StatusCause=V1StatusCause;V1StatusCause.discriminator=undefined;V1StatusCause.attributeTypeMap=[{name:"field",baseName:"field",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},9077:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatusDetails=void 0;class V1StatusDetails{static getAttributeTypeMap(){return V1StatusDetails.attributeTypeMap}}t.V1StatusDetails=V1StatusDetails;V1StatusDetails.discriminator=undefined;V1StatusDetails.attributeTypeMap=[{name:"causes",baseName:"causes",type:"Array"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"retryAfterSeconds",baseName:"retryAfterSeconds",type:"number"},{name:"uid",baseName:"uid",type:"string"}]},70127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageClass=void 0;class V1StorageClass{static getAttributeTypeMap(){return V1StorageClass.attributeTypeMap}}t.V1StorageClass=V1StorageClass;V1StorageClass.discriminator=undefined;V1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}]},53615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageClassList=void 0;class V1StorageClassList{static getAttributeTypeMap(){return V1StorageClassList.attributeTypeMap}}t.V1StorageClassList=V1StorageClassList;V1StorageClassList.discriminator=undefined;V1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageOSPersistentVolumeSource=void 0;class V1StorageOSPersistentVolumeSource{static getAttributeTypeMap(){return V1StorageOSPersistentVolumeSource.attributeTypeMap}}t.V1StorageOSPersistentVolumeSource=V1StorageOSPersistentVolumeSource;V1StorageOSPersistentVolumeSource.discriminator=undefined;V1StorageOSPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1ObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}]},60878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageOSVolumeSource=void 0;class V1StorageOSVolumeSource{static getAttributeTypeMap(){return V1StorageOSVolumeSource.attributeTypeMap}}t.V1StorageOSVolumeSource=V1StorageOSVolumeSource;V1StorageOSVolumeSource.discriminator=undefined;V1StorageOSVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}]},1655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Subject=void 0;class V1Subject{static getAttributeTypeMap(){return V1Subject.attributeTypeMap}}t.V1Subject=V1Subject;V1Subject.discriminator=undefined;V1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},87717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReview=void 0;class V1SubjectAccessReview{static getAttributeTypeMap(){return V1SubjectAccessReview.attributeTypeMap}}t.V1SubjectAccessReview=V1SubjectAccessReview;V1SubjectAccessReview.discriminator=undefined;V1SubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},34417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReviewSpec=void 0;class V1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SubjectAccessReviewSpec.attributeTypeMap}}t.V1SubjectAccessReviewSpec=V1SubjectAccessReviewSpec;V1SubjectAccessReviewSpec.discriminator=undefined;V1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}]},62967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReviewStatus=void 0;class V1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1SubjectAccessReviewStatus.attributeTypeMap}}t.V1SubjectAccessReviewStatus=V1SubjectAccessReviewStatus;V1SubjectAccessReviewStatus.discriminator=undefined;V1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},41434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectRulesReviewStatus=void 0;class V1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1SubjectRulesReviewStatus.attributeTypeMap}}t.V1SubjectRulesReviewStatus=V1SubjectRulesReviewStatus;V1SubjectRulesReviewStatus.discriminator=undefined;V1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"}]},55885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Sysctl=void 0;class V1Sysctl{static getAttributeTypeMap(){return V1Sysctl.attributeTypeMap}}t.V1Sysctl=V1Sysctl;V1Sysctl.discriminator=undefined;V1Sysctl.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},20317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TCPSocketAction=void 0;class V1TCPSocketAction{static getAttributeTypeMap(){return V1TCPSocketAction.attributeTypeMap}}t.V1TCPSocketAction=V1TCPSocketAction;V1TCPSocketAction.discriminator=undefined;V1TCPSocketAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"port",baseName:"port",type:"object"}]},65055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Taint=void 0;class V1Taint{static getAttributeTypeMap(){return V1Taint.attributeTypeMap}}t.V1Taint=V1Taint;V1Taint.discriminator=undefined;V1Taint.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"timeAdded",baseName:"timeAdded",type:"Date"},{name:"value",baseName:"value",type:"string"}]},46022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenRequestSpec=void 0;class V1TokenRequestSpec{static getAttributeTypeMap(){return V1TokenRequestSpec.attributeTypeMap}}t.V1TokenRequestSpec=V1TokenRequestSpec;V1TokenRequestSpec.discriminator=undefined;V1TokenRequestSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"boundObjectRef",baseName:"boundObjectRef",type:"V1BoundObjectReference"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},38664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenRequestStatus=void 0;class V1TokenRequestStatus{static getAttributeTypeMap(){return V1TokenRequestStatus.attributeTypeMap}}t.V1TokenRequestStatus=V1TokenRequestStatus;V1TokenRequestStatus.discriminator=undefined;V1TokenRequestStatus.attributeTypeMap=[{name:"expirationTimestamp",baseName:"expirationTimestamp",type:"Date"},{name:"token",baseName:"token",type:"string"}]},93238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReview=void 0;class V1TokenReview{static getAttributeTypeMap(){return V1TokenReview.attributeTypeMap}}t.V1TokenReview=V1TokenReview;V1TokenReview.discriminator=undefined;V1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1TokenReviewStatus"}]},6538:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReviewSpec=void 0;class V1TokenReviewSpec{static getAttributeTypeMap(){return V1TokenReviewSpec.attributeTypeMap}}t.V1TokenReviewSpec=V1TokenReviewSpec;V1TokenReviewSpec.discriminator=undefined;V1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"token",baseName:"token",type:"string"}]},94719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReviewStatus=void 0;class V1TokenReviewStatus{static getAttributeTypeMap(){return V1TokenReviewStatus.attributeTypeMap}}t.V1TokenReviewStatus=V1TokenReviewStatus;V1TokenReviewStatus.discriminator=undefined;V1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1UserInfo"}]},26379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Toleration=void 0;class V1Toleration{static getAttributeTypeMap(){return V1Toleration.attributeTypeMap}}t.V1Toleration=V1Toleration;V1Toleration.discriminator=undefined;V1Toleration.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"tolerationSeconds",baseName:"tolerationSeconds",type:"number"},{name:"value",baseName:"value",type:"string"}]},14361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySelectorLabelRequirement=void 0;class V1TopologySelectorLabelRequirement{static getAttributeTypeMap(){return V1TopologySelectorLabelRequirement.attributeTypeMap}}t.V1TopologySelectorLabelRequirement=V1TopologySelectorLabelRequirement;V1TopologySelectorLabelRequirement.discriminator=undefined;V1TopologySelectorLabelRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"values",baseName:"values",type:"Array"}]},86872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySelectorTerm=void 0;class V1TopologySelectorTerm{static getAttributeTypeMap(){return V1TopologySelectorTerm.attributeTypeMap}}t.V1TopologySelectorTerm=V1TopologySelectorTerm;V1TopologySelectorTerm.discriminator=undefined;V1TopologySelectorTerm.attributeTypeMap=[{name:"matchLabelExpressions",baseName:"matchLabelExpressions",type:"Array"}]},89521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySpreadConstraint=void 0;class V1TopologySpreadConstraint{static getAttributeTypeMap(){return V1TopologySpreadConstraint.attributeTypeMap}}t.V1TopologySpreadConstraint=V1TopologySpreadConstraint;V1TopologySpreadConstraint.discriminator=undefined;V1TopologySpreadConstraint.attributeTypeMap=[{name:"labelSelector",baseName:"labelSelector",type:"V1LabelSelector"},{name:"maxSkew",baseName:"maxSkew",type:"number"},{name:"topologyKey",baseName:"topologyKey",type:"string"},{name:"whenUnsatisfiable",baseName:"whenUnsatisfiable",type:"string"}]},6602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TypedLocalObjectReference=void 0;class V1TypedLocalObjectReference{static getAttributeTypeMap(){return V1TypedLocalObjectReference.attributeTypeMap}}t.V1TypedLocalObjectReference=V1TypedLocalObjectReference;V1TypedLocalObjectReference.discriminator=undefined;V1TypedLocalObjectReference.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},75476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1UserInfo=void 0;class V1UserInfo{static getAttributeTypeMap(){return V1UserInfo.attributeTypeMap}}t.V1UserInfo=V1UserInfo;V1UserInfo.discriminator=undefined;V1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}]},67027:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhook=void 0;class V1ValidatingWebhook{static getAttributeTypeMap(){return V1ValidatingWebhook.attributeTypeMap}}t.V1ValidatingWebhook=V1ValidatingWebhook;V1ValidatingWebhook.discriminator=undefined;V1ValidatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},98205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhookConfiguration=void 0;class V1ValidatingWebhookConfiguration{static getAttributeTypeMap(){return V1ValidatingWebhookConfiguration.attributeTypeMap}}t.V1ValidatingWebhookConfiguration=V1ValidatingWebhookConfiguration;V1ValidatingWebhookConfiguration.discriminator=undefined;V1ValidatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},3099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhookConfigurationList=void 0;class V1ValidatingWebhookConfigurationList{static getAttributeTypeMap(){return V1ValidatingWebhookConfigurationList.attributeTypeMap}}t.V1ValidatingWebhookConfigurationList=V1ValidatingWebhookConfigurationList;V1ValidatingWebhookConfigurationList.discriminator=undefined;V1ValidatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},61999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Volume=void 0;class V1Volume{static getAttributeTypeMap(){return V1Volume.attributeTypeMap}}t.V1Volume=V1Volume;V1Volume.discriminator=undefined;V1Volume.attributeTypeMap=[{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFileVolumeSource"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderVolumeSource"},{name:"configMap",baseName:"configMap",type:"V1ConfigMapVolumeSource"},{name:"csi",baseName:"csi",type:"V1CSIVolumeSource"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIVolumeSource"},{name:"emptyDir",baseName:"emptyDir",type:"V1EmptyDirVolumeSource"},{name:"ephemeral",baseName:"ephemeral",type:"V1EphemeralVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"gitRepo",baseName:"gitRepo",type:"V1GitRepoVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIVolumeSource"},{name:"name",baseName:"name",type:"string"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"persistentVolumeClaim",baseName:"persistentVolumeClaim",type:"V1PersistentVolumeClaimVolumeSource"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"projected",baseName:"projected",type:"V1ProjectedVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOVolumeSource"},{name:"secret",baseName:"secret",type:"V1SecretVolumeSource"},{name:"storageos",baseName:"storageos",type:"V1StorageOSVolumeSource"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}]},96086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachment=void 0;class V1VolumeAttachment{static getAttributeTypeMap(){return V1VolumeAttachment.attributeTypeMap}}t.V1VolumeAttachment=V1VolumeAttachment;V1VolumeAttachment.discriminator=undefined;V1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1VolumeAttachmentStatus"}]},50793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentList=void 0;class V1VolumeAttachmentList{static getAttributeTypeMap(){return V1VolumeAttachmentList.attributeTypeMap}}t.V1VolumeAttachmentList=V1VolumeAttachmentList;V1VolumeAttachmentList.discriminator=undefined;V1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},81906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentSource=void 0;class V1VolumeAttachmentSource{static getAttributeTypeMap(){return V1VolumeAttachmentSource.attributeTypeMap}}t.V1VolumeAttachmentSource=V1VolumeAttachmentSource;V1VolumeAttachmentSource.discriminator=undefined;V1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},92848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentSpec=void 0;class V1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1VolumeAttachmentSpec.attributeTypeMap}}t.V1VolumeAttachmentSpec=V1VolumeAttachmentSpec;V1VolumeAttachmentSpec.discriminator=undefined;V1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1VolumeAttachmentSource"}]},69489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentStatus=void 0;class V1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1VolumeAttachmentStatus.attributeTypeMap}}t.V1VolumeAttachmentStatus=V1VolumeAttachmentStatus;V1VolumeAttachmentStatus.discriminator=undefined;V1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1VolumeError"}]},12040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeDevice=void 0;class V1VolumeDevice{static getAttributeTypeMap(){return V1VolumeDevice.attributeTypeMap}}t.V1VolumeDevice=V1VolumeDevice;V1VolumeDevice.discriminator=undefined;V1VolumeDevice.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}]},67225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeError=void 0;class V1VolumeError{static getAttributeTypeMap(){return V1VolumeError.attributeTypeMap}}t.V1VolumeError=V1VolumeError;V1VolumeError.discriminator=undefined;V1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},6290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeMount=void 0;class V1VolumeMount{static getAttributeTypeMap(){return V1VolumeMount.attributeTypeMap}}t.V1VolumeMount=V1VolumeMount;V1VolumeMount.discriminator=undefined;V1VolumeMount.attributeTypeMap=[{name:"mountPath",baseName:"mountPath",type:"string"},{name:"mountPropagation",baseName:"mountPropagation",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"subPath",baseName:"subPath",type:"string"},{name:"subPathExpr",baseName:"subPathExpr",type:"string"}]},33698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeNodeAffinity=void 0;class V1VolumeNodeAffinity{static getAttributeTypeMap(){return V1VolumeNodeAffinity.attributeTypeMap}}t.V1VolumeNodeAffinity=V1VolumeNodeAffinity;V1VolumeNodeAffinity.discriminator=undefined;V1VolumeNodeAffinity.attributeTypeMap=[{name:"required",baseName:"required",type:"V1NodeSelector"}]},3991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeNodeResources=void 0;class V1VolumeNodeResources{static getAttributeTypeMap(){return V1VolumeNodeResources.attributeTypeMap}}t.V1VolumeNodeResources=V1VolumeNodeResources;V1VolumeNodeResources.discriminator=undefined;V1VolumeNodeResources.attributeTypeMap=[{name:"count",baseName:"count",type:"number"}]},59985:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeProjection=void 0;class V1VolumeProjection{static getAttributeTypeMap(){return V1VolumeProjection.attributeTypeMap}}t.V1VolumeProjection=V1VolumeProjection;V1VolumeProjection.discriminator=undefined;V1VolumeProjection.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapProjection"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIProjection"},{name:"secret",baseName:"secret",type:"V1SecretProjection"},{name:"serviceAccountToken",baseName:"serviceAccountToken",type:"V1ServiceAccountTokenProjection"}]},52589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VsphereVirtualDiskVolumeSource=void 0;class V1VsphereVirtualDiskVolumeSource{static getAttributeTypeMap(){return V1VsphereVirtualDiskVolumeSource.attributeTypeMap}}t.V1VsphereVirtualDiskVolumeSource=V1VsphereVirtualDiskVolumeSource;V1VsphereVirtualDiskVolumeSource.discriminator=undefined;V1VsphereVirtualDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"storagePolicyID",baseName:"storagePolicyID",type:"string"},{name:"storagePolicyName",baseName:"storagePolicyName",type:"string"},{name:"volumePath",baseName:"volumePath",type:"string"}]},67377:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WatchEvent=void 0;class V1WatchEvent{static getAttributeTypeMap(){return V1WatchEvent.attributeTypeMap}}t.V1WatchEvent=V1WatchEvent;V1WatchEvent.discriminator=undefined;V1WatchEvent.attributeTypeMap=[{name:"object",baseName:"object",type:"object"},{name:"type",baseName:"type",type:"string"}]},5757:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WebhookConversion=void 0;class V1WebhookConversion{static getAttributeTypeMap(){return V1WebhookConversion.attributeTypeMap}}t.V1WebhookConversion=V1WebhookConversion;V1WebhookConversion.discriminator=undefined;V1WebhookConversion.attributeTypeMap=[{name:"clientConfig",baseName:"clientConfig",type:"ApiextensionsV1WebhookClientConfig"},{name:"conversionReviewVersions",baseName:"conversionReviewVersions",type:"Array"}]},49592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WeightedPodAffinityTerm=void 0;class V1WeightedPodAffinityTerm{static getAttributeTypeMap(){return V1WeightedPodAffinityTerm.attributeTypeMap}}t.V1WeightedPodAffinityTerm=V1WeightedPodAffinityTerm;V1WeightedPodAffinityTerm.discriminator=undefined;V1WeightedPodAffinityTerm.attributeTypeMap=[{name:"podAffinityTerm",baseName:"podAffinityTerm",type:"V1PodAffinityTerm"},{name:"weight",baseName:"weight",type:"number"}]},35568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WindowsSecurityContextOptions=void 0;class V1WindowsSecurityContextOptions{static getAttributeTypeMap(){return V1WindowsSecurityContextOptions.attributeTypeMap}}t.V1WindowsSecurityContextOptions=V1WindowsSecurityContextOptions;V1WindowsSecurityContextOptions.discriminator=undefined;V1WindowsSecurityContextOptions.attributeTypeMap=[{name:"gmsaCredentialSpec",baseName:"gmsaCredentialSpec",type:"string"},{name:"gmsaCredentialSpecName",baseName:"gmsaCredentialSpecName",type:"string"},{name:"runAsUserName",baseName:"runAsUserName",type:"string"}]},5287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1AggregationRule=void 0;class V1alpha1AggregationRule{static getAttributeTypeMap(){return V1alpha1AggregationRule.attributeTypeMap}}t.V1alpha1AggregationRule=V1alpha1AggregationRule;V1alpha1AggregationRule.discriminator=undefined;V1alpha1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},33927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRole=void 0;class V1alpha1ClusterRole{static getAttributeTypeMap(){return V1alpha1ClusterRole.attributeTypeMap}}t.V1alpha1ClusterRole=V1alpha1ClusterRole;V1alpha1ClusterRole.discriminator=undefined;V1alpha1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1alpha1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},65276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleBinding=void 0;class V1alpha1ClusterRoleBinding{static getAttributeTypeMap(){return V1alpha1ClusterRoleBinding.attributeTypeMap}}t.V1alpha1ClusterRoleBinding=V1alpha1ClusterRoleBinding;V1alpha1ClusterRoleBinding.discriminator=undefined;V1alpha1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},83787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleBindingList=void 0;class V1alpha1ClusterRoleBindingList{static getAttributeTypeMap(){return V1alpha1ClusterRoleBindingList.attributeTypeMap}}t.V1alpha1ClusterRoleBindingList=V1alpha1ClusterRoleBindingList;V1alpha1ClusterRoleBindingList.discriminator=undefined;V1alpha1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},90989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleList=void 0;class V1alpha1ClusterRoleList{static getAttributeTypeMap(){return V1alpha1ClusterRoleList.attributeTypeMap}}t.V1alpha1ClusterRoleList=V1alpha1ClusterRoleList;V1alpha1ClusterRoleList.discriminator=undefined;V1alpha1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},80263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowDistinguisherMethod=void 0;class V1alpha1FlowDistinguisherMethod{static getAttributeTypeMap(){return V1alpha1FlowDistinguisherMethod.attributeTypeMap}}t.V1alpha1FlowDistinguisherMethod=V1alpha1FlowDistinguisherMethod;V1alpha1FlowDistinguisherMethod.discriminator=undefined;V1alpha1FlowDistinguisherMethod.attributeTypeMap=[{name:"type",baseName:"type",type:"string"}]},70914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchema=void 0;class V1alpha1FlowSchema{static getAttributeTypeMap(){return V1alpha1FlowSchema.attributeTypeMap}}t.V1alpha1FlowSchema=V1alpha1FlowSchema;V1alpha1FlowSchema.discriminator=undefined;V1alpha1FlowSchema.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1FlowSchemaSpec"},{name:"status",baseName:"status",type:"V1alpha1FlowSchemaStatus"}]},85050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaCondition=void 0;class V1alpha1FlowSchemaCondition{static getAttributeTypeMap(){return V1alpha1FlowSchemaCondition.attributeTypeMap}}t.V1alpha1FlowSchemaCondition=V1alpha1FlowSchemaCondition;V1alpha1FlowSchemaCondition.discriminator=undefined;V1alpha1FlowSchemaCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},43969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaList=void 0;class V1alpha1FlowSchemaList{static getAttributeTypeMap(){return V1alpha1FlowSchemaList.attributeTypeMap}}t.V1alpha1FlowSchemaList=V1alpha1FlowSchemaList;V1alpha1FlowSchemaList.discriminator=undefined;V1alpha1FlowSchemaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},31462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaSpec=void 0;class V1alpha1FlowSchemaSpec{static getAttributeTypeMap(){return V1alpha1FlowSchemaSpec.attributeTypeMap}}t.V1alpha1FlowSchemaSpec=V1alpha1FlowSchemaSpec;V1alpha1FlowSchemaSpec.discriminator=undefined;V1alpha1FlowSchemaSpec.attributeTypeMap=[{name:"distinguisherMethod",baseName:"distinguisherMethod",type:"V1alpha1FlowDistinguisherMethod"},{name:"matchingPrecedence",baseName:"matchingPrecedence",type:"number"},{name:"priorityLevelConfiguration",baseName:"priorityLevelConfiguration",type:"V1alpha1PriorityLevelConfigurationReference"},{name:"rules",baseName:"rules",type:"Array"}]},65:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaStatus=void 0;class V1alpha1FlowSchemaStatus{static getAttributeTypeMap(){return V1alpha1FlowSchemaStatus.attributeTypeMap}}t.V1alpha1FlowSchemaStatus=V1alpha1FlowSchemaStatus;V1alpha1FlowSchemaStatus.discriminator=undefined;V1alpha1FlowSchemaStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},50767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1GroupSubject=void 0;class V1alpha1GroupSubject{static getAttributeTypeMap(){return V1alpha1GroupSubject.attributeTypeMap}}t.V1alpha1GroupSubject=V1alpha1GroupSubject;V1alpha1GroupSubject.discriminator=undefined;V1alpha1GroupSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},77238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1LimitResponse=void 0;class V1alpha1LimitResponse{static getAttributeTypeMap(){return V1alpha1LimitResponse.attributeTypeMap}}t.V1alpha1LimitResponse=V1alpha1LimitResponse;V1alpha1LimitResponse.discriminator=undefined;V1alpha1LimitResponse.attributeTypeMap=[{name:"queuing",baseName:"queuing",type:"V1alpha1QueuingConfiguration"},{name:"type",baseName:"type",type:"string"}]},52888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1LimitedPriorityLevelConfiguration=void 0;class V1alpha1LimitedPriorityLevelConfiguration{static getAttributeTypeMap(){return V1alpha1LimitedPriorityLevelConfiguration.attributeTypeMap}}t.V1alpha1LimitedPriorityLevelConfiguration=V1alpha1LimitedPriorityLevelConfiguration;V1alpha1LimitedPriorityLevelConfiguration.discriminator=undefined;V1alpha1LimitedPriorityLevelConfiguration.attributeTypeMap=[{name:"assuredConcurrencyShares",baseName:"assuredConcurrencyShares",type:"number"},{name:"limitResponse",baseName:"limitResponse",type:"V1alpha1LimitResponse"}]},44901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1NonResourcePolicyRule=void 0;class V1alpha1NonResourcePolicyRule{static getAttributeTypeMap(){return V1alpha1NonResourcePolicyRule.attributeTypeMap}}t.V1alpha1NonResourcePolicyRule=V1alpha1NonResourcePolicyRule;V1alpha1NonResourcePolicyRule.discriminator=undefined;V1alpha1NonResourcePolicyRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},8070:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Overhead=void 0;class V1alpha1Overhead{static getAttributeTypeMap(){return V1alpha1Overhead.attributeTypeMap}}t.V1alpha1Overhead=V1alpha1Overhead;V1alpha1Overhead.discriminator=undefined;V1alpha1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},61014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PolicyRule=void 0;class V1alpha1PolicyRule{static getAttributeTypeMap(){return V1alpha1PolicyRule.attributeTypeMap}}t.V1alpha1PolicyRule=V1alpha1PolicyRule;V1alpha1PolicyRule.discriminator=undefined;V1alpha1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},15062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PolicyRulesWithSubjects=void 0;class V1alpha1PolicyRulesWithSubjects{static getAttributeTypeMap(){return V1alpha1PolicyRulesWithSubjects.attributeTypeMap}}t.V1alpha1PolicyRulesWithSubjects=V1alpha1PolicyRulesWithSubjects;V1alpha1PolicyRulesWithSubjects.discriminator=undefined;V1alpha1PolicyRulesWithSubjects.attributeTypeMap=[{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"},{name:"subjects",baseName:"subjects",type:"Array"}]},89642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityClass=void 0;class V1alpha1PriorityClass{static getAttributeTypeMap(){return V1alpha1PriorityClass.attributeTypeMap}}t.V1alpha1PriorityClass=V1alpha1PriorityClass;V1alpha1PriorityClass.discriminator=undefined;V1alpha1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},15220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityClassList=void 0;class V1alpha1PriorityClassList{static getAttributeTypeMap(){return V1alpha1PriorityClassList.attributeTypeMap}}t.V1alpha1PriorityClassList=V1alpha1PriorityClassList;V1alpha1PriorityClassList.discriminator=undefined;V1alpha1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},10932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfiguration=void 0;class V1alpha1PriorityLevelConfiguration{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfiguration.attributeTypeMap}}t.V1alpha1PriorityLevelConfiguration=V1alpha1PriorityLevelConfiguration;V1alpha1PriorityLevelConfiguration.discriminator=undefined;V1alpha1PriorityLevelConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1PriorityLevelConfigurationSpec"},{name:"status",baseName:"status",type:"V1alpha1PriorityLevelConfigurationStatus"}]},73101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationCondition=void 0;class V1alpha1PriorityLevelConfigurationCondition{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationCondition.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationCondition=V1alpha1PriorityLevelConfigurationCondition;V1alpha1PriorityLevelConfigurationCondition.discriminator=undefined;V1alpha1PriorityLevelConfigurationCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},78760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationList=void 0;class V1alpha1PriorityLevelConfigurationList{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationList.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationList=V1alpha1PriorityLevelConfigurationList;V1alpha1PriorityLevelConfigurationList.discriminator=undefined;V1alpha1PriorityLevelConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},3464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationReference=void 0;class V1alpha1PriorityLevelConfigurationReference{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationReference.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationReference=V1alpha1PriorityLevelConfigurationReference;V1alpha1PriorityLevelConfigurationReference.discriminator=undefined;V1alpha1PriorityLevelConfigurationReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},47008:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationSpec=void 0;class V1alpha1PriorityLevelConfigurationSpec{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationSpec.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationSpec=V1alpha1PriorityLevelConfigurationSpec;V1alpha1PriorityLevelConfigurationSpec.discriminator=undefined;V1alpha1PriorityLevelConfigurationSpec.attributeTypeMap=[{name:"limited",baseName:"limited",type:"V1alpha1LimitedPriorityLevelConfiguration"},{name:"type",baseName:"type",type:"string"}]},1850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationStatus=void 0;class V1alpha1PriorityLevelConfigurationStatus{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationStatus.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationStatus=V1alpha1PriorityLevelConfigurationStatus;V1alpha1PriorityLevelConfigurationStatus.discriminator=undefined;V1alpha1PriorityLevelConfigurationStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},62558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1QueuingConfiguration=void 0;class V1alpha1QueuingConfiguration{static getAttributeTypeMap(){return V1alpha1QueuingConfiguration.attributeTypeMap}}t.V1alpha1QueuingConfiguration=V1alpha1QueuingConfiguration;V1alpha1QueuingConfiguration.discriminator=undefined;V1alpha1QueuingConfiguration.attributeTypeMap=[{name:"handSize",baseName:"handSize",type:"number"},{name:"queueLengthLimit",baseName:"queueLengthLimit",type:"number"},{name:"queues",baseName:"queues",type:"number"}]},49471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ResourcePolicyRule=void 0;class V1alpha1ResourcePolicyRule{static getAttributeTypeMap(){return V1alpha1ResourcePolicyRule.attributeTypeMap}}t.V1alpha1ResourcePolicyRule=V1alpha1ResourcePolicyRule;V1alpha1ResourcePolicyRule.discriminator=undefined;V1alpha1ResourcePolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"clusterScope",baseName:"clusterScope",type:"boolean"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},45910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Role=void 0;class V1alpha1Role{static getAttributeTypeMap(){return V1alpha1Role.attributeTypeMap}}t.V1alpha1Role=V1alpha1Role;V1alpha1Role.discriminator=undefined;V1alpha1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},32036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleBinding=void 0;class V1alpha1RoleBinding{static getAttributeTypeMap(){return V1alpha1RoleBinding.attributeTypeMap}}t.V1alpha1RoleBinding=V1alpha1RoleBinding;V1alpha1RoleBinding.discriminator=undefined;V1alpha1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},53079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleBindingList=void 0;class V1alpha1RoleBindingList{static getAttributeTypeMap(){return V1alpha1RoleBindingList.attributeTypeMap}}t.V1alpha1RoleBindingList=V1alpha1RoleBindingList;V1alpha1RoleBindingList.discriminator=undefined;V1alpha1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},39479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleList=void 0;class V1alpha1RoleList{static getAttributeTypeMap(){return V1alpha1RoleList.attributeTypeMap}}t.V1alpha1RoleList=V1alpha1RoleList;V1alpha1RoleList.discriminator=undefined;V1alpha1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleRef=void 0;class V1alpha1RoleRef{static getAttributeTypeMap(){return V1alpha1RoleRef.attributeTypeMap}}t.V1alpha1RoleRef=V1alpha1RoleRef;V1alpha1RoleRef.discriminator=undefined;V1alpha1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},66602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClass=void 0;class V1alpha1RuntimeClass{static getAttributeTypeMap(){return V1alpha1RuntimeClass.attributeTypeMap}}t.V1alpha1RuntimeClass=V1alpha1RuntimeClass;V1alpha1RuntimeClass.discriminator=undefined;V1alpha1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1RuntimeClassSpec"}]},41934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClassList=void 0;class V1alpha1RuntimeClassList{static getAttributeTypeMap(){return V1alpha1RuntimeClassList.attributeTypeMap}}t.V1alpha1RuntimeClassList=V1alpha1RuntimeClassList;V1alpha1RuntimeClassList.discriminator=undefined;V1alpha1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},3593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClassSpec=void 0;class V1alpha1RuntimeClassSpec{static getAttributeTypeMap(){return V1alpha1RuntimeClassSpec.attributeTypeMap}}t.V1alpha1RuntimeClassSpec=V1alpha1RuntimeClassSpec;V1alpha1RuntimeClassSpec.discriminator=undefined;V1alpha1RuntimeClassSpec.attributeTypeMap=[{name:"overhead",baseName:"overhead",type:"V1alpha1Overhead"},{name:"runtimeHandler",baseName:"runtimeHandler",type:"string"},{name:"scheduling",baseName:"scheduling",type:"V1alpha1Scheduling"}]},12511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Scheduling=void 0;class V1alpha1Scheduling{static getAttributeTypeMap(){return V1alpha1Scheduling.attributeTypeMap}}t.V1alpha1Scheduling=V1alpha1Scheduling;V1alpha1Scheduling.discriminator=undefined;V1alpha1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},47647:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ServerStorageVersion=void 0;class V1alpha1ServerStorageVersion{static getAttributeTypeMap(){return V1alpha1ServerStorageVersion.attributeTypeMap}}t.V1alpha1ServerStorageVersion=V1alpha1ServerStorageVersion;V1alpha1ServerStorageVersion.discriminator=undefined;V1alpha1ServerStorageVersion.attributeTypeMap=[{name:"apiServerID",baseName:"apiServerID",type:"string"},{name:"decodableVersions",baseName:"decodableVersions",type:"Array"},{name:"encodingVersion",baseName:"encodingVersion",type:"string"}]},23984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ServiceAccountSubject=void 0;class V1alpha1ServiceAccountSubject{static getAttributeTypeMap(){return V1alpha1ServiceAccountSubject.attributeTypeMap}}t.V1alpha1ServiceAccountSubject=V1alpha1ServiceAccountSubject;V1alpha1ServiceAccountSubject.discriminator=undefined;V1alpha1ServiceAccountSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},54349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersion=void 0;class V1alpha1StorageVersion{static getAttributeTypeMap(){return V1alpha1StorageVersion.attributeTypeMap}}t.V1alpha1StorageVersion=V1alpha1StorageVersion;V1alpha1StorageVersion.discriminator=undefined;V1alpha1StorageVersion.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"object"},{name:"status",baseName:"status",type:"V1alpha1StorageVersionStatus"}]},20058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionCondition=void 0;class V1alpha1StorageVersionCondition{static getAttributeTypeMap(){return V1alpha1StorageVersionCondition.attributeTypeMap}}t.V1alpha1StorageVersionCondition=V1alpha1StorageVersionCondition;V1alpha1StorageVersionCondition.discriminator=undefined;V1alpha1StorageVersionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},53792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionList=void 0;class V1alpha1StorageVersionList{static getAttributeTypeMap(){return V1alpha1StorageVersionList.attributeTypeMap}}t.V1alpha1StorageVersionList=V1alpha1StorageVersionList;V1alpha1StorageVersionList.discriminator=undefined;V1alpha1StorageVersionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},20970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionStatus=void 0;class V1alpha1StorageVersionStatus{static getAttributeTypeMap(){return V1alpha1StorageVersionStatus.attributeTypeMap}}t.V1alpha1StorageVersionStatus=V1alpha1StorageVersionStatus;V1alpha1StorageVersionStatus.discriminator=undefined;V1alpha1StorageVersionStatus.attributeTypeMap=[{name:"commonEncodingVersion",baseName:"commonEncodingVersion",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storageVersions",baseName:"storageVersions",type:"Array"}]},88064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1UserSubject=void 0;class V1alpha1UserSubject{static getAttributeTypeMap(){return V1alpha1UserSubject.attributeTypeMap}}t.V1alpha1UserSubject=V1alpha1UserSubject;V1alpha1UserSubject.discriminator=undefined;V1alpha1UserSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},88392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachment=void 0;class V1alpha1VolumeAttachment{static getAttributeTypeMap(){return V1alpha1VolumeAttachment.attributeTypeMap}}t.V1alpha1VolumeAttachment=V1alpha1VolumeAttachment;V1alpha1VolumeAttachment.discriminator=undefined;V1alpha1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1alpha1VolumeAttachmentStatus"}]},49929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentList=void 0;class V1alpha1VolumeAttachmentList{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentList.attributeTypeMap}}t.V1alpha1VolumeAttachmentList=V1alpha1VolumeAttachmentList;V1alpha1VolumeAttachmentList.discriminator=undefined;V1alpha1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentSource=void 0;class V1alpha1VolumeAttachmentSource{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSource.attributeTypeMap}}t.V1alpha1VolumeAttachmentSource=V1alpha1VolumeAttachmentSource;V1alpha1VolumeAttachmentSource.discriminator=undefined;V1alpha1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},49584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentSpec=void 0;class V1alpha1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSpec.attributeTypeMap}}t.V1alpha1VolumeAttachmentSpec=V1alpha1VolumeAttachmentSpec;V1alpha1VolumeAttachmentSpec.discriminator=undefined;V1alpha1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1alpha1VolumeAttachmentSource"}]},94030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentStatus=void 0;class V1alpha1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentStatus.attributeTypeMap}}t.V1alpha1VolumeAttachmentStatus=V1alpha1VolumeAttachmentStatus;V1alpha1VolumeAttachmentStatus.discriminator=undefined;V1alpha1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1alpha1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1alpha1VolumeError"}]},39991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeError=void 0;class V1alpha1VolumeError{static getAttributeTypeMap(){return V1alpha1VolumeError.attributeTypeMap}}t.V1alpha1VolumeError=V1alpha1VolumeError;V1alpha1VolumeError.discriminator=undefined;V1alpha1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},48676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIService=void 0;class V1beta1APIService{static getAttributeTypeMap(){return V1beta1APIService.attributeTypeMap}}t.V1beta1APIService=V1beta1APIService;V1beta1APIService.discriminator=undefined;V1beta1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1APIServiceSpec"},{name:"status",baseName:"status",type:"V1beta1APIServiceStatus"}]},53943:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceCondition=void 0;class V1beta1APIServiceCondition{static getAttributeTypeMap(){return V1beta1APIServiceCondition.attributeTypeMap}}t.V1beta1APIServiceCondition=V1beta1APIServiceCondition;V1beta1APIServiceCondition.discriminator=undefined;V1beta1APIServiceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},44271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceList=void 0;class V1beta1APIServiceList{static getAttributeTypeMap(){return V1beta1APIServiceList.attributeTypeMap}}t.V1beta1APIServiceList=V1beta1APIServiceList;V1beta1APIServiceList.discriminator=undefined;V1beta1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceSpec=void 0;class V1beta1APIServiceSpec{static getAttributeTypeMap(){return V1beta1APIServiceSpec.attributeTypeMap}}t.V1beta1APIServiceSpec=V1beta1APIServiceSpec;V1beta1APIServiceSpec.discriminator=undefined;V1beta1APIServiceSpec.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"group",baseName:"group",type:"string"},{name:"groupPriorityMinimum",baseName:"groupPriorityMinimum",type:"number"},{name:"insecureSkipTLSVerify",baseName:"insecureSkipTLSVerify",type:"boolean"},{name:"service",baseName:"service",type:"ApiregistrationV1beta1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}]},43425:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceStatus=void 0;class V1beta1APIServiceStatus{static getAttributeTypeMap(){return V1beta1APIServiceStatus.attributeTypeMap}}t.V1beta1APIServiceStatus=V1beta1APIServiceStatus;V1beta1APIServiceStatus.discriminator=undefined;V1beta1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},7806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AggregationRule=void 0;class V1beta1AggregationRule{static getAttributeTypeMap(){return V1beta1AggregationRule.attributeTypeMap}}t.V1beta1AggregationRule=V1beta1AggregationRule;V1beta1AggregationRule.discriminator=undefined;V1beta1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},7724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedCSIDriver=void 0;class V1beta1AllowedCSIDriver{static getAttributeTypeMap(){return V1beta1AllowedCSIDriver.attributeTypeMap}}t.V1beta1AllowedCSIDriver=V1beta1AllowedCSIDriver;V1beta1AllowedCSIDriver.discriminator=undefined;V1beta1AllowedCSIDriver.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},66666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedFlexVolume=void 0;class V1beta1AllowedFlexVolume{static getAttributeTypeMap(){return V1beta1AllowedFlexVolume.attributeTypeMap}}t.V1beta1AllowedFlexVolume=V1beta1AllowedFlexVolume;V1beta1AllowedFlexVolume.discriminator=undefined;V1beta1AllowedFlexVolume.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"}]},29863:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedHostPath=void 0;class V1beta1AllowedHostPath{static getAttributeTypeMap(){return V1beta1AllowedHostPath.attributeTypeMap}}t.V1beta1AllowedHostPath=V1beta1AllowedHostPath;V1beta1AllowedHostPath.discriminator=undefined;V1beta1AllowedHostPath.attributeTypeMap=[{name:"pathPrefix",baseName:"pathPrefix",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},23519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriver=void 0;class V1beta1CSIDriver{static getAttributeTypeMap(){return V1beta1CSIDriver.attributeTypeMap}}t.V1beta1CSIDriver=V1beta1CSIDriver;V1beta1CSIDriver.discriminator=undefined;V1beta1CSIDriver.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CSIDriverSpec"}]},68738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriverList=void 0;class V1beta1CSIDriverList{static getAttributeTypeMap(){return V1beta1CSIDriverList.attributeTypeMap}}t.V1beta1CSIDriverList=V1beta1CSIDriverList;V1beta1CSIDriverList.discriminator=undefined;V1beta1CSIDriverList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},24519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriverSpec=void 0;class V1beta1CSIDriverSpec{static getAttributeTypeMap(){return V1beta1CSIDriverSpec.attributeTypeMap}}t.V1beta1CSIDriverSpec=V1beta1CSIDriverSpec;V1beta1CSIDriverSpec.discriminator=undefined;V1beta1CSIDriverSpec.attributeTypeMap=[{name:"attachRequired",baseName:"attachRequired",type:"boolean"},{name:"fsGroupPolicy",baseName:"fsGroupPolicy",type:"string"},{name:"podInfoOnMount",baseName:"podInfoOnMount",type:"boolean"},{name:"requiresRepublish",baseName:"requiresRepublish",type:"boolean"},{name:"storageCapacity",baseName:"storageCapacity",type:"boolean"},{name:"tokenRequests",baseName:"tokenRequests",type:"Array"},{name:"volumeLifecycleModes",baseName:"volumeLifecycleModes",type:"Array"}]},92663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINode=void 0;class V1beta1CSINode{static getAttributeTypeMap(){return V1beta1CSINode.attributeTypeMap}}t.V1beta1CSINode=V1beta1CSINode;V1beta1CSINode.discriminator=undefined;V1beta1CSINode.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CSINodeSpec"}]},37328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeDriver=void 0;class V1beta1CSINodeDriver{static getAttributeTypeMap(){return V1beta1CSINodeDriver.attributeTypeMap}}t.V1beta1CSINodeDriver=V1beta1CSINodeDriver;V1beta1CSINodeDriver.discriminator=undefined;V1beta1CSINodeDriver.attributeTypeMap=[{name:"allocatable",baseName:"allocatable",type:"V1beta1VolumeNodeResources"},{name:"name",baseName:"name",type:"string"},{name:"nodeID",baseName:"nodeID",type:"string"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"}]},16242:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeList=void 0;class V1beta1CSINodeList{static getAttributeTypeMap(){return V1beta1CSINodeList.attributeTypeMap}}t.V1beta1CSINodeList=V1beta1CSINodeList;V1beta1CSINodeList.discriminator=undefined;V1beta1CSINodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},25978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeSpec=void 0;class V1beta1CSINodeSpec{static getAttributeTypeMap(){return V1beta1CSINodeSpec.attributeTypeMap}}t.V1beta1CSINodeSpec=V1beta1CSINodeSpec;V1beta1CSINodeSpec.discriminator=undefined;V1beta1CSINodeSpec.attributeTypeMap=[{name:"drivers",baseName:"drivers",type:"Array"}]},16589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequest=void 0;class V1beta1CertificateSigningRequest{static getAttributeTypeMap(){return V1beta1CertificateSigningRequest.attributeTypeMap}}t.V1beta1CertificateSigningRequest=V1beta1CertificateSigningRequest;V1beta1CertificateSigningRequest.discriminator=undefined;V1beta1CertificateSigningRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CertificateSigningRequestSpec"},{name:"status",baseName:"status",type:"V1beta1CertificateSigningRequestStatus"}]},91864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestCondition=void 0;class V1beta1CertificateSigningRequestCondition{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestCondition.attributeTypeMap}}t.V1beta1CertificateSigningRequestCondition=V1beta1CertificateSigningRequestCondition;V1beta1CertificateSigningRequestCondition.discriminator=undefined;V1beta1CertificateSigningRequestCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},97720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestList=void 0;class V1beta1CertificateSigningRequestList{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestList.attributeTypeMap}}t.V1beta1CertificateSigningRequestList=V1beta1CertificateSigningRequestList;V1beta1CertificateSigningRequestList.discriminator=undefined;V1beta1CertificateSigningRequestList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},52843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestSpec=void 0;class V1beta1CertificateSigningRequestSpec{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestSpec.attributeTypeMap}}t.V1beta1CertificateSigningRequestSpec=V1beta1CertificateSigningRequestSpec;V1beta1CertificateSigningRequestSpec.discriminator=undefined;V1beta1CertificateSigningRequestSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"request",baseName:"request",type:"string"},{name:"signerName",baseName:"signerName",type:"string"},{name:"uid",baseName:"uid",type:"string"},{name:"usages",baseName:"usages",type:"Array"},{name:"username",baseName:"username",type:"string"}]},63675:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestStatus=void 0;class V1beta1CertificateSigningRequestStatus{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestStatus.attributeTypeMap}}t.V1beta1CertificateSigningRequestStatus=V1beta1CertificateSigningRequestStatus;V1beta1CertificateSigningRequestStatus.discriminator=undefined;V1beta1CertificateSigningRequestStatus.attributeTypeMap=[{name:"certificate",baseName:"certificate",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"}]},34506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRole=void 0;class V1beta1ClusterRole{static getAttributeTypeMap(){return V1beta1ClusterRole.attributeTypeMap}}t.V1beta1ClusterRole=V1beta1ClusterRole;V1beta1ClusterRole.discriminator=undefined;V1beta1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1beta1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},72413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleBinding=void 0;class V1beta1ClusterRoleBinding{static getAttributeTypeMap(){return V1beta1ClusterRoleBinding.attributeTypeMap}}t.V1beta1ClusterRoleBinding=V1beta1ClusterRoleBinding;V1beta1ClusterRoleBinding.discriminator=undefined;V1beta1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},58847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleBindingList=void 0;class V1beta1ClusterRoleBindingList{static getAttributeTypeMap(){return V1beta1ClusterRoleBindingList.attributeTypeMap}}t.V1beta1ClusterRoleBindingList=V1beta1ClusterRoleBindingList;V1beta1ClusterRoleBindingList.discriminator=undefined;V1beta1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},38268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleList=void 0;class V1beta1ClusterRoleList{static getAttributeTypeMap(){return V1beta1ClusterRoleList.attributeTypeMap}}t.V1beta1ClusterRoleList=V1beta1ClusterRoleList;V1beta1ClusterRoleList.discriminator=undefined;V1beta1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},21270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJob=void 0;class V1beta1CronJob{static getAttributeTypeMap(){return V1beta1CronJob.attributeTypeMap}}t.V1beta1CronJob=V1beta1CronJob;V1beta1CronJob.discriminator=undefined;V1beta1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CronJobSpec"},{name:"status",baseName:"status",type:"V1beta1CronJobStatus"}]},9165:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobList=void 0;class V1beta1CronJobList{static getAttributeTypeMap(){return V1beta1CronJobList.attributeTypeMap}}t.V1beta1CronJobList=V1beta1CronJobList;V1beta1CronJobList.discriminator=undefined;V1beta1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},64672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobSpec=void 0;class V1beta1CronJobSpec{static getAttributeTypeMap(){return V1beta1CronJobSpec.attributeTypeMap}}t.V1beta1CronJobSpec=V1beta1CronJobSpec;V1beta1CronJobSpec.discriminator=undefined;V1beta1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V1beta1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}]},60049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobStatus=void 0;class V1beta1CronJobStatus{static getAttributeTypeMap(){return V1beta1CronJobStatus.attributeTypeMap}}t.V1beta1CronJobStatus=V1beta1CronJobStatus;V1beta1CronJobStatus.discriminator=undefined;V1beta1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}]},15358:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceColumnDefinition=void 0;class V1beta1CustomResourceColumnDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceColumnDefinition.attributeTypeMap}}t.V1beta1CustomResourceColumnDefinition=V1beta1CustomResourceColumnDefinition;V1beta1CustomResourceColumnDefinition.discriminator=undefined;V1beta1CustomResourceColumnDefinition.attributeTypeMap=[{name:"JSONPath",baseName:"JSONPath",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"format",baseName:"format",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"type",baseName:"type",type:"string"}]},9944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceConversion=void 0;class V1beta1CustomResourceConversion{static getAttributeTypeMap(){return V1beta1CustomResourceConversion.attributeTypeMap}}t.V1beta1CustomResourceConversion=V1beta1CustomResourceConversion;V1beta1CustomResourceConversion.discriminator=undefined;V1beta1CustomResourceConversion.attributeTypeMap=[{name:"conversionReviewVersions",baseName:"conversionReviewVersions",type:"Array"},{name:"strategy",baseName:"strategy",type:"string"},{name:"webhookClientConfig",baseName:"webhookClientConfig",type:"ApiextensionsV1beta1WebhookClientConfig"}]},18555:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinition=void 0;class V1beta1CustomResourceDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinition.attributeTypeMap}}t.V1beta1CustomResourceDefinition=V1beta1CustomResourceDefinition;V1beta1CustomResourceDefinition.discriminator=undefined;V1beta1CustomResourceDefinition.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CustomResourceDefinitionSpec"},{name:"status",baseName:"status",type:"V1beta1CustomResourceDefinitionStatus"}]},49145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionCondition=void 0;class V1beta1CustomResourceDefinitionCondition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionCondition.attributeTypeMap}}t.V1beta1CustomResourceDefinitionCondition=V1beta1CustomResourceDefinitionCondition;V1beta1CustomResourceDefinitionCondition.discriminator=undefined;V1beta1CustomResourceDefinitionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},87178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionList=void 0;class V1beta1CustomResourceDefinitionList{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionList.attributeTypeMap}}t.V1beta1CustomResourceDefinitionList=V1beta1CustomResourceDefinitionList;V1beta1CustomResourceDefinitionList.discriminator=undefined;V1beta1CustomResourceDefinitionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},86145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionNames=void 0;class V1beta1CustomResourceDefinitionNames{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionNames.attributeTypeMap}}t.V1beta1CustomResourceDefinitionNames=V1beta1CustomResourceDefinitionNames;V1beta1CustomResourceDefinitionNames.discriminator=undefined;V1beta1CustomResourceDefinitionNames.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"listKind",baseName:"listKind",type:"string"},{name:"plural",baseName:"plural",type:"string"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singular",baseName:"singular",type:"string"}]},42866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionSpec=void 0;class V1beta1CustomResourceDefinitionSpec{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionSpec.attributeTypeMap}}t.V1beta1CustomResourceDefinitionSpec=V1beta1CustomResourceDefinitionSpec;V1beta1CustomResourceDefinitionSpec.discriminator=undefined;V1beta1CustomResourceDefinitionSpec.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"conversion",baseName:"conversion",type:"V1beta1CustomResourceConversion"},{name:"group",baseName:"group",type:"string"},{name:"names",baseName:"names",type:"V1beta1CustomResourceDefinitionNames"},{name:"preserveUnknownFields",baseName:"preserveUnknownFields",type:"boolean"},{name:"scope",baseName:"scope",type:"string"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"},{name:"validation",baseName:"validation",type:"V1beta1CustomResourceValidation"},{name:"version",baseName:"version",type:"string"},{name:"versions",baseName:"versions",type:"Array"}]},18241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionStatus=void 0;class V1beta1CustomResourceDefinitionStatus{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionStatus.attributeTypeMap}}t.V1beta1CustomResourceDefinitionStatus=V1beta1CustomResourceDefinitionStatus;V1beta1CustomResourceDefinitionStatus.discriminator=undefined;V1beta1CustomResourceDefinitionStatus.attributeTypeMap=[{name:"acceptedNames",baseName:"acceptedNames",type:"V1beta1CustomResourceDefinitionNames"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storedVersions",baseName:"storedVersions",type:"Array"}]},67694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionVersion=void 0;class V1beta1CustomResourceDefinitionVersion{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionVersion.attributeTypeMap}}t.V1beta1CustomResourceDefinitionVersion=V1beta1CustomResourceDefinitionVersion;V1beta1CustomResourceDefinitionVersion.discriminator=undefined;V1beta1CustomResourceDefinitionVersion.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"deprecated",baseName:"deprecated",type:"boolean"},{name:"deprecationWarning",baseName:"deprecationWarning",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"schema",baseName:"schema",type:"V1beta1CustomResourceValidation"},{name:"served",baseName:"served",type:"boolean"},{name:"storage",baseName:"storage",type:"boolean"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"}]},41365:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceSubresourceScale=void 0;class V1beta1CustomResourceSubresourceScale{static getAttributeTypeMap(){return V1beta1CustomResourceSubresourceScale.attributeTypeMap}}t.V1beta1CustomResourceSubresourceScale=V1beta1CustomResourceSubresourceScale;V1beta1CustomResourceSubresourceScale.discriminator=undefined;V1beta1CustomResourceSubresourceScale.attributeTypeMap=[{name:"labelSelectorPath",baseName:"labelSelectorPath",type:"string"},{name:"specReplicasPath",baseName:"specReplicasPath",type:"string"},{name:"statusReplicasPath",baseName:"statusReplicasPath",type:"string"}]},13153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceSubresources=void 0;class V1beta1CustomResourceSubresources{static getAttributeTypeMap(){return V1beta1CustomResourceSubresources.attributeTypeMap}}t.V1beta1CustomResourceSubresources=V1beta1CustomResourceSubresources;V1beta1CustomResourceSubresources.discriminator=undefined;V1beta1CustomResourceSubresources.attributeTypeMap=[{name:"scale",baseName:"scale",type:"V1beta1CustomResourceSubresourceScale"},{name:"status",baseName:"status",type:"object"}]},27347:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceValidation=void 0;class V1beta1CustomResourceValidation{static getAttributeTypeMap(){return V1beta1CustomResourceValidation.attributeTypeMap}}t.V1beta1CustomResourceValidation=V1beta1CustomResourceValidation;V1beta1CustomResourceValidation.discriminator=undefined;V1beta1CustomResourceValidation.attributeTypeMap=[{name:"openAPIV3Schema",baseName:"openAPIV3Schema",type:"V1beta1JSONSchemaProps"}]},61730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Endpoint=void 0;class V1beta1Endpoint{static getAttributeTypeMap(){return V1beta1Endpoint.attributeTypeMap}}t.V1beta1Endpoint=V1beta1Endpoint;V1beta1Endpoint.discriminator=undefined;V1beta1Endpoint.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"conditions",baseName:"conditions",type:"V1beta1EndpointConditions"},{name:"hostname",baseName:"hostname",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"targetRef",baseName:"targetRef",type:"V1ObjectReference"},{name:"topology",baseName:"topology",type:"{ [key: string]: string; }"}]},37085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointConditions=void 0;class V1beta1EndpointConditions{static getAttributeTypeMap(){return V1beta1EndpointConditions.attributeTypeMap}}t.V1beta1EndpointConditions=V1beta1EndpointConditions;V1beta1EndpointConditions.discriminator=undefined;V1beta1EndpointConditions.attributeTypeMap=[{name:"ready",baseName:"ready",type:"boolean"},{name:"serving",baseName:"serving",type:"boolean"},{name:"terminating",baseName:"terminating",type:"boolean"}]},7423:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointPort=void 0;class V1beta1EndpointPort{static getAttributeTypeMap(){return V1beta1EndpointPort.attributeTypeMap}}t.V1beta1EndpointPort=V1beta1EndpointPort;V1beta1EndpointPort.discriminator=undefined;V1beta1EndpointPort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},26777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointSlice=void 0;class V1beta1EndpointSlice{static getAttributeTypeMap(){return V1beta1EndpointSlice.attributeTypeMap}}t.V1beta1EndpointSlice=V1beta1EndpointSlice;V1beta1EndpointSlice.discriminator=undefined;V1beta1EndpointSlice.attributeTypeMap=[{name:"addressType",baseName:"addressType",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"endpoints",baseName:"endpoints",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"ports",baseName:"ports",type:"Array"}]},98830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointSliceList=void 0;class V1beta1EndpointSliceList{static getAttributeTypeMap(){return V1beta1EndpointSliceList.attributeTypeMap}}t.V1beta1EndpointSliceList=V1beta1EndpointSliceList;V1beta1EndpointSliceList.discriminator=undefined;V1beta1EndpointSliceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},93967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Event=void 0;class V1beta1Event{static getAttributeTypeMap(){return V1beta1Event.attributeTypeMap}}t.V1beta1Event=V1beta1Event;V1beta1Event.discriminator=undefined;V1beta1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deprecatedCount",baseName:"deprecatedCount",type:"number"},{name:"deprecatedFirstTimestamp",baseName:"deprecatedFirstTimestamp",type:"Date"},{name:"deprecatedLastTimestamp",baseName:"deprecatedLastTimestamp",type:"Date"},{name:"deprecatedSource",baseName:"deprecatedSource",type:"V1EventSource"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"note",baseName:"note",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"regarding",baseName:"regarding",type:"V1ObjectReference"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingController",baseName:"reportingController",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"V1beta1EventSeries"},{name:"type",baseName:"type",type:"string"}]},64484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EventList=void 0;class V1beta1EventList{static getAttributeTypeMap(){return V1beta1EventList.attributeTypeMap}}t.V1beta1EventList=V1beta1EventList;V1beta1EventList.discriminator=undefined;V1beta1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},63533:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EventSeries=void 0;class V1beta1EventSeries{static getAttributeTypeMap(){return V1beta1EventSeries.attributeTypeMap}}t.V1beta1EventSeries=V1beta1EventSeries;V1beta1EventSeries.discriminator=undefined;V1beta1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},96254:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Eviction=void 0;class V1beta1Eviction{static getAttributeTypeMap(){return V1beta1Eviction.attributeTypeMap}}t.V1beta1Eviction=V1beta1Eviction;V1beta1Eviction.discriminator=undefined;V1beta1Eviction.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deleteOptions",baseName:"deleteOptions",type:"V1DeleteOptions"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},1040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ExternalDocumentation=void 0;class V1beta1ExternalDocumentation{static getAttributeTypeMap(){return V1beta1ExternalDocumentation.attributeTypeMap}}t.V1beta1ExternalDocumentation=V1beta1ExternalDocumentation;V1beta1ExternalDocumentation.discriminator=undefined;V1beta1ExternalDocumentation.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"url",baseName:"url",type:"string"}]},57091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FSGroupStrategyOptions=void 0;class V1beta1FSGroupStrategyOptions{static getAttributeTypeMap(){return V1beta1FSGroupStrategyOptions.attributeTypeMap}}t.V1beta1FSGroupStrategyOptions=V1beta1FSGroupStrategyOptions;V1beta1FSGroupStrategyOptions.discriminator=undefined;V1beta1FSGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},98441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowDistinguisherMethod=void 0;class V1beta1FlowDistinguisherMethod{static getAttributeTypeMap(){return V1beta1FlowDistinguisherMethod.attributeTypeMap}}t.V1beta1FlowDistinguisherMethod=V1beta1FlowDistinguisherMethod;V1beta1FlowDistinguisherMethod.discriminator=undefined;V1beta1FlowDistinguisherMethod.attributeTypeMap=[{name:"type",baseName:"type",type:"string"}]},30089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchema=void 0;class V1beta1FlowSchema{static getAttributeTypeMap(){return V1beta1FlowSchema.attributeTypeMap}}t.V1beta1FlowSchema=V1beta1FlowSchema;V1beta1FlowSchema.discriminator=undefined;V1beta1FlowSchema.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1FlowSchemaSpec"},{name:"status",baseName:"status",type:"V1beta1FlowSchemaStatus"}]},43801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaCondition=void 0;class V1beta1FlowSchemaCondition{static getAttributeTypeMap(){return V1beta1FlowSchemaCondition.attributeTypeMap}}t.V1beta1FlowSchemaCondition=V1beta1FlowSchemaCondition;V1beta1FlowSchemaCondition.discriminator=undefined;V1beta1FlowSchemaCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},58382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaList=void 0;class V1beta1FlowSchemaList{static getAttributeTypeMap(){return V1beta1FlowSchemaList.attributeTypeMap}}t.V1beta1FlowSchemaList=V1beta1FlowSchemaList;V1beta1FlowSchemaList.discriminator=undefined;V1beta1FlowSchemaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},84478:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaSpec=void 0;class V1beta1FlowSchemaSpec{static getAttributeTypeMap(){return V1beta1FlowSchemaSpec.attributeTypeMap}}t.V1beta1FlowSchemaSpec=V1beta1FlowSchemaSpec;V1beta1FlowSchemaSpec.discriminator=undefined;V1beta1FlowSchemaSpec.attributeTypeMap=[{name:"distinguisherMethod",baseName:"distinguisherMethod",type:"V1beta1FlowDistinguisherMethod"},{name:"matchingPrecedence",baseName:"matchingPrecedence",type:"number"},{name:"priorityLevelConfiguration",baseName:"priorityLevelConfiguration",type:"V1beta1PriorityLevelConfigurationReference"},{name:"rules",baseName:"rules",type:"Array"}]},8076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaStatus=void 0;class V1beta1FlowSchemaStatus{static getAttributeTypeMap(){return V1beta1FlowSchemaStatus.attributeTypeMap}}t.V1beta1FlowSchemaStatus=V1beta1FlowSchemaStatus;V1beta1FlowSchemaStatus.discriminator=undefined;V1beta1FlowSchemaStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},51807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1GroupSubject=void 0;class V1beta1GroupSubject{static getAttributeTypeMap(){return V1beta1GroupSubject.attributeTypeMap}}t.V1beta1GroupSubject=V1beta1GroupSubject;V1beta1GroupSubject.discriminator=undefined;V1beta1GroupSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},59514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1HostPortRange=void 0;class V1beta1HostPortRange{static getAttributeTypeMap(){return V1beta1HostPortRange.attributeTypeMap}}t.V1beta1HostPortRange=V1beta1HostPortRange;V1beta1HostPortRange.discriminator=undefined;V1beta1HostPortRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}]},96831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IDRange=void 0;class V1beta1IDRange{static getAttributeTypeMap(){return V1beta1IDRange.attributeTypeMap}}t.V1beta1IDRange=V1beta1IDRange;V1beta1IDRange.discriminator=undefined;V1beta1IDRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}]},41330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClass=void 0;class V1beta1IngressClass{static getAttributeTypeMap(){return V1beta1IngressClass.attributeTypeMap}}t.V1beta1IngressClass=V1beta1IngressClass;V1beta1IngressClass.discriminator=undefined;V1beta1IngressClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1IngressClassSpec"}]},98895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClassList=void 0;class V1beta1IngressClassList{static getAttributeTypeMap(){return V1beta1IngressClassList.attributeTypeMap}}t.V1beta1IngressClassList=V1beta1IngressClassList;V1beta1IngressClassList.discriminator=undefined;V1beta1IngressClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},95359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClassSpec=void 0;class V1beta1IngressClassSpec{static getAttributeTypeMap(){return V1beta1IngressClassSpec.attributeTypeMap}}t.V1beta1IngressClassSpec=V1beta1IngressClassSpec;V1beta1IngressClassSpec.discriminator=undefined;V1beta1IngressClassSpec.attributeTypeMap=[{name:"controller",baseName:"controller",type:"string"},{name:"parameters",baseName:"parameters",type:"V1TypedLocalObjectReference"}]},24695:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1JSONSchemaProps=void 0;class V1beta1JSONSchemaProps{static getAttributeTypeMap(){return V1beta1JSONSchemaProps.attributeTypeMap}}t.V1beta1JSONSchemaProps=V1beta1JSONSchemaProps;V1beta1JSONSchemaProps.discriminator=undefined;V1beta1JSONSchemaProps.attributeTypeMap=[{name:"$ref",baseName:"$ref",type:"string"},{name:"$schema",baseName:"$schema",type:"string"},{name:"additionalItems",baseName:"additionalItems",type:"object"},{name:"additionalProperties",baseName:"additionalProperties",type:"object"},{name:"allOf",baseName:"allOf",type:"Array"},{name:"anyOf",baseName:"anyOf",type:"Array"},{name:"_default",baseName:"default",type:"object"},{name:"definitions",baseName:"definitions",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"dependencies",baseName:"dependencies",type:"{ [key: string]: object; }"},{name:"description",baseName:"description",type:"string"},{name:"_enum",baseName:"enum",type:"Array"},{name:"example",baseName:"example",type:"object"},{name:"exclusiveMaximum",baseName:"exclusiveMaximum",type:"boolean"},{name:"exclusiveMinimum",baseName:"exclusiveMinimum",type:"boolean"},{name:"externalDocs",baseName:"externalDocs",type:"V1beta1ExternalDocumentation"},{name:"format",baseName:"format",type:"string"},{name:"id",baseName:"id",type:"string"},{name:"items",baseName:"items",type:"object"},{name:"maxItems",baseName:"maxItems",type:"number"},{name:"maxLength",baseName:"maxLength",type:"number"},{name:"maxProperties",baseName:"maxProperties",type:"number"},{name:"maximum",baseName:"maximum",type:"number"},{name:"minItems",baseName:"minItems",type:"number"},{name:"minLength",baseName:"minLength",type:"number"},{name:"minProperties",baseName:"minProperties",type:"number"},{name:"minimum",baseName:"minimum",type:"number"},{name:"multipleOf",baseName:"multipleOf",type:"number"},{name:"not",baseName:"not",type:"V1beta1JSONSchemaProps"},{name:"nullable",baseName:"nullable",type:"boolean"},{name:"oneOf",baseName:"oneOf",type:"Array"},{name:"pattern",baseName:"pattern",type:"string"},{name:"patternProperties",baseName:"patternProperties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"properties",baseName:"properties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"required",baseName:"required",type:"Array"},{name:"title",baseName:"title",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"uniqueItems",baseName:"uniqueItems",type:"boolean"},{name:"x_kubernetes_embedded_resource",baseName:"x-kubernetes-embedded-resource",type:"boolean"},{name:"x_kubernetes_int_or_string",baseName:"x-kubernetes-int-or-string",type:"boolean"},{name:"x_kubernetes_list_map_keys",baseName:"x-kubernetes-list-map-keys",type:"Array"},{name:"x_kubernetes_list_type",baseName:"x-kubernetes-list-type",type:"string"},{name:"x_kubernetes_map_type",baseName:"x-kubernetes-map-type",type:"string"},{name:"x_kubernetes_preserve_unknown_fields",baseName:"x-kubernetes-preserve-unknown-fields",type:"boolean"}]},75855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1JobTemplateSpec=void 0;class V1beta1JobTemplateSpec{static getAttributeTypeMap(){return V1beta1JobTemplateSpec.attributeTypeMap}}t.V1beta1JobTemplateSpec=V1beta1JobTemplateSpec;V1beta1JobTemplateSpec.discriminator=undefined;V1beta1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}]},56981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Lease=void 0;class V1beta1Lease{static getAttributeTypeMap(){return V1beta1Lease.attributeTypeMap}}t.V1beta1Lease=V1beta1Lease;V1beta1Lease.discriminator=undefined;V1beta1Lease.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1LeaseSpec"}]},55914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LeaseList=void 0;class V1beta1LeaseList{static getAttributeTypeMap(){return V1beta1LeaseList.attributeTypeMap}}t.V1beta1LeaseList=V1beta1LeaseList;V1beta1LeaseList.discriminator=undefined;V1beta1LeaseList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LeaseSpec=void 0;class V1beta1LeaseSpec{static getAttributeTypeMap(){return V1beta1LeaseSpec.attributeTypeMap}}t.V1beta1LeaseSpec=V1beta1LeaseSpec;V1beta1LeaseSpec.discriminator=undefined;V1beta1LeaseSpec.attributeTypeMap=[{name:"acquireTime",baseName:"acquireTime",type:"Date"},{name:"holderIdentity",baseName:"holderIdentity",type:"string"},{name:"leaseDurationSeconds",baseName:"leaseDurationSeconds",type:"number"},{name:"leaseTransitions",baseName:"leaseTransitions",type:"number"},{name:"renewTime",baseName:"renewTime",type:"Date"}]},8326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LimitResponse=void 0;class V1beta1LimitResponse{static getAttributeTypeMap(){return V1beta1LimitResponse.attributeTypeMap}}t.V1beta1LimitResponse=V1beta1LimitResponse;V1beta1LimitResponse.discriminator=undefined;V1beta1LimitResponse.attributeTypeMap=[{name:"queuing",baseName:"queuing",type:"V1beta1QueuingConfiguration"},{name:"type",baseName:"type",type:"string"}]},40541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LimitedPriorityLevelConfiguration=void 0;class V1beta1LimitedPriorityLevelConfiguration{static getAttributeTypeMap(){return V1beta1LimitedPriorityLevelConfiguration.attributeTypeMap}}t.V1beta1LimitedPriorityLevelConfiguration=V1beta1LimitedPriorityLevelConfiguration;V1beta1LimitedPriorityLevelConfiguration.discriminator=undefined;V1beta1LimitedPriorityLevelConfiguration.attributeTypeMap=[{name:"assuredConcurrencyShares",baseName:"assuredConcurrencyShares",type:"number"},{name:"limitResponse",baseName:"limitResponse",type:"V1beta1LimitResponse"}]},59918:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LocalSubjectAccessReview=void 0;class V1beta1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1beta1LocalSubjectAccessReview.attributeTypeMap}}t.V1beta1LocalSubjectAccessReview=V1beta1LocalSubjectAccessReview;V1beta1LocalSubjectAccessReview.discriminator=undefined;V1beta1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},74749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhook=void 0;class V1beta1MutatingWebhook{static getAttributeTypeMap(){return V1beta1MutatingWebhook.attributeTypeMap}}t.V1beta1MutatingWebhook=V1beta1MutatingWebhook;V1beta1MutatingWebhook.discriminator=undefined;V1beta1MutatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1beta1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"reinvocationPolicy",baseName:"reinvocationPolicy",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},66991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhookConfiguration=void 0;class V1beta1MutatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfiguration.attributeTypeMap}}t.V1beta1MutatingWebhookConfiguration=V1beta1MutatingWebhookConfiguration;V1beta1MutatingWebhookConfiguration.discriminator=undefined;V1beta1MutatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},4046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhookConfigurationList=void 0;class V1beta1MutatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfigurationList.attributeTypeMap}}t.V1beta1MutatingWebhookConfigurationList=V1beta1MutatingWebhookConfigurationList;V1beta1MutatingWebhookConfigurationList.discriminator=undefined;V1beta1MutatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourceAttributes=void 0;class V1beta1NonResourceAttributes{static getAttributeTypeMap(){return V1beta1NonResourceAttributes.attributeTypeMap}}t.V1beta1NonResourceAttributes=V1beta1NonResourceAttributes;V1beta1NonResourceAttributes.discriminator=undefined;V1beta1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}]},81655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourcePolicyRule=void 0;class V1beta1NonResourcePolicyRule{static getAttributeTypeMap(){return V1beta1NonResourcePolicyRule.attributeTypeMap}}t.V1beta1NonResourcePolicyRule=V1beta1NonResourcePolicyRule;V1beta1NonResourcePolicyRule.discriminator=undefined;V1beta1NonResourcePolicyRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},83111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourceRule=void 0;class V1beta1NonResourceRule{static getAttributeTypeMap(){return V1beta1NonResourceRule.attributeTypeMap}}t.V1beta1NonResourceRule=V1beta1NonResourceRule;V1beta1NonResourceRule.discriminator=undefined;V1beta1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},34396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Overhead=void 0;class V1beta1Overhead{static getAttributeTypeMap(){return V1beta1Overhead.attributeTypeMap}}t.V1beta1Overhead=V1beta1Overhead;V1beta1Overhead.discriminator=undefined;V1beta1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},43485:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudget=void 0;class V1beta1PodDisruptionBudget{static getAttributeTypeMap(){return V1beta1PodDisruptionBudget.attributeTypeMap}}t.V1beta1PodDisruptionBudget=V1beta1PodDisruptionBudget;V1beta1PodDisruptionBudget.discriminator=undefined;V1beta1PodDisruptionBudget.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PodDisruptionBudgetSpec"},{name:"status",baseName:"status",type:"V1beta1PodDisruptionBudgetStatus"}]},63931:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetList=void 0;class V1beta1PodDisruptionBudgetList{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetList.attributeTypeMap}}t.V1beta1PodDisruptionBudgetList=V1beta1PodDisruptionBudgetList;V1beta1PodDisruptionBudgetList.discriminator=undefined;V1beta1PodDisruptionBudgetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetSpec=void 0;class V1beta1PodDisruptionBudgetSpec{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetSpec.attributeTypeMap}}t.V1beta1PodDisruptionBudgetSpec=V1beta1PodDisruptionBudgetSpec;V1beta1PodDisruptionBudgetSpec.discriminator=undefined;V1beta1PodDisruptionBudgetSpec.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"},{name:"minAvailable",baseName:"minAvailable",type:"object"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},84404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetStatus=void 0;class V1beta1PodDisruptionBudgetStatus{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetStatus.attributeTypeMap}}t.V1beta1PodDisruptionBudgetStatus=V1beta1PodDisruptionBudgetStatus;V1beta1PodDisruptionBudgetStatus.discriminator=undefined;V1beta1PodDisruptionBudgetStatus.attributeTypeMap=[{name:"currentHealthy",baseName:"currentHealthy",type:"number"},{name:"desiredHealthy",baseName:"desiredHealthy",type:"number"},{name:"disruptedPods",baseName:"disruptedPods",type:"{ [key: string]: Date; }"},{name:"disruptionsAllowed",baseName:"disruptionsAllowed",type:"number"},{name:"expectedPods",baseName:"expectedPods",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},44289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicy=void 0;class V1beta1PodSecurityPolicy{static getAttributeTypeMap(){return V1beta1PodSecurityPolicy.attributeTypeMap}}t.V1beta1PodSecurityPolicy=V1beta1PodSecurityPolicy;V1beta1PodSecurityPolicy.discriminator=undefined;V1beta1PodSecurityPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PodSecurityPolicySpec"}]},90147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicyList=void 0;class V1beta1PodSecurityPolicyList{static getAttributeTypeMap(){return V1beta1PodSecurityPolicyList.attributeTypeMap}}t.V1beta1PodSecurityPolicyList=V1beta1PodSecurityPolicyList;V1beta1PodSecurityPolicyList.discriminator=undefined;V1beta1PodSecurityPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},72683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicySpec=void 0;class V1beta1PodSecurityPolicySpec{static getAttributeTypeMap(){return V1beta1PodSecurityPolicySpec.attributeTypeMap}}t.V1beta1PodSecurityPolicySpec=V1beta1PodSecurityPolicySpec;V1beta1PodSecurityPolicySpec.discriminator=undefined;V1beta1PodSecurityPolicySpec.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"allowedCSIDrivers",baseName:"allowedCSIDrivers",type:"Array"},{name:"allowedCapabilities",baseName:"allowedCapabilities",type:"Array"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array"},{name:"fsGroup",baseName:"fsGroup",type:"V1beta1FSGroupStrategyOptions"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostPorts",baseName:"hostPorts",type:"Array"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array"},{name:"runAsGroup",baseName:"runAsGroup",type:"V1beta1RunAsGroupStrategyOptions"},{name:"runAsUser",baseName:"runAsUser",type:"V1beta1RunAsUserStrategyOptions"},{name:"runtimeClass",baseName:"runtimeClass",type:"V1beta1RuntimeClassStrategyOptions"},{name:"seLinux",baseName:"seLinux",type:"V1beta1SELinuxStrategyOptions"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"V1beta1SupplementalGroupsStrategyOptions"},{name:"volumes",baseName:"volumes",type:"Array"}]},2177:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PolicyRule=void 0;class V1beta1PolicyRule{static getAttributeTypeMap(){return V1beta1PolicyRule.attributeTypeMap}}t.V1beta1PolicyRule=V1beta1PolicyRule;V1beta1PolicyRule.discriminator=undefined;V1beta1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},75714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PolicyRulesWithSubjects=void 0;class V1beta1PolicyRulesWithSubjects{static getAttributeTypeMap(){return V1beta1PolicyRulesWithSubjects.attributeTypeMap}}t.V1beta1PolicyRulesWithSubjects=V1beta1PolicyRulesWithSubjects;V1beta1PolicyRulesWithSubjects.discriminator=undefined;V1beta1PolicyRulesWithSubjects.attributeTypeMap=[{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"},{name:"subjects",baseName:"subjects",type:"Array"}]},59684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityClass=void 0;class V1beta1PriorityClass{static getAttributeTypeMap(){return V1beta1PriorityClass.attributeTypeMap}}t.V1beta1PriorityClass=V1beta1PriorityClass;V1beta1PriorityClass.discriminator=undefined;V1beta1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},26149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityClassList=void 0;class V1beta1PriorityClassList{static getAttributeTypeMap(){return V1beta1PriorityClassList.attributeTypeMap}}t.V1beta1PriorityClassList=V1beta1PriorityClassList;V1beta1PriorityClassList.discriminator=undefined;V1beta1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},67813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfiguration=void 0;class V1beta1PriorityLevelConfiguration{static getAttributeTypeMap(){return V1beta1PriorityLevelConfiguration.attributeTypeMap}}t.V1beta1PriorityLevelConfiguration=V1beta1PriorityLevelConfiguration;V1beta1PriorityLevelConfiguration.discriminator=undefined;V1beta1PriorityLevelConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PriorityLevelConfigurationSpec"},{name:"status",baseName:"status",type:"V1beta1PriorityLevelConfigurationStatus"}]},60270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationCondition=void 0;class V1beta1PriorityLevelConfigurationCondition{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationCondition.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationCondition=V1beta1PriorityLevelConfigurationCondition;V1beta1PriorityLevelConfigurationCondition.discriminator=undefined;V1beta1PriorityLevelConfigurationCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},90435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationList=void 0;class V1beta1PriorityLevelConfigurationList{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationList.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationList=V1beta1PriorityLevelConfigurationList;V1beta1PriorityLevelConfigurationList.discriminator=undefined;V1beta1PriorityLevelConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},42319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationReference=void 0;class V1beta1PriorityLevelConfigurationReference{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationReference.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationReference=V1beta1PriorityLevelConfigurationReference;V1beta1PriorityLevelConfigurationReference.discriminator=undefined;V1beta1PriorityLevelConfigurationReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},10530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationSpec=void 0;class V1beta1PriorityLevelConfigurationSpec{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationSpec.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationSpec=V1beta1PriorityLevelConfigurationSpec;V1beta1PriorityLevelConfigurationSpec.discriminator=undefined;V1beta1PriorityLevelConfigurationSpec.attributeTypeMap=[{name:"limited",baseName:"limited",type:"V1beta1LimitedPriorityLevelConfiguration"},{name:"type",baseName:"type",type:"string"}]},22546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationStatus=void 0;class V1beta1PriorityLevelConfigurationStatus{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationStatus.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationStatus=V1beta1PriorityLevelConfigurationStatus;V1beta1PriorityLevelConfigurationStatus.discriminator=undefined;V1beta1PriorityLevelConfigurationStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},62252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1QueuingConfiguration=void 0;class V1beta1QueuingConfiguration{static getAttributeTypeMap(){return V1beta1QueuingConfiguration.attributeTypeMap}}t.V1beta1QueuingConfiguration=V1beta1QueuingConfiguration;V1beta1QueuingConfiguration.discriminator=undefined;V1beta1QueuingConfiguration.attributeTypeMap=[{name:"handSize",baseName:"handSize",type:"number"},{name:"queueLengthLimit",baseName:"queueLengthLimit",type:"number"},{name:"queues",baseName:"queues",type:"number"}]},76021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourceAttributes=void 0;class V1beta1ResourceAttributes{static getAttributeTypeMap(){return V1beta1ResourceAttributes.attributeTypeMap}}t.V1beta1ResourceAttributes=V1beta1ResourceAttributes;V1beta1ResourceAttributes.discriminator=undefined;V1beta1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}]},5461:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourcePolicyRule=void 0;class V1beta1ResourcePolicyRule{static getAttributeTypeMap(){return V1beta1ResourcePolicyRule.attributeTypeMap}}t.V1beta1ResourcePolicyRule=V1beta1ResourcePolicyRule;V1beta1ResourcePolicyRule.discriminator=undefined;V1beta1ResourcePolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"clusterScope",baseName:"clusterScope",type:"boolean"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},28787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourceRule=void 0;class V1beta1ResourceRule{static getAttributeTypeMap(){return V1beta1ResourceRule.attributeTypeMap}}t.V1beta1ResourceRule=V1beta1ResourceRule;V1beta1ResourceRule.discriminator=undefined;V1beta1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},51959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Role=void 0;class V1beta1Role{static getAttributeTypeMap(){return V1beta1Role.attributeTypeMap}}t.V1beta1Role=V1beta1Role;V1beta1Role.discriminator=undefined;V1beta1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},71667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleBinding=void 0;class V1beta1RoleBinding{static getAttributeTypeMap(){return V1beta1RoleBinding.attributeTypeMap}}t.V1beta1RoleBinding=V1beta1RoleBinding;V1beta1RoleBinding.discriminator=undefined;V1beta1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},96916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleBindingList=void 0;class V1beta1RoleBindingList{static getAttributeTypeMap(){return V1beta1RoleBindingList.attributeTypeMap}}t.V1beta1RoleBindingList=V1beta1RoleBindingList;V1beta1RoleBindingList.discriminator=undefined;V1beta1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},2230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleList=void 0;class V1beta1RoleList{static getAttributeTypeMap(){return V1beta1RoleList.attributeTypeMap}}t.V1beta1RoleList=V1beta1RoleList;V1beta1RoleList.discriminator=undefined;V1beta1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},74299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleRef=void 0;class V1beta1RoleRef{static getAttributeTypeMap(){return V1beta1RoleRef.attributeTypeMap}}t.V1beta1RoleRef=V1beta1RoleRef;V1beta1RoleRef.discriminator=undefined;V1beta1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},87497:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuleWithOperations=void 0;class V1beta1RuleWithOperations{static getAttributeTypeMap(){return V1beta1RuleWithOperations.attributeTypeMap}}t.V1beta1RuleWithOperations=V1beta1RuleWithOperations;V1beta1RuleWithOperations.discriminator=undefined;V1beta1RuleWithOperations.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"apiVersions",baseName:"apiVersions",type:"Array"},{name:"operations",baseName:"operations",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"scope",baseName:"scope",type:"string"}]},65831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RunAsGroupStrategyOptions=void 0;class V1beta1RunAsGroupStrategyOptions{static getAttributeTypeMap(){return V1beta1RunAsGroupStrategyOptions.attributeTypeMap}}t.V1beta1RunAsGroupStrategyOptions=V1beta1RunAsGroupStrategyOptions;V1beta1RunAsGroupStrategyOptions.discriminator=undefined;V1beta1RunAsGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},31079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RunAsUserStrategyOptions=void 0;class V1beta1RunAsUserStrategyOptions{static getAttributeTypeMap(){return V1beta1RunAsUserStrategyOptions.attributeTypeMap}}t.V1beta1RunAsUserStrategyOptions=V1beta1RunAsUserStrategyOptions;V1beta1RunAsUserStrategyOptions.discriminator=undefined;V1beta1RunAsUserStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},75281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClass=void 0;class V1beta1RuntimeClass{static getAttributeTypeMap(){return V1beta1RuntimeClass.attributeTypeMap}}t.V1beta1RuntimeClass=V1beta1RuntimeClass;V1beta1RuntimeClass.discriminator=undefined;V1beta1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"handler",baseName:"handler",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"overhead",baseName:"overhead",type:"V1beta1Overhead"},{name:"scheduling",baseName:"scheduling",type:"V1beta1Scheduling"}]},8109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClassList=void 0;class V1beta1RuntimeClassList{static getAttributeTypeMap(){return V1beta1RuntimeClassList.attributeTypeMap}}t.V1beta1RuntimeClassList=V1beta1RuntimeClassList;V1beta1RuntimeClassList.discriminator=undefined;V1beta1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},50769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClassStrategyOptions=void 0;class V1beta1RuntimeClassStrategyOptions{static getAttributeTypeMap(){return V1beta1RuntimeClassStrategyOptions.attributeTypeMap}}t.V1beta1RuntimeClassStrategyOptions=V1beta1RuntimeClassStrategyOptions;V1beta1RuntimeClassStrategyOptions.discriminator=undefined;V1beta1RuntimeClassStrategyOptions.attributeTypeMap=[{name:"allowedRuntimeClassNames",baseName:"allowedRuntimeClassNames",type:"Array"},{name:"defaultRuntimeClassName",baseName:"defaultRuntimeClassName",type:"string"}]},49098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SELinuxStrategyOptions=void 0;class V1beta1SELinuxStrategyOptions{static getAttributeTypeMap(){return V1beta1SELinuxStrategyOptions.attributeTypeMap}}t.V1beta1SELinuxStrategyOptions=V1beta1SELinuxStrategyOptions;V1beta1SELinuxStrategyOptions.discriminator=undefined;V1beta1SELinuxStrategyOptions.attributeTypeMap=[{name:"rule",baseName:"rule",type:"string"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"}]},34651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Scheduling=void 0;class V1beta1Scheduling{static getAttributeTypeMap(){return V1beta1Scheduling.attributeTypeMap}}t.V1beta1Scheduling=V1beta1Scheduling;V1beta1Scheduling.discriminator=undefined;V1beta1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},35033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectAccessReview=void 0;class V1beta1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReview.attributeTypeMap}}t.V1beta1SelfSubjectAccessReview=V1beta1SelfSubjectAccessReview;V1beta1SelfSubjectAccessReview.discriminator=undefined;V1beta1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},90080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectAccessReviewSpec=void 0;class V1beta1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap}}t.V1beta1SelfSubjectAccessReviewSpec=V1beta1SelfSubjectAccessReviewSpec;V1beta1SelfSubjectAccessReviewSpec.discriminator=undefined;V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"}]},13129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectRulesReview=void 0;class V1beta1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReview.attributeTypeMap}}t.V1beta1SelfSubjectRulesReview=V1beta1SelfSubjectRulesReview;V1beta1SelfSubjectRulesReview.discriminator=undefined;V1beta1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectRulesReviewStatus"}]},14474:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectRulesReviewSpec=void 0;class V1beta1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap}}t.V1beta1SelfSubjectRulesReviewSpec=V1beta1SelfSubjectRulesReviewSpec;V1beta1SelfSubjectRulesReviewSpec.discriminator=undefined;V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}]},473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ServiceAccountSubject=void 0;class V1beta1ServiceAccountSubject{static getAttributeTypeMap(){return V1beta1ServiceAccountSubject.attributeTypeMap}}t.V1beta1ServiceAccountSubject=V1beta1ServiceAccountSubject;V1beta1ServiceAccountSubject.discriminator=undefined;V1beta1ServiceAccountSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},88465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1StorageClass=void 0;class V1beta1StorageClass{static getAttributeTypeMap(){return V1beta1StorageClass.attributeTypeMap}}t.V1beta1StorageClass=V1beta1StorageClass;V1beta1StorageClass.discriminator=undefined;V1beta1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}]},2146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1StorageClassList=void 0;class V1beta1StorageClassList{static getAttributeTypeMap(){return V1beta1StorageClassList.attributeTypeMap}}t.V1beta1StorageClassList=V1beta1StorageClassList;V1beta1StorageClassList.discriminator=undefined;V1beta1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},88931:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReview=void 0;class V1beta1SubjectAccessReview{static getAttributeTypeMap(){return V1beta1SubjectAccessReview.attributeTypeMap}}t.V1beta1SubjectAccessReview=V1beta1SubjectAccessReview;V1beta1SubjectAccessReview.discriminator=undefined;V1beta1SubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},46198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReviewSpec=void 0;class V1beta1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewSpec.attributeTypeMap}}t.V1beta1SubjectAccessReviewSpec=V1beta1SubjectAccessReviewSpec;V1beta1SubjectAccessReviewSpec.discriminator=undefined;V1beta1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"group",baseName:"group",type:"Array"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}]},95797:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReviewStatus=void 0;class V1beta1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewStatus.attributeTypeMap}}t.V1beta1SubjectAccessReviewStatus=V1beta1SubjectAccessReviewStatus;V1beta1SubjectAccessReviewStatus.discriminator=undefined;V1beta1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},31397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectRulesReviewStatus=void 0;class V1beta1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectRulesReviewStatus.attributeTypeMap}}t.V1beta1SubjectRulesReviewStatus=V1beta1SubjectRulesReviewStatus;V1beta1SubjectRulesReviewStatus.discriminator=undefined;V1beta1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"}]},12802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SupplementalGroupsStrategyOptions=void 0;class V1beta1SupplementalGroupsStrategyOptions{static getAttributeTypeMap(){return V1beta1SupplementalGroupsStrategyOptions.attributeTypeMap}}t.V1beta1SupplementalGroupsStrategyOptions=V1beta1SupplementalGroupsStrategyOptions;V1beta1SupplementalGroupsStrategyOptions.discriminator=undefined;V1beta1SupplementalGroupsStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},61521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenRequest=void 0;class V1beta1TokenRequest{static getAttributeTypeMap(){return V1beta1TokenRequest.attributeTypeMap}}t.V1beta1TokenRequest=V1beta1TokenRequest;V1beta1TokenRequest.discriminator=undefined;V1beta1TokenRequest.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},15956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReview=void 0;class V1beta1TokenReview{static getAttributeTypeMap(){return V1beta1TokenReview.attributeTypeMap}}t.V1beta1TokenReview=V1beta1TokenReview;V1beta1TokenReview.discriminator=undefined;V1beta1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1beta1TokenReviewStatus"}]},54910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReviewSpec=void 0;class V1beta1TokenReviewSpec{static getAttributeTypeMap(){return V1beta1TokenReviewSpec.attributeTypeMap}}t.V1beta1TokenReviewSpec=V1beta1TokenReviewSpec;V1beta1TokenReviewSpec.discriminator=undefined;V1beta1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"token",baseName:"token",type:"string"}]},10285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReviewStatus=void 0;class V1beta1TokenReviewStatus{static getAttributeTypeMap(){return V1beta1TokenReviewStatus.attributeTypeMap}}t.V1beta1TokenReviewStatus=V1beta1TokenReviewStatus;V1beta1TokenReviewStatus.discriminator=undefined;V1beta1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1beta1UserInfo"}]},53523:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1UserInfo=void 0;class V1beta1UserInfo{static getAttributeTypeMap(){return V1beta1UserInfo.attributeTypeMap}}t.V1beta1UserInfo=V1beta1UserInfo;V1beta1UserInfo.discriminator=undefined;V1beta1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}]},11202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1UserSubject=void 0;class V1beta1UserSubject{static getAttributeTypeMap(){return V1beta1UserSubject.attributeTypeMap}}t.V1beta1UserSubject=V1beta1UserSubject;V1beta1UserSubject.discriminator=undefined;V1beta1UserSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},39491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhook=void 0;class V1beta1ValidatingWebhook{static getAttributeTypeMap(){return V1beta1ValidatingWebhook.attributeTypeMap}}t.V1beta1ValidatingWebhook=V1beta1ValidatingWebhook;V1beta1ValidatingWebhook.discriminator=undefined;V1beta1ValidatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1beta1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},20812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhookConfiguration=void 0;class V1beta1ValidatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfiguration.attributeTypeMap}}t.V1beta1ValidatingWebhookConfiguration=V1beta1ValidatingWebhookConfiguration;V1beta1ValidatingWebhookConfiguration.discriminator=undefined;V1beta1ValidatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},18685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhookConfigurationList=void 0;class V1beta1ValidatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfigurationList.attributeTypeMap}}t.V1beta1ValidatingWebhookConfigurationList=V1beta1ValidatingWebhookConfigurationList;V1beta1ValidatingWebhookConfigurationList.discriminator=undefined;V1beta1ValidatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},72711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachment=void 0;class V1beta1VolumeAttachment{static getAttributeTypeMap(){return V1beta1VolumeAttachment.attributeTypeMap}}t.V1beta1VolumeAttachment=V1beta1VolumeAttachment;V1beta1VolumeAttachment.discriminator=undefined;V1beta1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1beta1VolumeAttachmentStatus"}]},72167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentList=void 0;class V1beta1VolumeAttachmentList{static getAttributeTypeMap(){return V1beta1VolumeAttachmentList.attributeTypeMap}}t.V1beta1VolumeAttachmentList=V1beta1VolumeAttachmentList;V1beta1VolumeAttachmentList.discriminator=undefined;V1beta1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},55473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentSource=void 0;class V1beta1VolumeAttachmentSource{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSource.attributeTypeMap}}t.V1beta1VolumeAttachmentSource=V1beta1VolumeAttachmentSource;V1beta1VolumeAttachmentSource.discriminator=undefined;V1beta1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},53805:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentSpec=void 0;class V1beta1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSpec.attributeTypeMap}}t.V1beta1VolumeAttachmentSpec=V1beta1VolumeAttachmentSpec;V1beta1VolumeAttachmentSpec.discriminator=undefined;V1beta1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1beta1VolumeAttachmentSource"}]},94350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentStatus=void 0;class V1beta1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1beta1VolumeAttachmentStatus.attributeTypeMap}}t.V1beta1VolumeAttachmentStatus=V1beta1VolumeAttachmentStatus;V1beta1VolumeAttachmentStatus.discriminator=undefined;V1beta1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1beta1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1beta1VolumeError"}]},53849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeError=void 0;class V1beta1VolumeError{static getAttributeTypeMap(){return V1beta1VolumeError.attributeTypeMap}}t.V1beta1VolumeError=V1beta1VolumeError;V1beta1VolumeError.discriminator=undefined;V1beta1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},71688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeNodeResources=void 0;class V1beta1VolumeNodeResources{static getAttributeTypeMap(){return V1beta1VolumeNodeResources.attributeTypeMap}}t.V1beta1VolumeNodeResources=V1beta1VolumeNodeResources;V1beta1VolumeNodeResources.discriminator=undefined;V1beta1VolumeNodeResources.attributeTypeMap=[{name:"count",baseName:"count",type:"number"}]},5710:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJob=void 0;class V2alpha1CronJob{static getAttributeTypeMap(){return V2alpha1CronJob.attributeTypeMap}}t.V2alpha1CronJob=V2alpha1CronJob;V2alpha1CronJob.discriminator=undefined;V2alpha1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2alpha1CronJobSpec"},{name:"status",baseName:"status",type:"V2alpha1CronJobStatus"}]},98026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobList=void 0;class V2alpha1CronJobList{static getAttributeTypeMap(){return V2alpha1CronJobList.attributeTypeMap}}t.V2alpha1CronJobList=V2alpha1CronJobList;V2alpha1CronJobList.discriminator=undefined;V2alpha1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},41784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobSpec=void 0;class V2alpha1CronJobSpec{static getAttributeTypeMap(){return V2alpha1CronJobSpec.attributeTypeMap}}t.V2alpha1CronJobSpec=V2alpha1CronJobSpec;V2alpha1CronJobSpec.discriminator=undefined;V2alpha1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V2alpha1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}]},2411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobStatus=void 0;class V2alpha1CronJobStatus{static getAttributeTypeMap(){return V2alpha1CronJobStatus.attributeTypeMap}}t.V2alpha1CronJobStatus=V2alpha1CronJobStatus;V2alpha1CronJobStatus.discriminator=undefined;V2alpha1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}]},3849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1JobTemplateSpec=void 0;class V2alpha1JobTemplateSpec{static getAttributeTypeMap(){return V2alpha1JobTemplateSpec.attributeTypeMap}}t.V2alpha1JobTemplateSpec=V2alpha1JobTemplateSpec;V2alpha1JobTemplateSpec.discriminator=undefined;V2alpha1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}]},37196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ContainerResourceMetricSource=void 0;class V2beta1ContainerResourceMetricSource{static getAttributeTypeMap(){return V2beta1ContainerResourceMetricSource.attributeTypeMap}}t.V2beta1ContainerResourceMetricSource=V2beta1ContainerResourceMetricSource;V2beta1ContainerResourceMetricSource.discriminator=undefined;V2beta1ContainerResourceMetricSource.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"targetAverageUtilization",baseName:"targetAverageUtilization",type:"number"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},27287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ContainerResourceMetricStatus=void 0;class V2beta1ContainerResourceMetricStatus{static getAttributeTypeMap(){return V2beta1ContainerResourceMetricStatus.attributeTypeMap}}t.V2beta1ContainerResourceMetricStatus=V2beta1ContainerResourceMetricStatus;V2beta1ContainerResourceMetricStatus.discriminator=undefined;V2beta1ContainerResourceMetricStatus.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"currentAverageUtilization",baseName:"currentAverageUtilization",type:"number"},{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"name",baseName:"name",type:"string"}]},36502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1CrossVersionObjectReference=void 0;class V2beta1CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta1CrossVersionObjectReference.attributeTypeMap}}t.V2beta1CrossVersionObjectReference=V2beta1CrossVersionObjectReference;V2beta1CrossVersionObjectReference.discriminator=undefined;V2beta1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},43128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ExternalMetricSource=void 0;class V2beta1ExternalMetricSource{static getAttributeTypeMap(){return V2beta1ExternalMetricSource.attributeTypeMap}}t.V2beta1ExternalMetricSource=V2beta1ExternalMetricSource;V2beta1ExternalMetricSource.discriminator=undefined;V2beta1ExternalMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"},{name:"targetValue",baseName:"targetValue",type:"string"}]},96606:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ExternalMetricStatus=void 0;class V2beta1ExternalMetricStatus{static getAttributeTypeMap(){return V2beta1ExternalMetricStatus.attributeTypeMap}}t.V2beta1ExternalMetricStatus=V2beta1ExternalMetricStatus;V2beta1ExternalMetricStatus.discriminator=undefined;V2beta1ExternalMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"}]},74687:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscaler=void 0;class V2beta1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscaler.attributeTypeMap}}t.V2beta1HorizontalPodAutoscaler=V2beta1HorizontalPodAutoscaler;V2beta1HorizontalPodAutoscaler.discriminator=undefined;V2beta1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta1HorizontalPodAutoscalerStatus"}]},89728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerCondition=void 0;class V2beta1HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerCondition.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerCondition=V2beta1HorizontalPodAutoscalerCondition;V2beta1HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta1HorizontalPodAutoscalerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},89151:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerList=void 0;class V2beta1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerList.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerList=V2beta1HorizontalPodAutoscalerList;V2beta1HorizontalPodAutoscalerList.discriminator=undefined;V2beta1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},8786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerSpec=void 0;class V2beta1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerSpec=V2beta1HorizontalPodAutoscalerSpec;V2beta1HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta1CrossVersionObjectReference"}]},66258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerStatus=void 0;class V2beta1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerStatus=V2beta1HorizontalPodAutoscalerStatus;V2beta1HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},98064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1MetricSpec=void 0;class V2beta1MetricSpec{static getAttributeTypeMap(){return V2beta1MetricSpec.attributeTypeMap}}t.V2beta1MetricSpec=V2beta1MetricSpec;V2beta1MetricSpec.discriminator=undefined;V2beta1MetricSpec.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta1ContainerResourceMetricSource"},{name:"external",baseName:"external",type:"V2beta1ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}]},25083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1MetricStatus=void 0;class V2beta1MetricStatus{static getAttributeTypeMap(){return V2beta1MetricStatus.attributeTypeMap}}t.V2beta1MetricStatus=V2beta1MetricStatus;V2beta1MetricStatus.discriminator=undefined;V2beta1MetricStatus.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta1ContainerResourceMetricStatus"},{name:"external",baseName:"external",type:"V2beta1ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}]},30639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ObjectMetricSource=void 0;class V2beta1ObjectMetricSource{static getAttributeTypeMap(){return V2beta1ObjectMetricSource.attributeTypeMap}}t.V2beta1ObjectMetricSource=V2beta1ObjectMetricSource;V2beta1ObjectMetricSource.discriminator=undefined;V2beta1ObjectMetricSource.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"},{name:"targetValue",baseName:"targetValue",type:"string"}]},5950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ObjectMetricStatus=void 0;class V2beta1ObjectMetricStatus{static getAttributeTypeMap(){return V2beta1ObjectMetricStatus.attributeTypeMap}}t.V2beta1ObjectMetricStatus=V2beta1ObjectMetricStatus;V2beta1ObjectMetricStatus.discriminator=undefined;V2beta1ObjectMetricStatus.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"}]},18291:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1PodsMetricSource=void 0;class V2beta1PodsMetricSource{static getAttributeTypeMap(){return V2beta1PodsMetricSource.attributeTypeMap}}t.V2beta1PodsMetricSource=V2beta1PodsMetricSource;V2beta1PodsMetricSource.discriminator=undefined;V2beta1PodsMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},83162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1PodsMetricStatus=void 0;class V2beta1PodsMetricStatus{static getAttributeTypeMap(){return V2beta1PodsMetricStatus.attributeTypeMap}}t.V2beta1PodsMetricStatus=V2beta1PodsMetricStatus;V2beta1PodsMetricStatus.discriminator=undefined;V2beta1PodsMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},10150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ResourceMetricSource=void 0;class V2beta1ResourceMetricSource{static getAttributeTypeMap(){return V2beta1ResourceMetricSource.attributeTypeMap}}t.V2beta1ResourceMetricSource=V2beta1ResourceMetricSource;V2beta1ResourceMetricSource.discriminator=undefined;V2beta1ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"targetAverageUtilization",baseName:"targetAverageUtilization",type:"number"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},29521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ResourceMetricStatus=void 0;class V2beta1ResourceMetricStatus{static getAttributeTypeMap(){return V2beta1ResourceMetricStatus.attributeTypeMap}}t.V2beta1ResourceMetricStatus=V2beta1ResourceMetricStatus;V2beta1ResourceMetricStatus.discriminator=undefined;V2beta1ResourceMetricStatus.attributeTypeMap=[{name:"currentAverageUtilization",baseName:"currentAverageUtilization",type:"number"},{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"name",baseName:"name",type:"string"}]},53209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ContainerResourceMetricSource=void 0;class V2beta2ContainerResourceMetricSource{static getAttributeTypeMap(){return V2beta2ContainerResourceMetricSource.attributeTypeMap}}t.V2beta2ContainerResourceMetricSource=V2beta2ContainerResourceMetricSource;V2beta2ContainerResourceMetricSource.discriminator=undefined;V2beta2ContainerResourceMetricSource.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},69602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ContainerResourceMetricStatus=void 0;class V2beta2ContainerResourceMetricStatus{static getAttributeTypeMap(){return V2beta2ContainerResourceMetricStatus.attributeTypeMap}}t.V2beta2ContainerResourceMetricStatus=V2beta2ContainerResourceMetricStatus;V2beta2ContainerResourceMetricStatus.discriminator=undefined;V2beta2ContainerResourceMetricStatus.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"name",baseName:"name",type:"string"}]},85029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2CrossVersionObjectReference=void 0;class V2beta2CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta2CrossVersionObjectReference.attributeTypeMap}}t.V2beta2CrossVersionObjectReference=V2beta2CrossVersionObjectReference;V2beta2CrossVersionObjectReference.discriminator=undefined;V2beta2CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},75145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ExternalMetricSource=void 0;class V2beta2ExternalMetricSource{static getAttributeTypeMap(){return V2beta2ExternalMetricSource.attributeTypeMap}}t.V2beta2ExternalMetricSource=V2beta2ExternalMetricSource;V2beta2ExternalMetricSource.discriminator=undefined;V2beta2ExternalMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},12390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ExternalMetricStatus=void 0;class V2beta2ExternalMetricStatus{static getAttributeTypeMap(){return V2beta2ExternalMetricStatus.attributeTypeMap}}t.V2beta2ExternalMetricStatus=V2beta2ExternalMetricStatus;V2beta2ExternalMetricStatus.discriminator=undefined;V2beta2ExternalMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},34096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HPAScalingPolicy=void 0;class V2beta2HPAScalingPolicy{static getAttributeTypeMap(){return V2beta2HPAScalingPolicy.attributeTypeMap}}t.V2beta2HPAScalingPolicy=V2beta2HPAScalingPolicy;V2beta2HPAScalingPolicy.discriminator=undefined;V2beta2HPAScalingPolicy.attributeTypeMap=[{name:"periodSeconds",baseName:"periodSeconds",type:"number"},{name:"type",baseName:"type",type:"string"},{name:"value",baseName:"value",type:"number"}]},33665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HPAScalingRules=void 0;class V2beta2HPAScalingRules{static getAttributeTypeMap(){return V2beta2HPAScalingRules.attributeTypeMap}}t.V2beta2HPAScalingRules=V2beta2HPAScalingRules;V2beta2HPAScalingRules.discriminator=undefined;V2beta2HPAScalingRules.attributeTypeMap=[{name:"policies",baseName:"policies",type:"Array"},{name:"selectPolicy",baseName:"selectPolicy",type:"string"},{name:"stabilizationWindowSeconds",baseName:"stabilizationWindowSeconds",type:"number"}]},96952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscaler=void 0;class V2beta2HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscaler.attributeTypeMap}}t.V2beta2HorizontalPodAutoscaler=V2beta2HorizontalPodAutoscaler;V2beta2HorizontalPodAutoscaler.discriminator=undefined;V2beta2HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta2HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta2HorizontalPodAutoscalerStatus"}]},41473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerBehavior=void 0;class V2beta2HorizontalPodAutoscalerBehavior{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerBehavior.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerBehavior=V2beta2HorizontalPodAutoscalerBehavior;V2beta2HorizontalPodAutoscalerBehavior.discriminator=undefined;V2beta2HorizontalPodAutoscalerBehavior.attributeTypeMap=[{name:"scaleDown",baseName:"scaleDown",type:"V2beta2HPAScalingRules"},{name:"scaleUp",baseName:"scaleUp",type:"V2beta2HPAScalingRules"}]},67231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerCondition=void 0;class V2beta2HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerCondition.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerCondition=V2beta2HorizontalPodAutoscalerCondition;V2beta2HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta2HorizontalPodAutoscalerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},46788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerList=void 0;class V2beta2HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerList.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerList=V2beta2HorizontalPodAutoscalerList;V2beta2HorizontalPodAutoscalerList.discriminator=undefined;V2beta2HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},17298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerSpec=void 0;class V2beta2HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerSpec=V2beta2HorizontalPodAutoscalerSpec;V2beta2HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"behavior",baseName:"behavior",type:"V2beta2HorizontalPodAutoscalerBehavior"},{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta2CrossVersionObjectReference"}]},60715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerStatus=void 0;class V2beta2HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerStatus=V2beta2HorizontalPodAutoscalerStatus;V2beta2HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},73280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricIdentifier=void 0;class V2beta2MetricIdentifier{static getAttributeTypeMap(){return V2beta2MetricIdentifier.attributeTypeMap}}t.V2beta2MetricIdentifier=V2beta2MetricIdentifier;V2beta2MetricIdentifier.discriminator=undefined;V2beta2MetricIdentifier.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},54941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricSpec=void 0;class V2beta2MetricSpec{static getAttributeTypeMap(){return V2beta2MetricSpec.attributeTypeMap}}t.V2beta2MetricSpec=V2beta2MetricSpec;V2beta2MetricSpec.discriminator=undefined;V2beta2MetricSpec.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta2ContainerResourceMetricSource"},{name:"external",baseName:"external",type:"V2beta2ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}]},5415:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricStatus=void 0;class V2beta2MetricStatus{static getAttributeTypeMap(){return V2beta2MetricStatus.attributeTypeMap}}t.V2beta2MetricStatus=V2beta2MetricStatus;V2beta2MetricStatus.discriminator=undefined;V2beta2MetricStatus.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta2ContainerResourceMetricStatus"},{name:"external",baseName:"external",type:"V2beta2ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}]},17383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricTarget=void 0;class V2beta2MetricTarget{static getAttributeTypeMap(){return V2beta2MetricTarget.attributeTypeMap}}t.V2beta2MetricTarget=V2beta2MetricTarget;V2beta2MetricTarget.discriminator=undefined;V2beta2MetricTarget.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"value",baseName:"value",type:"string"}]},61416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricValueStatus=void 0;class V2beta2MetricValueStatus{static getAttributeTypeMap(){return V2beta2MetricValueStatus.attributeTypeMap}}t.V2beta2MetricValueStatus=V2beta2MetricValueStatus;V2beta2MetricValueStatus.discriminator=undefined;V2beta2MetricValueStatus.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"value",baseName:"value",type:"string"}]},56126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ObjectMetricSource=void 0;class V2beta2ObjectMetricSource{static getAttributeTypeMap(){return V2beta2ObjectMetricSource.attributeTypeMap}}t.V2beta2ObjectMetricSource=V2beta2ObjectMetricSource;V2beta2ObjectMetricSource.discriminator=undefined;V2beta2ObjectMetricSource.attributeTypeMap=[{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},60958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ObjectMetricStatus=void 0;class V2beta2ObjectMetricStatus{static getAttributeTypeMap(){return V2beta2ObjectMetricStatus.attributeTypeMap}}t.V2beta2ObjectMetricStatus=V2beta2ObjectMetricStatus;V2beta2ObjectMetricStatus.discriminator=undefined;V2beta2ObjectMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},46865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2PodsMetricSource=void 0;class V2beta2PodsMetricSource{static getAttributeTypeMap(){return V2beta2PodsMetricSource.attributeTypeMap}}t.V2beta2PodsMetricSource=V2beta2PodsMetricSource;V2beta2PodsMetricSource.discriminator=undefined;V2beta2PodsMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},78411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2PodsMetricStatus=void 0;class V2beta2PodsMetricStatus{static getAttributeTypeMap(){return V2beta2PodsMetricStatus.attributeTypeMap}}t.V2beta2PodsMetricStatus=V2beta2PodsMetricStatus;V2beta2PodsMetricStatus.discriminator=undefined;V2beta2PodsMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},23137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ResourceMetricSource=void 0;class V2beta2ResourceMetricSource{static getAttributeTypeMap(){return V2beta2ResourceMetricSource.attributeTypeMap}}t.V2beta2ResourceMetricSource=V2beta2ResourceMetricSource;V2beta2ResourceMetricSource.discriminator=undefined;V2beta2ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ResourceMetricStatus=void 0;class V2beta2ResourceMetricStatus{static getAttributeTypeMap(){return V2beta2ResourceMetricStatus.attributeTypeMap}}t.V2beta2ResourceMetricStatus=V2beta2ResourceMetricStatus;V2beta2ResourceMetricStatus.discriminator=undefined;V2beta2ResourceMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"name",baseName:"name",type:"string"}]},17451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VersionInfo=void 0;class VersionInfo{static getAttributeTypeMap(){return VersionInfo.attributeTypeMap}}t.VersionInfo=VersionInfo;VersionInfo.discriminator=undefined;VersionInfo.attributeTypeMap=[{name:"buildDate",baseName:"buildDate",type:"string"},{name:"compiler",baseName:"compiler",type:"string"},{name:"gitCommit",baseName:"gitCommit",type:"string"},{name:"gitTreeState",baseName:"gitTreeState",type:"string"},{name:"gitVersion",baseName:"gitVersion",type:"string"},{name:"goVersion",baseName:"goVersion",type:"string"},{name:"major",baseName:"major",type:"string"},{name:"minor",baseName:"minor",type:"string"},{name:"platform",baseName:"platform",type:"string"}]},89679:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(14958),t);n.__exportStar(i(5434),t);n.__exportStar(i(56664),t);n.__exportStar(i(48698),t);n.__exportStar(i(7633),t);n.__exportStar(i(62864),t);n.__exportStar(i(32390),t);n.__exportStar(i(74949),t);n.__exportStar(i(18122),t);n.__exportStar(i(44756),t);n.__exportStar(i(88029),t);n.__exportStar(i(23091),t);n.__exportStar(i(12743),t);n.__exportStar(i(54815),t);n.__exportStar(i(91188),t)},88029:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeInformer=t.ERROR=t.DELETE=t.UPDATE=t.ADD=void 0;const n=i(5434);const r=i(7633);t.ADD="add";t.UPDATE="update";t.DELETE="delete";t.ERROR="error";function makeInformer(e,t,i){const s=new r.Watch(e);return new n.ListWatch(t,s,i,false)}t.makeInformer=makeInformer},44756:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Log=void 0;const n=i(75636);const r=i(48699);class Log{constructor(e){this.config=e}log(e,t,i,s,a,o={}){return n.__awaiter(this,void 0,void 0,function*(){const n=`/api/v1/namespaces/${e}/pods/${t}/log`;const u=this.config.getCurrentCluster();if(!u){throw new Error("No currently active cluster")}const c=u.server+n;const l={method:"GET",qs:Object.assign(Object.assign({},o),{container:i}),uri:c};yield this.config.applyToRequest(l);const p=r(l,(e,t,i)=>{if(e){a(e)}else if(t&&t.statusCode!==200){a(i)}else{a(null)}}).on("response",e=>{if(e.statusCode===200){p.pipe(s)}});return p})}}t.Log=Log},12743:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.KubernetesObjectApi=void 0;const n=i(75636);const r=i(48699);const s=i(56664);var a;(function(e){e["JsonPatch"]="application/json-patch+json";e["MergePatch"]="application/merge-patch+json";e["StrategicMergePatch"]="application/strategic-merge-patch+json"})(a||(a={}));class KubernetesObjectApi extends s.ApisApi{constructor(){super(...arguments);this.defaultNamespace="default";this.apiVersionResourceCache={}}static makeApiClient(e){const t=e.makeApiClient(KubernetesObjectApi);t.setDefaultNamespace(e);return t}create(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling create.")}const n=yield this.specUriPath(e,"create");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){o.fieldManager=s.ObjectSerializer.serialize(r,"string")}const c={method:"POST",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"KubernetesObject")};return this.requestPromise(c)})}delete(e,t,i,r,a,o,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling delete.")}const n=yield this.specUriPath(e,"delete");const l={};const p=this.generateHeaders(c.headers);if(t!==undefined){l.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){l.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){l.gracePeriodSeconds=s.ObjectSerializer.serialize(r,"number")}if(a!==undefined){l.orphanDependents=s.ObjectSerializer.serialize(a,"boolean")}if(o!==undefined){l.propagationPolicy=s.ObjectSerializer.serialize(o,"string")}const d={method:"DELETE",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"V1DeleteOptions")};return this.requestPromise(d,"V1Status")})}patch(e,t,i,r,a,o={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling patch.")}const n=yield this.specUriPath(e,"patch");const u={};const c=this.generateHeaders(o.headers,"PATCH");if(t!==undefined){u.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){u.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){u.fieldManager=s.ObjectSerializer.serialize(r,"string")}if(a!==undefined){u.force=s.ObjectSerializer.serialize(a,"boolean")}const l={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"object")};return this.requestPromise(l)})}read(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling read.")}const n=yield this.specUriPath(e,"read");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.exact=s.ObjectSerializer.serialize(i,"boolean")}if(r!==undefined){o.export=s.ObjectSerializer.serialize(r,"boolean")}const c={method:"GET",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};return this.requestPromise(c)})}replace(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling replace.")}const n=yield this.specUriPath(e,"replace");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){o.fieldManager=s.ObjectSerializer.serialize(r,"string")}const c={method:"PUT",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"KubernetesObject")};return this.requestPromise(c)})}setDefaultNamespace(e){if(e.currentContext){const t=e.getContextObject(e.currentContext);if(t&&t.namespace){this.defaultNamespace=t.namespace}}return this.defaultNamespace}specUriPath(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(!e.kind){throw new Error("Required spec property kind is not set")}if(!e.apiVersion){e.apiVersion="v1"}if(!e.metadata){e.metadata={}}const i=yield this.resource(e.apiVersion,e.kind);if(!i){throw new Error(`Unrecognized API version and kind: ${e.apiVersion} ${e.kind}`)}if(i.namespaced&&!e.metadata.namespace){e.metadata.namespace=this.defaultNamespace}const n=[this.apiVersionPath(e.apiVersion)];if(i.namespaced&&e.metadata.namespace){n.push("namespaces",encodeURIComponent(String(e.metadata.namespace)))}n.push(i.name);if(t!=="create"){if(!e.metadata.name){throw new Error("Required spec property name is not set")}n.push(encodeURIComponent(String(e.metadata.name)))}return n.join("/").toLowerCase()})}apiVersionPath(e){const t=e.includes("/")?"apis":"api";return[this.basePath,t,e].join("/")}generateHeaders(e,t="GET"){const i=Object.assign({},this._defaultHeaders);i.accept="application/json";if(t==="PATCH"){i["content-type"]=a.StrategicMergePatch}Object.assign(i,e);return i}resource(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter apiVersion was null or undefined when calling resource")}if(t===null||t===undefined){throw new Error("Required parameter kind was null or undefined when calling resource")}if(this.apiVersionResourceCache[e]){const i=this.apiVersionResourceCache[e].resources.find(e=>e.kind===t);if(i){return i}}const i=this.apiVersionPath(e);const n={};const r=this.generateHeaders({});const s={method:"GET",qs:n,headers:r,uri:i,useQuerystring:this._useQuerystring,json:true};try{const i=yield this.requestPromise(s,"V1APIResourceList");this.apiVersionResourceCache[e]=i.body;return this.apiVersionResourceCache[e].resources.find(e=>e.kind===t)}catch(i){i.message=`Failed to fetch resource metadata for ${e}/${t}: ${i.message}`;throw i}})}requestPromise(e,t="KubernetesObject"){return n.__awaiter(this,void 0,void 0,function*(){let i=Promise.resolve();if(this.authentications.BearerToken.apiKey){i=i.then(()=>this.authentications.BearerToken.applyToRequest(e))}i=i.then(()=>this.authentications.default.applyToRequest(e));let n=i;for(const t of this.interceptors){n=n.then(()=>t(e))}yield n;return new Promise((i,n)=>{r(e,(e,r,a)=>{if(e){n(e)}else{a=s.ObjectSerializer.deserialize(a,t);if(r.statusCode&&r.statusCode>=200&&r.statusCode<=299){i({response:r,body:a})}else{n(new s.HttpError(r,a,r.statusCode))}}})})})}}t.KubernetesObjectApi=KubernetesObjectApi},41691:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OpenIDConnectAuth=void 0;const n=i(75636);const r=i(53140);const s=i(3487);const a=i(31669);class OpenIDConnectAuth{constructor(){this.currentTokenExpiration=0}static decodeJWT(e){const t=e.split(".");if(t.length!==3){return null}const i=JSON.parse((new a.TextDecoder).decode(s.base64url.parse(t[0],{loose:true})));const n=JSON.parse((new a.TextDecoder).decode(s.base64url.parse(t[1],{loose:true})));const r=t[2];return{header:i,payload:n,signature:r}}static expirationFromToken(e){const t=OpenIDConnectAuth.decodeJWT(e);if(!t){return 0}return t.payload.exp}isAuthProvider(e){if(!e.authProvider){return false}return e.authProvider.name==="oidc"}applyAuthentication(e,t,i){return n.__awaiter(this,void 0,void 0,function*(){const n=yield this.getToken(e,i);if(n){t.headers.Authorization=`Bearer ${n}`}})}getToken(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(!e.authProvider.config){return null}if(!e.authProvider.config["client-secret"]){e.authProvider.config["client-secret"]=""}if(!e.authProvider.config||!e.authProvider.config["id-token"]){return null}return this.refresh(e,t)})}refresh(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(this.currentTokenExpiration===0){this.currentTokenExpiration=OpenIDConnectAuth.expirationFromToken(e.authProvider.config["id-token"])}if(Date.now()/1e3>this.currentTokenExpiration){if(!e.authProvider.config["client-id"]||!e.authProvider.config["refresh-token"]||!e.authProvider.config["idp-issuer-url"]){return null}const i=t?t:yield this.getClient(e);const n=yield i.refresh(e.authProvider.config["refresh-token"]);e.authProvider.config["id-token"]=n.id_token;e.authProvider.config["refresh-token"]=n.refresh_token;this.currentTokenExpiration=n.expires_at||0}return e.authProvider.config["id-token"]})}getClient(e){return n.__awaiter(this,void 0,void 0,function*(){const t=yield r.Issuer.discover(e.authProvider.config["idp-issuer-url"]);return new t.Client({client_id:e.authProvider.config["client-id"],client_secret:e.authProvider.config["client-secret"]})})}}t.OpenIDConnectAuth=OpenIDConnectAuth},91188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PatchUtils=void 0;class PatchUtils{}t.PatchUtils=PatchUtils;PatchUtils.PATCH_FORMAT_JSON_PATCH="application/json-patch+json";PatchUtils.PATCH_FORMAT_JSON_MERGE_PATCH="application/merge-patch+json";PatchUtils.PATCH_FORMAT_STRATEGIC_MERGE_PATCH="application/strategic-merge-patch+json";PatchUtils.PATCH_FORMAT_APPLY_YAML="application/apply-patch+yaml"},32390:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PortForward=void 0;const n=i(75636);const r=i(71191);const s=i(31669);const a=i(47581);class PortForward{constructor(e,t,i){this.handler=i||new a.WebSocketHandler(e);this.disconnectOnErr=s.isUndefined(t)?true:t}portForward(e,t,i,s,o,u,c=0){return n.__awaiter(this,void 0,void 0,function*(){if(i.length===0){throw new Error("You must provide at least one port to forward to.")}if(i.length>1){throw new Error("Only one port is currently supported for port-forward")}const n={ports:i[0]};const l=r.stringify(n);const p=[];i.forEach((e,t)=>{p[t*2]=true;p[t*2+1]=true});const d=`/api/v1/namespaces/${e}/pods/${t}/portforward?${l}`;const f=()=>{return this.handler.connect(d,null,(e,t)=>{if(e>=i.length*2){return!this.disconnectOnErr}if(p[e]){t=t.slice(2);p[e]=false}if(e%2===1){if(o){o.write(t)}}else{s.write(t)}return true})};if(c<1){const e=yield f();a.WebSocketHandler.handleStandardInput(e,u,0);return e}return a.WebSocketHandler.restartableHandleStandardInput(f,u,0,c)})}}t.PortForward=PortForward},76023:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isResizable=t.TerminalSizeQueue=void 0;const n=i(92413);class TerminalSizeQueue extends n.Readable{constructor(e={}){super(Object.assign(Object.assign({},e),{read(){}}))}handleResizes(e){this.resize(getTerminalSize(e));e.on("resize",()=>this.resize(getTerminalSize(e)))}resize(e){this.push(JSON.stringify(e))}}t.TerminalSizeQueue=TerminalSizeQueue;function isResizable(e){if(e==null){return false}const t="rows"in e;const i="columns"in e;const n=typeof e.on==="function";return t&&i&&n}t.isResizable=isResizable;function getTerminalSize(e){return{height:e.rows,width:e.columns}}},23091:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.topNodes=t.NodeStatus=t.ResourceUsage=void 0;const n=i(75636);const r=i(26318);class ResourceUsage{constructor(e,t,i){this.Capacity=e;this.RequestTotal=t;this.LimitTotal=i}}t.ResourceUsage=ResourceUsage;class NodeStatus{constructor(e,t,i){this.Node=e;this.CPU=t;this.Memory=i}}t.NodeStatus=NodeStatus;function topNodes(e){return n.__awaiter(this,void 0,void 0,function*(){const t=yield e.listNode();const i=[];for(const n of t.body.items){const t=r.quantityToScalar(n.status.allocatable.cpu);const s=r.quantityToScalar(n.status.allocatable.memory);let a=0;let o=0;let u=0;let c=0;let l=yield r.podsForNode(e,n.metadata.name);l=l.filter(e=>e.status.phase==="Running");l.forEach(e=>{const t=r.totalCPU(e);a+=t.request;o+=t.limit;const i=r.totalMemory(e);u+=i.request;c+=i.limit});const p=new ResourceUsage(t,a,o);const d=new ResourceUsage(s,u,c);i.push(new NodeStatus(n,p,d))}return i})}t.topNodes=topNodes},74949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},26318:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.totalForResource=t.totalMemory=t.totalCPU=t.ResourceStatus=t.quantityToScalar=t.podsForNode=void 0;const n=i(75636);function podsForNode(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=yield e.listPodForAllNamespaces();return i.body.items.filter(e=>e.spec.nodeName===t)})}t.podsForNode=podsForNode;function quantityToScalar(e){if(!e){return 0}if(e.endsWith("m")){return parseInt(e.substr(0,e.length-1),10)/1e3}if(e.endsWith("Ki")){return parseInt(e.substr(0,e.length-2),10)*1024}const t=parseInt(e,10);if(isNaN(t)){throw new Error("Unknown quantity "+e)}return t}t.quantityToScalar=quantityToScalar;class ResourceStatus{constructor(e,t,i){this.request=e;this.limit=t;this.resourceType=i}}t.ResourceStatus=ResourceStatus;function totalCPU(e){return totalForResource(e,"cpu")}t.totalCPU=totalCPU;function totalMemory(e){return totalForResource(e,"memory")}t.totalMemory=totalMemory;function totalForResource(e,t){let i=0;let n=0;e.spec.containers.forEach(e=>{if(e.resources){if(e.resources.requests){i+=quantityToScalar(e.resources.requests[t])}if(e.resources.limits){n+=quantityToScalar(e.resources.limits[t])}}});return new ResourceStatus(i,n,t)}t.totalForResource=totalForResource},7633:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Watch=t.DefaultRequest=void 0;const n=i(75636);const r=i(29700);const s=i(48699);class DefaultRequest{constructor(e){this.requestImpl=e?e:s}webRequest(e){const t=this.requestImpl(e);t.pause();t.on("response",e=>{if(e.statusCode===200){t.resume()}else{t.emit("error",new Error(e.statusMessage))}});return t}}t.DefaultRequest=DefaultRequest;class Watch{constructor(e,t){this.config=e;if(t){this.requestImpl=t}else{this.requestImpl=new DefaultRequest}}watch(e,t,i,s){return n.__awaiter(this,void 0,void 0,function*(){const n=this.config.getCurrentCluster();if(!n){throw new Error("No currently active cluster")}const a=n.server+e;t.watch=true;const o={};const u={method:"GET",qs:t,headers:o,uri:a,useQuerystring:true,json:true,pool:false};yield this.config.applyToRequest(u);let c;let l=false;const p=e=>{if(!l){c.abort();l=true;s(e)}};c=this.requestImpl.webRequest(u);const d=r.createStream();c.on("error",p);d.on("error",p);d.on("close",()=>p(null));d.on("data",e=>{try{const t=JSON.parse(e);i(t.type,t.object,t)}catch(e){}});c.pipe(d);return c})}}t.Watch=Watch;Watch.SERVER_SIDE_CLOSE={error:"Connection closed on server"}},47581:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WebSocketHandler=void 0;const n=i(75636);const r=i(64713);const s=["v4.channel.k8s.io","v3.channel.k8s.io","v2.channel.k8s.io","channel.k8s.io"];class WebSocketHandler{constructor(e,t){this.config=e;this.socketFactory=t}static handleStandardStreams(e,t,i,n){if(t.length<1){return null}if(i&&e===WebSocketHandler.StdoutStream){i.write(t)}else if(n&&e===WebSocketHandler.StderrStream){n.write(t)}else if(e===WebSocketHandler.StatusStream){if(i&&i!==process.stdout){i.end()}if(n&&n!==process.stderr){n.end()}return JSON.parse(t.toString("utf8"))}else{throw new Error("Unknown stream: "+e)}return null}static handleStandardInput(e,t,i=0){t.on("data",t=>{const n=Buffer.alloc(t.length+1);n.writeInt8(i,0);if(t instanceof Buffer){t.copy(n,1)}else{n.write(t,1)}e.send(n)});t.on("end",()=>{e.close()});return true}static processData(e,t,i,s=0,a=3){return n.__awaiter(this,void 0,void 0,function*(){const n=Buffer.alloc(e.length+1);n.writeInt8(s,0);if(e instanceof Buffer){e.copy(n,1)}else{n.write(e,1)}let o=0;for(;o=a){throw new Error("can't send data to ws")}return t})}static restartableHandleStandardInput(e,t,i=0,r=3){if(r<0){throw new Error("retryCount can't be lower than 0.")}let s=Promise.resolve();let a=null;t.on("data",t=>{s=s.then(()=>n.__awaiter(this,void 0,void 0,function*(){a=yield WebSocketHandler.processData(t,a,e,i,r)}))});t.on("end",()=>{if(a){a.close()}});return()=>a}connect(e,t,i){return n.__awaiter(this,void 0,void 0,function*(){const n=this.config.getCurrentCluster();if(!n){throw new Error("No cluster is defined.")}const a=n.server;const o=a.startsWith("https://");const u=o?a.substr(8):a.substr(7);const c=o?"wss":"ws";const l=`${c}://${u}${e}`;const p={};yield this.config.applytoHTTPSOptions(p);return yield new Promise((e,n)=>{const a=this.socketFactory?this.socketFactory(l,p):new r(l,s,p);let o=false;a.onopen=(()=>{o=true;e(a)});a.onerror=(e=>{if(!o){n(e)}});a.onmessage=(({data:e})=>{if(typeof e==="string"){if(t&&!t(e)){a.close()}}else if(e instanceof Buffer){const t=e.readInt8(0);if(i&&!i(t,e.slice(1))){a.close()}}})})})}}t.WebSocketHandler=WebSocketHandler;WebSocketHandler.StdinStream=0;WebSocketHandler.StdoutStream=1;WebSocketHandler.StderrStream=2;WebSocketHandler.StatusStream=3;WebSocketHandler.ResizeStream=4},18122:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.dumpYaml=t.loadAllYaml=t.loadYaml=void 0;const n=i(21917);function loadYaml(e,t){return n.safeLoad(e,t)}t.loadYaml=loadYaml;function loadAllYaml(e,t){return n.safeLoadAll(e,undefined,t)}t.loadAllYaml=loadAllYaml;function dumpYaml(e,t){return n.safeDump(e,t)}t.dumpYaml=dumpYaml},40334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});async function auth(e){const t=e.split(/\./).length===3?"app":/^v\d+\./.test(e)?"installation":"oauth";return{type:"token",token:e,tokenType:t}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,i,n){const r=t.endpoint.merge(i,n);r.headers.authorization=withAuthorizationPrefix(e);return t(r)}const i=function createTokenAuth(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)})};t.createTokenAuth=i},76762:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(45030);var r=i(83682);var s=i(36234);var a=i(88467);var o=i(40334);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={};var n=Object.keys(e);var r,s;for(s=0;s=0)continue;i[r]=e[r]}return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t);var n,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,n))continue;i[n]=e[n]}}return i}const u="3.2.1";class Octokit{constructor(e={}){const t=new r.Collection;const i={baseUrl:s.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};i.headers["user-agent"]=[e.userAgent,`octokit-core.js/${u} ${n.getUserAgent()}`].filter(Boolean).join(" ");if(e.baseUrl){i.baseUrl=e.baseUrl}if(e.previews){i.mediaType.previews=e.previews}if(e.timeZone){i.headers["time-zone"]=e.timeZone}this.request=s.request.defaults(i);this.graphql=a.withCustomRequest(this.request).defaults(i);this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=(async()=>({type:"unauthenticated"}))}else{const i=o.createTokenAuth(e.auth);t.wrap("request",i.hook);this.auth=i}}else{const{authStrategy:i}=e,n=_objectWithoutProperties(e,["authStrategy"]);const r=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",r.hook);this.auth=r}const c=this.constructor;c.plugins.forEach(t=>{Object.assign(this,t(this,e))})}static defaults(e){const t=class extends(this){constructor(...t){const i=t[0]||{};if(typeof e==="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.userAgent} ${e.userAgent}`}:null))}};return t}static plugin(...e){var t;const i=this.plugins;const n=(t=class extends(this){},t.plugins=i.concat(e.filter(e=>!i.includes(e))),t);return n}}Octokit.VERSION=u;Octokit.plugins=[];t.Octokit=Octokit},59440:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(70558);var r=i(45030);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((t,i)=>{t[i.toLowerCase()]=e[i];return t},{})}function mergeDeep(e,t){const i=Object.assign({},e);Object.keys(t).forEach(r=>{if(n.isPlainObject(t[r])){if(!(r in e))Object.assign(i,{[r]:t[r]});else i[r]=mergeDeep(e[r],t[r])}else{Object.assign(i,{[r]:t[r]})}});return i}function removeUndefinedProperties(e){for(const t in e){if(e[t]===undefined){delete e[t]}}return e}function merge(e,t,i){if(typeof t==="string"){let[e,n]=t.split(" ");i=Object.assign(n?{method:e,url:n}:{url:e},i)}else{i=Object.assign({},t)}i.headers=lowercaseKeys(i.headers);removeUndefinedProperties(i);removeUndefinedProperties(i.headers);const n=mergeDeep(e||{},i);if(e&&e.mediaType.previews.length){n.mediaType.previews=e.mediaType.previews.filter(e=>!n.mediaType.previews.includes(e)).concat(n.mediaType.previews)}n.mediaType.previews=n.mediaType.previews.map(e=>e.replace(/-preview/,""));return n}function addQueryParameters(e,t){const i=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+i+n.map(e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`}).join("&")}const s=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(s);if(!t){return[]}return t.map(removeNonChars).reduce((e,t)=>e.concat(t),[])}function omit(e,t){return Object.keys(e).filter(e=>!t.includes(e)).reduce((t,i)=>{t[i]=e[i];return t},{})}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,t,i){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(i){return encodeUnreserved(i)+"="+t}else{return t}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,i,n){var r=e[i],s=[];if(isDefined(r)&&r!==""){if(typeof r==="string"||typeof r==="number"||typeof r==="boolean"){r=r.toString();if(n&&n!=="*"){r=r.substring(0,parseInt(n,10))}s.push(encodeValue(t,r,isKeyOperator(t)?i:""))}else{if(n==="*"){if(Array.isArray(r)){r.filter(isDefined).forEach(function(e){s.push(encodeValue(t,e,isKeyOperator(t)?i:""))})}else{Object.keys(r).forEach(function(e){if(isDefined(r[e])){s.push(encodeValue(t,r[e],e))}})}}else{const e=[];if(Array.isArray(r)){r.filter(isDefined).forEach(function(i){e.push(encodeValue(t,i))})}else{Object.keys(r).forEach(function(i){if(isDefined(r[i])){e.push(encodeUnreserved(i));e.push(encodeValue(t,r[i].toString()))}})}if(isKeyOperator(t)){s.push(encodeUnreserved(i)+"="+e.join(","))}else if(e.length!==0){s.push(e.join(","))}}}}else{if(t===";"){if(isDefined(r)){s.push(encodeUnreserved(i))}}else if(r===""&&(t==="&"||t==="?")){s.push(encodeUnreserved(i)+"=")}else if(r===""){s.push("")}}return s}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var i=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,n,r){if(n){let e="";const r=[];if(i.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach(function(i){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(i);r.push(getValues(t,e,n[1],n[2]||n[3]))});if(e&&e!=="+"){var s=",";if(e==="?"){s="&"}else if(e!=="#"){s=e}return(r.length!==0?e:"")+r.join(s)}else{return r.join(",")}}else{return encodeReserved(r)}})}function parse(e){let t=e.method.toUpperCase();let i=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let r;let s=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const a=extractUrlVariableNames(i);i=parseUrl(i).expand(s);if(!/^http/.test(i)){i=e.baseUrl+i}const o=Object.keys(e).filter(e=>a.includes(e)).concat("baseUrl");const u=omit(s,o);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map(t=>{const i=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${i}`}).join(",")}}if(["GET","HEAD"].includes(t)){i=addQueryParameters(i,u)}else{if("data"in u){r=u.data}else{if(Object.keys(u).length){r=u}else{n["content-length"]=0}}}if(!n["content-type"]&&typeof r!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof r==="undefined"){r=""}return Object.assign({method:t,url:i,headers:n},typeof r!=="undefined"?{body:r}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,i){return parse(merge(e,t,i))}function withDefaults(e,t){const i=merge(e,t);const n=endpointWithDefaults.bind(null,i);return Object.assign(n,{DEFAULTS:i,defaults:withDefaults.bind(null,i),merge:merge.bind(null,i),parse:parse})}const a="6.0.9";const o=`octokit-endpoint.js/${a} ${r.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":o},mediaType:{format:"",previews:[]}};const c=withDefaults(null,u);t.endpoint=c},70558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,i;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;i=t.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},88467:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(36234);var r=i(45030);const s="4.5.7";class GraphqlError extends Error{constructor(e,t){const i=t.data.errors[0].message;super(i);Object.assign(this,t.data);Object.assign(this,{headers:t.headers});this.name="GraphqlError";this.request=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}const a=["method","baseUrl","url","headers","request","query","mediaType"];const o=/\/api\/v3\/?$/;function graphql(e,t,i){if(typeof t==="string"&&i&&"query"in i){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}const n=typeof t==="string"?Object.assign({query:t},i):t;const r=Object.keys(n).reduce((e,t)=>{if(a.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e},{});const s=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(o.test(s)){r.url=s.replace(o,"/api/graphql")}return e(r).then(e=>{if(e.data.errors){const t={};for(const i of Object.keys(e.headers)){t[i]=e.headers[i]}throw new GraphqlError(r,{headers:t,data:e.data})}return e.data.data})}function withDefaults(e,t){const i=e.defaults(t);const r=(e,t)=>{return graphql(i,e,t)};return Object.assign(r,{defaults:withDefaults.bind(null,i),endpoint:n.request.endpoint})}const u=withDefaults(n.request,{headers:{"user-agent":`octokit-graphql.js/${s} ${r.getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}t.graphql=u;t.withCustomRequest=withCustomRequest},64193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i="2.6.0";function normalizePaginatedListResponse(e){const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const i=e.data.incomplete_results;const n=e.data.repository_selection;const r=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const s=Object.keys(e.data)[0];const a=e.data[s];e.data=a;if(typeof i!=="undefined"){e.data.incomplete_results=i}if(typeof n!=="undefined"){e.data.repository_selection=n}e.data.total_count=r;return e}function iterator(e,t,i){const n=typeof t==="function"?t.endpoint(i):e.request.endpoint(t,i);const r=typeof t==="function"?t:e.request;const s=n.method;const a=n.headers;let o=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!o)return{done:true};const e=await r({method:s,url:o,headers:a});const t=normalizePaginatedListResponse(e);o=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}})}}function paginate(e,t,i,n){if(typeof i==="function"){n=i;i=undefined}return gather(e,[],iterator(e,t,i)[Symbol.asyncIterator](),n)}function gather(e,t,i,n){return i.next().then(r=>{if(r.done){return t}let s=false;function done(){s=true}t=t.concat(n?n(r.value,done):r.value.data);if(s){return t}return gather(e,t,i,n)})}const n=Object.assign(paginate,{iterator:iterator});function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=i;t.composePaginateRest=n;t.paginateRest=paginateRest},83044:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i={actions:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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}"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],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"],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"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]},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"],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}"],checkToken:["POST /applications/{client_id}/token"],createContentAttachment:["POST /content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],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"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],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"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"]},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",{mediaType:{previews:["antiope"]}}],createSuite:["POST /repos/{owner}/{repo}/check-suites",{mediaType:{previews:["antiope"]}}],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",{mediaType:{previews:["antiope"]}}],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",{mediaType:{previews:["antiope"]}}],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs",{mediaType:{previews:["antiope"]}}],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",{mediaType:{previews:["antiope"]}}],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites",{mediaType:{previews:["antiope"]}}],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",{mediaType:{previews:["antiope"]}}],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences",{mediaType:{previews:["antiope"]}}],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}]},codeScanning:{getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct",{mediaType:{previews:["scarlet-witch"]}}],getConductCode:["GET /codes_of_conduct/{key}",{mediaType:{previews:["scarlet-witch"]}}],getForRepo:["GET /repos/{owner}/{repo}/community/code_of_conduct",{mediaType:{previews:["scarlet-witch"]}}]},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:{getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",{mediaType:{previews:["mockingbird"]}}],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],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"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],listForAuthenticatedUser:["GET /user/migrations",{mediaType:{previews:["wyandotte"]}}],listForOrg:["GET /orgs/{org}/migrations",{mediaType:{previews:["wyandotte"]}}],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{blockUser:["PUT /orgs/{org}/blocks/{username}"],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}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],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"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],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}"],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}"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],createCard:["POST /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],createColumn:["POST /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],createForAuthenticatedUser:["POST /user/projects",{mediaType:{previews:["inertia"]}}],createForOrg:["POST /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],createForRepo:["POST /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],delete:["DELETE /projects/{project_id}",{mediaType:{previews:["inertia"]}}],deleteCard:["DELETE /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],deleteColumn:["DELETE /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],get:["GET /projects/{project_id}",{mediaType:{previews:["inertia"]}}],getCard:["GET /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],getColumn:["GET /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission",{mediaType:{previews:["inertia"]}}],listCards:["GET /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],listCollaborators:["GET /projects/{project_id}/collaborators",{mediaType:{previews:["inertia"]}}],listColumns:["GET /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],listForOrg:["GET /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],listForRepo:["GET /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],listForUser:["GET /users/{username}/projects",{mediaType:{previews:["inertia"]}}],moveCard:["POST /projects/columns/cards/{card_id}/moves",{mediaType:{previews:["inertia"]}}],moveColumn:["POST /projects/columns/{column_id}/moves",{mediaType:{previews:["inertia"]}}],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],update:["PATCH /projects/{project_id}",{mediaType:{previews:["inertia"]}}],updateCard:["PATCH /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],updateColumn:["PATCH /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],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",{mediaType:{previews:["lydian"]}}],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteLegacy:["DELETE /reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}},{deprecated:"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy"}],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createPagesSite:["POST /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],createRelease:["POST /repos/{owner}/{repo}/releases"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate",{mediaType:{previews:["baptiste"]}}],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],downloadArchive:["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile",{mediaType:{previews:["black-panther"]}}],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head",{mediaType:{previews:["groot"]}}],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],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",{mediaType:{previews:["groot"]}}],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],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"}],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],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}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_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}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits",{mediaType:{previews:["cloak"]}}],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics",{mediaType:{previews:["mercy"]}}],users:["GET /search/users"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects",{mediaType:{previews:["inertia"]}}],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],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"],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"],createPublicSshKeyForAuthenticated:["POST /user/keys"],deleteEmailForAuthenticated:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{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}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};const n="4.2.1";function endpointsToMethods(e,t){const i={};for(const[n,r]of Object.entries(t)){for(const[t,s]of Object.entries(r)){const[r,a,o]=s;const[u,c]=r.split(/ /);const l=Object.assign({method:u,url:c},a);if(!i[n]){i[n]={}}const p=i[n];if(o){p[t]=decorate(e,n,t,l,o);continue}p[t]=e.request.defaults(l)}}return i}function decorate(e,t,i,n,r){const s=e.request.defaults(n);function withDecorations(...n){let a=s.endpoint.merge(...n);if(r.mapToData){a=Object.assign({},a,{data:a[r.mapToData],[r.mapToData]:undefined});return s(a)}if(r.renamed){const[n,s]=r.renamed;e.log.warn(`octokit.${t}.${i}() has been renamed to octokit.${n}.${s}()`)}if(r.deprecated){e.log.warn(r.deprecated)}if(r.renamedParameters){const a=s.endpoint.merge(...n);for(const[n,s]of Object.entries(r.renamedParameters)){if(n in a){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${i}()". Use "${s}" instead`);if(!(s in a)){a[s]=a[n]}delete a[n]}}return s(a)}return s(...n)}return Object.assign(withDecorations,s)}function restEndpointMethods(e){return endpointsToMethods(e,i)}restEndpointMethods.VERSION=n;t.restEndpointMethods=restEndpointMethods},10537:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=i(58932);var r=_interopDefault(i(1223));const s=r(e=>console.warn(e));class RequestError extends Error{constructor(e,t,i){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;Object.defineProperty(this,"code",{get(){s(new n.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});this.headers=i.headers||{};const r=Object.assign({},i.request);if(i.request.headers.authorization){r.headers=Object.assign({},i.request.headers,{authorization:i.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}r.url=r.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=r}}t.RequestError=RequestError},36234:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=i(59440);var r=i(45030);var s=i(49062);var a=_interopDefault(i(80467));var o=i(10537);const u="5.4.10";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(s.isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let t={};let i;let n;const r=e.request&&e.request.fetch||a;return r(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(r=>{n=r.url;i=r.status;for(const e of r.headers){t[e[0]]=e[1]}if(i===204||i===205){return}if(e.method==="HEAD"){if(i<400){return}throw new o.RequestError(r.statusText,i,{headers:t,request:e})}if(i===304){throw new o.RequestError("Not modified",i,{headers:t,request:e})}if(i>=400){return r.text().then(n=>{const r=new o.RequestError(n,i,{headers:t,request:e});try{let e=JSON.parse(r.message);Object.assign(r,e);let t=e.errors;r.message=r.message+": "+t.map(JSON.stringify).join(", ")}catch(e){}throw r})}const s=r.headers.get("content-type");if(/application\/json/.test(s)){return r.json()}if(!s||/^text\/|charset=utf-8$/.test(s)){return r.text()}return getBufferResponse(r)}).then(e=>{return{status:i,url:n,headers:t,data:e}}).catch(i=>{if(i instanceof o.RequestError){throw i}throw new o.RequestError(i.message,500,{headers:t,request:e})})}function withDefaults(e,t){const i=e.defaults(t);const n=function(e,t){const n=i.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(i.parse(n))}const r=(e,t)=>{return fetchWrapper(i.parse(i.merge(e,t)))};Object.assign(r,{endpoint:i,defaults:withDefaults.bind(null,i)});return n.request.hook(r,n)};return Object.assign(n,{endpoint:i,defaults:withDefaults.bind(null,i)})}const c=withDefaults(n.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${r.getUserAgent()}`}});t.request=c},49062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,i;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;i=t.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},39436:(e,t,i)=>{const{define:n}=i(93998);const r=i(33318);const s=i(90998);const a=i(5017);const o=i(2246);e.exports={base:r,constants:s,decoders:a,define:n,encoders:o}},93998:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(2246);const s=i(5017);e.exports.define=function define(e,t){return new Entity(e,t)};function Entity(e,t){this.name=e;this.body=t;this.decoders={};this.encoders={}}Entity.prototype._createNamed=function createNamed(e){const t=this.name;function Generated(e){this._initNamed(e,t)}n(Generated,e);Generated.prototype._initNamed=function _initNamed(t,i){e.call(this,t,i)};return new Generated(this)};Entity.prototype._getDecoder=function _getDecoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.decoders,e)){this.decoders[e]=this._createNamed(s[e])}return this.decoders[e]};Entity.prototype.decode=function decode(e,t,i){return this._getDecoder(t).decode(e,i)};Entity.prototype._getEncoder=function _getEncoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.encoders,e)){this.encoders[e]=this._createNamed(r[e])}return this.encoders[e]};Entity.prototype.encode=function encode(e,t,i){return this._getEncoder(t).encode(e,i)}},28424:(e,t,i)=>{const{inherits:n}=i(31669);const{Reporter:r}=i(93026);function DecoderBuffer(e,t){r.call(this,t);if(!Buffer.isBuffer(e)){this.error("Input not Buffer");return}this.base=e;this.offset=0;this.length=e.length}n(DecoderBuffer,r);DecoderBuffer.isDecoderBuffer=function isDecoderBuffer(e){if(e instanceof DecoderBuffer){return true}const t=typeof e==="object"&&Buffer.isBuffer(e.base)&&e.constructor.name==="DecoderBuffer"&&typeof e.offset==="number"&&typeof e.length==="number"&&typeof e.save==="function"&&typeof e.restore==="function"&&typeof e.isEmpty==="function"&&typeof e.readUInt8==="function"&&typeof e.skip==="function"&&typeof e.raw==="function";return t};DecoderBuffer.prototype.save=function save(){return{offset:this.offset,reporter:r.prototype.save.call(this)}};DecoderBuffer.prototype.restore=function restore(e){const t=new DecoderBuffer(this.base);t.offset=e.offset;t.length=this.offset;this.offset=e.offset;r.prototype.restore.call(this,e.reporter);return t};DecoderBuffer.prototype.isEmpty=function isEmpty(){return this.offset===this.length};DecoderBuffer.prototype.readUInt8=function readUInt8(e){if(this.offset+1<=this.length){return this.base.readUInt8(this.offset++,true)}else{return this.error(e||"DecoderBuffer overrun")}};DecoderBuffer.prototype.skip=function skip(e,t){if(!(this.offset+e<=this.length)){return this.error(t||"DecoderBuffer overrun")}const i=new DecoderBuffer(this.base);i._reporterState=this._reporterState;i.offset=this.offset;i.length=this.offset+e;this.offset+=e;return i};DecoderBuffer.prototype.raw=function raw(e){return this.base.slice(e?e.offset:this.offset,this.length)};function EncoderBuffer(e,t){if(Array.isArray(e)){this.length=0;this.value=e.map(function(e){if(!EncoderBuffer.isEncoderBuffer(e)){e=new EncoderBuffer(e,t)}this.length+=e.length;return e},this)}else if(typeof e==="number"){if(!(e>=0&&e<=255)){return t.error("non-byte EncoderBuffer value")}this.value=e;this.length=1}else if(typeof e==="string"){this.value=e;this.length=Buffer.byteLength(e)}else if(Buffer.isBuffer(e)){this.value=e;this.length=e.length}else{return t.error(`Unsupported type: ${typeof e}`)}}EncoderBuffer.isEncoderBuffer=function isEncoderBuffer(e){if(e instanceof EncoderBuffer){return true}const t=typeof e==="object"&&e.constructor.name==="EncoderBuffer"&&typeof e.length==="number"&&typeof e.join==="function";return t};EncoderBuffer.prototype.join=function join(e,t){if(!e){e=Buffer.alloc(this.length)}if(!t){t=0}if(this.length===0){return e}if(Array.isArray(this.value)){this.value.forEach(function(i){i.join(e,t);t+=i.length})}else{if(typeof this.value==="number"){e[t]=this.value}else if(typeof this.value==="string"){e.write(this.value,t)}else if(Buffer.isBuffer(this.value)){this.value.copy(e,t)}t+=this.length}return e};e.exports={DecoderBuffer:DecoderBuffer,EncoderBuffer:EncoderBuffer}},33318:(e,t,i)=>{const{Reporter:n}=i(93026);const{DecoderBuffer:r,EncoderBuffer:s}=i(28424);const a=i(48674);e.exports={DecoderBuffer:r,EncoderBuffer:s,Node:a,Reporter:n}},48674:(e,t,i)=>{const{strict:n}=i(42357);const{Reporter:r}=i(93026);const{DecoderBuffer:s,EncoderBuffer:a}=i(28424);const o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"];const u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);const c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Node(e,t,i){const n={};this._baseState=n;n.name=i;n.enc=e;n.parent=t||null;n.children=null;n.tag=null;n.args=null;n.reverseArgs=null;n.choice=null;n.optional=false;n.any=false;n.obj=false;n.use=null;n.useDecoder=null;n.key=null;n.default=null;n.explicit=null;n.implicit=null;n.contains=null;if(!n.parent){n.children=[];this._wrap()}}const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function clone(){const e=this._baseState;const t={};l.forEach(function(i){t[i]=e[i]});const i=new this.constructor(t.parent);i._baseState=t;return i};Node.prototype._wrap=function wrap(){const e=this._baseState;u.forEach(function(t){this[t]=function _wrappedMethod(){const i=new this.constructor(this);e.children.push(i);return i[t].apply(i,arguments)}},this)};Node.prototype._init=function init(e){const t=this._baseState;n(t.parent===null);e.call(this);t.children=t.children.filter(function(e){return e._baseState.parent===this},this);n.equal(t.children.length,1,"Root node can have only one child")};Node.prototype._useArgs=function useArgs(e){const t=this._baseState;const i=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this);if(i.length!==0){n(t.children===null);t.children=i;i.forEach(function(e){e._baseState.parent=this},this)}if(e.length!==0){n(t.args===null);t.args=e;t.reverseArgs=e.map(function(e){if(typeof e!=="object"||e.constructor!==Object){return e}const t={};Object.keys(e).forEach(function(i){if(i==(i|0)){i|=0}const n=e[i];t[n]=i});return t})}};c.forEach(function(e){Node.prototype[e]=function _overrided(){const t=this._baseState;throw new Error(`${e} not implemented for encoding: ${t.enc}`)}});o.forEach(function(e){Node.prototype[e]=function _tagMethod(){const t=this._baseState;const i=Array.prototype.slice.call(arguments);n(t.tag===null);t.tag=e;this._useArgs(i);return this}});Node.prototype.use=function use(e){n(e);const t=this._baseState;n(t.use===null);t.use=e;return this};Node.prototype.optional=function optional(){const e=this._baseState;e.optional=true;return this};Node.prototype.def=function def(e){const t=this._baseState;n(t.default===null);t.default=e;t.optional=true;return this};Node.prototype.explicit=function explicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.explicit=e;return this};Node.prototype.implicit=function implicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.implicit=e;return this};Node.prototype.obj=function obj(){const e=this._baseState;const t=Array.prototype.slice.call(arguments);e.obj=true;if(t.length!==0){this._useArgs(t)}return this};Node.prototype.key=function key(e){const t=this._baseState;n(t.key===null);t.key=e;return this};Node.prototype.any=function any(){const e=this._baseState;e.any=true;return this};Node.prototype.choice=function choice(e){const t=this._baseState;n(t.choice===null);t.choice=e;this._useArgs(Object.keys(e).map(function(t){return e[t]}));return this};Node.prototype.contains=function contains(e){const t=this._baseState;n(t.use===null);t.contains=e;return this};Node.prototype._decode=function decode(e,t){const i=this._baseState;if(i.parent===null){return e.wrapResult(i.children[0]._decode(e,t))}let n=i.default;let r=true;let a=null;if(i.key!==null){a=e.enterKey(i.key)}if(i.optional){let n=null;if(i.explicit!==null){n=i.explicit}else if(i.implicit!==null){n=i.implicit}else if(i.tag!==null){n=i.tag}if(n===null&&!i.any){const n=e.save();try{if(i.choice===null){this._decodeGeneric(i.tag,e,t)}else{this._decodeChoice(e,t)}r=true}catch(e){r=false}e.restore(n)}else{r=this._peekTag(e,n,i.any);if(e.isError(r)){return r}}}let o;if(i.obj&&r){o=e.enterObject()}if(r){if(i.explicit!==null){const t=this._decodeTag(e,i.explicit);if(e.isError(t)){return t}e=t}const r=e.offset;if(i.use===null&&i.choice===null){let t;if(i.any){t=e.save()}const r=this._decodeTag(e,i.implicit!==null?i.implicit:i.tag,i.any);if(e.isError(r)){return r}if(i.any){n=e.raw(t)}else{e=r}}if(t&&t.track&&i.tag!==null){t.track(e.path(),r,e.length,"tagged")}if(t&&t.track&&i.tag!==null){t.track(e.path(),e.offset,e.length,"content")}if(i.any){}else if(i.choice===null){n=this._decodeGeneric(i.tag,e,t)}else{n=this._decodeChoice(e,t)}if(e.isError(n)){return n}if(!i.any&&i.choice===null&&i.children!==null){i.children.forEach(function decodeChildren(i){i._decode(e,t)})}if(i.contains&&(i.tag==="octstr"||i.tag==="bitstr")){const r=new s(n);n=this._getUse(i.contains,e._reporterState.obj)._decode(r,t)}}if(i.obj&&r){n=e.leaveObject(o)}if(i.key!==null&&(n!==null||r===true)){e.leaveKey(a,i.key,n)}else if(a!==null){e.exitKey(a)}return n};Node.prototype._decodeGeneric=function decodeGeneric(e,t,i){const n=this._baseState;if(e==="seq"||e==="set"){return null}if(e==="seqof"||e==="setof"){return this._decodeList(t,e,n.args[0],i)}else if(/str$/.test(e)){return this._decodeStr(t,e,i)}else if(e==="objid"&&n.args){return this._decodeObjid(t,n.args[0],n.args[1],i)}else if(e==="objid"){return this._decodeObjid(t,null,null,i)}else if(e==="gentime"||e==="utctime"){return this._decodeTime(t,e,i)}else if(e==="null_"){return this._decodeNull(t,i)}else if(e==="bool"){return this._decodeBool(t,i)}else if(e==="objDesc"){return this._decodeStr(t,e,i)}else if(e==="int"||e==="enum"){return this._decodeInt(t,n.args&&n.args[0],i)}if(n.use!==null){return this._getUse(n.use,t._reporterState.obj)._decode(t,i)}else{return t.error(`unknown tag: ${e}`)}};Node.prototype._getUse=function _getUse(e,t){const i=this._baseState;i.useDecoder=this._use(e,t);n(i.useDecoder._baseState.parent===null);i.useDecoder=i.useDecoder._baseState.children[0];if(i.implicit!==i.useDecoder._baseState.implicit){i.useDecoder=i.useDecoder.clone();i.useDecoder._baseState.implicit=i.implicit}return i.useDecoder};Node.prototype._decodeChoice=function decodeChoice(e,t){const i=this._baseState;let n=null;let r=false;Object.keys(i.choice).some(function(s){const a=e.save();const o=i.choice[s];try{const i=o._decode(e,t);if(e.isError(i)){return false}n={type:s,value:i};r=true}catch(t){e.restore(a);return false}return true},this);if(!r){return e.error("Choice not matched")}return n};Node.prototype._createEncoderBuffer=function createEncoderBuffer(e){return new a(e,this.reporter)};Node.prototype._encode=function encode(e,t,i){const n=this._baseState;if(n.default!==null&&n.default===e){return}const r=this._encodeValue(e,t,i);if(r===undefined){return}if(this._skipDefault(r,t,i)){return}return r};Node.prototype._encodeValue=function encode(e,t,i){const n=this._baseState;if(n.parent===null){return n.children[0]._encode(e,t||new r)}let s=null;this.reporter=t;if(n.optional&&e===undefined){if(n.default!==null){e=n.default}else{return}}let a=null;let o=false;if(n.any){s=this._createEncoderBuffer(e)}else if(n.choice){s=this._encodeChoice(e,t)}else if(n.contains){a=this._getUse(n.contains,i)._encode(e,t);o=true}else if(n.children){a=n.children.map(function(i){if(i._baseState.tag==="null_"){return i._encode(null,t,e)}if(i._baseState.key===null){return t.error("Child should have a key")}const n=t.enterKey(i._baseState.key);if(typeof e!=="object"){return t.error("Child expected, but input is not object")}const r=i._encode(e[i._baseState.key],t,e);t.leaveKey(n);return r},this).filter(function(e){return e});a=this._createEncoderBuffer(a)}else{if(n.tag==="seqof"||n.tag==="setof"){if(!(n.args&&n.args.length===1)){return t.error(`Too many args for: ${n.tag}`)}if(!Array.isArray(e)){return t.error("seqof/setof, but data is not Array")}const i=this.clone();i._baseState.implicit=null;a=this._createEncoderBuffer(e.map(function(i){const n=this._baseState;return this._getUse(n.args[0],e)._encode(i,t)},i))}else if(n.use!==null){s=this._getUse(n.use,i)._encode(e,t)}else{a=this._encodePrimitive(n.tag,e);o=true}}if(!n.any&&n.choice===null){const e=n.implicit!==null?n.implicit:n.tag;const i=n.implicit===null?"universal":"context";if(e===null){if(n.use===null){t.error("Tag could be omitted only for .use()")}}else{if(n.use===null){s=this._encodeComposite(e,o,i,a)}}}if(n.explicit!==null){s=this._encodeComposite(n.explicit,false,"context",s)}return s};Node.prototype._encodeChoice=function encodeChoice(e,t){const i=this._baseState;const r=i.choice[e.type];if(!r){n(false,`${e.type} not found in ${JSON.stringify(Object.keys(i.choice))}`)}return r._encode(e.value,t)};Node.prototype._encodePrimitive=function encodePrimitive(e,t){const i=this._baseState;if(/str$/.test(e)){return this._encodeStr(t,e)}else if(e==="objid"&&i.args){return this._encodeObjid(t,i.reverseArgs[0],i.args[1])}else if(e==="objid"){return this._encodeObjid(t,null,null)}else if(e==="gentime"||e==="utctime"){return this._encodeTime(t,e)}else if(e==="null_"){return this._encodeNull()}else if(e==="int"||e==="enum"){return this._encodeInt(t,i.args&&i.reverseArgs[0])}else if(e==="bool"){return this._encodeBool(t)}else if(e==="objDesc"){return this._encodeStr(t,e)}else{throw new Error(`Unsupported tag: ${e}`)}};Node.prototype._isNumstr=function isNumstr(e){return/^[0-9 ]*$/.test(e)};Node.prototype._isPrintstr=function isPrintstr(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)};e.exports=Node},93026:(e,t,i)=>{const{inherits:n}=i(31669);function Reporter(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}Reporter.prototype.isError=function isError(e){return e instanceof ReporterError};Reporter.prototype.save=function save(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};Reporter.prototype.restore=function restore(e){const t=this._reporterState;t.obj=e.obj;t.path=t.path.slice(0,e.pathLen)};Reporter.prototype.enterKey=function enterKey(e){return this._reporterState.path.push(e)};Reporter.prototype.exitKey=function exitKey(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)};Reporter.prototype.leaveKey=function leaveKey(e,t,i){const n=this._reporterState;this.exitKey(e);if(n.obj!==null){n.obj[t]=i}};Reporter.prototype.path=function path(){return this._reporterState.path.join("/")};Reporter.prototype.enterObject=function enterObject(){const e=this._reporterState;const t=e.obj;e.obj={};return t};Reporter.prototype.leaveObject=function leaveObject(e){const t=this._reporterState;const i=t.obj;t.obj=e;return i};Reporter.prototype.error=function error(e){let t;const i=this._reporterState;const n=e instanceof ReporterError;if(n){t=e}else{t=new ReporterError(i.path.map(function(e){return`[${JSON.stringify(e)}]`}).join(""),e.message||e,e.stack)}if(!i.options.partial){throw t}if(!n){i.errors.push(t)}return t};Reporter.prototype.wrapResult=function wrapResult(e){const t=this._reporterState;if(!t.options.partial){return e}return{result:this.isError(e)?null:e,errors:t.errors}};function ReporterError(e,t){this.path=e;this.rethrow(t)}n(ReporterError,Error);ReporterError.prototype.rethrow=function rethrow(e){this.message=`${e} at: ${this.path||"(shallow)"}`;if(Error.captureStackTrace){Error.captureStackTrace(this,ReporterError)}if(!this.stack){try{throw new Error(this.message)}catch(e){this.stack=e.stack}}return this};t.Reporter=Reporter},96018:(e,t)=>{function reverse(e){const t={};Object.keys(e).forEach(function(i){if((i|0)==i){i=i|0}const n=e[i];t[n]=i});return t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"};t.tagClassByName=reverse(t.tagClass);t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};t.tagByName=reverse(t.tag)},90998:(e,t,i)=>{e.exports={der:i(96018)}},44798:(e,t,i)=>{const{inherits:n}=i(31669);const{DecoderBuffer:r}=i(28424);const s=i(48674);const a=i(96018);function DERDecoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DERDecoder.prototype.decode=function decode(e,t){if(!r.isDecoderBuffer(e)){e=new r(e,t)}return this.tree._decode(e,t)};function DERNode(e){s.call(this,"der",e)}n(DERNode,s);DERNode.prototype._peekTag=function peekTag(e,t,i){if(e.isEmpty()){return false}const n=e.save();const r=derDecodeTag(e,`Failed to peek tag: "${t}"`);if(e.isError(r)){return r}e.restore(n);return r.tag===t||r.tagStr===t||r.tagStr+"of"===t||i};DERNode.prototype._decodeTag=function decodeTag(e,t,i){const n=derDecodeTag(e,`Failed to decode tag of "${t}"`);if(e.isError(n)){return n}let r=derDecodeLen(e,n.primitive,`Failed to get length of "${t}"`);if(e.isError(r)){return r}if(!i&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t){return e.error(`Failed to match tag: "${t}"`)}if(n.primitive||r!==null){return e.skip(r,`Failed to match body of: "${t}"`)}const s=e.save();const a=this._skipUntilEnd(e,`Failed to skip indefinite length body: "${this.tag}"`);if(e.isError(a)){return a}r=e.offset-s.offset;e.restore(s);return e.skip(r,`Failed to match body of: "${t}"`)};DERNode.prototype._skipUntilEnd=function skipUntilEnd(e,t){for(;;){const i=derDecodeTag(e,t);if(e.isError(i)){return i}const n=derDecodeLen(e,i.primitive,t);if(e.isError(n)){return n}let r;if(i.primitive||n!==null){r=e.skip(n)}else{r=this._skipUntilEnd(e,t)}if(e.isError(r)){return r}if(i.tagStr==="end"){break}}};DERNode.prototype._decodeList=function decodeList(e,t,i,n){const r=[];while(!e.isEmpty()){const t=this._peekTag(e,"end");if(e.isError(t)){return t}const s=i.decode(e,"der",n);if(e.isError(s)&&t){break}r.push(s)}return r};DERNode.prototype._decodeStr=function decodeStr(e,t){if(t==="bitstr"){const t=e.readUInt8();if(e.isError(t)){return t}return{unused:t,data:e.raw()}}else if(t==="bmpstr"){const t=e.raw();if(t.length%2===1){return e.error("Decoding of string type: bmpstr length mismatch")}let i="";for(let e=0;e>6];const r=(i&32)===0;if((i&31)===31){let n=i;i=0;while((n&128)===128){n=e.readUInt8(t);if(e.isError(n)){return n}i<<=7;i|=n&127}}else{i&=31}const s=a.tag[i];return{cls:n,primitive:r,tag:i,tagStr:s}}function derDecodeLen(e,t,i){let n=e.readUInt8(i);if(e.isError(n)){return n}if(!t&&n===128){return null}if((n&128)===0){return n}const r=n&127;if(r>4){return e.error("length octect is too long")}n=0;for(let t=0;t{e.exports={der:i(44798),pem:i(33956)}},33956:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(44798);function PEMDecoder(e){r.call(this,e);this.enc="pem"}n(PEMDecoder,r);PEMDecoder.prototype.decode=function decode(e,t){const i=e.toString().split(/[\r\n]+/g);const n=t.label.toUpperCase();const s=/^-----(BEGIN|END) ([^-]+)-----$/;let a=-1;let o=-1;for(let e=0;e{const{inherits:n}=i(31669);const r=i(48674);const s=i(96018);function DEREncoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DEREncoder.prototype.encode=function encode(e,t){return this.tree._encode(e,t).join()};function DERNode(e){r.call(this,"der",e)}n(DERNode,r);DERNode.prototype._encodeComposite=function encodeComposite(e,t,i,n){const r=encodeTag(e,t,i,this.reporter);if(n.length<128){const e=Buffer.alloc(2);e[0]=r;e[1]=n.length;return this._createEncoderBuffer([e,n])}let s=1;for(let e=n.length;e>=256;e>>=8){s++}const a=Buffer.alloc(1+1+s);a[0]=r;a[1]=128|s;for(let e=1+s,t=n.length;t>0;e--,t>>=8){a[e]=t&255}return this._createEncoderBuffer([a,n])};DERNode.prototype._encodeStr=function encodeStr(e,t){if(t==="bitstr"){return this._createEncoderBuffer([e.unused|0,e.data])}else if(t==="bmpstr"){const t=Buffer.alloc(e.length*2);for(let i=0;i=40){return this.reporter.error("Second objid identifier OOB")}e.splice(0,2,e[0]*40+e[1])}let n=0;for(let t=0;t=128;i>>=7){n++}}const r=Buffer.alloc(n);let s=r.length-1;for(let t=e.length-1;t>=0;t--){let i=e[t];r[s--]=i&127;while((i>>=7)>0){r[s--]=128|i&127}}return this._createEncoderBuffer(r)};function two(e){if(e<10){return`0${e}`}else{return e}}DERNode.prototype._encodeTime=function encodeTime(e,t){let i;const n=new Date(e);if(t==="gentime"){i=[two(n.getUTCFullYear()),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else if(t==="utctime"){i=[two(n.getUTCFullYear()%100),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else{this.reporter.error(`Encoding ${t} time is not supported yet`)}return this._encodeStr(i,"octstr")};DERNode.prototype._encodeNull=function encodeNull(){return this._createEncoderBuffer("")};function bnToBuf(e){var t=BigInt(e).toString(16);if(t.length%2){t="0"+t}var i=t.length/2;var n=new Uint8Array(i);var r=0;var s=0;while(r=256;t>>=8){i++}const n=new Array(i);for(let t=n.length-1;t>=0;t--){n[t]=e&255;e>>=8}if(n[0]&128){n.unshift(0)}return this._createEncoderBuffer(Buffer.from(n))};DERNode.prototype._encodeBool=function encodeBool(e){return this._createEncoderBuffer(e?255:0)};DERNode.prototype._use=function use(e,t){if(typeof e==="function"){e=e(t)}return e._getEncoder("der").tree};DERNode.prototype._skipDefault=function skipDefault(e,t,i){const n=this._baseState;let r;if(n.default===null){return false}const s=e.join();if(n.defaultBuffer===undefined){n.defaultBuffer=this._encodeValue(n.default,t,i).join()}if(s.length!==n.defaultBuffer.length){return false}for(r=0;r=31){return n.error("Multi-octet tag encoding unsupported")}if(!t){r|=32}r|=s.tagClassByName[i||"universal"]<<6;return r}e.exports=DEREncoder},2246:(e,t,i)=>{e.exports={der:i(20846),pem:i(26217)}},26217:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(20846);function PEMEncoder(e){r.call(this,e);this.enc="pem"}n(PEMEncoder,r);PEMEncoder.prototype.encode=function encode(e,t){const i=r.prototype.encode.call(this,e);const n=i.toString("base64");const s=[`-----BEGIN ${t.label}-----`];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function isTypedArrayName(e){return i.includes(e)}const n=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement",...i];function isObjectTypeName(e){return n.includes(e)}const r=["null","undefined","string","number","bigint","boolean","symbol"];function isPrimitiveTypeName(e){return r.includes(e)}function isOfType(e){return t=>typeof t===e}const{toString:s}=Object.prototype;const a=e=>{const t=s.call(e).slice(8,-1);if(/HTML\w+Element/.test(t)&&is.domElement(e)){return"HTMLElement"}if(isObjectTypeName(t)){return t}return undefined};const o=e=>t=>a(t)===e;function is(e){if(e===null){return"null"}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(is.observable(e)){return"Observable"}if(is.array(e)){return"Array"}if(is.buffer(e)){return"Buffer"}const t=a(e);if(t){return t}if(e instanceof String||e instanceof Boolean||e instanceof Number){throw new TypeError("Please don't use object wrappers for primitive types")}return"Object"}is.undefined=isOfType("undefined");is.string=isOfType("string");const u=isOfType("number");is.number=(e=>u(e)&&!is.nan(e));is.bigint=isOfType("bigint");is.function_=isOfType("function");is.null_=(e=>e===null);is.class_=(e=>is.function_(e)&&e.toString().startsWith("class "));is.boolean=(e=>e===true||e===false);is.symbol=isOfType("symbol");is.numericString=(e=>is.string(e)&&!is.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e)));is.array=((e,t)=>{if(!Array.isArray(e)){return false}if(!is.function_(t)){return true}return e.every(t)});is.buffer=(e=>{var t,i,n,r;return(r=(n=(i=(t=e)===null||t===void 0?void 0:t.constructor)===null||i===void 0?void 0:i.isBuffer)===null||n===void 0?void 0:n.call(i,e))!==null&&r!==void 0?r:false});is.nullOrUndefined=(e=>is.null_(e)||is.undefined(e));is.object=(e=>!is.null_(e)&&(typeof e==="object"||is.function_(e)));is.iterable=(e=>{var t;return is.function_((t=e)===null||t===void 0?void 0:t[Symbol.iterator])});is.asyncIterable=(e=>{var t;return is.function_((t=e)===null||t===void 0?void 0:t[Symbol.asyncIterator])});is.generator=(e=>is.iterable(e)&&is.function_(e.next)&&is.function_(e.throw));is.asyncGenerator=(e=>is.asyncIterable(e)&&is.function_(e.next)&&is.function_(e.throw));is.nativePromise=(e=>o("Promise")(e));const c=e=>{var t,i;return is.function_((t=e)===null||t===void 0?void 0:t.then)&&is.function_((i=e)===null||i===void 0?void 0:i.catch)};is.promise=(e=>is.nativePromise(e)||c(e));is.generatorFunction=o("GeneratorFunction");is.asyncGeneratorFunction=(e=>a(e)==="AsyncGeneratorFunction");is.asyncFunction=(e=>a(e)==="AsyncFunction");is.boundFunction=(e=>is.function_(e)&&!e.hasOwnProperty("prototype"));is.regExp=o("RegExp");is.date=o("Date");is.error=o("Error");is.map=(e=>o("Map")(e));is.set=(e=>o("Set")(e));is.weakMap=(e=>o("WeakMap")(e));is.weakSet=(e=>o("WeakSet")(e));is.int8Array=o("Int8Array");is.uint8Array=o("Uint8Array");is.uint8ClampedArray=o("Uint8ClampedArray");is.int16Array=o("Int16Array");is.uint16Array=o("Uint16Array");is.int32Array=o("Int32Array");is.uint32Array=o("Uint32Array");is.float32Array=o("Float32Array");is.float64Array=o("Float64Array");is.bigInt64Array=o("BigInt64Array");is.bigUint64Array=o("BigUint64Array");is.arrayBuffer=o("ArrayBuffer");is.sharedArrayBuffer=o("SharedArrayBuffer");is.dataView=o("DataView");is.directInstanceOf=((e,t)=>Object.getPrototypeOf(e)===t.prototype);is.urlInstance=(e=>o("URL")(e));is.urlString=(e=>{if(!is.string(e)){return false}try{new URL(e);return true}catch(e){return false}});is.truthy=(e=>Boolean(e));is.falsy=(e=>!e);is.nan=(e=>Number.isNaN(e));is.primitive=(e=>is.null_(e)||isPrimitiveTypeName(typeof e));is.integer=(e=>Number.isInteger(e));is.safeInteger=(e=>Number.isSafeInteger(e));is.plainObject=(e=>{if(s.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})});is.typedArray=(e=>isTypedArrayName(a(e)));const l=e=>is.safeInteger(e)&&e>=0;is.arrayLike=(e=>!is.nullOrUndefined(e)&&!is.function_(e)&&l(e.length));is.inRange=((e,t)=>{if(is.number(t)){return e>=Math.min(0,t)&&e<=Math.max(t,0)}if(is.array(t)&&t.length===2){return e>=Math.min(...t)&&e<=Math.max(...t)}throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)});const p=1;const d=["innerHTML","ownerDocument","style","attributes","nodeValue"];is.domElement=(e=>{return is.object(e)&&e.nodeType===p&&is.string(e.nodeName)&&!is.plainObject(e)&&d.every(t=>t in e)});is.observable=(e=>{var t,i,n,r;if(!e){return false}if(e===((i=(t=e)[Symbol.observable])===null||i===void 0?void 0:i.call(t))){return true}if(e===((r=(n=e)["@@observable"])===null||r===void 0?void 0:r.call(n))){return true}return false});is.nodeStream=(e=>is.object(e)&&is.function_(e.pipe)&&!is.observable(e));is.infinite=(e=>e===Infinity||e===-Infinity);const f=e=>t=>is.integer(t)&&Math.abs(t%2)===e;is.evenInteger=f(0);is.oddInteger=f(1);is.emptyArray=(e=>is.array(e)&&e.length===0);is.nonEmptyArray=(e=>is.array(e)&&e.length>0);is.emptyString=(e=>is.string(e)&&e.length===0);is.nonEmptyString=(e=>is.string(e)&&e.length>0);const h=e=>is.string(e)&&!/\S/.test(e);is.emptyStringOrWhitespace=(e=>is.emptyString(e)||h(e));is.emptyObject=(e=>is.object(e)&&!is.map(e)&&!is.set(e)&&Object.keys(e).length===0);is.nonEmptyObject=(e=>is.object(e)&&!is.map(e)&&!is.set(e)&&Object.keys(e).length>0);is.emptySet=(e=>is.set(e)&&e.size===0);is.nonEmptySet=(e=>is.set(e)&&e.size>0);is.emptyMap=(e=>is.map(e)&&e.size===0);is.nonEmptyMap=(e=>is.map(e)&&e.size>0);const m=(e,t,i)=>{if(!is.function_(t)){throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`)}if(i.length===0){throw new TypeError("Invalid number of values")}return e.call(i,t)};is.any=((e,...t)=>{const i=is.array(e)?e:[e];return i.some(e=>m(Array.prototype.some,e,t))});is.all=((e,...t)=>m(Array.prototype.every,e,t));const b=(e,t,i)=>{if(!e){throw new TypeError(`Expected value which is \`${t}\`, received value of type \`${is(i)}\`.`)}};t.assert={undefined:e=>b(is.undefined(e),"undefined",e),string:e=>b(is.string(e),"string",e),number:e=>b(is.number(e),"number",e),bigint:e=>b(is.bigint(e),"bigint",e),function_:e=>b(is.function_(e),"Function",e),null_:e=>b(is.null_(e),"null",e),class_:e=>b(is.class_(e),"Class",e),boolean:e=>b(is.boolean(e),"boolean",e),symbol:e=>b(is.symbol(e),"symbol",e),numericString:e=>b(is.numericString(e),"string with a number",e),array:(e,t)=>{const i=b;i(is.array(e),"Array",e);if(t){e.forEach(t)}},buffer:e=>b(is.buffer(e),"Buffer",e),nullOrUndefined:e=>b(is.nullOrUndefined(e),"null or undefined",e),object:e=>b(is.object(e),"Object",e),iterable:e=>b(is.iterable(e),"Iterable",e),asyncIterable:e=>b(is.asyncIterable(e),"AsyncIterable",e),generator:e=>b(is.generator(e),"Generator",e),asyncGenerator:e=>b(is.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>b(is.nativePromise(e),"native Promise",e),promise:e=>b(is.promise(e),"Promise",e),generatorFunction:e=>b(is.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>b(is.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>b(is.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>b(is.boundFunction(e),"Function",e),regExp:e=>b(is.regExp(e),"RegExp",e),date:e=>b(is.date(e),"Date",e),error:e=>b(is.error(e),"Error",e),map:e=>b(is.map(e),"Map",e),set:e=>b(is.set(e),"Set",e),weakMap:e=>b(is.weakMap(e),"WeakMap",e),weakSet:e=>b(is.weakSet(e),"WeakSet",e),int8Array:e=>b(is.int8Array(e),"Int8Array",e),uint8Array:e=>b(is.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>b(is.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>b(is.int16Array(e),"Int16Array",e),uint16Array:e=>b(is.uint16Array(e),"Uint16Array",e),int32Array:e=>b(is.int32Array(e),"Int32Array",e),uint32Array:e=>b(is.uint32Array(e),"Uint32Array",e),float32Array:e=>b(is.float32Array(e),"Float32Array",e),float64Array:e=>b(is.float64Array(e),"Float64Array",e),bigInt64Array:e=>b(is.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>b(is.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>b(is.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>b(is.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>b(is.dataView(e),"DataView",e),urlInstance:e=>b(is.urlInstance(e),"URL",e),urlString:e=>b(is.urlString(e),"string with a URL",e),truthy:e=>b(is.truthy(e),"truthy",e),falsy:e=>b(is.falsy(e),"falsy",e),nan:e=>b(is.nan(e),"NaN",e),primitive:e=>b(is.primitive(e),"primitive",e),integer:e=>b(is.integer(e),"integer",e),safeInteger:e=>b(is.safeInteger(e),"integer",e),plainObject:e=>b(is.plainObject(e),"plain object",e),typedArray:e=>b(is.typedArray(e),"TypedArray",e),arrayLike:e=>b(is.arrayLike(e),"array-like",e),domElement:e=>b(is.domElement(e),"HTMLElement",e),observable:e=>b(is.observable(e),"Observable",e),nodeStream:e=>b(is.nodeStream(e),"Node.js Stream",e),infinite:e=>b(is.infinite(e),"infinite number",e),emptyArray:e=>b(is.emptyArray(e),"empty array",e),nonEmptyArray:e=>b(is.nonEmptyArray(e),"non-empty array",e),emptyString:e=>b(is.emptyString(e),"empty string",e),nonEmptyString:e=>b(is.nonEmptyString(e),"non-empty string",e),emptyStringOrWhitespace:e=>b(is.emptyStringOrWhitespace(e),"empty string or whitespace",e),emptyObject:e=>b(is.emptyObject(e),"empty object",e),nonEmptyObject:e=>b(is.nonEmptyObject(e),"non-empty object",e),emptySet:e=>b(is.emptySet(e),"empty set",e),nonEmptySet:e=>b(is.nonEmptySet(e),"non-empty set",e),emptyMap:e=>b(is.emptyMap(e),"empty map",e),nonEmptyMap:e=>b(is.nonEmptyMap(e),"non-empty map",e),evenInteger:e=>b(is.evenInteger(e),"even integer",e),oddInteger:e=>b(is.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>b(is.directInstanceOf(e,t),"T",e),inRange:(e,t)=>b(is.inRange(e,t),"in range",e),any:(e,...t)=>b(is.any(e,...t),"predicate returns truthy for any value",t),all:(e,...t)=>b(is.all(e,...t),"predicate returns truthy for all values",t)};Object.defineProperties(is,{class:{value:is.class_},function:{value:is.function_},null:{value:is.null_}});Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}});t.default=is;e.exports=is;e.exports.default=is;e.exports.assert=t.assert},48097:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(96214);const r=Number(process.versions.node.split(".")[0]);const s=e=>{const t={start:Date.now(),socket:undefined,lookup:undefined,connect:undefined,secureConnect:undefined,upload:undefined,response:undefined,end:undefined,error:undefined,abort:undefined,phases:{wait:undefined,dns:undefined,tcp:undefined,tls:undefined,request:undefined,firstByte:undefined,download:undefined,total:undefined}};e.timings=t;const i=e=>{const i=e.emit.bind(e);e.emit=((n,...r)=>{if(n==="error"){t.error=Date.now();t.phases.total=t.error-t.start;e.emit=i}return i(n,...r)})};i(e);e.prependOnceListener("abort",()=>{t.abort=Date.now();if(!t.response||r>=13){t.phases.total=Date.now()-t.start}});const s=e=>{t.socket=Date.now();t.phases.wait=t.socket-t.start;const i=()=>{t.lookup=Date.now();t.phases.dns=t.lookup-t.socket};e.prependOnceListener("lookup",i);n.default(e,{connect:()=>{t.connect=Date.now();if(t.lookup===undefined){e.removeListener("lookup",i);t.lookup=t.connect;t.phases.dns=t.lookup-t.socket}t.phases.tcp=t.connect-t.lookup},secureConnect:()=>{t.secureConnect=Date.now();t.phases.tls=t.secureConnect-t.connect}})};if(e.socket){s(e.socket)}else{e.prependOnceListener("socket",s)}const a=()=>{var e;t.upload=Date.now();t.phases.request=t.upload-(e=t.secureConnect,e!==null&&e!==void 0?e:t.connect)};const o=()=>{if(typeof e.writableFinished==="boolean"){return e.writableFinished}return e.finished&&e.outputSize===0&&(!e.socket||e.socket.writableLength===0)};if(o()){a()}else{e.prependOnceListener("finish",a)}e.prependOnceListener("response",e=>{t.response=Date.now();t.phases.firstByte=t.response-t.upload;e.timings=t;i(e);e.prependOnceListener("end",()=>{t.end=Date.now();t.phases.download=t.end-t.response;t.phases.total=t.end-t.start})});return t};t.default=s;e.exports=s;e.exports.default=s},61231:(e,t,i)=>{"use strict";const n=i(98043);const r=i(27972);const s=e=>e.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,"");class AggregateError extends Error{constructor(e){if(!Array.isArray(e)){throw new TypeError(`Expected input to be an Array, got ${typeof e}`)}e=[...e].map(e=>{if(e instanceof Error){return e}if(e!==null&&typeof e==="object"){return Object.assign(new Error(e.message),e)}return new Error(e)});let t=e.map(e=>{return typeof e.stack==="string"?s(r(e.stack)):String(e)}).join("\n");t="\n"+n(t,4);super(t);this.name="AggregateError";Object.defineProperty(this,"_errors",{value:e})}*[Symbol.iterator](){for(const e of this._errors){yield e}}}e.exports=AggregateError},64941:(e,t,i)=>{"use strict";var n=i(875),r=i(63896),s=i(93679),a=i(37605),o=i(30969),u=i(66627),c=i(68561),l=i(21412),p=i(76578);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=i(80890);var d=i(53297);Ajv.prototype.addKeyword=d.add;Ajv.prototype.getKeyword=d.get;Ajv.prototype.removeKeyword=d.remove;Ajv.prototype.validateKeyword=d.validate;var f=i(25726);Ajv.ValidationError=f.Validation;Ajv.MissingRefError=f.MissingRef;Ajv.$dataMetaSchema=l;var h="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var b=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=p.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=u(e.format);this._cache=e.cache||new s;this._loadingSchemas={};this._compilations=[];this.RULES=c();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=o;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,t){var i;if(typeof e=="string"){i=this.getSchema(e);if(!i)throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);i=n.validate||this._compile(n)}var r=i(t);if(i.$async!==true)this.errors=i.errors;return r}function compile(e,t){var i=this._addSchema(e,undefined,t);return i.validate||this._compile(i)}function addSchema(e,t,i,n){if(Array.isArray(e)){for(var s=0;s{"use strict";var t=e.exports=function Cache(){this._cache={}};t.prototype.put=function Cache_put(e,t){this._cache[e]=t};t.prototype.get=function Cache_get(e){return this._cache[e]};t.prototype.del=function Cache_del(e){delete this._cache[e]};t.prototype.clear=function Cache_clear(){this._cache={}}},80890:(e,t,i)=>{"use strict";var n=i(25726).MissingRef;e.exports=compileAsync;function compileAsync(e,t,i){var r=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof t=="function"){i=t;t=undefined}var s=loadMetaSchemaOf(e).then(function(){var i=r._addSchema(e,undefined,t);return i.validate||_compileAsync(i)});if(i){s.then(function(e){i(null,e)},i)}return s;function loadMetaSchemaOf(e){var t=e.$schema;return t&&!r.getSchema(t)?compileAsync.call(r,{$ref:t},true):Promise.resolve()}function _compileAsync(e){try{return r._compile(e)}catch(e){if(e instanceof n)return loadMissingSchema(e);throw e}function loadMissingSchema(i){var n=i.missingSchema;if(added(n))throw new Error("Schema "+n+" is loaded but "+i.missingRef+" cannot be resolved");var s=r._loadingSchemas[n];if(!s){s=r._loadingSchemas[n]=r._opts.loadSchema(n);s.then(removePromise,removePromise)}return s.then(function(e){if(!added(n)){return loadMetaSchemaOf(e).then(function(){if(!added(n))r.addSchema(e,n,undefined,t)})}}).then(function(){return _compileAsync(e)});function removePromise(){delete r._loadingSchemas[n]}function added(e){return r._refs[e]||r._schemas[e]}}}}},25726:(e,t,i)=>{"use strict";var n=i(63896);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function MissingRefError(e,t,i){this.message=i||MissingRefError.message(e,t);this.missingRef=n.url(e,t);this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},66627:(e,t,i)=>{"use strict";var n=i(76578);var r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var s=[0,31,28,31,30,31,30,31,31,30,31,30,31];var a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var o=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var c=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var p=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var d=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var f=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return n.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:p,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:d,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":c,"uri-template":l,url:p,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:d,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var t=e.match(r);if(!t)return false;var i=+t[1];var n=+t[2];var a=+t[3];return n>=1&&n<=12&&a>=1&&a<=(n==2&&isLeapYear(i)?29:s[n])}function time(e,t){var i=e.match(a);if(!i)return false;var n=i[1];var r=i[2];var s=i[3];var o=i[5];return(n<=23&&r<=59&&s<=59||n==23&&r==59&&s==60)&&(!t||o)}var b=/t|\s/i;function date_time(e){var t=e.split(b);return t.length==2&&date(t[0])&&time(t[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&u.test(e)}var y=/[^\\]\\Z/;function regex(e){if(y.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},875:(e,t,i)=>{"use strict";var n=i(63896),r=i(76578),s=i(25726),a=i(30969);var o=i(49585);var u=r.ucs2length;var c=i(28206);var l=s.Validation;e.exports=compile;function compile(e,t,i,p){var d=this,f=this._opts,h=[undefined],m={},b=[],g={},y=[],S={},v=[];t=t||{schema:e,refVal:h,refs:m};var w=checkCompiling.call(this,e,t,p);var j=this._compilations[w.index];if(w.compiling)return j.callValidate=callValidate;var z=this._formats;var O=this.RULES;try{var k=localCompile(e,t,i,p);j.validate=k;var C=j.callValidate;if(C){C.schema=k.schema;C.errors=null;C.refs=k.refs;C.refVal=k.refVal;C.root=k.root;C.$async=k.$async;if(f.sourceCode)C.source=k.source}return k}finally{endCompiling.call(this,e,t,p)}function callValidate(){var e=j.validate;var t=e.apply(this,arguments);callValidate.errors=e.errors;return t}function localCompile(e,i,a,p){var g=!i||i&&i.schema==e;if(i.schema!=t.schema)return compile.call(d,e,i,a,p);var S=e.$async===true;var w=o({isTop:true,schema:e,isRoot:g,baseId:p,root:i,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:s.MissingRef,RULES:O,validate:o,util:r,resolve:n,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:f,formats:z,logger:d.logger,self:d});w=vars(h,refValCode)+vars(b,patternCode)+vars(y,defaultCode)+vars(v,customRuleCode)+w;if(f.processCode)w=f.processCode(w,e);var j;try{var k=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",w);j=k(d,O,z,t,h,y,v,c,u,l);h[0]=j}catch(e){d.logger.error("Error compiling schema, function code:",w);throw e}j.schema=e;j.errors=null;j.refs=m;j.refVal=h;j.root=g?j:i;if(S)j.$async=true;if(f.sourceCode===true){j.source={code:w,patterns:b,defaults:y}}return j}function resolveRef(e,r,s){r=n.url(e,r);var a=m[r];var o,u;if(a!==undefined){o=h[a];u="refVal["+a+"]";return resolvedRef(o,u)}if(!s&&t.refs){var c=t.refs[r];if(c!==undefined){o=t.refVal[c];u=addLocalRef(r,o);return resolvedRef(o,u)}}u=addLocalRef(r);var l=n.call(d,localCompile,t,r);if(l===undefined){var p=i&&i[r];if(p){l=n.inlineRef(p,f.inlineRefs)?p:compile.call(d,p,t,i,e)}}if(l===undefined){removeLocalRef(r)}else{replaceLocalRef(r,l);return resolvedRef(l,u)}}function addLocalRef(e,t){var i=h.length;h[i]=t;m[e]=i;return"refVal"+i}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,t){var i=m[e];h[i]=t}function resolvedRef(e,t){return typeof e=="object"||typeof e=="boolean"?{code:t,schema:e,inline:true}:{code:t,$async:e&&!!e.$async}}function usePattern(e){var t=g[e];if(t===undefined){t=g[e]=b.length;b[t]=e}return"pattern"+t}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return r.toQuotedString(e);case"object":if(e===null)return"null";var t=a(e);var i=S[t];if(i===undefined){i=S[t]=y.length;y[i]=e}return"default"+i}}function useCustomRule(e,t,i,n){if(d._opts.validateSchema!==false){var r=e.definition.dependencies;if(r&&!r.every(function(e){return Object.prototype.hasOwnProperty.call(i,e)}))throw new Error("parent schema must have all required keywords: "+r.join(","));var s=e.definition.validateSchema;if(s){var a=s(t);if(!a){var o="keyword schema is invalid: "+d.errorsText(s.errors);if(d._opts.validateSchema=="log")d.logger.error(o);else throw new Error(o)}}}var u=e.definition.compile,c=e.definition.inline,l=e.definition.macro;var p;if(u){p=u.call(d,t,i,n)}else if(l){p=l.call(d,t,i,n);if(f.validateSchema!==false)d.validateSchema(p,true)}else if(c){p=c.call(d,n,e.keyword,t,i)}else{p=e.definition.validate;if(!p)return}if(p===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=v.length;v[h]=p;return{code:"customRule"+h,validate:p}}}function checkCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)return{index:n,compiling:true};n=this._compilations.length;this._compilations[n]={schema:e,root:t,baseId:i};return{index:n,compiling:false}}function endCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)this._compilations.splice(n,1)}function compIndex(e,t,i){for(var n=0;n{"use strict";var n=i(70020),r=i(28206),s=i(76578),a=i(37605),o=i(52533);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,t,i){var n=this._refs[i];if(typeof n=="string"){if(this._refs[n])n=this._refs[n];else return resolve.call(this,e,t,n)}n=n||this._schemas[i];if(n instanceof a){return inlineRef(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n)}var r=resolveSchema.call(this,t,i);var s,o,u;if(r){s=r.schema;t=r.root;u=r.baseId}if(s instanceof a){o=s.validate||e.call(this,s.schema,t,undefined,u)}else if(s!==undefined){o=inlineRef(s,this._opts.inlineRefs)?s:e.call(this,s,t,undefined,u)}return o}function resolveSchema(e,t){var i=n.parse(t),r=_getFullPath(i),s=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||r!==s){var o=normalizeId(r);var u=this._refs[o];if(typeof u=="string"){return resolveRecursive.call(this,e,u,i)}else if(u instanceof a){if(!u.validate)this._compile(u);e=u}else{u=this._schemas[o];if(u instanceof a){if(!u.validate)this._compile(u);if(o==normalizeId(t))return{schema:u,root:e,baseId:s};e=u}else{return}}if(!e.schema)return;s=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,i,s,e.schema,e)}function resolveRecursive(e,t,i){var n=resolveSchema.call(this,e,t);if(n){var r=n.schema;var s=n.baseId;e=n.root;var a=this._getId(r);if(a)s=resolveUrl(s,a);return getJsonPointer.call(this,i,s,r,e)}}var u=s.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,t,i,n){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var r=e.fragment.split("/");for(var a=1;a{"use strict";var n=i(85810),r=i(76578).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var t=["type","$comment"];var i=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var s=["number","integer","string","array","object","boolean","null"];e.all=r(t);e.types=r(s);e.forEach(function(i){i.rules=i.rules.map(function(i){var r;if(typeof i=="object"){var s=Object.keys(i)[0];r=i[s];i=s;r.forEach(function(i){t.push(i);e.all[i]=true})}t.push(i);var a=e.all[i]={keyword:i,code:n[i],implements:r};return a});e.all.$comment={keyword:"$comment",code:n.$comment};if(i.type)e.types[i.type]=i});e.keywords=r(t.concat(i));e.custom={};return e}},37605:(e,t,i)=>{"use strict";var n=i(76578);e.exports=SchemaObject;function SchemaObject(e){n.copy(e,this)}},64580:e=>{"use strict";e.exports=function ucs2length(e){var t=0,i=e.length,n=0,r;while(n=55296&&r<=56319&&n{"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:i(28206),ucs2length:i(64580),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,t){t=t||{};for(var i in e)t[i]=e[i];return t}function checkDataType(e,t,i,n){var r=n?" !== ":" === ",s=n?" || ":" && ",a=n?"!":"",o=n?"":"!";switch(e){case"null":return t+r+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+s+"typeof "+t+r+'"object"'+s+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+s+o+"("+t+" % 1)"+s+t+r+t+(i?s+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+r+'"'+e+'"'+(i?s+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+r+'"'+e+'"'}}function checkDataTypes(e,t,i){switch(e.length){case 1:return checkDataType(e[0],t,i,true);default:var n="";var r=toHash(e);if(r.array&&r.object){n=r.null?"(":"(!"+t+" || ";n+="typeof "+t+' !== "object")';delete r.null;delete r.array;delete r.object}if(r.number)delete r.integer;for(var s in r)n+=(n?" && ":"")+checkDataType(s,t,i,true);return n}}var n=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){if(Array.isArray(t)){var i=[];for(var r=0;r=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return i[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);s="data"+(t-n||"");if(!r)return s}var c=s;var l=r.split("/");for(var p=0;p{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,i){for(var n=0;n{"use strict";var n=i(40038);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},7404:e=>{"use strict";e.exports=function generate__limit(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h=t=="maximum",m=h?"exclusiveMaximum":"exclusiveMinimum",b=e.schema[m],g=e.opts.$data&&b&&b.$data,y=h?"<":">",S=h?">":"<",l=undefined;if(!(d||typeof a=="number"||a===undefined)){throw new Error(t+" must be number")}if(!(g||b===undefined||typeof b=="number"||typeof b=="boolean")){throw new Error(m+" must be number or boolean")}if(g){var v=e.util.getData(b.$data,s,e.dataPathArr),w="exclusive"+r,j="exclType"+r,z="exclIsNumber"+r,O="op"+r,k="' + "+O+" + '";n+=" var schemaExcl"+r+" = "+v+"; ";v="schemaExcl"+r;n+=" var "+w+"; var "+j+" = typeof "+v+"; if ("+j+" != 'boolean' && "+j+" != 'undefined' && "+j+" != 'number') { ";var l=m;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var T=n;n=C.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+j+" == 'number' ? ( ("+w+" = "+f+" === undefined || "+v+" "+y+"= "+f+") ? "+p+" "+S+"= "+v+" : "+p+" "+S+" "+f+" ) : ( ("+w+" = "+v+" === true) ? "+p+" "+S+"= "+f+" : "+p+" "+S+" "+f+" ) || "+p+" !== "+p+") { var op"+r+" = "+w+" ? '"+y+"' : '"+y+"='; ";if(a===undefined){l=m;u=e.errSchemaPath+"/"+m;f=v;d=g}}else{var z=typeof b=="number",k=y;if(z&&d){var O="'"+k+"'";n+=" if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" ( "+f+" === undefined || "+b+" "+y+"= "+f+" ? "+p+" "+S+"= "+b+" : "+p+" "+S+" "+f+" ) || "+p+" !== "+p+") { "}else{if(z&&a===undefined){w=true;l=m;u=e.errSchemaPath+"/"+m;f=b;S+="="}else{if(z)f=Math[h?"min":"max"](b,a);if(b===(z?f:true)){w=true;l=m;u=e.errSchemaPath+"/"+m;S+="="}else{w=false;k+="="}}var O="'"+k+"'";n+=" if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+p+" "+S+" "+f+" || "+p+" !== "+p+") { "}}l=l||t;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+O+", limit: "+f+", exclusive: "+w+" } ";if(e.opts.messages!==false){n+=" , message: 'should be "+k+" ";if(d){n+="' + "+f}else{n+=""+f+"'"}}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var T=n;n=C.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}return n}},64683:e=>{"use strict";e.exports=function generate__limitItems(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxItems"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+p+".length "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxItems"){n+="more"}else{n+="fewer"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" items' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},52114:e=>{"use strict";e.exports=function generate__limitLength(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxLength"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}if(e.opts.unicode===false){n+=" "+p+".length "}else{n+=" ucs2length("+p+") "}n+=" "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT be ";if(t=="maxLength"){n+="longer"}else{n+="shorter"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" characters' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},71142:e=>{"use strict";e.exports=function generate__limitProperties(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxProperties"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" Object.keys("+p+").length "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxProperties"){n+="more"}else{n+="fewer"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" properties' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},89443:e=>{"use strict";e.exports=function generate_allOf(e,t,i){var n=" ";var r=e.schema[t];var s=e.schemaPath+e.util.getProperty(t);var a=e.errSchemaPath+"/"+t;var o=!e.opts.allErrors;var u=e.util.copy(e);var c="";u.level++;var l="valid"+u.level;var p=u.baseId,d=true;var f=r;if(f){var h,m=-1,b=f.length-1;while(m0||h===false:e.util.schemaHasRules(h,e.RULES.all)){d=false;u.schema=h;u.schemaPath=s+"["+m+"]";u.errSchemaPath=a+"/"+m;n+=" "+e.validate(u)+" ";u.baseId=p;if(o){n+=" if ("+l+") { ";c+="}"}}}}if(o){if(d){n+=" if (true) { "}else{n+=" "+c.slice(0,-1)+" "}}return n}},63093:e=>{"use strict";e.exports=function generate_anyOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b=a.every(function(t){return e.opts.strictKeywords?typeof t=="object"&&Object.keys(t).length>0||t===false:e.util.schemaHasRules(t,e.RULES.all)});if(b){var g=f.baseId;n+=" var "+d+" = errors; var "+p+" = false; ";var y=e.compositeRule;e.compositeRule=f.compositeRule=true;var S=a;if(S){var v,w=-1,j=S.length-1;while(w{"use strict";e.exports=function generate_comment(e,t,i){var n=" ";var r=e.schema[t];var s=e.errSchemaPath+"/"+t;var a=!e.opts.allErrors;var o=e.util.toQuotedString(r);if(e.opts.$comment===true){n+=" console.log("+o+");"}else if(typeof e.opts.$comment=="function"){n+=" self._opts.$comment("+o+", "+e.util.toQuotedString(s)+", validate.root.schema);"}return n}},1661:e=>{"use strict";e.exports=function generate_const(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!d){n+=" var schema"+r+" = validate.schema"+o+";"}n+="var "+p+" = equal("+l+", schema"+r+"); if (!"+p+") { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+r+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to constant' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(c){n+=" else { "}return n}},55964:e=>{"use strict";e.exports=function generate_contains(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b="i"+r,g=f.dataLevel=e.dataLevel+1,y="data"+g,S=e.baseId,v=e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all);n+="var "+d+" = errors;var "+p+";";if(v){var w=e.compositeRule;e.compositeRule=f.compositeRule=true;f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+m+" = false; for (var "+b+" = 0; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var j=l+"["+b+"]";f.dataPathArr[g]=b;var z=e.validate(f);f.baseId=S;if(e.util.varOccurences(z,y)<2){n+=" "+e.util.varReplace(z,y,j)+" "}else{n+=" var "+y+" = "+j+"; "+z+" "}n+=" if ("+m+") break; } ";e.compositeRule=f.compositeRule=w;n+=" "+h+" if (!"+m+") {"}else{n+=" if ("+l+".length == 0) {"}var O=O||[];O.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should contain a valid item' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var k=n;n=O.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+k+"]); "}else{n+=" validate.errors = ["+k+"]; return false; "}}else{n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { ";if(v){n+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "}if(e.opts.allErrors){n+=" } "}return n}},5912:e=>{"use strict";e.exports=function generate_custom(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d="valid"+r;var f="errs__"+r;var h=e.opts.$data&&a&&a.$data,m;if(h){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+r}else{m=a}var b=this,g="definition"+r,y=b.definition,S="";var v,w,j,z,O;if(h&&y.$data){O="keywordValidate"+r;var k=y.validateSchema;n+=" var "+g+" = RULES.custom['"+t+"'].definition; var "+O+" = "+g+".validate;"}else{z=e.useCustomRule(b,a,e.schema,e);if(!z)return;m="validate.schema"+o;O=z.code;v=y.compile;w=y.inline;j=y.macro}var C=O+".errors",T="i"+r,_="ruleErr"+r,A=y.async;if(A&&!e.async)throw new Error("async keyword in sync schema");if(!(w||j)){n+=""+C+" = null;"}n+="var "+f+" = errors;var "+d+";";if(h&&y.$data){S+="}";n+=" if ("+m+" === undefined) { "+d+" = true; } else { ";if(k){S+="}";n+=" "+d+" = "+g+".validateSchema("+m+"); if ("+d+") { "}}if(w){if(y.statements){n+=" "+z.validate+" "}else{n+=" "+d+" = "+z.validate+"; "}}else if(j){var E=e.util.copy(e);var S="";E.level++;var R="valid"+E.level;E.schema=z.validate;E.schemaPath="";var x=e.compositeRule;e.compositeRule=E.compositeRule=true;var N=e.validate(E).replace(/validate\.schema/g,O);e.compositeRule=E.compositeRule=x;n+=" "+N}else{var V=V||[];V.push(n);n="";n+=" "+O+".call( ";if(e.opts.passContext){n+="this"}else{n+="self"}if(v||y.schema===false){n+=" , "+p+" "}else{n+=" , "+m+" , "+p+" , validate.schema"+e.schemaPath+" "}n+=" , (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var P=s?"data"+(s-1||""):"parentData",M=s?e.dataPathArr[s]:"parentDataProperty";n+=" , "+P+" , "+M+" , rootData ) ";var B=n;n=V.pop();if(y.errors===false){n+=" "+d+" = ";if(A){n+="await "}n+=""+B+"; "}else{if(A){C="customErrors"+r;n+=" var "+C+" = null; try { "+d+" = await "+B+"; } catch (e) { "+d+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } "}else{n+=" "+C+" = null; "+d+" = "+B+"; "}}}if(y.modifying){n+=" if ("+P+") "+p+" = "+P+"["+M+"];"}n+=""+S;if(y.valid){if(c){n+=" if (true) { "}}else{n+=" if ( ";if(y.valid===undefined){n+=" !";if(j){n+=""+R}else{n+=""+d}}else{n+=" "+!y.valid+" "}n+=") { ";l=b.keyword;var V=V||[];V.push(n);n="";var V=V||[];V.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+b.keyword+"' } ";if(e.opts.messages!==false){n+=" , message: 'should pass \""+b.keyword+"\" keyword validation' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var I=n;n=V.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+I+"]); "}else{n+=" validate.errors = ["+I+"]; return false; "}}else{n+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var D=n;n=V.pop();if(w){if(y.errors){if(y.errors!="full"){n+=" for (var "+T+"="+f+"; "+T+"{"use strict";e.exports=function generate_dependencies(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;var m={},b={},g=e.opts.ownProperties;for(w in a){if(w=="__proto__")continue;var y=a[w];var S=Array.isArray(y)?b:m;S[w]=y}n+="var "+p+" = errors;";var v=e.errorPath;n+="var missing"+r+";";for(var w in b){S=b[w];if(S.length){n+=" if ( "+l+e.util.getProperty(w)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "}if(c){n+=" && ( ";var j=S;if(j){var z,O=-1,k=j.length-1;while(O0||y===false:e.util.schemaHasRules(y,e.RULES.all)){n+=" "+h+" = true; if ( "+l+e.util.getProperty(w)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "}n+=") { ";d.schema=y;d.schemaPath=o+e.util.getProperty(w);d.errSchemaPath=u+"/"+e.util.escapeFragment(w);n+=" "+e.validate(d)+" ";d.baseId=P;n+=" } ";if(c){n+=" if ("+h+") { ";f+="}"}}}if(c){n+=" "+f+" if ("+p+" == errors) {"}return n}},10163:e=>{"use strict";e.exports=function generate_enum(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h="i"+r,m="schema"+r;if(!d){n+=" var "+m+" = validate.schema"+o+";"}n+="var "+p+";";if(d){n+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"}n+=""+p+" = false;for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) if (equal("+l+", "+m+"["+h+"])) { "+p+" = true; break; }";if(d){n+=" } "}n+=" if (!"+p+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+r+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var g=n;n=b.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+g+"]); "}else{n+=" validate.errors = ["+g+"]; return false; "}}else{n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(c){n+=" else { "}return n}},63847:e=>{"use strict";e.exports=function generate_format(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");if(e.opts.format===false){if(c){n+=" if (true) { "}return n}var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}var f=e.opts.unknownFormats,h=Array.isArray(f);if(p){var m="format"+r,b="isObject"+r,g="formatType"+r;n+=" var "+m+" = formats["+d+"]; var "+b+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+g+" = "+b+" && "+m+".type || 'string'; if ("+b+") { ";if(e.async){n+=" var async"+r+" = "+m+".async; "}n+=" "+m+" = "+m+".validate; } if ( ";if(p){n+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "}n+=" (";if(f!="ignore"){n+=" ("+d+" && !"+m+" ";if(h){n+=" && self._opts.unknownFormats.indexOf("+d+") == -1 "}n+=") || "}n+=" ("+m+" && "+g+" == '"+i+"' && !(typeof "+m+" == 'function' ? ";if(e.async){n+=" (async"+r+" ? await "+m+"("+l+") : "+m+"("+l+")) "}else{n+=" "+m+"("+l+") "}n+=" : "+m+".test("+l+"))))) {"}else{var m=e.formats[a];if(!m){if(f=="ignore"){e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"');if(c){n+=" if (true) { "}return n}else if(h&&f.indexOf(a)>=0){if(c){n+=" if (true) { "}return n}else{throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}}var b=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var g=b&&m.type||"string";if(b){var y=m.async===true;m=m.validate}if(g!=i){if(c){n+=" if (true) { "}return n}if(y){if(!e.async)throw new Error("async format in sync schema");var S="formats"+e.util.getProperty(a)+".validate";n+=" if (!(await "+S+"("+l+"))) { "}else{n+=" if (! ";var S="formats"+e.util.getProperty(a);if(b)S+=".validate";if(typeof m=="function"){n+=" "+S+"("+l+") "}else{n+=" "+S+".test("+l+") "}n+=") { "}}var v=v||[];v.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ";if(p){n+=""+d}else{n+=""+e.util.toQuotedString(a)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match format \"";if(p){n+="' + "+d+" + '"}else{n+=""+e.util.escapeQuotes(a)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(a)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var w=n;n=v.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+w+"]); "}else{n+=" validate.errors = ["+w+"]; return false; "}}else{n+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}return n}},80862:e=>{"use strict";e.exports=function generate_if(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);f.level++;var h="valid"+f.level;var m=e.schema["then"],b=e.schema["else"],g=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===false:e.util.schemaHasRules(m,e.RULES.all)),y=b!==undefined&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===false:e.util.schemaHasRules(b,e.RULES.all)),S=f.baseId;if(g||y){var v;f.createErrors=false;f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+d+" = errors; var "+p+" = true; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=true;n+=" "+e.validate(f)+" ";f.baseId=S;f.createErrors=true;n+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ";e.compositeRule=f.compositeRule=w;if(g){n+=" if ("+h+") { ";f.schema=e.schema["then"];f.schemaPath=e.schemaPath+".then";f.errSchemaPath=e.errSchemaPath+"/then";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+p+" = "+h+"; ";if(g&&y){v="ifClause"+r;n+=" var "+v+" = 'then'; "}else{v="'then'"}n+=" } ";if(y){n+=" else { "}}else{n+=" if (!"+h+") { "}if(y){f.schema=e.schema["else"];f.schemaPath=e.schemaPath+".else";f.errSchemaPath=e.errSchemaPath+"/else";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+p+" = "+h+"; ";if(g&&y){v="ifClause"+r;n+=" var "+v+" = 'else'; "}else{v="'else'"}n+=" } "}n+=" if (!"+p+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+v+" } ";if(e.opts.messages!==false){n+=" , message: 'should match \"' + "+v+" + '\" schema' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+=" } ";if(c){n+=" else { "}}else{if(c){n+=" if (true) { "}}return n}},85810:(e,t,i)=>{"use strict";e.exports={$ref:i(42393),allOf:i(89443),anyOf:i(63093),$comment:i(30134),const:i(1661),contains:i(55964),dependencies:i(2591),enum:i(10163),format:i(63847),if:i(80862),items:i(54408),maximum:i(7404),minimum:i(7404),maxItems:i(64683),minItems:i(64683),maxLength:i(52114),minLength:i(52114),maxProperties:i(71142),minProperties:i(71142),multipleOf:i(39772),not:i(60750),oneOf:i(6106),pattern:i(13912),properties:i(52924),propertyNames:i(19195),required:i(8420),uniqueItems:i(24995),validate:i(49585)}},54408:e=>{"use strict";e.exports=function generate_items(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b="i"+r,g=f.dataLevel=e.dataLevel+1,y="data"+g,S=e.baseId;n+="var "+d+" = errors;var "+p+";";if(Array.isArray(a)){var v=e.schema.additionalItems;if(v===false){n+=" "+p+" = "+l+".length <= "+a.length+"; ";var w=u;u=e.errSchemaPath+"/additionalItems";n+=" if (!"+p+") { ";var j=j||[];j.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a.length+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have more than "+a.length+" items' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var z=n;n=j.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+z+"]); "}else{n+=" validate.errors = ["+z+"]; return false; "}}else{n+=" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";u=w;if(c){h+="}";n+=" else { "}}var O=a;if(O){var k,C=-1,T=O.length-1;while(C0||k===false:e.util.schemaHasRules(k,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+C+") { ";var _=l+"["+C+"]";f.schema=k;f.schemaPath=o+"["+C+"]";f.errSchemaPath=u+"/"+C;f.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,true);f.dataPathArr[g]=C;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}n+=" } ";if(c){n+=" if ("+m+") { ";h+="}"}}}}if(typeof v=="object"&&(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===false:e.util.schemaHasRules(v,e.RULES.all))){f.schema=v;f.schemaPath=e.schemaPath+".additionalItems";f.errSchemaPath=e.errSchemaPath+"/additionalItems";n+=" "+m+" = true; if ("+l+".length > "+a.length+") { for (var "+b+" = "+a.length+"; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var _=l+"["+b+"]";f.dataPathArr[g]=b;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}if(c){n+=" if (!"+m+") break; "}n+=" } } ";if(c){n+=" if ("+m+") { ";h+="}"}}}else if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" for (var "+b+" = "+0+"; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var _=l+"["+b+"]";f.dataPathArr[g]=b;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}if(c){n+=" if (!"+m+") break; "}n+=" }"}if(c){n+=" "+h+" if ("+d+" == errors) {"}return n}},39772:e=>{"use strict";e.exports=function generate_multipleOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}if(!(p||typeof a=="number")){throw new Error(t+" must be number")}n+="var division"+r+";if (";if(p){n+=" "+d+" !== undefined && ( typeof "+d+" != 'number' || "}n+=" (division"+r+" = "+l+" / "+d+", ";if(e.opts.multipleOfPrecision){n+=" Math.abs(Math.round(division"+r+") - division"+r+") > 1e-"+e.opts.multipleOfPrecision+" "}else{n+=" division"+r+" !== parseInt(division"+r+") "}n+=" ) ";if(p){n+=" ) "}n+=" ) { ";var f=f||[];f.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+d+" } ";if(e.opts.messages!==false){n+=" , message: 'should be multiple of ";if(p){n+="' + "+d}else{n+=""+d+"'"}}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var h=n;n=f.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+h+"]); "}else{n+=" validate.errors = ["+h+"]; return false; "}}else{n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},60750:e=>{"use strict";e.exports=function generate_not(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);d.level++;var f="valid"+d.level;if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a;d.schemaPath=o;d.errSchemaPath=u;n+=" var "+p+" = errors; ";var h=e.compositeRule;e.compositeRule=d.compositeRule=true;d.createErrors=false;var m;if(d.opts.allErrors){m=d.opts.allErrors;d.opts.allErrors=false}n+=" "+e.validate(d)+" ";d.createErrors=true;if(m)d.opts.allErrors=m;e.compositeRule=d.compositeRule=h;n+=" if ("+f+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var g=n;n=b.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+g+"]); "}else{n+=" validate.errors = ["+g+"]; return false; "}}else{n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){n+=" } "}}else{n+=" var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(c){n+=" if (false) { "}}return n}},6106:e=>{"use strict";e.exports=function generate_oneOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b=f.baseId,g="prevValid"+r,y="passingSchemas"+r;n+="var "+d+" = errors , "+g+" = false , "+p+" = false , "+y+" = null; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=true;var v=a;if(v){var w,j=-1,z=v.length-1;while(j0||w===false:e.util.schemaHasRules(w,e.RULES.all)){f.schema=w;f.schemaPath=o+"["+j+"]";f.errSchemaPath=u+"/"+j;n+=" "+e.validate(f)+" ";f.baseId=b}else{n+=" var "+m+" = true; "}if(j){n+=" if ("+m+" && "+g+") { "+p+" = false; "+y+" = ["+y+", "+j+"]; } else { ";h+="}"}n+=" if ("+m+") { "+p+" = "+g+" = true; "+y+" = "+j+"; }"}}e.compositeRule=f.compositeRule=S;n+=""+h+"if (!"+p+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+y+" } ";if(e.opts.messages!==false){n+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+="} else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }";if(e.opts.allErrors){n+=" } "}return n}},13912:e=>{"use strict";e.exports=function generate_pattern(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}var f=p?"(new RegExp("+d+"))":e.usePattern(a);n+="if ( ";if(p){n+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "}n+=" !"+f+".test("+l+") ) { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ";if(p){n+=""+d}else{n+=""+e.util.toQuotedString(a)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match pattern \"";if(p){n+="' + "+d+" + '"}else{n+=""+e.util.escapeQuotes(a)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(a)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},52924:e=>{"use strict";e.exports=function generate_properties(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;var m="key"+r,b="idx"+r,g=d.dataLevel=e.dataLevel+1,y="data"+g,S="dataProperties"+r;var v=Object.keys(a||{}).filter(notProto),w=e.schema.patternProperties||{},j=Object.keys(w).filter(notProto),z=e.schema.additionalProperties,O=v.length||j.length,k=z===false,C=typeof z=="object"&&Object.keys(z).length,T=e.opts.removeAdditional,_=k||C||T,A=e.opts.ownProperties,E=e.baseId;var R=e.schema.required;if(R&&!(e.opts.$data&&R.$data)&&R.length8){n+=" || validate.schema"+o+".hasOwnProperty("+m+") "}else{var N=v;if(N){var V,P=-1,M=N.length-1;while(P0||$===false:e.util.schemaHasRules($,e.RULES.all)){var ee=e.util.getProperty(V),W=l+ee,te=J&&$.default!==undefined;d.schema=$;d.schemaPath=o+ee;d.errSchemaPath=u+"/"+e.util.escapeFragment(V);d.errorPath=e.util.getPath(e.errorPath,V,e.opts.jsonPointers);d.dataPathArr[g]=e.util.toQuotedString(V);var F=e.validate(d);d.baseId=E;if(e.util.varOccurences(F,y)<2){F=e.util.varReplace(F,y,W);var ie=W}else{var ie=y;n+=" var "+y+" = "+W+"; "}if(te){n+=" "+F+" "}else{if(x&&x[V]){n+=" if ( "+ie+" === undefined ";if(A){n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=") { "+h+" = false; ";var L=e.errorPath,Q=u,ne=e.util.escapeQuotes(V);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(L,V,e.opts.jsonPointers)}u=e.errSchemaPath+"/required";var H=H||[];H.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+ne+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+ne+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var K=n;n=H.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+K+"]); "}else{n+=" validate.errors = ["+K+"]; return false; "}}else{n+=" var err = "+K+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=Q;e.errorPath=L;n+=" } else { "}else{if(c){n+=" if ( "+ie+" === undefined ";if(A){n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=") { "+h+" = true; } else { "}else{n+=" if ("+ie+" !== undefined ";if(A){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=" ) { "}}n+=" "+F+" } "}}if(c){n+=" if ("+h+") { ";f+="}"}}}}if(j.length){var re=j;if(re){var I,se=-1,ae=re.length-1;while(se0||$===false:e.util.schemaHasRules($,e.RULES.all)){d.schema=$;d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(I);d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(I);if(A){n+=" "+S+" = "+S+" || Object.keys("+l+"); for (var "+b+"=0; "+b+"<"+S+".length; "+b+"++) { var "+m+" = "+S+"["+b+"]; "}else{n+=" for (var "+m+" in "+l+") { "}n+=" if ("+e.usePattern(I)+".test("+m+")) { ";d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var W=l+"["+m+"]";d.dataPathArr[g]=m;var F=e.validate(d);d.baseId=E;if(e.util.varOccurences(F,y)<2){n+=" "+e.util.varReplace(F,y,W)+" "}else{n+=" var "+y+" = "+W+"; "+F+" "}if(c){n+=" if (!"+h+") break; "}n+=" } ";if(c){n+=" else "+h+" = true; "}n+=" } ";if(c){n+=" if ("+h+") { ";f+="}"}}}}}if(c){n+=" "+f+" if ("+p+" == errors) {"}return n}},19195:e=>{"use strict";e.exports=function generate_propertyNames(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;n+="var "+p+" = errors;";if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a;d.schemaPath=o;d.errSchemaPath=u;var m="key"+r,b="idx"+r,g="i"+r,y="' + "+m+" + '",S=d.dataLevel=e.dataLevel+1,v="data"+S,w="dataProperties"+r,j=e.opts.ownProperties,z=e.baseId;if(j){n+=" var "+w+" = undefined; "}if(j){n+=" "+w+" = "+w+" || Object.keys("+l+"); for (var "+b+"=0; "+b+"<"+w+".length; "+b+"++) { var "+m+" = "+w+"["+b+"]; "}else{n+=" for (var "+m+" in "+l+") { "}n+=" var startErrs"+r+" = errors; ";var O=m;var k=e.compositeRule;e.compositeRule=d.compositeRule=true;var C=e.validate(d);d.baseId=z;if(e.util.varOccurences(C,v)<2){n+=" "+e.util.varReplace(C,v,O)+" "}else{n+=" var "+v+" = "+O+"; "+C+" "}e.compositeRule=d.compositeRule=k;n+=" if (!"+h+") { for (var "+g+"=startErrs"+r+"; "+g+"{"use strict";e.exports=function generate_ref(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.errSchemaPath+"/"+t;var u=!e.opts.allErrors;var c="data"+(s||"");var l="valid"+r;var p,d;if(a=="#"||a=="#/"){if(e.isRoot){p=e.async;d="validate"}else{p=e.root.schema.$async===true;d="root.refVal[0]"}}else{var f=e.resolveRef(e.baseId,a,e.isRoot);if(f===undefined){var h=e.MissingRefError.message(e.baseId,a);if(e.opts.missingRefs=="fail"){e.logger.error(h);var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { ref: '"+e.util.escapeQuotes(a)+"' } ";if(e.opts.messages!==false){n+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(a)+"' "}if(e.opts.verbose){n+=" , schema: "+e.util.toQuotedString(a)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&u){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(u){n+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(h);if(u){n+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,a,h)}}else if(f.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=f.schema;g.schemaPath="";g.errSchemaPath=a;var S=e.validate(g).replace(/validate\.schema/g,f.code);n+=" "+S+" ";if(u){n+=" if ("+y+") { "}}else{p=f.$async===true||e.async&&f.$async!==false;d=f.code}}if(d){var m=m||[];m.push(n);n="";if(e.opts.passContext){n+=" "+d+".call(this, "}else{n+=" "+d+"( "}n+=" "+c+", (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var v=s?"data"+(s-1||""):"parentData",w=s?e.dataPathArr[s]:"parentDataProperty";n+=" , "+v+" , "+w+", rootData) ";var j=n;n=m.pop();if(p){if(!e.async)throw new Error("async schema referenced by sync schema");if(u){n+=" var "+l+"; "}n+=" try { await "+j+"; ";if(u){n+=" "+l+" = true; "}n+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(u){n+=" "+l+" = false; "}n+=" } ";if(u){n+=" if ("+l+") { "}}else{n+=" if (!"+j+") { if (vErrors === null) vErrors = "+d+".errors; else vErrors = vErrors.concat("+d+".errors); errors = vErrors.length; } ";if(u){n+=" else { "}}}return n}},8420:e=>{"use strict";e.exports=function generate_required(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h="schema"+r;if(!d){if(a.length0||v===false:e.util.schemaHasRules(v,e.RULES.all)))){m[m.length]=g}}}}else{var m=a}}if(d||m.length){var w=e.errorPath,j=d||m.length>=e.opts.loopRequired,z=e.opts.ownProperties;if(c){n+=" var missing"+r+"; ";if(j){if(!d){n+=" var "+h+" = validate.schema"+o+"; "}var O="i"+r,k="schema"+r+"["+O+"]",C="' + "+k+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(w,k,e.opts.jsonPointers)}n+=" var "+p+" = true; ";if(d){n+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"}n+=" for (var "+O+" = 0; "+O+" < "+h+".length; "+O+"++) { "+p+" = "+l+"["+h+"["+O+"]] !== undefined ";if(z){n+=" && Object.prototype.hasOwnProperty.call("+l+", "+h+"["+O+"]) "}n+="; if (!"+p+") break; } ";if(d){n+=" } "}n+=" if (!"+p+") { ";var T=T||[];T.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var _=n;n=T.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+_+"]); "}else{n+=" validate.errors = ["+_+"]; return false; "}}else{n+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { "}else{n+=" if ( ";var A=m;if(A){var E,O=-1,R=A.length-1;while(O{"use strict";e.exports=function generate_uniqueItems(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if((a||d)&&e.opts.uniqueItems!==false){if(d){n+=" var "+p+"; if ("+f+" === false || "+f+" === undefined) "+p+" = true; else if (typeof "+f+" != 'boolean') "+p+" = false; else { "}n+=" var i = "+l+".length , "+p+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||h=="object"||h=="array"||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0)){n+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+p+" = false; break outer; } } } "}else{n+=" var itemIndices = {}, item; for (;i--;) { var item = "+l+"[i]; ";var b="checkDataType"+(m?"s":"");n+=" if ("+e.util[b](h,"item",e.opts.strictNumbers,true)+") continue; ";if(m){n+=" if (typeof item == 'string') item = '\"' + item; "}n+=" if (typeof itemIndices[item] == 'number') { "+p+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}n+=" } ";if(d){n+=" } "}n+=" if (!"+p+") { ";var g=g||[];g.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var y=n;n=g.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+y+"]); "}else{n+=" validate.errors = ["+y+"]; return false; "}}else{n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}}else{if(c){n+=" if (true) { "}}return n}},49585:e=>{"use strict";e.exports=function generate_validate(e,t,i){var n="";var r=e.schema.$async===true,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var o=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(o){var u="unknown keyword: "+o;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop){n+=" var validate = ";if(r){e.async=true;n+="async "}n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(a&&(e.opts.sourceCode||e.opts.processCode)){n+=" "+("/*# sourceURL="+a+" */")+" "}}if(typeof e.schema=="boolean"||!(s||e.schema.$ref)){var t="false schema";var c=e.level;var l=e.dataLevel;var p=e.schema[t];var d=e.schemaPath+e.util.getProperty(t);var f=e.errSchemaPath+"/"+t;var h=!e.opts.allErrors;var m;var b="data"+(l||"");var g="valid"+c;if(e.schema===false){if(e.isTop){h=true}else{n+=" var "+g+" = false; "}var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'boolean schema is false' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(r){n+=" return data; "}else{n+=" validate.errors = null; return true; "}}else{n+=" var "+g+" = true; "}}if(e.isTop){n+=" }; return validate; "}return n}if(e.isTop){var v=e.isTop,c=e.level=0,l=e.dataLevel=0,b="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}n+=" var vErrors = null; ";n+=" var errors = 0; ";n+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,l=e.dataLevel,b="data"+(l||"");if(a)e.baseId=e.resolve.url(e.baseId,a);if(r&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+c+" = errors;"}var g="valid"+c,h=!e.opts.allErrors,j="",z="";var m;var O=e.schema.type,k=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===true){if(k){if(O.indexOf("null")==-1)O=O.concat("null")}else if(O!="null"){O=[O,"null"];k=true}}if(k&&O.length==1){O=O[0];k=false}if(e.schema.$ref&&s){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){s=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){n+=" "+e.RULES.all.$comment.code(e,"$comment")}if(O){if(e.opts.coerceTypes){var C=e.util.coerceToTypes(e.opts.coerceTypes,O)}var T=e.RULES.types[O];if(C||k||T===true||T&&!$shouldUseGroup(T)){var d=e.schemaPath+".type",f=e.errSchemaPath+"/type";var d=e.schemaPath+".type",f=e.errSchemaPath+"/type",_=k?"checkDataTypes":"checkDataType";n+=" if ("+e.util[_](O,b,e.opts.strictNumbers,true)+") { ";if(C){var A="dataType"+c,E="coerced"+c;n+=" var "+A+" = typeof "+b+"; var "+E+" = undefined; ";if(e.opts.coerceTypes=="array"){n+=" if ("+A+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+A+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+E+" = "+b+"; } "}n+=" if ("+E+" !== undefined) ; ";var R=C;if(R){var x,N=-1,V=R.length-1;while(N{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i;var r=i(5912);var s=i(10458);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,t){var i=this.RULES;if(i.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,true);var s=t.type;if(Array.isArray(s)){for(var a=0;a{e.exports={newInvalidAsn1Error:function(e){var t=new Error;t.name="InvalidAsn1Error";t.message=e||"";return t}}},194:(e,t,i)=>{var n=i(99348);var r=i(42473);var s=i(20290);var a=i(43200);e.exports={Reader:s,Writer:a};for(var o in r){if(r.hasOwnProperty(o))e.exports[o]=r[o]}for(var u in n){if(n.hasOwnProperty(u))e.exports[u]=n[u]}},20290:(e,t,i)=>{var n=i(42357);var r=i(15118).Buffer;var s=i(42473);var a=i(99348);var o=a.newInvalidAsn1Error;function Reader(e){if(!e||!r.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e;this._size=e.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=this._buf[this._offset]&255;if(!e)this._offset+=1;return t};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(e){if(e===undefined)e=this._offset;if(e>=this._size)return null;var t=this._buf[e++]&255;if(t===null)return null;if((t&128)===128){t&=127;if(t===0)throw o("Indefinite length not supported");if(t>4)throw o("encoding too long");if(this._size-ethis._size-n)return null;this._offset=n;if(this.length===0)return t?r.alloc(0):"";var a=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return t?a:a.toString("utf8")};Reader.prototype.readOID=function(e){if(!e)e=s.OID;var t=this.readString(e,true);if(t===null)return null;var i=[];var n=0;for(var r=0;r>0);return i.join(".")};Reader.prototype._readTag=function(e){n.ok(e!==undefined);var t=this.peek();if(t===null)return null;if(t!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var i=this.readLength(this._offset+1);if(i===null)return null;if(this.length>4)throw o("Integer too long: "+this.length);if(this.length>this._size-i)return null;this._offset=i;var r=this._buf[this._offset];var s=0;for(var a=0;a>0};e.exports=Reader},42473:e=>{e.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},43200:(e,t,i)=>{var n=i(42357);var r=i(15118).Buffer;var s=i(42473);var a=i(99348);var o=a.newInvalidAsn1Error;var u={size:1024,growthFactor:8};function merge(e,t){n.ok(e);n.equal(typeof e,"object");n.ok(t);n.equal(typeof t,"object");var i=Object.getOwnPropertyNames(e);i.forEach(function(i){if(t[i])return;var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n)});return t}function Writer(e){e=merge(u,e||{});this._buf=r.alloc(e.size||1024);this._size=this._buf.length;this._offset=0;this._options=e;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw o(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=e};Writer.prototype.writeInt=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=s.Integer;var i=4;while(((e&4286578688)===0||(e&4286578688)===4286578688>>0)&&i>1){i--;e<<=8}if(i>4)throw o("BER ints cannot be > 0xffffffff");this._ensure(2+i);this._buf[this._offset++]=t;this._buf[this._offset++]=i;while(i-- >0){this._buf[this._offset++]=(e&4278190080)>>>24;e<<=8}};Writer.prototype.writeNull=function(){this.writeByte(s.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=s.Enumeration;return this.writeInt(e,t)};Writer.prototype.writeBoolean=function(e,t){if(typeof e!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof t!=="number")t=s.Boolean;this._ensure(3);this._buf[this._offset++]=t;this._buf[this._offset++]=1;this._buf[this._offset++]=e?255:0};Writer.prototype.writeString=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string (was: "+typeof e+")");if(typeof t!=="number")t=s.OctetString;var i=r.byteLength(e);this.writeByte(t);this.writeLength(i);if(i){this._ensure(i);this._buf.write(e,this._offset);this._offset+=i}};Writer.prototype.writeBuffer=function(e,t){if(typeof t!=="number")throw new TypeError("tag must be a number");if(!r.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(t);this.writeLength(e.length);this._ensure(e.length);e.copy(this._buf,this._offset,0,e.length);this._offset+=e.length};Writer.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})};Writer.prototype.writeOID=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string");if(typeof t!=="number")t=s.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");function encodeOctet(e,t){if(t<128){e.push(t)}else if(t<16384){e.push(t>>>7|128);e.push(t&127)}else if(t<2097152){e.push(t>>>14|128);e.push((t>>>7|128)&255);e.push(t&127)}else if(t<268435456){e.push(t>>>21|128);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}else{e.push((t>>>28|128)&255);e.push((t>>>21|128)&255);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}}var i=e.split(".");var n=[];n.push(parseInt(i[0],10)*40+parseInt(i[1],10));i.slice(2).forEach(function(e){encodeOctet(n,parseInt(e,10))});var r=this;this._ensure(2+n.length);this.writeByte(t);this.writeLength(n.length);n.forEach(function(e){r.writeByte(e)})};Writer.prototype.writeLength=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(e<=127){this._buf[this._offset++]=e}else if(e<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=e}else if(e<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else if(e<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=e>>16;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else{throw o("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(e){if(typeof e!=="number")e=s.Sequence|s.Constructor;this.writeByte(e);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var e=this._seq.pop();var t=e+3;var i=this._offset-t;if(i<=127){this._shift(t,i,-2);this._buf[e]=i}else if(i<=255){this._shift(t,i,-1);this._buf[e]=129;this._buf[e+1]=i}else if(i<=65535){this._buf[e]=130;this._buf[e+1]=i>>8;this._buf[e+2]=i}else if(i<=16777215){this._shift(t,i,1);this._buf[e]=131;this._buf[e+1]=i>>16;this._buf[e+2]=i>>8;this._buf[e+3]=i}else{throw o("Sequence too long")}};Writer.prototype._shift=function(e,t,i){n.ok(e!==undefined);n.ok(t!==undefined);n.ok(i);this._buf.copy(this._buf,e+i,e,e+t);this._offset+=i};Writer.prototype._ensure=function(e){n.ok(e);if(this._size-this._offset{var n=i(194);e.exports={Ber:n,BerReader:n.Reader,BerWriter:n.Writer}},66631:(e,t,i)=>{var n=i(42357);var r=i(92413).Stream;var s=i(31669);var a=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _toss(e,t,i,r,a){throw new n.AssertionError({message:s.format("%s (%s) is required",e,t),actual:a===undefined?typeof r:a(r),expected:t,operator:i||"===",stackStartFunction:_toss.caller})}function _getClass(e){return Object.prototype.toString.call(e).slice(8,-1)}function noop(){}var o={bool:{check:function(e){return typeof e==="boolean"}},func:{check:function(e){return typeof e==="function"}},string:{check:function(e){return typeof e==="string"}},object:{check:function(e){return typeof e==="object"&&e!==null}},number:{check:function(e){return typeof e==="number"&&!isNaN(e)}},finite:{check:function(e){return typeof e==="number"&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof r},operator:"instanceof",actual:_getClass},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:_getClass},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:_getClass},uuid:{check:function(e){return typeof e==="string"&&a.test(e)},operator:"isUUID"}};function _setExports(e){var t=Object.keys(o);var i;if(process.env.NODE_NDEBUG){i=noop}else{i=function(e,t){if(!e){_toss(t,"true",e)}}}t.forEach(function(t){if(e){i[t]=noop;return}var n=o[t];i[t]=function(e,i){if(!n.check(e)){_toss(i,t,n.operator,e,n.actual)}}});t.forEach(function(t){var n="optional"+_capitalize(t);if(e){i[n]=noop;return}var r=o[t];i[n]=function(e,i){if(e===undefined||e===null){return}if(!r.check(e)){_toss(i,t,r.operator,e,r.actual)}}});t.forEach(function(t){var n="arrayOf"+_capitalize(t);if(e){i[n]=noop;return}var r=o[t];var s="["+t+"]";i[n]=function(e,t){if(!Array.isArray(e)){_toss(t,s,r.operator,e,r.actual)}var i;for(i=0;i{e.exports={parallel:i(8210),serial:i(50445),serialOrdered:i(3578)}},1700:e=>{e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},72794:(e,t,i)=>{var n=i(15295);e.exports=async;function async(e){var t=false;n(function(){t=true});return function async_callback(i,r){if(t){e(i,r)}else{n(function nextTick_callback(){e(i,r)})}}}},15295:e=>{e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},9023:(e,t,i)=>{var n=i(72794),r=i(1700);e.exports=iterate;function iterate(e,t,i,n){var s=i["keyedList"]?i["keyedList"][i.index]:i.index;i.jobs[s]=runJob(t,s,e[s],function(e,t){if(!(s in i.jobs)){return}delete i.jobs[s];if(e){r(i)}else{i.results[s]=t}n(e,i.results)})}function runJob(e,t,i,r){var s;if(e.length==2){s=e(i,n(r))}else{s=e(i,t,n(r))}return s}},42474:e=>{e.exports=state;function state(e,t){var i=!Array.isArray(e),n={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};if(t){n.keyedList.sort(i?t:function(i,n){return t(e[i],e[n])})}return n}},37942:(e,t,i)=>{var n=i(1700),r=i(72794);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;n(this);r(e)(null,this.results)}},8210:(e,t,i)=>{var n=i(9023),r=i(42474),s=i(37942);e.exports=parallel;function parallel(e,t,i){var a=r(e);while(a.index<(a["keyedList"]||e).length){n(e,t,a,function(e,t){if(e){i(e,t);return}if(Object.keys(a.jobs).length===0){i(null,a.results);return}});a.index++}return s.bind(a,i)}},50445:(e,t,i)=>{var n=i(3578);e.exports=serial;function serial(e,t,i){return n(e,t,null,i)}},3578:(e,t,i)=>{var n=i(9023),r=i(42474),s=i(37942);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,i,a){var o=r(e,i);n(e,t,o,function iteratorHandler(i,r){if(i){a(i,r);return}o.index++;if(o.index<(o["keyedList"]||e).length){n(e,t,o,iteratorHandler);return}a(null,o.results)});return s.bind(o,a)}function ascending(e,t){return et?1:0}function descending(e,t){return-1*ascending(e,t)}},96342:(e,t,i)=>{var n=i(76417),r=i(78835).parse;var s=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function authorization(e){return"AWS "+e.key+":"+sign(e)}e.exports=authorization;e.exports.authorization=authorization;function hmacSha1(e){return n.createHmac("sha1",e.secret).update(e.message).digest("base64")}e.exports.hmacSha1=hmacSha1;function sign(e){e.message=stringToSign(e);return hmacSha1(e)}e.exports.sign=sign;function signQuery(e){e.message=queryStringToSign(e);return hmacSha1(e)}e.exports.signQuery=signQuery;function stringToSign(e){var t=e.amazonHeaders||"";if(t)t+="\n";var i=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource];return i.join("\n")}e.exports.stringToSign=stringToSign;function queryStringToSign(e){return"GET\n\n\n"+e.date+"\n"+e.resource}e.exports.queryStringToSign=queryStringToSign;function canonicalizeHeaders(e){var t=[],i=Object.keys(e);for(var n=0,r=i.length;n{var n=t,r=i(78835),s=i(71191),a=i(76417),o=i(74225),u=o(1e3);function hmac(e,t,i){return a.createHmac("sha256",e).update(t,"utf8").digest(i)}function hash(e,t){return a.createHash("sha256").update(e,"utf8").digest(t)}function encodeRfc3986(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeRfc3986Full(e){return encodeRfc3986(encodeURIComponent(e))}var c={authorization:true,connection:true,"x-amzn-trace-id":true,"user-agent":true,expect:true,"presigned-expires":true,range:true};function RequestSigner(e,t){if(typeof e==="string")e=r.parse(e);var i=e.headers=e.headers||{},n=(!this.service||!this.region)&&this.matchHost(e.hostname||e.host||i.Host||i.host);this.request=e;this.credentials=t||this.defaultCredentials();this.service=e.service||n[0]||"";this.region=e.region||n[1]||"us-east-1";if(this.service==="email")this.service="ses";if(!e.method&&e.body)e.method="POST";if(!i.Host&&!i.host){i.Host=e.hostname||e.host||this.createHost();if(e.port)i.Host+=":"+e.port}if(!e.hostname&&!e.host)e.hostname=i.Host||i.host;this.isCodeCommitGit=this.service==="codecommit"&&e.method==="GIT"}RequestSigner.prototype.matchHost=function(e){var t=(e||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/);var i=(t||[]).slice(1,3);if(i[1]==="es")i=i.reverse();if(i[1]=="s3"){i[0]="s3";i[1]="us-east-1"}else{for(var n=0;n<2;n++){if(/^s3-/.test(i[n])){i[1]=i[n].slice(3);i[0]="s3";break}}}return i};RequestSigner.prototype.isSingleRegion=function(){if(["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1")return true;return["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0};RequestSigner.prototype.createHost=function(){var e=this.isSingleRegion()?"":"."+this.region,t=this.service==="ses"?"email":this.service;return t+e+".amazonaws.com"};RequestSigner.prototype.prepareRequest=function(){this.parsePath();var e=this.request,t=e.headers,i;if(e.signQuery){this.parsedPath.query=i=this.parsedPath.query||{};if(this.credentials.sessionToken)i["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!i["X-Amz-Expires"])i["X-Amz-Expires"]=86400;if(i["X-Amz-Date"])this.datetime=i["X-Amz-Date"];else i["X-Amz-Date"]=this.getDateTime();i["X-Amz-Algorithm"]="AWS4-HMAC-SHA256";i["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString();i["X-Amz-SignedHeaders"]=this.signedHeaders()}else{if(!e.doNotModifyHeaders&&!this.isCodeCommitGit){if(e.body&&!t["Content-Type"]&&!t["content-type"])t["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8";if(e.body&&!t["Content-Length"]&&!t["content-length"])t["Content-Length"]=Buffer.byteLength(e.body);if(this.credentials.sessionToken&&!t["X-Amz-Security-Token"]&&!t["x-amz-security-token"])t["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!t["X-Amz-Content-Sha256"]&&!t["x-amz-content-sha256"])t["X-Amz-Content-Sha256"]=hash(this.request.body||"","hex");if(t["X-Amz-Date"]||t["x-amz-date"])this.datetime=t["X-Amz-Date"]||t["x-amz-date"];else t["X-Amz-Date"]=this.getDateTime()}delete t.Authorization;delete t.authorization}};RequestSigner.prototype.sign=function(){if(!this.parsedPath)this.prepareRequest();if(this.request.signQuery){this.parsedPath.query["X-Amz-Signature"]=this.signature()}else{this.request.headers.Authorization=this.authHeader()}this.request.path=this.formatPath();return this.request};RequestSigner.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,"");if(this.isCodeCommitGit)this.datetime=this.datetime.slice(0,-1)}return this.datetime};RequestSigner.prototype.getDate=function(){return this.getDateTime().substr(0,8)};RequestSigner.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")};RequestSigner.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),i,n,r,s=u.get(t);if(!s){i=hmac("AWS4"+this.credentials.secretAccessKey,e);n=hmac(i,this.region);r=hmac(n,this.service);s=hmac(r,"aws4_request");u.set(t,s)}return hmac(s,this.stringToSign(),"hex")};RequestSigner.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),hash(this.canonicalString(),"hex")].join("\n")};RequestSigner.prototype.canonicalString=function(){if(!this.parsedPath)this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,i=this.request.headers,n="",r=this.service!=="s3",s=this.service==="s3"||this.request.doNotEncodePath,a=this.service==="s3",o=this.service==="s3",u;if(this.service==="s3"&&this.request.signQuery){u="UNSIGNED-PAYLOAD"}else if(this.isCodeCommitGit){u=""}else{u=i["X-Amz-Content-Sha256"]||i["x-amz-content-sha256"]||hash(this.request.body||"","hex")}if(t){var c=Object.keys(t).reduce(function(e,i){if(!i)return e;e[encodeRfc3986Full(i)]=!Array.isArray(t[i])?t[i]:o?t[i][0]:t[i];return e},{});var l=[];Object.keys(c).sort().forEach(function(e){if(!Array.isArray(c[e])){l.push(e+"="+encodeRfc3986Full(c[e]))}else{c[e].map(encodeRfc3986Full).sort().forEach(function(t){l.push(e+"="+t)})}});n=l.join("&")}if(e!=="/"){if(r)e=e.replace(/\/{2,}/g,"/");e=e.split("/").reduce(function(e,t){if(r&&t===".."){e.pop()}else if(!r||t!=="."){if(s)t=decodeURIComponent(t.replace(/\+/g," "));e.push(encodeRfc3986Full(t))}return e},[]).join("/");if(e[0]!=="/")e="/"+e;if(a)e=e.replace(/%2F/g,"/")}return[this.request.method||"GET",e,n,this.canonicalHeaders()+"\n",this.signedHeaders(),u].join("\n")};RequestSigner.prototype.canonicalHeaders=function(){var e=this.request.headers;function trimAll(e){return e.toString().trim().replace(/\s+/g," ")}return Object.keys(e).filter(function(e){return c[e.toLowerCase()]==null}).sort(function(e,t){return e.toLowerCase()=0){i=s.parse(e.slice(t+1));e=e.slice(0,t)}this.parsedPath={path:e,query:i}};RequestSigner.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;if(!t)return e;if(t[""]!=null)delete t[""];return e+"?"+encodeRfc3986(s.stringify(t))};n.RequestSigner=RequestSigner;n.sign=function(e,t){return new RequestSigner(e,t).sign()}},74225:e=>{e.exports=function(e){return new LruCache(e)};function LruCache(e){this.capacity=e|0;this.map=Object.create(null);this.list=new DoublyLinkedList}LruCache.prototype.get=function(e){var t=this.map[e];if(t==null)return undefined;this.used(t);return t.val};LruCache.prototype.set=function(e,t){var i=this.map[e];if(i!=null){i.val=t}else{if(!this.capacity)this.prune();if(!this.capacity)return false;i=new DoublyLinkedNode(e,t);this.map[e]=i;this.capacity--}this.used(i);return true};LruCache.prototype.used=function(e){this.list.moveToFront(e)};LruCache.prototype.prune=function(){var e=this.list.pop();if(e!=null){delete this.map[e.key];this.capacity++}};function DoublyLinkedList(){this.firstNode=null;this.lastNode=null}DoublyLinkedList.prototype.moveToFront=function(e){if(this.firstNode==e)return;this.remove(e);if(this.firstNode==null){this.firstNode=e;this.lastNode=e;e.prev=null;e.next=null}else{e.prev=null;e.next=this.firstNode;e.next.prev=e;this.firstNode=e}};DoublyLinkedList.prototype.pop=function(){var e=this.lastNode;if(e!=null){this.remove(e)}return e};DoublyLinkedList.prototype.remove=function(e){if(this.firstNode==e){this.firstNode=e.next}else if(e.prev!=null){e.prev.next=e.next}if(this.lastNode==e){this.lastNode=e.prev}else if(e.next!=null){e.next.prev=e.prev}};function DoublyLinkedNode(e,t){this.key=e;this.val=t;this.prev=null;this.next=null}},9417:e=>{"use strict";e.exports=balanced;function balanced(e,t,i){if(e instanceof RegExp)e=maybeMatch(e,i);if(t instanceof RegExp)t=maybeMatch(t,i);var n=range(e,t,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+e.length,n[1]),post:i.slice(n[1]+t.length)}}function maybeMatch(e,t){var i=t.match(e);return i?i[0]:null}balanced.range=range;function range(e,t,i){var n,r,s,a,o;var u=i.indexOf(e);var c=i.indexOf(t,u+1);var l=u;if(u>=0&&c>0){n=[];s=i.length;while(l>=0&&!o){if(l==u){n.push(l);u=i.indexOf(e,l+1)}else if(n.length==1){o=[n.pop(),c]}else{r=n.pop();if(r=0?u:c}if(n.length){o=[s,a]}}return o}},45447:(e,t,i)=>{"use strict";var n=i(68729).lowlevel.crypto_hash;var r=0;var s=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])];this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function F(e,t,i){return(e[0][t[i+3]]+e[1][t[i+2]]^e[2][t[i+1]])+e[3][t[i]]}s.prototype.encipher=function(e,t){if(t===undefined){t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset)}e[0]^=this.P[0];for(var i=1;i<16;i+=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i+1]}var n=e[0];e[0]=e[1]^this.P[17];e[1]=n};s.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset);e[0]^=this.P[17];for(var i=16;i>0;i-=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i-1]}var n=e[0];e[0]=e[1]^this.P[0];e[1]=n};function stream2word(e,t){var i,n=0;for(i=0;i<4;i++,r++){if(r>=t)r=0;n=n<<8|e[r]}return n}s.prototype.expand0state=function(e,t){var i=new Uint32Array(2),n,s;var a=new Uint8Array(i.buffer);for(n=0,r=0;n<18;n++){this.P[n]^=stream2word(e,t)}r=0;for(n=0;n<18;n+=2){this.encipher(i,a);this.P[n]=i[0];this.P[n+1]=i[1]}for(n=0;n<4;n++){for(s=0;s<256;s+=2){this.encipher(i,a);this.S[n][s]=i[0];this.S[n][s+1]=i[1]}}};s.prototype.expandstate=function(e,t,i,n){var s=new Uint32Array(2),a,o;for(a=0,r=0;a<18;a++){this.P[a]^=stream2word(i,n)}for(a=0,r=0;a<18;a+=2){s[0]^=stream2word(e,t);s[1]^=stream2word(e,t);this.encipher(s);this.P[a]=s[0];this.P[a+1]=s[1]}for(a=0;a<4;a++){for(o=0;o<256;o+=2){s[0]^=stream2word(e,t);s[1]^=stream2word(e,t);this.encipher(s);this.S[a][o]=s[0];this.S[a][o+1]=s[1]}}r=0};s.prototype.enc=function(e,t){for(var i=0;i>>24;i[4*o+2]=r[o]>>>16;i[4*o+1]=r[o]>>>8;i[4*o+0]=r[o]}}function bcrypt_pbkdf(e,t,i,r,s,a,u){var c=new Uint8Array(64),l=new Uint8Array(64),p=new Uint8Array(o),d=new Uint8Array(o),f=new Uint8Array(r+4),h,m,b,g,y,S,v=a;if(u<1)return-1;if(t===0||r===0||a===0||a>p.byteLength*p.byteLength||r>1<<20)return-1;g=Math.floor((a+p.byteLength-1)/p.byteLength);b=Math.floor((a+g-1)/g);for(h=0;h0;S++){f[r+0]=S>>>24;f[r+1]=S>>>16;f[r+2]=S>>>8;f[r+3]=S;n(l,f,r+4);bcrypt_hash(c,l,d);for(h=p.byteLength;h--;)p[h]=d[h];for(h=1;h=v)break;s[y]=p[h]}a-=h}return 0}e.exports={BLOCKS:a,HASHSIZE:o,hash:bcrypt_hash,pbkdf:bcrypt_pbkdf}},83682:(e,t,i)=>{var n=i(44670);var r=i(5549);var s=i(6819);var a=Function.bind;var o=a.bind(a);function bindApi(e,t,i){var n=o(s,null).apply(null,i?[t,i]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach(function(n){var s=i?[t,n,i]:[t,n];e[n]=e.api[n]=o(r,null).apply(null,s)})}function HookSingular(){var e="h";var t={registry:{}};var i=n.bind(null,t,e);bindApi(i,t,e);return i}function HookCollection(){var e={registry:{}};var t=n.bind(null,e);bindApi(t,e);return t}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=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},5549:e=>{e.exports=addHook;function addHook(e,t,i,n){var r=n;if(!e.registry[i]){e.registry[i]=[]}if(t==="before"){n=function(e,t){return Promise.resolve().then(r.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){n=function(e,t){var i;return Promise.resolve().then(e.bind(null,t)).then(function(e){i=e;return r(i,t)}).then(function(){return i})}}if(t==="error"){n=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch(function(e){return r(e,t)})}}e.registry[i].push({hook:n,orig:r})}},44670:e=>{e.exports=register;function register(e,t,i,n){if(typeof i!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(function(t,i){return register.bind(null,e,i,t,n)},i)()}return Promise.resolve().then(function(){if(!e.registry[t]){return i(n)}return e.registry[t].reduce(function(e,t){return t.hook.bind(null,e,n)},i)()})}},6819:e=>{e.exports=removeHook;function removeHook(e,t,i){if(!e.registry[t]){return}var n=e.registry[t].map(function(e){return e.orig}).indexOf(i);if(n===-1){return}e.registry[t].splice(n,1)}},33717:(e,t,i)=>{var n=i(86891);var r=i(9417);e.exports=expandTop;var s="\0SLASH"+Math.random()+"\0";var a="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var u="\0COMMA"+Math.random()+"\0";var c="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(o).split("\\,").join(u).split("\\.").join(c)}function unescapeBraces(e){return e.split(s).join("\\").split(a).join("{").split(o).join("}").split(u).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var i=r("{","}",e);if(!i)return e.split(",");var n=i.pre;var s=i.body;var a=i.post;var o=n.split(",");o[o.length-1]+="{"+s+"}";var u=parseCommaParts(a);if(a.length){o[o.length-1]+=u.shift();o.push.apply(o,u)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var i=[];var s=r("{","}",e);if(!s||/\$$/.test(s.pre))return[e];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body);var c=a||u;var l=s.body.indexOf(",")>=0;if(!c&&!l){if(s.post.match(/,.*\}/)){e=s.pre+"{"+s.body+o+s.post;return expand(e)}return[e]}var p;if(c){p=s.body.split(/\.\./)}else{p=parseCommaParts(s.body);if(p.length===1){p=expand(p[0],false).map(embrace);if(p.length===1){var d=s.post.length?expand(s.post,false):[""];return d.map(function(e){return s.pre+p[0]+e})}}}var f=s.pre;var d=s.post.length?expand(s.post,false):[""];var h;if(c){var m=numeric(p[0]);var b=numeric(p[1]);var g=Math.max(p[0].length,p[1].length);var y=p.length==3?Math.abs(numeric(p[2])):1;var S=lte;var v=b0){var k=new Array(O+1).join("0");if(j<0)z="-"+k+z.slice(1);else z=k+z}}}h.push(z)}}else{h=n(p,function(e){return expand(e,false)})}for(var C=0;C{var n=i(92413),r=i(31669),s=i(78213);e.exports=function(t,i){return e.exports.createStream(t,i)};e.exports.createStream=function(e,t){if(e){return createLineStream(e,t)}else{return new LineStream(t)}};e.exports.createLineStream=function(e){console.log("WARNING: byline#createLineStream is deprecated and will be removed soon");return createLineStream(e)};function createLineStream(e,t){if(!e){throw new Error("expected readStream")}if(!e.readable){throw new Error("readStream must be readable")}var i=new LineStream(t);e.pipe(i);return i}e.exports.LineStream=LineStream;function LineStream(e){n.Transform.call(this,e);e=e||{};this._readableState.objectMode=true;this._lineBuffer=[];this._keepEmptyLines=e.keepEmptyLines||false;this._lastChunkEndedWithCR=false;var t=this;this.on("pipe",function(e){if(!t.encoding){if(e instanceof n.Readable){t.encoding=e._readableState.encoding}}})}r.inherits(LineStream,n.Transform);LineStream.prototype._transform=function(e,t,i){t=t||"utf8";if(Buffer.isBuffer(e)){if(t=="buffer"){e=e.toString();t="utf8"}else{e=e.toString(t)}}this._chunkEncoding=t;var n=e.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/g);if(this._lastChunkEndedWithCR&&e[0]=="\n"){n.shift()}if(this._lineBuffer.length>0){this._lineBuffer[this._lineBuffer.length-1]+=n[0];n.shift()}this._lastChunkEndedWithCR=e[e.length-1]=="\r";this._lineBuffer=this._lineBuffer.concat(n);this._pushBuffer(t,1,i)};LineStream.prototype._pushBuffer=function(e,t,i){while(this._lineBuffer.length>t){var n=this._lineBuffer.shift();if(this._keepEmptyLines||n.length>0){if(!this.push(this._reencode(n,e))){var r=this;s.setImmediate(function(){r._pushBuffer(e,t,i)});return}}}i()};LineStream.prototype._flush=function(e){this._pushBuffer(this._chunkEncoding,0,e)};LineStream.prototype._reencode=function(e,t){if(this.encoding&&this.encoding!=t){return new Buffer(e,t).toString(this.encoding)}else if(this.encoding){return e}else{return new Buffer(e,t)}}},2286:(e,t,i)=>{"use strict";const{V4MAPPED:n,ADDRCONFIG:r,ALL:s,promises:{Resolver:a},lookup:o}=i(40881);const{promisify:u}=i(31669);const c=i(12087);const l=Symbol("cacheableLookupCreateConnection");const p=Symbol("cacheableLookupInstance");const d=Symbol("expires");const f=typeof s==="number";const h=e=>{if(!(e&&typeof e.createConnection==="function")){throw new Error("Expected an Agent instance as the first argument")}};const m=e=>{for(const t of e){if(t.family===6){continue}t.address=`::ffff:${t.address}`;t.family=6}};const b=()=>{let e=false;let t=false;for(const i of Object.values(c.networkInterfaces())){for(const n of i){if(n.internal){continue}if(n.family==="IPv6"){t=true}else{e=true}if(e&&t){return{has4:e,has6:t}}}}return{has4:e,has6:t}};const g=e=>{return Symbol.iterator in e};const y={ttl:true};const S={all:true};class CacheableLookup{constructor({cache:e=new Map,maxTtl:t=Infinity,fallbackDuration:i=3600,errorTtl:n=.15,resolver:r=new a,lookup:s=o}={}){this.maxTtl=t;this.errorTtl=n;this._cache=e;this._resolver=r;this._dnsLookup=u(s);if(this._resolver instanceof a){this._resolve4=this._resolver.resolve4.bind(this._resolver);this._resolve6=this._resolver.resolve6.bind(this._resolver)}else{this._resolve4=u(this._resolver.resolve4.bind(this._resolver));this._resolve6=u(this._resolver.resolve6.bind(this._resolver))}this._iface=b();this._pending={};this._nextRemovalTime=false;this._hostnamesToFallback=new Set;if(i<1){this._fallback=false}else{this._fallback=true;const e=setInterval(()=>{this._hostnamesToFallback.clear()},i*1e3);if(e.unref){e.unref()}}this.lookup=this.lookup.bind(this);this.lookupAsync=this.lookupAsync.bind(this)}set servers(e){this.clear();this._resolver.setServers(e)}get servers(){return this._resolver.getServers()}lookup(e,t,i){if(typeof t==="function"){i=t;t={}}else if(typeof t==="number"){t={family:t}}if(!i){throw new Error("Callback must be a function.")}this.lookupAsync(e,t).then(e=>{if(t.all){i(null,e)}else{i(null,e.address,e.family,e.expires,e.ttl)}},i)}async lookupAsync(e,t={}){if(typeof t==="number"){t={family:t}}let i=await this.query(e);if(t.family===6){const e=i.filter(e=>e.family===6);if(t.hints&n){if(f&&t.hints&s||e.length===0){m(i)}else{i=e}}else{i=e}}else if(t.family===4){i=i.filter(e=>e.family===4)}if(t.hints&r){const{_iface:e}=this;i=i.filter(t=>t.family===6?e.has6:e.has4)}if(i.length===0){const t=new Error(`cacheableLookup ENOTFOUND ${e}`);t.code="ENOTFOUND";t.hostname=e;throw t}if(t.all){return i}return i[0]}async query(e){let t=await this._cache.get(e);if(!t){const i=this._pending[e];if(i){t=await i}else{const i=this.queryAndCache(e);this._pending[e]=i;try{t=await i}finally{delete this._pending[e]}}}t=t.map(e=>{return{...e}});return t}async _resolve(e){const t=async e=>{try{return await e}catch(e){if(e.code==="ENODATA"||e.code==="ENOTFOUND"){return[]}throw e}};const[i,n]=await Promise.all([this._resolve4(e,y),this._resolve6(e,y)].map(e=>t(e)));let r=0;let s=0;let a=0;const o=Date.now();for(const e of i){e.family=4;e.expires=o+e.ttl*1e3;r=Math.max(r,e.ttl)}for(const e of n){e.family=6;e.expires=o+e.ttl*1e3;s=Math.max(s,e.ttl)}if(i.length>0){if(n.length>0){a=Math.min(r,s)}else{a=r}}else{a=s}return{entries:[...i,...n],cacheTtl:a}}async _lookup(e){try{const t=await this._dnsLookup(e,{all:true});return{entries:t,cacheTtl:0}}catch(e){return{entries:[],cacheTtl:0}}}async _set(e,t,i){if(this.maxTtl>0&&i>0){i=Math.min(i,this.maxTtl)*1e3;t[d]=Date.now()+i;try{await this._cache.set(e,t,i)}catch(e){this.lookupAsync=(async()=>{const t=new Error("Cache Error. Please recreate the CacheableLookup instance.");t.cause=e;throw t})}if(g(this._cache)){this._tick(i)}}}async queryAndCache(e){if(this._hostnamesToFallback.has(e)){return this._dnsLookup(e,S)}let t=await this._resolve(e);if(t.entries.length===0&&this._fallback){t=await this._lookup(e);if(t.entries.length!==0){this._hostnamesToFallback.add(e)}}const i=t.entries.length===0?this.errorTtl:t.cacheTtl;await this._set(e,t.entries,i);return t.entries}_tick(e){const t=this._nextRemovalTime;if(!t||e{this._nextRemovalTime=false;let e=Infinity;const t=Date.now();for(const[i,n]of this._cache){const r=n[d];if(t>=r){this._cache.delete(i)}else if(r{if(!("lookup"in t)){t.lookup=this.lookup}return e[l](t,i)})}uninstall(e){h(e);if(e[l]){if(e[p]!==this){throw new Error("The agent is not owned by this CacheableLookup instance")}e.createConnection=e[l];delete e[l];delete e[p]}}updateInterfaceInfo(){const{_iface:e}=this;this._iface=b();if(e.has4&&!this._iface.has4||e.has6&&!this._iface.has6){this._cache.clear()}}clear(e){if(e){this._cache.delete(e);return}this._cache.clear()}}e.exports=CacheableLookup;e.exports.default=CacheableLookup},78116:(e,t,i)=>{"use strict";const n=i(28614);const r=i(78835);const s=i(17952);const a=i(21766);const o=i(61002);const u=i(9004);const c=i(9662);const l=i(81312);const p=i(51531);class CacheableRequest{constructor(e,t){if(typeof e!=="function"){throw new TypeError("Parameter `request` must be a function")}this.cache=new p({uri:typeof t==="string"&&t,store:typeof t!=="string"&&t,namespace:"cacheable-request"});return this.createCacheableRequest(e)}createCacheableRequest(e){return(t,i)=>{let p;if(typeof t==="string"){p=normalizeUrlObject(r.parse(t));t={}}else if(t instanceof r.URL){p=normalizeUrlObject(r.parse(t.toString()));t={}}else{const[e,...i]=(t.path||"").split("?");const n=i.length>0?`?${i.join("?")}`:"";p=normalizeUrlObject({...t,pathname:e,search:n})}t={headers:{},method:"GET",cache:true,strictTtl:false,automaticFailover:false,...t,...urlObjectToRequestOptions(p)};t.headers=c(t.headers);const d=new n;const f=s(r.format(p),{stripWWW:false,removeTrailingSlash:false,stripAuthentication:false});const h=`${t.method}:${f}`;let m=false;let b=false;const g=t=>{b=true;let n=false;let r;const s=new Promise(e=>{r=(()=>{if(!n){n=true;e()}})});const c=e=>{if(m&&!t.forceRefresh){e.status=e.statusCode;const i=o.fromObject(m.cachePolicy).revalidatedPolicy(t,e);if(!i.modified){const t=i.policy.responseHeaders();e=new u(m.statusCode,t,m.body,m.url);e.cachePolicy=i.policy;e.fromCache=true}}if(!e.fromCache){e.cachePolicy=new o(t,e,t);e.fromCache=false}let r;if(t.cache&&e.cachePolicy.storable()){r=l(e);(async()=>{try{const i=a.buffer(e);await Promise.race([s,new Promise(t=>e.once("end",t))]);if(n){return}const r=await i;const o={cachePolicy:e.cachePolicy.toObject(),url:e.url,statusCode:e.fromCache?m.statusCode:e.statusCode,body:r};let u=t.strictTtl?e.cachePolicy.timeToLive():undefined;if(t.maxTtl){u=u?Math.min(u,t.maxTtl):t.maxTtl}await this.cache.set(h,o,u)}catch(e){d.emit("error",new CacheableRequest.CacheError(e))}})()}else if(t.cache&&m){(async()=>{try{await this.cache.delete(h)}catch(e){d.emit("error",new CacheableRequest.CacheError(e))}})()}d.emit("response",r||e);if(typeof i==="function"){i(r||e)}};try{const i=e(t,c);i.once("error",r);i.once("abort",r);d.emit("request",i)}catch(e){d.emit("error",new CacheableRequest.RequestError(e))}};(async()=>{const e=async e=>{await Promise.resolve();const t=e.cache?await this.cache.get(h):undefined;if(typeof t==="undefined"){return g(e)}const n=o.fromObject(t.cachePolicy);if(n.satisfiesWithoutRevalidation(e)&&!e.forceRefresh){const e=n.responseHeaders();const r=new u(t.statusCode,e,t.body,t.url);r.cachePolicy=n;r.fromCache=true;d.emit("response",r);if(typeof i==="function"){i(r)}}else{m=t;e.headers=n.revalidationHeaders(e);g(e)}};const n=e=>d.emit("error",new CacheableRequest.CacheError(e));this.cache.once("error",n);d.on("response",()=>this.cache.removeListener("error",n));try{await e(t)}catch(e){if(t.automaticFailover&&!b){g(t)}d.emit("error",new CacheableRequest.CacheError(e))}})();return d}}}function urlObjectToRequestOptions(e){const t={...e};t.path=`${e.pathname||"/"}${e.search||""}`;delete t.pathname;delete t.search;return t}function normalizeUrlObject(e){return{protocol:e.protocol,auth:e.auth,hostname:e.hostname||e.host||"localhost",port:e.port,pathname:e.pathname,search:e.search}}CacheableRequest.RequestError=class extends Error{constructor(e){super(e.message);this.name="RequestError";Object.assign(this,e)}};CacheableRequest.CacheError=class extends Error{constructor(e){super(e.message);this.name="CacheError";Object.assign(this,e)}};e.exports=CacheableRequest},35684:e=>{function Caseless(e){this.dict=e||{}}Caseless.prototype.set=function(e,t,i){if(typeof e==="object"){for(var n in e){this.set(n,e[n],t)}}else{if(typeof i==="undefined")i=true;var r=this.has(e);if(!i&&r)this.dict[r]=this.dict[r]+","+t;else this.dict[r||e]=t;return r}};Caseless.prototype.has=function(e){var t=Object.keys(this.dict),e=e.toLowerCase();for(var i=0;i{"use strict";const n=i(35747);const r=i(85622);const s=n.lchown?"lchown":"chown";const a=n.lchownSync?"lchownSync":"chownSync";const o=n.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/);const u=(e,t,i)=>{try{return n[a](e,t,i)}catch(e){if(e.code!=="ENOENT")throw e}};const c=(e,t,i)=>{try{return n.chownSync(e,t,i)}catch(e){if(e.code!=="ENOENT")throw e}};const l=o?(e,t,i,r)=>s=>{if(!s||s.code!=="EISDIR")r(s);else n.chown(e,t,i,r)}:(e,t,i,n)=>n;const p=o?(e,t,i)=>{try{return u(e,t,i)}catch(n){if(n.code!=="EISDIR")throw n;c(e,t,i)}}:(e,t,i)=>u(e,t,i);const d=process.version;let f=(e,t,i)=>n.readdir(e,t,i);let h=(e,t)=>n.readdirSync(e,t);if(/^v4\./.test(d))f=((e,t,i)=>n.readdir(e,i));const m=(e,t,i,r)=>{n[s](e,t,i,l(e,t,i,e=>{r(e&&e.code!=="ENOENT"?e:null)}))};const b=(e,t,i,s,a)=>{if(typeof t==="string")return n.lstat(r.resolve(e,t),(n,r)=>{if(n)return a(n.code!=="ENOENT"?n:null);r.name=t;b(e,r,i,s,a)});if(t.isDirectory()){g(r.resolve(e,t.name),i,s,n=>{if(n)return a(n);const o=r.resolve(e,t.name);m(o,i,s,a)})}else{const n=r.resolve(e,t.name);m(n,i,s,a)}};const g=(e,t,i,n)=>{f(e,{withFileTypes:true},(r,s)=>{if(r){if(r.code==="ENOENT")return n();else if(r.code!=="ENOTDIR"&&r.code!=="ENOTSUP")return n(r)}if(r||!s.length)return m(e,t,i,n);let a=s.length;let o=null;const u=r=>{if(o)return;if(r)return n(o=r);if(--a===0)return m(e,t,i,n)};s.forEach(n=>b(e,n,t,i,u))})};const y=(e,t,i,s)=>{if(typeof t==="string"){try{const i=n.lstatSync(r.resolve(e,t));i.name=t;t=i}catch(e){if(e.code==="ENOENT")return;else throw e}}if(t.isDirectory())S(r.resolve(e,t.name),i,s);p(r.resolve(e,t.name),i,s)};const S=(e,t,i)=>{let n;try{n=h(e,{withFileTypes:true})}catch(n){if(n.code==="ENOENT")return;else if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return p(e,t,i);else throw n}if(n&&n.length)n.forEach(n=>y(e,n,t,i));return p(e,t,i)};e.exports=g;g.sync=S},27972:(e,t,i)=>{"use strict";const n=i(12087);const r=/\s+at.*(?:\(|\s)(.*)\)?/;const s=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/;const a=typeof n.homedir==="undefined"?"":n.homedir();e.exports=((e,t)=>{t=Object.assign({pretty:false},t);return e.replace(/\\/g,"/").split("\n").filter(e=>{const t=e.match(r);if(t===null||!t[1]){return true}const i=t[1];if(i.includes(".app/Contents/Resources/electron.asar")||i.includes(".app/Contents/Resources/default_app.asar")){return false}return!s.test(i)}).filter(e=>e.trim()!=="").map(e=>{if(t.pretty){return e.replace(r,(e,t)=>e.replace(t,t.replace(a,"~")))}return e}).join("\n")})},69372:e=>{"use strict";const t=["destroy","setTimeout","socket","headers","trailers","rawHeaders","statusCode","httpVersion","httpVersionMinor","httpVersionMajor","rawTrailers","statusMessage"];e.exports=((e,i)=>{const n=new Set(Object.keys(e).concat(t));for(const t of n){if(t in i){continue}i[t]=typeof e[t]==="function"?e[t].bind(e):e[t]}})},81312:(e,t,i)=>{"use strict";const n=i(92413).PassThrough;const r=i(69372);const s=e=>{if(!(e&&e.pipe)){throw new TypeError("Parameter `response` must be a response stream.")}const t=new n;r(e,t);return e.pipe(t)};e.exports=s},85443:(e,t,i)=>{var n=i(31669);var r=i(92413).Stream;var s=i(18611);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}n.inherits(CombinedStream,r);CombinedStream.create=function(e){var t=new this;e=e||{};for(var i in e){t[i]=e[i]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof s)){var i=s.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=i}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){r.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var i=e;this.write(i);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize});if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},86891:e=>{e.exports=function(e,i){var n=[];for(var r=0;r{var i;function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}i=isArray;function isBoolean(e){return typeof e==="boolean"}i=isBoolean;function isNull(e){return e===null}i=isNull;function isNullOrUndefined(e){return e==null}i=isNullOrUndefined;function isNumber(e){return typeof e==="number"}i=isNumber;function isString(e){return typeof e==="string"}i=isString;function isSymbol(e){return typeof e==="symbol"}i=isSymbol;function isUndefined(e){return e===void 0}i=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}i=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}i=isObject;function isDate(e){return objectToString(e)==="[object Date]"}i=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.VZ=isError;function isFunction(e){return typeof e==="function"}i=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}i=isPrimitive;i=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},82391:(e,t,i)=>{"use strict";const{Transform:n,PassThrough:r}=i(92413);const s=i(78761);const a=i(42610);e.exports=(e=>{const t=(e.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(t)){return e}const i=t==="br";if(i&&typeof s.createBrotliDecompress!=="function"){e.destroy(new Error("Brotli is not supported on Node.js < 12"));return e}let o=true;const u=new n({transform(e,t,i){o=false;i(null,e)},flush(e){e()}});const c=new r({autoDestroy:false,destroy(t,i){e.destroy();i(t)}});const l=i?s.createBrotliDecompress():s.createUnzip();l.once("error",t=>{if(o&&!e.readable){c.end();return}c.destroy(t)});a(e,c);e.pipe(u).pipe(l).pipe(c);return c})},96214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isTLSSocket(e){return e.encrypted}const i=(e,t)=>{let i;if(typeof t==="function"){const e=t;i={connect:e}}else{i=t}const n=typeof i.connect==="function";const r=typeof i.secureConnect==="function";const s=typeof i.close==="function";const a=()=>{if(n){i.connect()}if(isTLSSocket(e)&&r){if(e.authorized){i.secureConnect()}else if(!e.authorizationError){e.once("secureConnect",i.secureConnect)}}if(s){e.once("close",i.close)}};if(e.writable&&!e.connecting){a()}else if(e.connecting){e.once("connect",a)}else if(e.destroyed&&s){i.close(e._hadError)}};t.default=i;e.exports=i;e.exports.default=i},18611:(e,t,i)=>{var n=i(92413).Stream;var r=i(31669);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}r.inherits(DelayedStream,n);DelayedStream.create=function(e,t){var i=new this;t=t||{};for(var n in t){i[n]=t[n]}i.source=e;var r=e.emit;e.emit=function(){i._handleEmit(arguments);return r.apply(e,arguments)};e.on("error",function(){});if(i.pauseStream){e.pause()}return i};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},58932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},49865:(e,t,i)=>{var n=i(76417);var r=i(85587).BigInteger;var s=i(3943).ECPointFp;var a=i(15118).Buffer;t.ECCurves=i(41452);function unstupid(e,t){return e.length>=t?e:unstupid("0"+e,t)}t.ECKey=function(e,t,i){var s;var o=e();var u=o.getN();var c=Math.floor(u.bitLength()/8);if(t){if(i){var e=o.getCurve();this.P=e.decodePointHex(t.toString("hex"))}else{if(t.length!=c)return false;s=new r(t.toString("hex"),16)}}else{var l=u.subtract(r.ONE);var p=new r(n.randomBytes(u.bitLength()));s=p.mod(l).add(r.ONE);this.P=o.getG().multiply(s)}if(this.P){this.PublicKey=a.from(o.getCurve().encodeCompressedPointHex(this.P),"hex")}if(s){this.PrivateKey=a.from(unstupid(s.toString(16),c*2),"hex");this.deriveSharedSecret=function(e){if(!e||!e.P)return false;var t=e.P.multiply(s);return a.from(unstupid(t.getX().toBigInteger().toString(16),c*2),"hex")}}}},3943:(e,t,i)=>{var n=i(85587).BigInteger;var r=n.prototype.Barrett;function ECFieldElementFp(e,t){this.x=t;this.q=e}function feFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.x.equals(e.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(e){return new ECFieldElementFp(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function feFpSubtract(e){return new ECFieldElementFp(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function feFpMultiply(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}ECFieldElementFp.prototype.equals=feFpEquals;ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger;ECFieldElementFp.prototype.negate=feFpNegate;ECFieldElementFp.prototype.add=feFpAdd;ECFieldElementFp.prototype.subtract=feFpSubtract;ECFieldElementFp.prototype.multiply=feFpMultiply;ECFieldElementFp.prototype.square=feFpSquare;ECFieldElementFp.prototype.divide=feFpDivide;function ECPointFp(e,t,i,r){this.curve=e;this.x=t;this.y=i;if(r==null){this.z=n.ONE}else{this.z=r}this.zinv=null}function pointFpGetX(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.x.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpGetY(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.y.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpEquals(e){if(e==this)return true;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,i;t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);if(!t.equals(n.ZERO))return false;i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);return i.equals(n.ZERO)}function pointFpIsInfinity(){if(this.x==null&&this.y==null)return true;return this.z.equals(n.ZERO)&&!this.y.toBigInteger().equals(n.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);var i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(n.ZERO.equals(i)){if(n.ZERO.equals(t)){return this.twice()}return this.curve.getInfinity()}var r=new n("3");var s=this.x.toBigInteger();var a=this.y.toBigInteger();var o=e.x.toBigInteger();var u=e.y.toBigInteger();var c=i.square();var l=c.multiply(i);var p=s.multiply(c);var d=t.square().multiply(this.z);var f=d.subtract(p.shiftLeft(1)).multiply(e.z).subtract(l).multiply(i).mod(this.curve.q);var h=p.multiply(r).multiply(t).subtract(a.multiply(l)).subtract(d.multiply(t)).multiply(e.z).add(t.multiply(l)).mod(this.curve.q);var m=l.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(f),this.curve.fromBigInteger(h),m)}function pointFpTwice(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var e=new n("3");var t=this.x.toBigInteger();var i=this.y.toBigInteger();var r=i.multiply(this.z);var s=r.multiply(i).mod(this.curve.q);var a=this.curve.a.toBigInteger();var o=t.square().multiply(e);if(!n.ZERO.equals(a)){o=o.add(this.z.square().multiply(a))}o=o.mod(this.curve.q);var u=o.square().subtract(t.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(r).mod(this.curve.q);var c=o.multiply(e).multiply(t).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(o.square().multiply(o)).mod(this.curve.q);var l=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(c),l)}function pointFpMultiply(e){if(this.isInfinity())return this;if(e.signum()==0)return this.curve.getInfinity();var t=e;var i=t.multiply(new n("3"));var r=this.negate();var s=this;var a;for(a=i.bitLength()-2;a>0;--a){s=s.twice();var o=i.testBit(a);var u=t.testBit(a);if(o!=u){s=s.add(o?this:r)}}return s}function pointFpMultiplyTwo(e,t,i){var n;if(e.bitLength()>i.bitLength())n=e.bitLength()-1;else n=i.bitLength()-1;var r=this.curve.getInfinity();var s=this.add(t);while(n>=0){r=r.twice();if(e.testBit(n)){if(i.testBit(n)){r=r.add(s)}else{r=r.add(this)}}else{if(i.testBit(n)){r=r.add(t)}}--n}return r}ECPointFp.prototype.getX=pointFpGetX;ECPointFp.prototype.getY=pointFpGetY;ECPointFp.prototype.equals=pointFpEquals;ECPointFp.prototype.isInfinity=pointFpIsInfinity;ECPointFp.prototype.negate=pointFpNegate;ECPointFp.prototype.add=pointFpAdd;ECPointFp.prototype.twice=pointFpTwice;ECPointFp.prototype.multiply=pointFpMultiply;ECPointFp.prototype.multiplyTwo=pointFpMultiplyTwo;function ECCurveFp(e,t,i){this.q=e;this.a=this.fromBigInteger(t);this.b=this.fromBigInteger(i);this.infinity=new ECPointFp(this,null,null);this.reducer=new r(this.q)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(e){return new ECFieldElementFp(this.q,e)}function curveReduce(e){this.reducer.reduce(e)}function curveFpDecodePointHex(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var t=(e.length-2)/2;var i=e.substr(2,t);var r=e.substr(t+2,t);return new ECPointFp(this,this.fromBigInteger(new n(i,16)),this.fromBigInteger(new n(r,16)));default:return null}}function curveFpEncodePointHex(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16);var i=e.getY().toBigInteger().toString(16);var n=this.getQ().toString(16).length;if(n%2!=0)n++;while(t.length128){var t=this.q.shiftRight(e-64);if(t.intValue()==-1){this.r=n.ONE.shiftLeft(e).subtract(this.q)}}return this.r};ECFieldElementFp.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))};ECFieldElementFp.prototype.modReduce=function(e){if(this.getR()!=null){var t=q.bitLength();while(e.bitLength()>t+1){var i=e.shiftRight(t);var r=e.subtract(i.shiftLeft(t));if(!this.getR().equals(n.ONE)){i=i.multiply(this.getR())}e=i.add(r)}while(e.compareTo(q)>=0){e=e.subtract(q)}}else{e=e.mod(q)}return e};ECFieldElementFp.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new ECFieldElementFp(this.q,this.x.modPow(this.q.shiftRight(2).add(n.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(n.ONE);var i=t.shiftRight(1);if(!this.x.modPow(i,this.q).equals(n.ONE)){return null}var r=t.shiftRight(2);var s=r.shiftLeft(1).add(n.ONE);var a=this.x;var o=modDouble(modDouble(a));var u,c;do{var l;do{l=new n(this.q.bitLength(),new SecureRandom)}while(l.compareTo(this.q)>=0||!l.multiply(l).subtract(o).modPow(i,this.q).equals(t));var p=this.lucasSequence(l,a,s);u=p[0];c=p[1];if(this.modMult(c,c).equals(o)){if(c.testBit(0)){c=c.add(q)}c=c.shiftRight(1);return new ECFieldElementFp(q,c)}}while(u.equals(n.ONE)||u.equals(t));return null};ECFieldElementFp.prototype.lucasSequence=function(e,t,i){var r=i.bitLength();var s=i.getLowestSetBit();var a=n.ONE;var o=n.TWO;var u=e;var c=n.ONE;var l=n.ONE;for(var p=r-1;p>=s+1;--p){c=this.modMult(c,l);if(i.testBit(p)){l=this.modMult(c,t);a=this.modMult(a,u);o=this.modReduce(u.multiply(o).subtract(e.multiply(c)));u=this.modReduce(u.multiply(u).subtract(l.shiftLeft(1)))}else{l=c;a=this.modReduce(a.multiply(o).subtract(c));u=this.modReduce(u.multiply(o).subtract(e.multiply(c)));o=this.modReduce(o.multiply(o).subtract(c.shiftLeft(1)))}}c=this.modMult(c,l);l=this.modMult(c,t);a=this.modReduce(a.multiply(o).subtract(c));o=this.modReduce(u.multiply(o).subtract(e.multiply(c)));c=this.modMult(c,l);for(var p=1;p<=s;++p){a=this.modMult(a,o);o=this.modReduce(o.multiply(o).subtract(c.shiftLeft(1)));c=this.modMult(c,c)}return[a,o]};var s={ECCurveFp:ECCurveFp,ECPointFp:ECPointFp,ECFieldElementFp:ECFieldElementFp};e.exports=s},41452:(e,t,i)=>{var n=i(85587).BigInteger;var r=i(3943).ECCurveFp;function X9ECParameters(e,t,i,n){this.curve=e;this.g=t;this.n=i;this.h=n}function x9getCurve(){return this.curve}function x9getG(){return this.g}function x9getN(){return this.n}function x9getH(){return this.h}X9ECParameters.prototype.getCurve=x9getCurve;X9ECParameters.prototype.getG=x9getG;X9ECParameters.prototype.getN=x9getN;X9ECParameters.prototype.getH=x9getH;function fromHex(e){return new n(e,16)}function secp128r1(){var e=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("E87579C11079F43DD824993C2CEE5ED3");var s=fromHex("FFFFFFFE0000000075A30D1B9038A115");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"161FF7528B899B2D0C28607CA52C5B86"+"CF5AC8395BAFEB13C02DA292DDED7A83");return new X9ECParameters(o,u,s,a)}function secp160k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73");var t=n.ZERO;var i=fromHex("7");var s=fromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB"+"938CF935318FDCED6BC28286531733C3F03C4FEE");return new X9ECParameters(o,u,s,a)}function secp160r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC");var i=fromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45");var s=fromHex("0100000000000000000001F4C8F927AED3CA752257");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"4A96B5688EF573284664698968C38BB913CBFC82"+"23A628553168947D59DCC912042351377AC5FB32");return new X9ECParameters(o,u,s,a)}function secp192k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37");var t=n.ZERO;var i=fromHex("3");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D"+"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new X9ECParameters(o,u,s,a)}function secp192r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC");var i=fromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012"+"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new X9ECParameters(o,u,s,a)}function secp224r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE");var i=fromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"+"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new X9ECParameters(o,u,s,a)}function secp256r1(){var e=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B");var s=fromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296"+"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new X9ECParameters(o,u,s,a)}function getSECCurveByName(e){if(e=="secp128r1")return secp128r1();if(e=="secp160k1")return secp160k1();if(e=="secp160r1")return secp160r1();if(e=="secp192k1")return secp192k1();if(e=="secp192r1")return secp192r1();if(e=="secp224r1")return secp224r1();if(e=="secp256r1")return secp256r1();return null}e.exports={secp128r1:secp128r1,secp160k1:secp160k1,secp160r1:secp160r1,secp192k1:secp192k1,secp192r1:secp192r1,secp224r1:secp224r1,secp256r1:secp256r1}},81205:(e,t,i)=>{var n=i(1223);var r=function(){};var s=function(e){return e.setHeader&&typeof e.abort==="function"};var a=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var o=function(e,t,i){if(typeof t==="function")return o(e,null,t);if(!t)t={};i=n(i||r);var u=e._writableState;var c=e._readableState;var l=t.readable||t.readable!==false&&e.readable;var p=t.writable||t.writable!==false&&e.writable;var d=false;var f=function(){if(!e.writable)h()};var h=function(){p=false;if(!l)i.call(e)};var m=function(){l=false;if(!p)i.call(e)};var b=function(t){i.call(e,t?new Error("exited with error code: "+t):null)};var g=function(t){i.call(e,t)};var y=function(){process.nextTick(S)};var S=function(){if(d)return;if(l&&!(c&&(c.ended&&!c.destroyed)))return i.call(e,new Error("premature close"));if(p&&!(u&&(u.ended&&!u.destroyed)))return i.call(e,new Error("premature close"))};var v=function(){e.req.on("finish",h)};if(s(e)){e.on("complete",h);e.on("abort",y);if(e.req)v();else e.on("request",v)}else if(p&&!u){e.on("end",f);e.on("close",f)}if(a(e))e.on("exit",b);e.on("end",m);e.on("finish",h);if(t.error!==false)e.on("error",g);e.on("close",y);return function(){d=true;e.removeListener("complete",h);e.removeListener("abort",y);e.removeListener("request",v);if(e.req)e.req.removeListener("finish",h);e.removeListener("end",f);e.removeListener("close",f);e.removeListener("finish",h);e.removeListener("exit",b);e.removeListener("end",m);e.removeListener("error",g);e.removeListener("close",y)}};e.exports=o},52997:e=>{"use strict";function assign(e,t){for(const i in t){Object.defineProperty(e,i,{value:t[i],enumerable:true,configurable:true})}return e}function createError(e,t,i){if(!e||typeof e==="string"){throw new TypeError("Please pass an Error to err-code")}if(!i){i={}}if(typeof t==="object"){i=t;t=undefined}if(t!=null){i.code=t}try{return assign(e,i)}catch(t){i.message=e.message;i.stack=e.stack;const n=function(){};n.prototype=Object.create(Object.getPrototypeOf(e));return assign(new n,i)}}e.exports=createError},55447:(e,t,i)=>{"use strict";const n=i(85622);const r=i(63129);const s=i(1678);const a=i(85515);const o=i(20502);const u=i(41554);const c=i(71336);const l=i(31330);const p=i(24931);const d=i(64689);const f=i(10166);const h=1e3*1e3*10;function handleArgs(e,t,i){let r;i=Object.assign({extendEnv:true,env:{}},i);if(i.extendEnv){i.env=Object.assign({},process.env,i.env)}if(i.__winShell===true){delete i.__winShell;r={command:e,args:t,options:i,file:e,original:{cmd:e,args:t}}}else{r=s._parse(e,t,i)}i=Object.assign({maxBuffer:h,buffer:true,stripEof:true,preferLocal:true,localDir:r.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},r.options);i.stdio=f(i);if(i.preferLocal){i.env=o.env(Object.assign({},i,{cwd:i.localDir}))}if(i.detached){i.cleanup=false}if(process.platform==="win32"&&n.basename(r.command)==="cmd.exe"){r.args.unshift("/q")}return{cmd:r.command,args:r.args,opts:i,parsed:r}}function handleInput(e,t){if(t===null||t===undefined){return}if(u(t)){t.pipe(e.stdin)}else{e.stdin.end(t)}}function handleOutput(e,t){if(t&&e.stripEof){t=a(t)}return t}function handleShell(e,t,i){let n="/bin/sh";let r=["-c",t];i=Object.assign({},i);if(process.platform==="win32"){i.__winShell=true;n=process.env.comspec||"cmd.exe";r=["/s","/c",`"${t}"`];i.windowsVerbatimArguments=true}if(i.shell){n=i.shell;delete i.shell}return e(n,r,i)}function getStream(e,t,{encoding:i,buffer:n,maxBuffer:r}){if(!e[t]){return null}let s;if(!n){s=new Promise((i,n)=>{e[t].once("end",i).once("error",n)})}else if(i){s=c(e[t],{encoding:i,maxBuffer:r})}else{s=c.buffer(e[t],{maxBuffer:r})}return s.catch(e=>{e.stream=t;e.message=`${t} ${e.message}`;throw e})}function makeError(e,t){const{stdout:i,stderr:n}=e;let r=e.error;const{code:s,signal:a}=e;const{parsed:o,joinedCmd:u}=t;const c=t.timedOut||false;if(!r){let e="";if(Array.isArray(o.opts.stdio)){if(o.opts.stdio[2]!=="inherit"){e+=e.length>0?n:`\n${n}`}if(o.opts.stdio[1]!=="inherit"){e+=`\n${i}`}}else if(o.opts.stdio!=="inherit"){e=`\n${n}${i}`}r=new Error(`Command failed: ${u}${e}`);r.code=s<0?d(s):s}r.stdout=i;r.stderr=n;r.failed=true;r.signal=a||null;r.cmd=u;r.timedOut=c;return r}function joinCmd(e,t){let i=e;if(Array.isArray(t)&&t.length>0){i+=" "+t.join(" ")}return i}e.exports=((e,t,i)=>{const n=handleArgs(e,t,i);const{encoding:a,buffer:o,maxBuffer:u}=n.opts;const c=joinCmd(e,t);let d;try{d=r.spawn(n.cmd,n.args,n.opts)}catch(e){return Promise.reject(e)}let f;if(n.opts.cleanup){f=p(()=>{d.kill()})}let h=null;let m=false;const b=()=>{if(h){clearTimeout(h);h=null}if(f){f()}};if(n.opts.timeout>0){h=setTimeout(()=>{h=null;m=true;d.kill(n.opts.killSignal)},n.opts.timeout)}const g=new Promise(e=>{d.on("exit",(t,i)=>{b();e({code:t,signal:i})});d.on("error",t=>{b();e({error:t})});if(d.stdin){d.stdin.on("error",t=>{b();e({error:t})})}});function destroy(){if(d.stdout){d.stdout.destroy()}if(d.stderr){d.stderr.destroy()}}const y=()=>l(Promise.all([g,getStream(d,"stdout",{encoding:a,buffer:o,maxBuffer:u}),getStream(d,"stderr",{encoding:a,buffer:o,maxBuffer:u})]).then(e=>{const t=e[0];t.stdout=e[1];t.stderr=e[2];if(t.error||t.code!==0||t.signal!==null){const e=makeError(t,{joinedCmd:c,parsed:n,timedOut:m});e.killed=e.killed||d.killed;if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,t.stdout),stderr:handleOutput(n.opts,t.stderr),code:0,failed:false,killed:false,signal:null,cmd:c,timedOut:false}}),destroy);s._enoent.hookChildProcess(d,n.parsed);handleInput(d,n.opts.input);d.then=((e,t)=>y().then(e,t));d.catch=(e=>y().catch(e));return d});e.exports.stdout=((...t)=>e.exports(...t).then(e=>e.stdout));e.exports.stderr=((...t)=>e.exports(...t).then(e=>e.stderr));e.exports.shell=((t,i)=>handleShell(e.exports,t,i));e.exports.sync=((e,t,i)=>{const n=handleArgs(e,t,i);const s=joinCmd(e,t);if(u(n.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const a=r.spawnSync(n.cmd,n.args,n.opts);a.code=a.status;if(a.error||a.status!==0||a.signal!==null){const e=makeError(a,{joinedCmd:s,parsed:n});if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,a.stdout),stderr:handleOutput(n.opts,a.stderr),code:0,failed:false,signal:null,cmd:s,timedOut:false}});e.exports.shellSync=((t,i)=>handleShell(e.exports.sync,t,i))},64689:(e,t,i)=>{"use strict";const n=i(31669);let r;if(typeof n.getSystemErrorName==="function"){e.exports=n.getSystemErrorName}else{try{r=process.binding("uv");if(typeof r.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);r=null}e.exports=(e=>errname(r,e))}e.exports.__test__=errname;function errname(e,t){if(e){return e.errname(t)}if(!(t<0)){throw new Error("err >= 0")}return`Unknown system error ${t}`}},10166:e=>{"use strict";const t=["stdin","stdout","stderr"];const i=e=>t.some(t=>Boolean(e[t]));e.exports=(e=>{if(!e){return null}if(e.stdio&&i(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${t.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const n=e.stdio||[];if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const r=[];const s=Math.max(n.length,t.length);for(let i=0;i{"use strict";const n=i(63129);const r=i(73756);const s=i(35419);function spawn(e,t,i){const a=r(e,t,i);const o=n.spawn(a.command,a.args,a.options);s.hookChildProcess(o,a);return o}function spawnSync(e,t,i){const a=r(e,t,i);const o=n.spawnSync(a.command,a.args,a.options);o.error=o.error||s.verifyENOENTSync(o.status,a);return o}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=r;e.exports._enoent=s},35419:e=>{"use strict";const t=process.platform==="win32";function notFoundError(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,i){if(!t){return}const n=e.emit;e.emit=function(t,r){if(t==="exit"){const t=verifyENOENT(r,i,"spawn");if(t){return n.call(e,"error",t)}}return n.apply(e,arguments)}}function verifyENOENT(e,i){if(t&&e===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(e,i){if(t&&e===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},73756:(e,t,i)=>{"use strict";const n=i(85622);const r=i(38560);const s=i(19727);const a=i(79482);const o=i(17295);const u=i(55232);const c=process.platform==="win32";const l=/\.(?:com|exe)$/i;const p=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;const d=r(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=s(e);const t=e.file&&o(e.file);if(t){e.args.unshift(e.file);e.command=t;return s(e)}return e.file}function parseNonShell(e){if(!c){return e}const t=detectShebang(e);const i=!l.test(t);if(e.options.forceShell||i){const i=p.test(t);e.command=n.normalize(e.command);e.command=a.command(e.command);e.args=e.args.map(e=>a.argument(e,i));const r=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${r}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(d){return e}const t=[e.command].concat(e.args).join(" ");if(c){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${t}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",t]}return e}function parse(e,t,i){if(t&&!Array.isArray(t)){i=t;t=null}t=t?t.slice(0):[];i=Object.assign({},i);const n={command:e,args:t,options:i,file:undefined,original:{command:e,args:t}};return i.shell?parseShell(n):parseNonShell(n)}e.exports=parse},79482:e=>{"use strict";const t=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(t,"^$1");return e}function escapeArgument(e,i){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(t,"^$1");if(i){e=e.replace(t,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},17295:(e,t,i)=>{"use strict";const n=i(35747);const r=i(52665);function readShebang(e){const t=150;let i;if(Buffer.alloc){i=Buffer.alloc(t)}else{i=new Buffer(t);i.fill(0)}let s;try{s=n.openSync(e,"r");n.readSync(s,i,0,t,0);n.closeSync(s)}catch(e){}return r(i.toString())}e.exports=readShebang},19727:(e,t,i)=>{"use strict";const n=i(85622);const r=i(93008);const s=i(20539)();function resolveCommandAttempt(e,t){const i=process.cwd();const a=e.options.cwd!=null;if(a){try{process.chdir(e.options.cwd)}catch(e){}}let o;try{o=r.sync(e.command,{path:(e.options.env||process.env)[s],pathExt:t?n.delimiter:undefined})}catch(e){}finally{process.chdir(i)}if(o){o=n.resolve(a?e.options.cwd:"",o)}return o}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},7740:(e,t,i)=>{"use strict";const{PassThrough:n}=i(92413);e.exports=(e=>{e=Object.assign({},e);const{array:t}=e;let{encoding:i}=e;const r=i==="buffer";let s=false;if(t){s=!(i||r)}else{i=i||"utf8"}if(r){i=null}let a=0;const o=[];const u=new n({objectMode:s});if(i){u.setEncoding(i)}u.on("data",e=>{o.push(e);if(s){a=o.length}else{a+=e.length}});u.getBufferedValue=(()=>{if(t){return o}return r?Buffer.concat(o,a):o.join("")});u.getBufferedLength=(()=>a);return u})},71336:(e,t,i)=>{"use strict";const n=i(18341);const r=i(7740);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t=Object.assign({maxBuffer:Infinity},t);const{maxBuffer:i}=t;let s;return new Promise((a,o)=>{const u=e=>{if(e){e.bufferedData=s.getBufferedValue()}o(e)};s=n(e,r(t),e=>{if(e){u(e);return}a()});s.on("data",()=>{if(s.getBufferedLength()>i){u(new MaxBufferError)}})}).then(()=>s.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,t)=>getStream(e,Object.assign({},t,{encoding:"buffer"})));e.exports.array=((e,t)=>getStream(e,Object.assign({},t,{array:true})));e.exports.MaxBufferError=MaxBufferError},55232:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var n=256;var r=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var p=u++;o[p]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var d=u++;o[d]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var f=u++;o[f]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var h=u++;o[h]="(?:"+o[c]+"|"+o[p]+")";var m=u++;o[m]="(?:"+o[l]+"|"+o[p]+")";var b=u++;o[b]="(?:-("+o[h]+"(?:\\."+o[h]+")*))";var g=u++;o[g]="(?:-?("+o[m]+"(?:\\."+o[m]+")*))";var y=u++;o[y]="[0-9A-Za-z-]+";var S=u++;o[S]="(?:\\+("+o[y]+"(?:\\."+o[y]+")*))";var v=u++;var w="v?"+o[d]+o[b]+"?"+o[S]+"?";o[v]="^"+w+"$";var j="[v=\\s]*"+o[f]+o[g]+"?"+o[S]+"?";var z=u++;o[z]="^"+j+"$";var O=u++;o[O]="((?:<|>)?=?)";var k=u++;o[k]=o[l]+"|x|X|\\*";var C=u++;o[C]=o[c]+"|x|X|\\*";var T=u++;o[T]="[v=\\s]*("+o[C]+")"+"(?:\\.("+o[C]+")"+"(?:\\.("+o[C]+")"+"(?:"+o[b]+")?"+o[S]+"?"+")?)?";var _=u++;o[_]="[v=\\s]*("+o[k]+")"+"(?:\\.("+o[k]+")"+"(?:\\.("+o[k]+")"+"(?:"+o[g]+")?"+o[S]+"?"+")?)?";var A=u++;o[A]="^"+o[O]+"\\s*"+o[T]+"$";var E=u++;o[E]="^"+o[O]+"\\s*"+o[_]+"$";var R=u++;o[R]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var x=u++;o[x]="(?:~>?)";var N=u++;o[N]="(\\s*)"+o[x]+"\\s+";a[N]=new RegExp(o[N],"g");var V="$1~";var P=u++;o[P]="^"+o[x]+o[T]+"$";var M=u++;o[M]="^"+o[x]+o[_]+"$";var B=u++;o[B]="(?:\\^)";var I=u++;o[I]="(\\s*)"+o[B]+"\\s+";a[I]=new RegExp(o[I],"g");var D="$1^";var q=u++;o[q]="^"+o[B]+o[T]+"$";var L=u++;o[L]="^"+o[B]+o[_]+"$";var U=u++;o[U]="^"+o[O]+"\\s*("+j+")$|^$";var Q=u++;o[Q]="^"+o[O]+"\\s*("+w+")$|^$";var H=u++;o[H]="(\\s*)"+o[O]+"\\s*("+j+"|"+o[T]+")";a[H]=new RegExp(o[H],"g");var K="$1$2$3";var G=u++;o[G]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var W=u++;o[W]="^\\s*("+o[_]+")"+"\\s+-\\s+"+"("+o[_]+")"+"\\s*$";var F=u++;o[F]="(<|>)?=?\\s*\\*";for(var J=0;Jn){return null}var i=t.loose?a[z]:a[v];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[z]:a[v]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>r||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>r||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>r||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,n){if(typeof i==="string"){n=i;i=undefined}try{return new SemVer(e,i).inc(t,n).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var n=parse(t);var r="";if(i.prerelease.length||n.prerelease.length){r="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==n[a]){return r+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var n=Y.test(t);if(i&&n){e=+e;t=+t}return e===t?0:i&&!n?-1:n&&!i?1:e0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,n){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,n);case"!=":return neq(e,i,n);case">":return gt(e,i,n);case">=":return gte(e,i,n);case"<":return lt(e,i,n);case"<=":return lte(e,i,n);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===X){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var X={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[U]:a[Q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1];if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=X}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===X){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){i=new Range(this.value,t);return satisfies(e.semver,i,t)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var r=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||r||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?a[W]:a[G];e=e.replace(n,hyphenReplace);i("hyphen replace",e);e=e.replace(a[H],K);i("comparator trim",e,a[H]);e=e.replace(a[N],V);e=e.replace(a[I],D);e=e.split(/\s+/).join(" ");var r=t?a[U]:a[Q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(r)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return i.every(function(i){return e.set.some(function(e){return e.every(function(e){return i.intersects(e,t)})})})})};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var n=t.loose?a[M]:a[P];return e.replace(n,function(t,n,r,s,a){i("tilde",e,t,n,r,s,a);var o;if(isX(n)){o=""}else if(isX(r)){o=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){o=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+(+r+1)+".0"}else{o=">="+n+"."+r+"."+s+" <"+n+"."+(+r+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var n=t.loose?a[L]:a[q];return e.replace(n,function(t,n,r,s,a){i("caret",e,t,n,r,s,a);var o;if(isX(n)){o=""}else if(isX(r)){o=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){if(n==="0"){o=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"}else{o=">="+n+"."+r+".0 <"+(+n+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(n==="0"){if(r==="0"){o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+r+"."+(+s+1)}else{o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+(+r+1)+".0"}}else{o=">="+n+"."+r+"."+s+"-"+a+" <"+(+n+1)+".0.0"}}else{i("no pr");if(n==="0"){if(r==="0"){o=">="+n+"."+r+"."+s+" <"+n+"."+r+"."+(+s+1)}else{o=">="+n+"."+r+"."+s+" <"+n+"."+(+r+1)+".0"}}else{o=">="+n+"."+r+"."+s+" <"+(+n+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var n=t.loose?a[E]:a[A];return e.replace(n,function(t,n,r,s,a,o){i("xRange",e,t,n,r,s,a,o);var u=isX(r);var c=u||isX(s);var l=c||isX(a);var p=l;if(n==="="&&p){n=""}if(u){if(n===">"||n==="<"){t="<0.0.0"}else{t="*"}}else if(n&&p){if(c){s=0}a=0;if(n===">"){n=">=";if(c){r=+r+1;s=0;a=0}else{s=+s+1;a=0}}else if(n==="<="){n="<";if(c){r=+r+1}else{s=+s+1}}t=n+r+"."+s+"."+a}else if(c){t=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(l){t=">="+r+"."+s+".0 <"+r+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[F],"")}function hyphenReplace(e,t,i,n,r,s,a,o,u,c,l,p,d){if(isX(i)){t=""}else if(isX(n)){t=">="+i+".0.0"}else if(isX(r)){t=">="+i+"."+n+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(p){o="<="+u+"."+c+"."+l+"-"+p}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var n=null;var r=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||r.compare(e)===-1){n=e;r=new SemVer(n,i)}}});return n}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var n=null;var r=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||r.compare(e)===1){n=e;r=new SemVer(n,i)}}});return n}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var n=0;n":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,n){e=new SemVer(e,n);t=new Range(t,n);var r,s,a,o,u;switch(i){case">":r=gt;s=lte;a=lt;o=">";u=">=";break;case"<":r=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,n)){return false}for(var c=0;c=0.0.0")}p=p||e;d=d||e;if(r(e.semver,p.semver,n)){p=e}else if(a(e.semver,d.semver,n)){d=e}});if(p.operator===o||p.operator===u){return false}if((!d.operator||d.operator===o)&&s(e,d.semver)){return false}else if(d.operator===u&&a(e,d.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(a[R]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},52665:(e,t,i)=>{"use strict";var n=i(27433);e.exports=function(e){var t=e.match(n);if(!t){return null}var i=t[0].replace(/#! ?/,"").split(" ");var r=i[0].split("/").pop();var s=i[1];return r==="env"?s:r+(s?" "+s:"")}},27433:e=>{"use strict";e.exports=/^#!.*/},93008:(e,t,i)=>{e.exports=which;which.sync=whichSync;var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var r=i(85622);var s=n?";":":";var a=i(97126);function getNotFoundError(e){var t=new Error("not found: "+e);t.code="ENOENT";return t}function getPathInfo(e,t){var i=t.colon||s;var r=t.path||process.env.PATH||"";var a=[""];r=r.split(i);var o="";if(n){r.unshift(process.cwd());o=t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";a=o.split(i);if(e.indexOf(".")!==-1&&a[0]!=="")a.unshift("")}if(e.match(/\//)||n&&e.match(/\\/))r=[""];return{env:r,ext:a,extExe:o}}function which(e,t,i){if(typeof t==="function"){i=t;t={}}var n=getPathInfo(e,t);var s=n.env;var o=n.ext;var u=n.extExe;var c=[];(function F(n,l){if(n===l){if(t.all&&c.length)return i(null,c);else return i(getNotFoundError(e))}var p=s[n];if(p.charAt(0)==='"'&&p.slice(-1)==='"')p=p.slice(1,-1);var d=r.join(p,e);if(!p&&/^\.[\\\/]/.test(e)){d=e.slice(0,2)+d}(function E(e,r){if(e===r)return F(n+1,l);var s=o[e];a(d+s,{pathExt:u},function(n,a){if(!n&&a){if(t.all)c.push(d+s);else return i(null,d+s)}return E(e+1,r)})})(0,o.length)})(0,s.length)}function whichSync(e,t){t=t||{};var i=getPathInfo(e,t);var n=i.env;var s=i.ext;var o=i.extExe;var u=[];for(var c=0,l=n.length;c{"use strict";var t=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=function isArray(e){if(typeof Array.isArray==="function"){return Array.isArray(e)}return i.call(e)==="[object Array]"};var a=function isPlainObject(e){if(!e||i.call(e)!=="[object Object]"){return false}var n=t.call(e,"constructor");var r=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r){return false}var s;for(s in e){}return typeof s==="undefined"||t.call(e,s)};var o=function setProperty(e,t){if(n&&t.name==="__proto__"){n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true})}else{e[t.name]=t.newValue}};var u=function getProperty(e,i){if(i==="__proto__"){if(!t.call(e,i)){return void 0}else if(r){return r(e,i).value}}return e[i]};e.exports=function extend(){var e,t,i,n,r,c;var l=arguments[0];var p=1;var d=arguments.length;var f=false;if(typeof l==="boolean"){f=l;l=arguments[1]||{};p=2}if(l==null||typeof l!=="object"&&typeof l!=="function"){l={}}for(;p{var n=i(42357);var r=i(31669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var s=Array.prototype.slice.call(arguments,1);var a,o,u,c;var l,p,d,f,h;var m="";var b=1;n.equal("string",typeof e);while((h=i.exec(e))!==null){m+=h[1];e=e.substring(h[0].length);a=h[2]||"";o=h[3]||0;u=h[4]||"";c=h[6];l=false;d=false;p=" ";if(c=="%"){m+="%";continue}if(s.length===0)throw new Error("too few args to sprintf");f=s.shift();b++;if(a.match(/[\' #]/))throw new Error("unsupported flags: "+a);if(u.length>0)throw new Error("non-zero precision not supported");if(a.match(/-/))l=true;if(a.match(/0/))p="0";if(a.match(/\+/))d=true;switch(c){case"s":if(f===undefined||f===null)throw new Error("argument "+b+": attempted to print undefined or null "+"as a string");m+=doPad(p,o,l,f.toString());break;case"d":f=Math.floor(f);case"f":d=d&&f>0?"+":"";m+=d+doPad(p,o,l,f.toString());break;case"x":m+=doPad(p,o,l,f.toString(16));break;case"j":if(o===0)o=10;m+=r.inspect(f,false,o);break;case"r":m+=dumpException(f);break;default:throw new Error("unsupported conversion: "+c)}}m+=e;return m}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var r=n;while(r.length{"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var i,n,r;if(Array.isArray(e)){i=e.length;if(i!=t.length)return false;for(n=i;n--!==0;)if(!equal(e[n],t[n]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();r=Object.keys(e);i=r.length;if(i!==Object.keys(t).length)return false;for(n=i;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[n]))return false;for(n=i;n--!==0;){var s=r[n];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},30969:e=>{"use strict";e.exports=function(e,t){if(!t)t={};if(typeof t==="function")t={cmp:t};var i=typeof t.cycles==="boolean"?t.cycles:false;var n=t.cmp&&function(e){return function(t){return function(i,n){var r={key:i,value:t[i]};var s={key:n,value:t[n]};return e(r,s)}}}(t.cmp);var r=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var t,s;if(Array.isArray(e)){s="[";for(t=0;t{e.exports=ForeverAgent;ForeverAgent.SSL=ForeverAgentSSL;var n=i(31669),r=i(98605).Agent,s=i(11631),a=i(4016),o=i(57211).Agent;function getConnectionName(e,t){var i="";if(typeof e==="string"){i=e+":"+t}else{i=e.host+":"+e.port+":"+(e.localAddress?e.localAddress+":":":")}return i}function ForeverAgent(e){var t=this;t.options=e||{};t.requests={};t.sockets={};t.freeSockets={};t.maxSockets=t.options.maxSockets||r.defaultMaxSockets;t.minSockets=t.options.minSockets||ForeverAgent.defaultMinSockets;t.on("free",function(e,i,n){var r=getConnectionName(i,n);if(t.requests[r]&&t.requests[r].length){t.requests[r].shift().onSocket(e)}else if(t.sockets[r].length0&&!e.useChunkedEncodingByDefault){var s=this.freeSockets[n].pop();s.removeListener("error",s._onIdleError);delete s._onIdleError;e._reusedSocket=true;e.onSocket(s)}else{this.addRequestNoreuse(e,t,i)}};ForeverAgent.prototype.removeSocket=function(e,t,i,n){if(this.sockets[t]){var r=this.sockets[t].indexOf(e);if(r!==-1){this.sockets[t].splice(r,1)}}else if(this.sockets[t]&&this.sockets[t].length===0){delete this.sockets[t];delete this.requests[t]}if(this.freeSockets[t]){var r=this.freeSockets[t].indexOf(e);if(r!==-1){this.freeSockets[t].splice(r,1);if(this.freeSockets[t].length===0){delete this.freeSockets[t]}}}if(this.requests[t]&&this.requests[t].length){this.createSocket(t,i,n).emit("free")}};function ForeverAgentSSL(e){ForeverAgent.call(this,e)}n.inherits(ForeverAgentSSL,ForeverAgent);ForeverAgentSSL.prototype.createConnection=createConnectionSSL;ForeverAgentSSL.prototype.addRequestNoreuse=o.prototype.addRequest;function createConnectionSSL(e,t,i){if(typeof e==="object"){i=e}else if(typeof t==="object"){i=t}else if(typeof i==="object"){i=i}else{i={}}if(typeof e==="number"){i.port=e}if(typeof t==="string"){i.host=t}return a.connect(i)}},27714:(e,t,i)=>{"use strict";const n=i(41077);const r=i(28614).EventEmitter;const s=i(35747);let a=s.writev;if(!a){const e=process.binding("fs");const t=e.FSReqWrap||e.FSReqCallback;a=((i,n,r,s)=>{const a=(e,t)=>s(e,t,n);const o=new t;o.oncomplete=a;e.writeBuffers(i,n,r,o)})}const o=Symbol("_autoClose");const u=Symbol("_close");const c=Symbol("_ended");const l=Symbol("_fd");const p=Symbol("_finished");const d=Symbol("_flags");const f=Symbol("_flush");const h=Symbol("_handleChunk");const m=Symbol("_makeBuf");const b=Symbol("_mode");const g=Symbol("_needDrain");const y=Symbol("_onerror");const S=Symbol("_onopen");const v=Symbol("_onread");const w=Symbol("_onwrite");const j=Symbol("_open");const z=Symbol("_path");const O=Symbol("_pos");const k=Symbol("_queue");const C=Symbol("_read");const T=Symbol("_readSize");const _=Symbol("_reading");const A=Symbol("_remain");const E=Symbol("_size");const R=Symbol("_write");const x=Symbol("_writing");const N=Symbol("_defaultFlag");const V=Symbol("_errored");class ReadStream extends n{constructor(e,t){t=t||{};super(t);this.readable=true;this.writable=false;if(typeof e!=="string")throw new TypeError("path must be a string");this[V]=false;this[l]=typeof t.fd==="number"?t.fd:null;this[z]=e;this[T]=t.readSize||16*1024*1024;this[_]=false;this[E]=typeof t.size==="number"?t.size:Infinity;this[A]=this[E];this[o]=typeof t.autoClose==="boolean"?t.autoClose:true;if(typeof this[l]==="number")this[C]();else this[j]()}get fd(){return this[l]}get path(){return this[z]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[j](){s.open(this[z],"r",(e,t)=>this[S](e,t))}[S](e,t){if(e)this[y](e);else{this[l]=t;this.emit("open",t);this[C]()}}[m](){return Buffer.allocUnsafe(Math.min(this[T],this[A]))}[C](){if(!this[_]){this[_]=true;const e=this[m]();if(e.length===0)return process.nextTick(()=>this[v](null,0,e));s.read(this[l],e,0,e.length,null,(e,t,i)=>this[v](e,t,i))}}[v](e,t,i){this[_]=false;if(e)this[y](e);else if(this[h](t,i))this[C]()}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.close(e,e=>e?this.emit("error",e):this.emit("close"))}}[y](e){this[_]=true;this[u]();this.emit("error",e)}[h](e,t){let i=false;this[A]-=e;if(e>0)i=super.write(ethis[S](e,t))}[S](e,t){if(this[N]&&this[d]==="r+"&&e&&e.code==="ENOENT"){this[d]="w";this[j]()}else if(e)this[y](e);else{this[l]=t;this.emit("open",t);this[f]()}}end(e,t){if(e)this.write(e,t);this[c]=true;if(!this[x]&&!this[k].length&&typeof this[l]==="number")this[w](null,0);return this}write(e,t){if(typeof e==="string")e=Buffer.from(e,t);if(this[c]){this.emit("error",new Error("write() after end()"));return false}if(this[l]===null||this[x]||this[k].length){this[k].push(e);this[g]=true;return false}this[x]=true;this[R](e);return true}[R](e){s.write(this[l],e,0,e.length,this[O],(e,t)=>this[w](e,t))}[w](e,t){if(e)this[y](e);else{if(this[O]!==null)this[O]+=t;if(this[k].length)this[f]();else{this[x]=false;if(this[c]&&!this[p]){this[p]=true;this[u]();this.emit("finish")}else if(this[g]){this[g]=false;this.emit("drain")}}}}[f](){if(this[k].length===0){if(this[c])this[w](null,0)}else if(this[k].length===1)this[R](this[k].pop());else{const e=this[k];this[k]=[];a(this[l],e,this[O],(e,t)=>this[w](e,t))}}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.close(e,e=>e?this.emit("error",e):this.emit("close"))}}}class WriteStreamSync extends WriteStream{[j](){let e;if(this[N]&&this[d]==="r+"){try{e=s.openSync(this[z],this[d],this[b])}catch(e){if(e.code==="ENOENT"){this[d]="w";return this[j]()}else throw e}}else e=s.openSync(this[z],this[d],this[b]);this[S](null,e)}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.closeSync(e);this.emit("close")}}[R](e){let t=true;try{this[w](null,s.writeSync(this[l],e,0,e.length,this[O]));t=false}finally{if(t)try{this[u]()}catch(e){}}}}t.ReadStream=ReadStream;t.ReadStreamSync=ReadStreamSync;t.WriteStream=WriteStream;t.WriteStreamSync=WriteStreamSync},46863:(e,t,i)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var n=i(35747);var r=n.realpath;var s=n.realpathSync;var a=process.version;var o=/^v[0-5]\./.test(a);var u=i(71734);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,i){if(o){return r(e,t,i)}if(typeof t==="function"){i=t;t=null}r(e,t,function(n,r){if(newError(n)){u.realpath(e,t,i)}else{i(n,r)}})}function realpathSync(e,t){if(o){return s(e,t)}try{return s(e,t)}catch(i){if(newError(i)){return u.realpathSync(e,t)}else{throw i}}}function monkeypatch(){n.realpath=realpath;n.realpathSync=realpathSync}function unmonkeypatch(){n.realpath=r;n.realpathSync=s}},71734:(e,t,i)=>{var n=i(85622);var r=process.platform==="win32";var s=i(35747);var a=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(a){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=n.normalize;if(r){var u=/(.*?)(?:[\/\\]+|$)/g}else{var u=/(.*?)(?:[\/]+|$)/g}if(r){var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var c=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var i=e,a={},o={};var l;var p;var d;var f;start();function start(){var t=c.exec(e);l=t[0].length;p=t[0];d=t[0];f="";if(r&&!o[d]){s.lstatSync(d);o[d]=true}}while(l=e.length){if(t)t[a]=e;return i(null,e)}u.lastIndex=p;var n=u.exec(e);h=d;d+=n[0];f=h+n[1];p=u.lastIndex;if(l[f]||t&&t[f]===f){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,f)){return gotResolvedLink(t[f])}return s.lstat(f,gotStat)}function gotStat(e,n){if(e)return i(e);if(!n.isSymbolicLink()){l[f]=true;if(t)t[f]=f;return process.nextTick(LOOP)}if(!r){var a=n.dev.toString(32)+":"+n.ino.toString(32);if(o.hasOwnProperty(a)){return gotTarget(null,o[a],f)}}s.stat(f,function(e){if(e)return i(e);s.readlink(f,function(e,t){if(!r)o[a]=t;gotTarget(e,t)})})}function gotTarget(e,r,s){if(e)return i(e);var a=n.resolve(h,r);if(t)t[s]=a;gotResolvedLink(a)}function gotResolvedLink(t){e=n.resolve(t,e.slice(p));start()}}},91585:(e,t,i)=>{"use strict";const{PassThrough:n}=i(92413);e.exports=(e=>{e={...e};const{array:t}=e;let{encoding:i}=e;const r=i==="buffer";let s=false;if(t){s=!(i||r)}else{i=i||"utf8"}if(r){i=null}const a=new n({objectMode:s});if(i){a.setEncoding(i)}let o=0;const u=[];a.on("data",e=>{u.push(e);if(s){o=u.length}else{o+=e.length}});a.getBufferedValue=(()=>{if(t){return u}return r?Buffer.concat(u,o):u.join("")});a.getBufferedLength=(()=>o);return a})},21766:(e,t,i)=>{"use strict";const{constants:n}=i(64293);const r=i(18341);const s=i(91585);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t={maxBuffer:Infinity,...t};const{maxBuffer:i}=t;let a;await new Promise((o,u)=>{const c=e=>{if(e&&a.getBufferedLength()<=n.MAX_LENGTH){e.bufferedData=a.getBufferedValue()}u(e)};a=r(e,s(t),e=>{if(e){c(e);return}o()});a.on("data",()=>{if(a.getBufferedLength()>i){c(new MaxBufferError)}})});return a.getBufferedValue()}e.exports=getStream;e.exports.default=getStream;e.exports.buffer=((e,t)=>getStream(e,{...t,encoding:"buffer"}));e.exports.array=((e,t)=>getStream(e,{...t,array:true}));e.exports.MaxBufferError=MaxBufferError},47625:(e,t,i)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=i(85622);var r=i(83973);var s=i(38714);var a=r.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var i=e.replace(/(\/\*\*)+$/,"");t=new a(i,{dot:true})}return{matcher:new a(e,{dot:true}),gmatcher:t}}function setopts(e,t,i){if(!i)i={};if(i.matchBase&&-1===t.indexOf("/")){if(i.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!i.silent;e.pattern=t;e.strict=i.strict!==false;e.realpath=!!i.realpath;e.realpathCache=i.realpathCache||Object.create(null);e.follow=!!i.follow;e.dot=!!i.dot;e.mark=!!i.mark;e.nodir=!!i.nodir;if(e.nodir)e.mark=true;e.sync=!!i.sync;e.nounique=!!i.nounique;e.nonull=!!i.nonull;e.nosort=!!i.nosort;e.nocase=!!i.nocase;e.stat=!!i.stat;e.noprocess=!!i.noprocess;e.absolute=!!i.absolute;e.maxLength=i.maxLength||Infinity;e.cache=i.cache||Object.create(null);e.statCache=i.statCache||Object.create(null);e.symlinks=i.symlinks||Object.create(null);setupIgnores(e,i);e.changedCwd=false;var r=process.cwd();if(!ownProp(i,"cwd"))e.cwd=r;else{e.cwd=n.resolve(i.cwd);e.changedCwd=e.cwd!==r}e.root=i.root||n.resolve(e.cwd,"/");e.root=n.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=s(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!i.nomount;i.nonegate=true;i.nocomment=true;e.minimatch=new a(t,i);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var i=t?[]:Object.create(null);for(var n=0,r=e.matches.length;n{e.exports=glob;var n=i(35747);var r=i(46863);var s=i(83973);var a=s.Minimatch;var o=i(44124);var u=i(28614).EventEmitter;var c=i(85622);var l=i(42357);var p=i(38714);var d=i(29010);var f=i(47625);var h=f.alphasort;var m=f.alphasorti;var b=f.setopts;var g=f.ownProp;var y=i(52492);var S=i(31669);var v=f.childrenIgnored;var w=f.isIgnored;var j=i(1223);function glob(e,t,i){if(typeof t==="function")i=t,t={};if(!t)t={};if(t.sync){if(i)throw new TypeError("callback provided to sync glob");return d(e,t)}return new Glob(e,t,i)}glob.sync=d;var z=glob.GlobSync=d.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var i=Object.keys(t);var n=i.length;while(n--){e[i[n]]=t[i[n]]}return e}glob.hasMagic=function(e,t){var i=extend({},t);i.noprocess=true;var n=new Glob(e,i);var r=n.minimatch.set;if(!e)return false;if(r.length>1)return true;for(var s=0;sthis.maxLength)return t();if(!this.stat&&g(this.cache,i)){var s=this.cache[i];if(Array.isArray(s))s="DIR";if(!r||s==="DIR")return t(null,s);if(r&&s==="FILE")return t()}var a;var o=this.statCache[i];if(o!==undefined){if(o===false)return t(null,o);else{var u=o.isDirectory()?"DIR":"FILE";if(r&&u==="FILE")return t();else return t(null,u,o)}}var c=this;var l=y("stat\0"+i,lstatcb_);if(l)n.lstat(i,l);function lstatcb_(r,s){if(s&&s.isSymbolicLink()){return n.stat(i,function(n,r){if(n)c._stat2(e,i,null,s,t);else c._stat2(e,i,n,r,t)})}else{c._stat2(e,i,r,s,t)}}};Glob.prototype._stat2=function(e,t,i,n,r){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR")){this.statCache[t]=false;return r()}var s=e.slice(-1)==="/";this.statCache[t]=n;if(t.slice(-1)==="/"&&n&&!n.isDirectory())return r(null,false,n);var a=true;if(n)a=n.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(s&&a==="FILE")return r();return r(null,a,n)}},29010:(e,t,i)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var n=i(35747);var r=i(46863);var s=i(83973);var a=s.Minimatch;var o=i(91957).Glob;var u=i(31669);var c=i(85622);var l=i(42357);var p=i(38714);var d=i(47625);var f=d.alphasort;var h=d.alphasorti;var m=d.setopts;var b=d.ownProp;var g=d.childrenIgnored;var y=d.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);m(this,e,t);if(this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var n=0;nthis.maxLength)return false;if(!this.stat&&b(this.cache,t)){var r=this.cache[t];if(Array.isArray(r))r="DIR";if(!i||r==="DIR")return r;if(i&&r==="FILE")return false}var s;var a=this.statCache[t];if(!a){var o;try{o=n.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{a=n.statSync(t)}catch(e){a=o}}else{a=o}}this.statCache[t]=a;var r=true;if(a)r=a.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||r;if(i&&r==="FILE")return false;return r};GlobSync.prototype._mark=function(e){return d.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return d.makeAbs(this,e)}},26457:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(64597);function createRejection(e,...t){const i=(async()=>{if(e instanceof n.RequestError){try{for(const i of t){if(i){for(const t of i){e=await t(e)}}}}catch(t){e=t}}throw e})();const r=()=>i;i.json=r;i.text=r;i.buffer=r;i.on=r;return i}t.default=createRejection},36056:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});const s=i(28614);const a=i(7678);const o=i(19072);const u=i(64597);const c=i(88220);const l=i(60094);const p=i(53021);const d=i(34500);const f=i(49298);const h=["request","response","redirect","uploadProgress","downloadProgress"];function asPromise(e){let t;let i;const n=new s.EventEmitter;const r=new o((s,o,m)=>{const b=g=>{const y=new l.default(undefined,e);y.retryCount=g;y._noPipe=true;m(()=>y.destroy());m.shouldReject=false;m(()=>o(new u.CancelError(y)));t=y;y.once("response",async e=>{var t;e.retryCount=g;if(e.request.aborted){return}let n;try{n=await d.default(y);e.rawBody=n}catch(e){return}if(y._isAboutToError){return}const r=((t=e.headers["content-encoding"])!==null&&t!==void 0?t:"").toLowerCase();const a=["gzip","deflate","br"].includes(r);const{options:o}=y;if(a&&!o.decompress){e.body=n}else{try{e.body=c.default(e,o.responseType,o.parseJson,o.encoding)}catch(t){e.body=n.toString();if(f.isResponseOk(e)){y._beforeError(t);return}}}try{for(const[t,i]of o.hooks.afterResponse.entries()){e=await i(e,async e=>{const i=l.default.normalizeArguments(undefined,{...e,retry:{calculateDelay:()=>0},throwHttpErrors:false,resolveBodyOnly:false},o);i.hooks.afterResponse=i.hooks.afterResponse.slice(0,t);for(const e of i.hooks.beforeRetry){await e(i)}const n=asPromise(i);m(()=>{n.catch(()=>{});n.cancel()});return n})}}catch(e){y._beforeError(new u.RequestError(e.message,e,y));return}if(!f.isResponseOk(e)){y._beforeError(new u.HTTPError(e));return}i=e;s(y.options.resolveBodyOnly?e.body:e)});const S=e=>{if(r.isCanceled){return}const{options:t}=y;if(e instanceof u.HTTPError&&!t.throwHttpErrors){const{response:t}=e;s(y.options.resolveBodyOnly?t.body:t);return}o(e)};y.once("error",S);const v=y.options.body;y.once("retry",(e,t)=>{var i,n;if(v===((i=t.request)===null||i===void 0?void 0:i.options.body)&&a.default.nodeStream((n=t.request)===null||n===void 0?void 0:n.options.body)){S(t);return}b(e)});p.default(y,n,h)};b(0)});r.on=((e,t)=>{n.on(e,t);return r});const m=e=>{const t=(async()=>{await r;const{options:t}=i.request;return c.default(i,e,t.parseJson,t.encoding)})();Object.defineProperties(t,Object.getOwnPropertyDescriptors(r));return t};r.json=(()=>{const{headers:e}=t.options;if(!t.writableFinished&&e.accept===undefined){e.accept="application/json"}return m("json")});r.buffer=(()=>m("buffer"));r.text=(()=>m("text"));return r}t.default=asPromise;r(i(64597),t)},41048:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);const r=(e,t)=>{if(n.default.null_(e.encoding)){throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead")}n.assert.any([n.default.string,n.default.undefined],e.encoding);n.assert.any([n.default.boolean,n.default.undefined],e.resolveBodyOnly);n.assert.any([n.default.boolean,n.default.undefined],e.methodRewriting);n.assert.any([n.default.boolean,n.default.undefined],e.isStream);n.assert.any([n.default.string,n.default.undefined],e.responseType);if(e.responseType===undefined){e.responseType="text"}const{retry:i}=e;if(t){e.retry={...t.retry}}else{e.retry={calculateDelay:e=>e.computedValue,limit:0,methods:[],statusCodes:[],errorCodes:[],maxRetryAfter:undefined}}if(n.default.object(i)){e.retry={...e.retry,...i};e.retry.methods=[...new Set(e.retry.methods.map(e=>e.toUpperCase()))];e.retry.statusCodes=[...new Set(e.retry.statusCodes)];e.retry.errorCodes=[...new Set(e.retry.errorCodes)]}else if(n.default.number(i)){e.retry.limit=i}if(n.default.undefined(e.retry.maxRetryAfter)){e.retry.maxRetryAfter=Math.min(...[e.timeout.request,e.timeout.connect].filter(n.default.number))}if(n.default.object(e.pagination)){if(t){e.pagination={...t.pagination,...e.pagination}}const{pagination:i}=e;if(!n.default.function_(i.transform)){throw new Error("`options.pagination.transform` must be implemented")}if(!n.default.function_(i.shouldContinue)){throw new Error("`options.pagination.shouldContinue` must be implemented")}if(!n.default.function_(i.filter)){throw new TypeError("`options.pagination.filter` must be implemented")}if(!n.default.function_(i.paginate)){throw new Error("`options.pagination.paginate` must be implemented")}}if(e.responseType==="json"&&e.headers.accept===undefined){e.headers.accept="application/json"}return e};t.default=r},88220:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(64597);const r=(e,t,i,r)=>{const{rawBody:s}=e;try{if(t==="text"){return s.toString(r)}if(t==="json"){return s.length===0?"":i(s.toString())}if(t==="buffer"){return s}throw new n.ParseError({message:`Unknown body type '${t}'`,name:"Error"},e)}catch(t){throw new n.ParseError(t,e)}};t.default=r},64597:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});t.CancelError=t.ParseError=void 0;const s=i(60094);class ParseError extends s.RequestError{constructor(e,t){const{options:i}=t.request;super(`${e.message} in "${i.url.toString()}"`,e,t.request);this.name="ParseError"}}t.ParseError=ParseError;class CancelError extends s.RequestError{constructor(e){super("Promise was canceled",{},e);this.name="CancelError"}get isCanceled(){return true}}t.CancelError=CancelError;r(i(60094),t)},93462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryAfterStatusCodes=void 0;t.retryAfterStatusCodes=new Set([413,429,503]);const i=({attemptCount:e,retryOptions:t,error:i,retryAfter:n})=>{if(e>t.limit){return 0}const r=t.methods.includes(i.options.method);const s=t.errorCodes.includes(i.code);const a=i.response&&t.statusCodes.includes(i.response.statusCode);if(!r||!s&&!a){return 0}if(i.response){if(n){if(t.maxRetryAfter===undefined||n>t.maxRetryAfter){return 0}return n}if(i.response.statusCode===413){return 0}}const o=Math.random()*100;return 2**(e-1)*1e3+o};t.default=i},60094:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnsupportedProtocolError=t.ReadError=t.TimeoutError=t.UploadError=t.CacheError=t.HTTPError=t.MaxRedirectsError=t.RequestError=t.setNonEnumerableProperties=t.knownHookEvents=t.withoutBody=t.kIsNormalizedAlready=void 0;const n=i(31669);const r=i(92413);const s=i(35747);const a=i(78835);const o=i(98605);const u=i(98605);const c=i(57211);const l=i(48097);const p=i(2286);const d=i(78116);const f=i(82391);const h=i(54645);const m=i(9662);const b=i(7678);const g=i(94564);const y=i(90040);const S=i(53021);const v=i(52454);const w=i(8026);const j=i(9219);const z=i(7288);const O=i(34500);const k=i(94993);const C=i(49298);const T=i(397);const _=i(41048);const A=i(93462);let E;const R=Symbol("request");const x=Symbol("response");const N=Symbol("responseSize");const V=Symbol("downloadedSize");const P=Symbol("bodySize");const M=Symbol("uploadedSize");const B=Symbol("serverResponsesPiped");const I=Symbol("unproxyEvents");const D=Symbol("isFromCache");const q=Symbol("cancelTimeouts");const L=Symbol("startedReading");const U=Symbol("stopReading");const Q=Symbol("triggerRead");const H=Symbol("body");const K=Symbol("jobs");const G=Symbol("originalResponse");const W=Symbol("retryTimeout");t.kIsNormalizedAlready=Symbol("isNormalizedAlready");const F=b.default.string(process.versions.brotli);t.withoutBody=new Set(["GET","HEAD"]);t.knownHookEvents=["init","beforeRequest","beforeRedirect","beforeError","beforeRetry","afterResponse"];function validateSearchParameters(e){for(const t in e){const i=e[t];if(!b.default.string(i)&&!b.default.number(i)&&!b.default.boolean(i)&&!b.default.null_(i)&&!b.default.undefined(i)){throw new TypeError(`The \`searchParams\` value '${String(i)}' must be a string, number, boolean or null`)}}}function isClientRequest(e){return b.default.object(e)&&!("statusCode"in e)}const J=new z.default;const Y=async e=>new Promise((t,i)=>{const n=e=>{i(e)};if(!e.pending){t()}e.once("error",n);e.once("ready",()=>{e.off("error",n);t()})});const X=new Set([300,301,302,303,304,307,308]);const Z=["context","body","json","form"];t.setNonEnumerableProperties=((e,t)=>{const i={};for(const t of e){if(!t){continue}for(const e of Z){if(!(e in t)){continue}i[e]={writable:true,configurable:true,enumerable:false,value:t[e]}}}Object.defineProperties(t,i)});class RequestError extends Error{constructor(e,t,i){var n;super(e);Error.captureStackTrace(this,this.constructor);this.name="RequestError";this.code=t.code;if(i instanceof Request){Object.defineProperty(this,"request",{enumerable:false,value:i});Object.defineProperty(this,"response",{enumerable:false,value:i[x]});Object.defineProperty(this,"options",{enumerable:false,value:i.options})}else{Object.defineProperty(this,"options",{enumerable:false,value:i})}this.timings=(n=this.request)===null||n===void 0?void 0:n.timings;if(b.default.string(t.stack)&&b.default.string(this.stack)){const e=this.stack.indexOf(this.message)+this.message.length;const i=this.stack.slice(e).split("\n").reverse();const n=t.stack.slice(t.stack.indexOf(t.message)+t.message.length).split("\n").reverse();while(n.length!==0&&n[0]===i[0]){i.shift()}this.stack=`${this.stack.slice(0,e)}${i.reverse().join("\n")}${n.reverse().join("\n")}`}}}t.RequestError=RequestError;class MaxRedirectsError extends RequestError{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e);this.name="MaxRedirectsError"}}t.MaxRedirectsError=MaxRedirectsError;class HTTPError extends RequestError{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request);this.name="HTTPError"}}t.HTTPError=HTTPError;class CacheError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="CacheError"}}t.CacheError=CacheError;class UploadError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="UploadError"}}t.UploadError=UploadError;class TimeoutError extends RequestError{constructor(e,t,i){super(e.message,e,i);this.name="TimeoutError";this.event=e.event;this.timings=t}}t.TimeoutError=TimeoutError;class ReadError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="ReadError"}}t.ReadError=ReadError;class UnsupportedProtocolError extends RequestError{constructor(e){super(`Unsupported protocol "${e.url.protocol}"`,{},e);this.name="UnsupportedProtocolError"}}t.UnsupportedProtocolError=UnsupportedProtocolError;const $=["socket","connect","continue","information","upgrade","timeout"];class Request extends r.Duplex{constructor(e,i={},n){super({autoDestroy:false,highWaterMark:0});this[V]=0;this[M]=0;this.requestInitialized=false;this[B]=new Set;this.redirects=[];this[U]=false;this[Q]=false;this[K]=[];this.retryCount=0;this._progressCallbacks=[];const r=()=>this._unlockWrite();const a=()=>this._lockWrite();this.on("pipe",e=>{e.prependListener("data",r);e.on("data",a);e.prependListener("end",r);e.on("end",a)});this.on("unpipe",e=>{e.off("data",r);e.off("data",a);e.off("end",r);e.off("end",a)});this.on("pipe",e=>{if(e instanceof u.IncomingMessage){this.options.headers={...e.headers,...this.options.headers}}});const{json:o,body:c,form:l}=i;if(o||c||l){this._lockWrite()}if(t.kIsNormalizedAlready in i){this.options=i}else{try{this.options=this.constructor.normalizeArguments(e,i,n)}catch(e){if(b.default.nodeStream(i.body)){i.body.destroy()}this.destroy(e);return}}(async()=>{var e;try{if(this.options.body instanceof s.ReadStream){await Y(this.options.body)}const{url:t}=this.options;if(!t){throw new TypeError("Missing `url` property")}this.requestUrl=t.toString();decodeURI(this.requestUrl);await this._finalizeBody();await this._makeRequest();if(this.destroyed){(e=this[R])===null||e===void 0?void 0:e.destroy();return}for(const e of this[K]){e()}this[K].length=0;this.requestInitialized=true}catch(e){if(e instanceof RequestError){this._beforeError(e);return}if(!this.destroyed){this.destroy(e)}}})()}static normalizeArguments(e,i,r){var s,o,u,c,l;const f=i;if(b.default.object(e)&&!b.default.urlInstance(e)){i={...r,...e,...i}}else{if(e&&i&&i.url!==undefined){throw new TypeError("The `url` option is mutually exclusive with the `input` argument")}i={...r,...i};if(e!==undefined){i.url=e}if(b.default.urlInstance(i.url)){i.url=new a.URL(i.url.toString())}}if(i.cache===false){i.cache=undefined}if(i.dnsCache===false){i.dnsCache=undefined}b.assert.any([b.default.string,b.default.undefined],i.method);b.assert.any([b.default.object,b.default.undefined],i.headers);b.assert.any([b.default.string,b.default.urlInstance,b.default.undefined],i.prefixUrl);b.assert.any([b.default.object,b.default.undefined],i.cookieJar);b.assert.any([b.default.object,b.default.string,b.default.undefined],i.searchParams);b.assert.any([b.default.object,b.default.string,b.default.undefined],i.cache);b.assert.any([b.default.object,b.default.number,b.default.undefined],i.timeout);b.assert.any([b.default.object,b.default.undefined],i.context);b.assert.any([b.default.object,b.default.undefined],i.hooks);b.assert.any([b.default.boolean,b.default.undefined],i.decompress);b.assert.any([b.default.boolean,b.default.undefined],i.ignoreInvalidCookies);b.assert.any([b.default.boolean,b.default.undefined],i.followRedirect);b.assert.any([b.default.number,b.default.undefined],i.maxRedirects);b.assert.any([b.default.boolean,b.default.undefined],i.throwHttpErrors);b.assert.any([b.default.boolean,b.default.undefined],i.http2);b.assert.any([b.default.boolean,b.default.undefined],i.allowGetBody);b.assert.any([b.default.string,b.default.undefined],i.localAddress);b.assert.any([k.isDnsLookupIpVersion,b.default.undefined],i.dnsLookupIpVersion);b.assert.any([b.default.object,b.default.undefined],i.https);b.assert.any([b.default.boolean,b.default.undefined],i.rejectUnauthorized);if(i.https){b.assert.any([b.default.boolean,b.default.undefined],i.https.rejectUnauthorized);b.assert.any([b.default.function_,b.default.undefined],i.https.checkServerIdentity);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.certificateAuthority);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.key);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.certificate);b.assert.any([b.default.string,b.default.undefined],i.https.passphrase);b.assert.any([b.default.string,b.default.buffer,b.default.array,b.default.undefined],i.https.pfx)}b.assert.any([b.default.object,b.default.undefined],i.cacheOptions);if(b.default.string(i.method)){i.method=i.method.toUpperCase()}else{i.method="GET"}if(i.headers===(r===null||r===void 0?void 0:r.headers)){i.headers={...i.headers}}else{i.headers=m({...r===null||r===void 0?void 0:r.headers,...i.headers})}if("slashes"in i){throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.")}if("auth"in i){throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.")}if("searchParams"in i){if(i.searchParams&&i.searchParams!==(r===null||r===void 0?void 0:r.searchParams)){let e;if(b.default.string(i.searchParams)||i.searchParams instanceof a.URLSearchParams){e=new a.URLSearchParams(i.searchParams)}else{validateSearchParameters(i.searchParams);e=new a.URLSearchParams;for(const t in i.searchParams){const n=i.searchParams[t];if(n===null){e.append(t,"")}else if(n!==undefined){e.append(t,n)}}}(s=r===null||r===void 0?void 0:r.searchParams)===null||s===void 0?void 0:s.forEach((t,i)=>{if(!e.has(i)){e.append(i,t)}});i.searchParams=e}}i.username=(o=i.username)!==null&&o!==void 0?o:"";i.password=(u=i.password)!==null&&u!==void 0?u:"";if(b.default.undefined(i.prefixUrl)){i.prefixUrl=(c=r===null||r===void 0?void 0:r.prefixUrl)!==null&&c!==void 0?c:""}else{i.prefixUrl=i.prefixUrl.toString();if(i.prefixUrl!==""&&!i.prefixUrl.endsWith("/")){i.prefixUrl+="/"}}if(b.default.string(i.url)){if(i.url.startsWith("/")){throw new Error("`input` must not start with a slash when using `prefixUrl`")}i.url=j.default(i.prefixUrl+i.url,i)}else if(b.default.undefined(i.url)&&i.prefixUrl!==""||i.protocol){i.url=j.default(i.prefixUrl,i)}if(i.url){if("port"in i){delete i.port}let{prefixUrl:e}=i;Object.defineProperty(i,"prefixUrl",{set:t=>{const n=i.url;if(!n.href.startsWith(t)){throw new Error(`Cannot change \`prefixUrl\` from ${e} to ${t}: ${n.href}`)}i.url=new a.URL(t+n.href.slice(e.length));e=t},get:()=>e});let{protocol:t}=i.url;if(t==="unix:"){t="http:";i.url=new a.URL(`http://unix${i.url.pathname}${i.url.search}`)}if(i.searchParams){i.url.search=i.searchParams.toString()}if(t!=="http:"&&t!=="https:"){throw new UnsupportedProtocolError(i)}if(i.username===""){i.username=i.url.username}else{i.url.username=i.username}if(i.password===""){i.password=i.url.password}else{i.url.password=i.password}}const{cookieJar:h}=i;if(h){let{setCookie:e,getCookieString:t}=h;b.assert.function_(e);b.assert.function_(t);if(e.length===4&&t.length===0){e=n.promisify(e.bind(i.cookieJar));t=n.promisify(t.bind(i.cookieJar));i.cookieJar={setCookie:e,getCookieString:t}}}const{cache:g}=i;if(g){if(!J.has(g)){J.set(g,new d((e,t)=>{const i=e[R](e,t);if(b.default.promise(i)){i.once=((e,t)=>{if(e==="error"){i.catch(t)}else if(e==="abort"){(async()=>{try{const e=await i;e.once("abort",t)}catch(e){}})()}else{throw new Error(`Unknown HTTP2 promise event: ${e}`)}return i})}return i},g))}}i.cacheOptions={...i.cacheOptions};if(i.dnsCache===true){if(!E){E=new p.default}i.dnsCache=E}else if(!b.default.undefined(i.dnsCache)&&!i.dnsCache.lookup){throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${b.default(i.dnsCache)}`)}if(b.default.number(i.timeout)){i.timeout={request:i.timeout}}else if(r&&i.timeout!==r.timeout){i.timeout={...r.timeout,...i.timeout}}else{i.timeout={...i.timeout}}if(!i.context){i.context={}}const y=i.hooks===(r===null||r===void 0?void 0:r.hooks);i.hooks={...i.hooks};for(const e of t.knownHookEvents){if(e in i.hooks){if(b.default.array(i.hooks[e])){i.hooks[e]=[...i.hooks[e]]}else{throw new TypeError(`Parameter \`${e}\` must be an Array, got ${b.default(i.hooks[e])}`)}}else{i.hooks[e]=[]}}if(r&&!y){for(const e of t.knownHookEvents){const t=r.hooks[e];if(t.length>0){i.hooks[e]=[...r.hooks[e],...i.hooks[e]]}}}if("family"in i){T.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"')}if(r===null||r===void 0?void 0:r.https){i.https={...r.https,...i.https}}if("rejectUnauthorized"in i){T.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"')}if("checkServerIdentity"in i){T.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"')}if("ca"in i){T.default('"options.ca" was never documented, please use "options.https.certificateAuthority"')}if("key"in i){T.default('"options.key" was never documented, please use "options.https.key"')}if("cert"in i){T.default('"options.cert" was never documented, please use "options.https.certificate"')}if("passphrase"in i){T.default('"options.passphrase" was never documented, please use "options.https.passphrase"')}if("pfx"in i){T.default('"options.pfx" was never documented, please use "options.https.pfx"')}if("followRedirects"in i){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}if(i.agent){for(const e in i.agent){if(e!=="http"&&e!=="https"&&e!=="http2"){throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${e}\``)}}}i.maxRedirects=(l=i.maxRedirects)!==null&&l!==void 0?l:0;t.setNonEnumerableProperties([r,f],i);return _.default(i,r)}_lockWrite(){const e=()=>{throw new TypeError("The payload has been already provided")};this.write=e;this.end=e}_unlockWrite(){this.write=super.write;this.end=super.end}async _finalizeBody(){const{options:e}=this;const{headers:i}=e;const n=!b.default.undefined(e.form);const s=!b.default.undefined(e.json);const o=!b.default.undefined(e.body);const u=n||s||o;const c=t.withoutBody.has(e.method)&&!(e.method==="GET"&&e.allowGetBody);this._cannotHaveBody=c;if(u){if(c){throw new TypeError(`The \`${e.method}\` method cannot be used with a body`)}if([o,n,s].filter(e=>e).length>1){throw new TypeError("The `body`, `json` and `form` options are mutually exclusive")}if(o&&!(e.body instanceof r.Readable)&&!b.default.string(e.body)&&!b.default.buffer(e.body)&&!y.default(e.body)){throw new TypeError("The `body` option must be a stream.Readable, string or Buffer")}if(n&&!b.default.object(e.form)){throw new TypeError("The `form` option must be an Object")}{const t=!b.default.string(i["content-type"]);if(o){if(y.default(e.body)&&t){i["content-type"]=`multipart/form-data; boundary=${e.body.getBoundary()}`}this[H]=e.body}else if(n){if(t){i["content-type"]="application/x-www-form-urlencoded"}this[H]=new a.URLSearchParams(e.form).toString()}else{if(t){i["content-type"]="application/json"}this[H]=e.stringifyJson(e.json)}const r=await g.default(this[H],e.headers);if(b.default.undefined(i["content-length"])&&b.default.undefined(i["transfer-encoding"])){if(!c&&!b.default.undefined(r)){i["content-length"]=String(r)}}}}else if(c){this._lockWrite()}else{this._unlockWrite()}this[P]=Number(i["content-length"])||undefined}async _onResponseBase(e){const{options:t}=this;const{url:i}=t;this[G]=e;if(t.decompress){e=f(e)}const n=e.statusCode;const r=e;r.statusMessage=r.statusMessage?r.statusMessage:o.STATUS_CODES[n];r.url=t.url.toString();r.requestUrl=this.requestUrl;r.redirectUrls=this.redirects;r.request=this;r.isFromCache=e.fromCache||false;r.ip=this.ip;r.retryCount=this.retryCount;this[D]=r.isFromCache;this[N]=Number(e.headers["content-length"])||undefined;this[x]=e;e.once("end",()=>{this[N]=this[V];this.emit("downloadProgress",this.downloadProgress)});e.once("error",t=>{e.destroy();this._beforeError(new ReadError(t,this))});e.once("aborted",()=>{this._beforeError(new ReadError({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))});this.emit("downloadProgress",this.downloadProgress);const s=e.headers["set-cookie"];if(b.default.object(t.cookieJar)&&s){let e=s.map(async e=>t.cookieJar.setCookie(e,i.toString()));if(t.ignoreInvalidCookies){e=e.map(async e=>e.catch(()=>{}))}try{await Promise.all(e)}catch(e){this._beforeError(e);return}}if(t.followRedirect&&e.headers.location&&X.has(n)){e.resume();if(this[R]){this[q]();delete this[R];this[I]()}const s=n===303&&t.method!=="GET"&&t.method!=="HEAD";if(s||!t.methodRewriting){t.method="GET";if("body"in t){delete t.body}if("json"in t){delete t.json}if("form"in t){delete t.form}this[H]=undefined;delete t.headers["content-length"]}if(this.redirects.length>=t.maxRedirects){this._beforeError(new MaxRedirectsError(this));return}try{const n=Buffer.from(e.headers.location,"binary").toString();const s=new a.URL(n,i);const o=s.toString();decodeURI(o);if(s.hostname!==i.hostname||s.port!==i.port){if("host"in t.headers){delete t.headers.host}if("cookie"in t.headers){delete t.headers.cookie}if("authorization"in t.headers){delete t.headers.authorization}if(t.username||t.password){t.username="";t.password=""}}else{s.username=t.username;s.password=t.password}this.redirects.push(o);t.url=s;for(const e of t.hooks.beforeRedirect){await e(t,r)}this.emit("redirect",r,t);await this._makeRequest()}catch(e){this._beforeError(e);return}return}if(t.isStream&&t.throwHttpErrors&&!C.isResponseOk(r)){this._beforeError(new HTTPError(r));return}e.on("readable",()=>{if(this[Q]){this._read()}});this.on("resume",()=>{e.resume()});this.on("pause",()=>{e.pause()});e.once("end",()=>{this.push(null)});this.emit("response",e);for(const i of this[B]){if(i.headersSent){continue}for(const n in e.headers){const r=t.decompress?n!=="content-encoding":true;const s=e.headers[n];if(r){i.setHeader(n,s)}}i.statusCode=n}}async _onResponse(e){try{await this._onResponseBase(e)}catch(e){this._beforeError(e)}}_onRequest(e){const{options:t}=this;const{timeout:i,url:n}=t;l.default(e);this[q]=v.default(e,i,n);const r=t.cache?"cacheableResponse":"response";e.once(r,e=>{void this._onResponse(e)});e.once("error",t=>{var i;e.destroy();(i=e.res)===null||i===void 0?void 0:i.removeAllListeners("end");t=t instanceof v.TimeoutError?new TimeoutError(t,this.timings,this):new RequestError(t.message,t,this);this._beforeError(t)});this[I]=S.default(e,this,$);this[R]=e;this.emit("uploadProgress",this.uploadProgress);const s=this[H];const a=this.redirects.length===0?this:e;if(b.default.nodeStream(s)){s.pipe(a);s.once("error",e=>{this._beforeError(new UploadError(e,this))})}else{this._unlockWrite();if(!b.default.undefined(s)){this._writeRequest(s,undefined,()=>{});a.end();this._lockWrite()}else if(this._cannotHaveBody||this._noPipe){a.end();this._lockWrite()}}this.emit("request",e)}async _createCacheableRequest(e,t){return new Promise((i,n)=>{Object.assign(t,w.default(e));delete t.url;let r;const s=J.get(t.cache)(t,async e=>{e._readableState.autoDestroy=false;if(r){(await r).emit("cacheableResponse",e)}i(e)});t.url=e;s.once("error",n);s.once("request",async e=>{r=e;i(r)})})}async _makeRequest(){var e,t,i,n,r;const{options:s}=this;const{headers:a}=s;for(const e in a){if(b.default.undefined(a[e])){delete a[e]}else if(b.default.null_(a[e])){throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${e}\` header`)}}if(s.decompress&&b.default.undefined(a["accept-encoding"])){a["accept-encoding"]=F?"gzip, deflate, br":"gzip, deflate"}if(s.cookieJar){const e=await s.cookieJar.getCookieString(s.url.toString());if(b.default.nonEmptyString(e)){s.headers.cookie=e}}for(const e of s.hooks.beforeRequest){const t=await e(s);if(!b.default.undefined(t)){s.request=(()=>t);break}}if(s.body&&this[H]!==s.body){this[H]=s.body}const{agent:u,request:l,timeout:p,url:f}=s;if(s.dnsCache&&!("lookup"in s)){s.lookup=s.dnsCache.lookup}if(f.hostname==="unix"){const e=/(?.+?):(?.+)/.exec(`${f.pathname}${f.search}`);if(e===null||e===void 0?void 0:e.groups){const{socketPath:t,path:i}=e.groups;Object.assign(s,{socketPath:t,path:i,host:""})}}const m=f.protocol==="https:";let g;if(s.http2){g=h.auto}else{g=m?c.request:o.request}const y=(e=s.request)!==null&&e!==void 0?e:g;const S=s.cache?this._createCacheableRequest:y;if(u&&!s.http2){s.agent=u[m?"https":"http"]}s[R]=y;delete s.request;delete s.timeout;const v=s;v.shared=(t=s.cacheOptions)===null||t===void 0?void 0:t.shared;v.cacheHeuristic=(i=s.cacheOptions)===null||i===void 0?void 0:i.cacheHeuristic;v.immutableMinTimeToLive=(n=s.cacheOptions)===null||n===void 0?void 0:n.immutableMinTimeToLive;v.ignoreCargoCult=(r=s.cacheOptions)===null||r===void 0?void 0:r.ignoreCargoCult;if(s.dnsLookupIpVersion!==undefined){try{v.family=k.dnsLookupIpVersionToFamily(s.dnsLookupIpVersion)}catch(e){throw new Error("Invalid `dnsLookupIpVersion` option value")}}if(s.https){if("rejectUnauthorized"in s.https){v.rejectUnauthorized=s.https.rejectUnauthorized}if(s.https.checkServerIdentity){v.checkServerIdentity=s.https.checkServerIdentity}if(s.https.certificateAuthority){v.ca=s.https.certificateAuthority}if(s.https.certificate){v.cert=s.https.certificate}if(s.https.key){v.key=s.https.key}if(s.https.passphrase){v.passphrase=s.https.passphrase}if(s.https.pfx){v.pfx=s.https.pfx}}try{let e=await S(f,v);if(b.default.undefined(e)){e=g(f,v)}s.request=l;s.timeout=p;s.agent=u;if(s.https){if("rejectUnauthorized"in s.https){delete v.rejectUnauthorized}if(s.https.checkServerIdentity){delete v.checkServerIdentity}if(s.https.certificateAuthority){delete v.ca}if(s.https.certificate){delete v.cert}if(s.https.key){delete v.key}if(s.https.passphrase){delete v.passphrase}if(s.https.pfx){delete v.pfx}}if(isClientRequest(e)){this._onRequest(e)}else if(this.writable){this.once("finish",()=>{void this._onResponse(e)});this._unlockWrite();this.end();this._lockWrite()}else{void this._onResponse(e)}}catch(e){if(e instanceof d.CacheError){throw new CacheError(e,this)}throw new RequestError(e.message,e,this)}}async _error(e){try{for(const t of this.options.hooks.beforeError){e=await t(e)}}catch(t){e=new RequestError(t.message,t,this)}this.destroy(e)}_beforeError(e){if(this[U]){return}const{options:t}=this;const i=this.retryCount+1;this[U]=true;if(!(e instanceof RequestError)){e=new RequestError(e.message,e,this)}const n=e;const{response:r}=n;void(async()=>{if(r&&!r.body){r.setEncoding(this._readableState.encoding);try{r.rawBody=await O.default(r);r.body=r.rawBody.toString()}catch(e){}}if(this.listenerCount("retry")!==0){let s;try{let e;if(r&&"retry-after"in r.headers){e=Number(r.headers["retry-after"]);if(Number.isNaN(e)){e=Date.parse(r.headers["retry-after"])-Date.now();if(e<=0){e=1}}else{e*=1e3}}s=await t.retry.calculateDelay({attemptCount:i,retryOptions:t.retry,error:n,retryAfter:e,computedValue:A.default({attemptCount:i,retryOptions:t.retry,error:n,retryAfter:e,computedValue:0})})}catch(e){void this._error(new RequestError(e.message,e,this));return}if(s){const t=async()=>{try{for(const e of this.options.hooks.beforeRetry){await e(this.options,n,i)}}catch(t){void this._error(new RequestError(t.message,e,this));return}if(this.destroyed){return}this.destroy();this.emit("retry",i,e)};this[W]=setTimeout(t,s);return}}void this._error(n)})()}_read(){this[Q]=true;const e=this[x];if(e&&!this[U]){if(e.readableLength){this[Q]=false}let t;while((t=e.read())!==null){this[V]+=t.length;this[L]=true;const e=this.downloadProgress;if(e.percent<1){this.emit("downloadProgress",e)}this.push(t)}}}_write(e,t,i){const n=()=>{this._writeRequest(e,t,i)};if(this.requestInitialized){n()}else{this[K].push(n)}}_writeRequest(e,t,i){if(this[R].destroyed){return}this._progressCallbacks.push(()=>{this[M]+=Buffer.byteLength(e,t);const i=this.uploadProgress;if(i.percent<1){this.emit("uploadProgress",i)}});this[R].write(e,t,e=>{if(!e&&this._progressCallbacks.length>0){this._progressCallbacks.shift()()}i(e)})}_final(e){const t=()=>{while(this._progressCallbacks.length!==0){this._progressCallbacks.shift()()}if(!(R in this)){e();return}if(this[R].destroyed){e();return}this[R].end(t=>{if(!t){this[P]=this[M];this.emit("uploadProgress",this.uploadProgress);this[R].emit("upload-complete")}e(t)})};if(this.requestInitialized){t()}else{this[K].push(t)}}_destroy(e,t){var i;this[U]=true;clearTimeout(this[W]);if(R in this){this[q]();if(!((i=this[x])===null||i===void 0?void 0:i.complete)){this[R].destroy()}}if(e!==null&&!b.default.undefined(e)&&!(e instanceof RequestError)){e=new RequestError(e.message,e,this)}t(e)}get _isAboutToError(){return this[U]}get ip(){var e;return(e=this.socket)===null||e===void 0?void 0:e.remoteAddress}get aborted(){var e,t,i;return((t=(e=this[R])===null||e===void 0?void 0:e.destroyed)!==null&&t!==void 0?t:this.destroyed)&&!((i=this[G])===null||i===void 0?void 0:i.complete)}get socket(){var e,t;return(t=(e=this[R])===null||e===void 0?void 0:e.socket)!==null&&t!==void 0?t:undefined}get downloadProgress(){let e;if(this[N]){e=this[V]/this[N]}else if(this[N]===this[V]){e=1}else{e=0}return{percent:e,transferred:this[V],total:this[N]}}get uploadProgress(){let e;if(this[P]){e=this[M]/this[P]}else if(this[P]===this[M]){e=1}else{e=0}return{percent:e,transferred:this[M],total:this[P]}}get timings(){var e;return(e=this[R])===null||e===void 0?void 0:e.timings}get isFromCache(){return this[D]}pipe(e,t){if(this[L]){throw new Error("Failed to pipe. The response has been emitted already.")}if(e instanceof u.ServerResponse){this[B].add(e)}return super.pipe(e,t)}unpipe(e){if(e instanceof u.ServerResponse){this[B].delete(e)}super.unpipe(e);return this}}t.default=Request},94993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.dnsLookupIpVersionToFamily=t.isDnsLookupIpVersion=void 0;const i={auto:0,ipv4:4,ipv6:6};t.isDnsLookupIpVersion=(e=>{return e in i});t.dnsLookupIpVersionToFamily=(e=>{if(t.isDnsLookupIpVersion(e)){return i[e]}throw new Error("Invalid DNS lookup IP version")})},94564:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(35747);const r=i(31669);const s=i(7678);const a=i(90040);const o=r.promisify(n.stat);t.default=(async(e,t)=>{if(t&&"content-length"in t){return Number(t["content-length"])}if(!e){return 0}if(s.default.string(e)){return Buffer.byteLength(e)}if(s.default.buffer(e)){return e.length}if(a.default(e)){return r.promisify(e.getLength.bind(e))()}if(e instanceof n.ReadStream){const{size:t}=await o(e.path);if(t===0){return undefined}return t}return undefined})},34500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=async e=>{const t=[];let i=0;for await(const n of e){t.push(n);i+=Buffer.byteLength(n)}if(Buffer.isBuffer(t[0])){return Buffer.concat(t,i)}return Buffer.from(t.join(""))};t.default=i},90040:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);t.default=(e=>n.default.nodeStream(e)&&n.default.function_(e.getBoundary))},49298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isResponseOk=void 0;t.isResponseOk=(e=>{const{statusCode:t}=e;const i=e.request.options.followRedirect?299:399;return t>=200&&t<=i||t===304})},9219:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(78835);const r=["protocol","host","hostname","port","pathname","search"];t.default=((e,t)=>{var i,s;if(t.path){if(t.pathname){throw new TypeError("Parameters `path` and `pathname` are mutually exclusive.")}if(t.search){throw new TypeError("Parameters `path` and `search` are mutually exclusive.")}if(t.searchParams){throw new TypeError("Parameters `path` and `searchParams` are mutually exclusive.")}}if(t.search&&t.searchParams){throw new TypeError("Parameters `search` and `searchParams` are mutually exclusive.")}if(!e){if(!t.protocol){throw new TypeError("No URL protocol specified")}e=`${t.protocol}//${(s=(i=t.hostname)!==null&&i!==void 0?i:t.host)!==null&&s!==void 0?s:""}`}const a=new n.URL(e);if(t.path){const e=t.path.indexOf("?");if(e===-1){t.pathname=t.path}else{t.pathname=t.path.slice(0,e);t.search=t.path.slice(e+1)}delete t.path}for(const e of r){if(t[e]){a[e]=t[e].toString()}}return a})},53021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function default_1(e,t,i){const n={};for(const r of i){n[r]=((...e)=>{t.emit(r,...e)});e.on(r,n[r])}return()=>{for(const t of i){e.off(t,n[t])}}}t.default=default_1},52454:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TimeoutError=void 0;const n=i(11631);const r=i(81593);const s=Symbol("reentry");const a=()=>{};class TimeoutError extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`);this.event=t;this.name="TimeoutError";this.code="ETIMEDOUT"}}t.TimeoutError=TimeoutError;t.default=((e,t,i)=>{if(s in e){return a}e[s]=true;const o=[];const{once:u,unhandleAll:c}=r.default();const l=(e,t,i)=>{var n;const r=setTimeout(t,e,e,i);(n=r.unref)===null||n===void 0?void 0:n.call(r);const s=()=>{clearTimeout(r)};o.push(s);return s};const{host:p,hostname:d}=i;const f=(t,i)=>{e.destroy(new TimeoutError(t,i))};const h=()=>{for(const e of o){e()}c()};e.once("error",t=>{h();if(e.listenerCount("error")===0){throw t}});e.once("close",h);u(e,"response",e=>{u(e,"end",h)});if(typeof t.request!=="undefined"){l(t.request,f,"request")}if(typeof t.socket!=="undefined"){const i=()=>{f(t.socket,"socket")};e.setTimeout(t.socket,i);o.push(()=>{e.removeListener("timeout",i)})}u(e,"socket",r=>{var s;const{socketPath:a}=e;if(r.connecting){const e=Boolean(a!==null&&a!==void 0?a:n.isIP((s=d!==null&&d!==void 0?d:p)!==null&&s!==void 0?s:"")!==0);if(typeof t.lookup!=="undefined"&&!e&&typeof r.address().address==="undefined"){const e=l(t.lookup,f,"lookup");u(r,"lookup",e)}if(typeof t.connect!=="undefined"){const i=()=>l(t.connect,f,"connect");if(e){u(r,"connect",i())}else{u(r,"lookup",e=>{if(e===null){u(r,"connect",i())}})}}if(typeof t.secureConnect!=="undefined"&&i.protocol==="https:"){u(r,"connect",()=>{const e=l(t.secureConnect,f,"secureConnect");u(r,"secureConnect",e)})}}if(typeof t.send!=="undefined"){const i=()=>l(t.send,f,"send");if(r.connecting){u(r,"connect",()=>{u(e,"upload-complete",i())})}else{u(e,"upload-complete",i())}}});if(typeof t.response!=="undefined"){u(e,"upload-complete",()=>{const i=l(t.response,f,"response");u(e,"response",i)})}return h})},81593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=(()=>{const e=[];return{once(t,i,n){t.once(i,n);e.push({origin:t,event:i,fn:n})},unhandleAll(){for(const t of e){const{origin:e,event:i,fn:n}=t;e.removeListener(i,n)}e.length=0}}})},8026:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);t.default=(e=>{e=e;const t={protocol:e.protocol,hostname:n.default.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};if(n.default.string(e.port)&&e.port.length>0){t.port=Number(e.port)}if(e.username||e.password){t.auth=`${e.username||""}:${e.password||""}`}return t})},7288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class WeakableMap{constructor(){this.weakMap=new WeakMap;this.map=new Map}set(e,t){if(typeof e==="object"){this.weakMap.set(e,t)}else{this.map.set(e,t)}}get(e){if(typeof e==="object"){return this.weakMap.get(e)}return this.map.get(e)}has(e){if(typeof e==="object"){return this.weakMap.has(e)}return this.map.has(e)}}t.default=WeakableMap},34337:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});t.defaultHandler=void 0;const s=i(7678);const a=i(36056);const o=i(26457);const u=i(60094);const c=i(70285);const l={RequestError:a.RequestError,CacheError:a.CacheError,ReadError:a.ReadError,HTTPError:a.HTTPError,MaxRedirectsError:a.MaxRedirectsError,TimeoutError:a.TimeoutError,ParseError:a.ParseError,CancelError:a.CancelError,UnsupportedProtocolError:a.UnsupportedProtocolError,UploadError:a.UploadError};const p=async e=>new Promise(t=>{setTimeout(t,e)});const{normalizeArguments:d}=u.default;const f=(...e)=>{let t;for(const i of e){t=d(undefined,i,t)}return t};const h=e=>e.isStream?new u.default(undefined,e):a.default(e);const m=e=>"defaults"in e&&"options"in e.defaults;const b=["get","post","put","patch","head","delete"];t.defaultHandler=((e,t)=>t(e));const g=(e,t)=>{if(e){for(const i of e){i(t)}}};const y=e=>{e._rawHandlers=e.handlers;e.handlers=e.handlers.map(e=>(t,i)=>{let n;const r=e(t,e=>{n=i(e);return n});if(r!==n&&!t.isStream&&n){const e=r;const{then:t,catch:i,finally:s}=e;Object.setPrototypeOf(e,Object.getPrototypeOf(n));Object.defineProperties(e,Object.getOwnPropertyDescriptors(n));e.then=t;e.catch=i;e.finally=s}return r});const i=(t,i={},n)=>{var r,c;let l=0;const p=t=>{return e.handlers[l++](t,l===e.handlers.length?h:p)};if(s.default.plainObject(t)){const e={...t,...i};u.setNonEnumerableProperties([t,i],e);i=e;t=undefined}try{let s;try{g(e.options.hooks.init,i);g((r=i.hooks)===null||r===void 0?void 0:r.init,i)}catch(e){s=e}const l=d(t,i,n!==null&&n!==void 0?n:e.options);l[u.kIsNormalizedAlready]=true;if(s){throw new a.RequestError(s.message,s,l)}return p(l)}catch(t){if(i.isStream){throw t}else{return o.default(t,e.options.hooks.beforeError,(c=i.hooks)===null||c===void 0?void 0:c.beforeError)}}};i.extend=((...i)=>{const n=[e.options];let r=[...e._rawHandlers];let s;for(const e of i){if(m(e)){n.push(e.defaults.options);r.push(...e.defaults._rawHandlers);s=e.defaults.mutableDefaults}else{n.push(e);if("handlers"in e){r.push(...e.handlers)}s=e.mutableDefaults}}r=r.filter(e=>e!==t.defaultHandler);if(r.length===0){r.push(t.defaultHandler)}return y({options:f(...n),handlers:r,mutableDefaults:Boolean(s)})});const n=async function*(t,n){let r=d(t,n,e.options);r.resolveBodyOnly=false;const a=r.pagination;if(!s.default.object(a)){throw new TypeError("`options.pagination` must be implemented")}const o=[];let{countLimit:u}=a;let c=0;while(c{const i=[];for await(const r of n(e,t)){i.push(r)}return i});i.paginate.each=n;i.stream=((e,t)=>i(e,{...t,isStream:true}));for(const e of b){i[e]=((t,n)=>i(t,{...n,method:e}));i.stream[e]=((t,n)=>{return i(t,{...n,method:e,isStream:true})})}Object.assign(i,l);Object.defineProperty(i,"defaults",{value:e.mutableDefaults?e:c.default(e),writable:e.mutableDefaults,configurable:e.mutableDefaults,enumerable:true});i.mergeOptions=f;return i};t.default=y;r(i(72613),t)},93061:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});const s=i(78835);const a=i(34337);const o={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:undefined,calculateDelay:({computedValue:e})=>e},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:undefined,dnsCache:undefined,decompress:true,throwHttpErrors:true,followRedirect:true,isStream:false,responseType:"text",resolveBodyOnly:false,maxRedirects:10,prefixUrl:"",methodRewriting:true,ignoreInvalidCookies:false,context:{},http2:false,allowGetBody:false,https:undefined,pagination:{transform:e=>{if(e.request.options.responseType==="json"){return e.body}return JSON.parse(e.body)},paginate:e=>{if(!Reflect.has(e.headers,"link")){return false}const t=e.headers.link.split(",");let i;for(const e of t){const t=e.split(";");if(t[1].includes("next")){i=t[0].trimStart().trim();i=i.slice(1,-1);break}}if(i){const e={url:new s.URL(i)};return e}return false},filter:()=>true,shouldContinue:()=>true,countLimit:Infinity,backoff:0,requestLimit:1e4,stackAllItems:true},parseJson:e=>JSON.parse(e),stringifyJson:e=>JSON.stringify(e),cacheOptions:{}},handlers:[a.defaultHandler],mutableDefaults:false};const u=a.default(o);t.default=u;e.exports=u;e.exports.default=u;e.exports.__esModule=true;r(i(34337),t);r(i(36056),t)},72613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},70285:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);function deepFreeze(e){for(const t of Object.values(e)){if(n.default.plainObject(t)||n.default.array(t)){deepFreeze(t)}}return Object.freeze(e)}t.default=deepFreeze},397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=new Set;t.default=(e=>{if(i.has(e)){return}i.add(e);process.emitWarning(`Got: ${e}`,{type:"DeprecationWarning"})})},13679:(e,t,i)=>{"use strict";e.exports={afterRequest:i(24391),beforeRequest:i(94440),browser:i(99850),cache:i(77654),content:i(73656),cookie:i(67948),creator:i(33412),entry:i(32525),har:i(84943),header:i(68344),log:i(69142),page:i(29075),pageTimings:i(15096),postData:i(73697),query:i(70877),request:i(92084),response:i(20702),timings:i(36941)}},74944:e=>{function HARError(e){var t="validation failed";this.name="HARError";this.message=t;this.errors=e;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(t).stack}}HARError.prototype=Error.prototype;e.exports=HARError},75697:(e,t,i)=>{var n=i(64941);var r=i(74944);var s=i(13679);var a;function createAjvInstance(){var e=new n({allErrors:true});e.addMetaSchema(i(81030));e.addSchema(s);return e}function validate(e,t){t=t||{};a=a||createAjvInstance();var i=a.getSchema(e+".json");return new Promise(function(e,n){var s=i(t);!s?n(new r(i.errors)):e(t)})}t.afterRequest=function(e){return validate("afterRequest",e)};t.beforeRequest=function(e){return validate("beforeRequest",e)};t.browser=function(e){return validate("browser",e)};t.cache=function(e){return validate("cache",e)};t.content=function(e){return validate("content",e)};t.cookie=function(e){return validate("cookie",e)};t.creator=function(e){return validate("creator",e)};t.entry=function(e){return validate("entry",e)};t.har=function(e){return validate("har",e)};t.header=function(e){return validate("header",e)};t.log=function(e){return validate("log",e)};t.page=function(e){return validate("page",e)};t.pageTimings=function(e){return validate("pageTimings",e)};t.postData=function(e){return validate("postData",e)};t.query=function(e){return validate("query",e)};t.request=function(e){return validate("request",e)};t.response=function(e){return validate("response",e)};t.timings=function(e){return validate("timings",e)}},61002:e=>{"use strict";const t=new Set([200,203,204,206,300,301,404,405,410,414,501]);const i=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]);const n=new Set([500,502,503,504]);const r={date:true,connection:true,"keep-alive":true,"proxy-authenticate":true,"proxy-authorization":true,te:true,trailer:true,"transfer-encoding":true,upgrade:true};const s={"content-length":true,"content-encoding":true,"transfer-encoding":true,"content-range":true};function toNumberOrZero(e){const t=parseInt(e,10);return isFinite(t)?t:0}function isErrorResponse(e){if(!e){return true}return n.has(e.status)}function parseCacheControl(e){const t={};if(!e)return t;const i=e.trim().split(/\s*,\s*/);for(const e of i){const[i,n]=e.split(/\s*=\s*/,2);t[i]=n===undefined?true:n.replace(/^"|"$/g,"")}return t}function formatCacheControl(e){let t=[];for(const i in e){const n=e[i];t.push(n===true?i:i+"="+n)}if(!t.length){return undefined}return t.join(", ")}e.exports=class CachePolicy{constructor(e,t,{shared:i,cacheHeuristic:n,immutableMinTimeToLive:r,ignoreCargoCult:s,_fromObject:a}={}){if(a){this._fromObject(a);return}if(!t||!t.headers){throw Error("Response headers missing")}this._assertRequestHasHeaders(e);this._responseTime=this.now();this._isShared=i!==false;this._cacheHeuristic=undefined!==n?n:.1;this._immutableMinTtl=undefined!==r?r:24*3600*1e3;this._status="status"in t?t.status:200;this._resHeaders=t.headers;this._rescc=parseCacheControl(t.headers["cache-control"]);this._method="method"in e?e.method:"GET";this._url=e.url;this._host=e.headers.host;this._noAuthorization=!e.headers.authorization;this._reqHeaders=t.headers.vary?e.headers:null;this._reqcc=parseCacheControl(e.headers["cache-control"]);if(s&&"pre-check"in this._rescc&&"post-check"in this._rescc){delete this._rescc["pre-check"];delete this._rescc["post-check"];delete this._rescc["no-cache"];delete this._rescc["no-store"];delete this._rescc["must-revalidate"];this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)});delete this._resHeaders.expires;delete this._resHeaders.pragma}if(t.headers["cache-control"]==null&&/no-cache/.test(t.headers.pragma)){this._rescc["no-cache"]=true}}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&("GET"===this._method||"HEAD"===this._method||"POST"===this._method&&this._hasExplicitExpiration())&&i.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||t.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(e){if(!e||!e.headers){throw Error("Request headers missing")}}satisfiesWithoutRevalidation(e){this._assertRequestHasHeaders(e);const t=parseCacheControl(e.headers["cache-control"]);if(t["no-cache"]||/no-cache/.test(e.headers.pragma)){return false}if(t["max-age"]&&this.age()>t["max-age"]){return false}if(t["min-fresh"]&&this.timeToLive()<1e3*t["min-fresh"]){return false}if(this.stale()){const e=t["max-stale"]&&!this._rescc["must-revalidate"]&&(true===t["max-stale"]||t["max-stale"]>this.age()-this.maxAge());if(!e){return false}}return this._requestMatches(e,false)}_requestMatches(e,t){return(!this._url||this._url===e.url)&&this._host===e.headers.host&&(!e.method||this._method===e.method||t&&"HEAD"===e.method)&&this._varyMatches(e)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(e){if(!this._resHeaders.vary){return true}if(this._resHeaders.vary==="*"){return false}const t=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(const i of t){if(e.headers[i]!==this._reqHeaders[i])return false}return true}_copyWithoutHopByHopHeaders(e){const t={};for(const i in e){if(r[i])continue;t[i]=e[i]}if(e.connection){const i=e.connection.trim().split(/\s*,\s*/);for(const e of i){delete t[e]}}if(t.warning){const e=t.warning.split(/,/).filter(e=>{return!/^\s*1[0-9][0-9]/.test(e)});if(!e.length){delete t.warning}else{t.warning=e.join(",").trim()}}return t}responseHeaders(){const e=this._copyWithoutHopByHopHeaders(this._resHeaders);const t=this.age();if(t>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24){e.warning=(e.warning?`${e.warning}, `:"")+'113 - "rfc7234 5.5.4"'}e.age=`${Math.round(t)}`;e.date=new Date(this.now()).toUTCString();return e}date(){const e=Date.parse(this._resHeaders.date);if(isFinite(e)){return e}return this._responseTime}age(){let e=this._ageValue();const t=(this.now()-this._responseTime)/1e3;return e+t}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]){return 0}if(this._isShared&&(this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable)){return 0}if(this._resHeaders.vary==="*"){return 0}if(this._isShared){if(this._rescc["proxy-revalidate"]){return 0}if(this._rescc["s-maxage"]){return toNumberOrZero(this._rescc["s-maxage"])}}if(this._rescc["max-age"]){return toNumberOrZero(this._rescc["max-age"])}const e=this._rescc.immutable?this._immutableMinTtl:0;const t=this.date();if(this._resHeaders.expires){const i=Date.parse(this._resHeaders.expires);if(Number.isNaN(i)||ii){return Math.max(e,(t-i)/1e3*this._cacheHeuristic)}}return e}timeToLive(){const e=this.maxAge()-this.age();const t=e+toNumberOrZero(this._rescc["stale-if-error"]);const i=e+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.max(0,e,t,i)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+toNumberOrZero(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(e){return new this(undefined,undefined,{_fromObject:e})}_fromObject(e){if(this._responseTime)throw Error("Reinitialized");if(!e||e.v!==1)throw Error("Invalid serialization");this._responseTime=e.t;this._isShared=e.sh;this._cacheHeuristic=e.ch;this._immutableMinTtl=e.imm!==undefined?e.imm:24*3600*1e3;this._status=e.st;this._resHeaders=e.resh;this._rescc=e.rescc;this._method=e.m;this._url=e.u;this._host=e.h;this._noAuthorization=e.a;this._reqHeaders=e.reqh;this._reqcc=e.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(e){this._assertRequestHasHeaders(e);const t=this._copyWithoutHopByHopHeaders(e.headers);delete t["if-range"];if(!this._requestMatches(e,true)||!this.storable()){delete t["if-none-match"];delete t["if-modified-since"];return t}if(this._resHeaders.etag){t["if-none-match"]=t["if-none-match"]?`${t["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag}const i=t["accept-ranges"]||t["if-match"]||t["if-unmodified-since"]||this._method&&this._method!="GET";if(i){delete t["if-modified-since"];if(t["if-none-match"]){const e=t["if-none-match"].split(/,/).filter(e=>{return!/^\s*W\//.test(e)});if(!e.length){delete t["if-none-match"]}else{t["if-none-match"]=e.join(",").trim()}}}else if(this._resHeaders["last-modified"]&&!t["if-modified-since"]){t["if-modified-since"]=this._resHeaders["last-modified"]}return t}revalidatedPolicy(e,t){this._assertRequestHasHeaders(e);if(this._useStaleIfError()&&isErrorResponse(t)){return{modified:false,matches:false,policy:this}}if(!t||!t.headers){throw Error("Response headers missing")}let i=false;if(t.status!==undefined&&t.status!=304){i=false}else if(t.headers.etag&&!/^\s*W\//.test(t.headers.etag)){i=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag}else if(this._resHeaders.etag&&t.headers.etag){i=this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag.replace(/^\s*W\//,"")}else if(this._resHeaders["last-modified"]){i=this._resHeaders["last-modified"]===t.headers["last-modified"]}else{if(!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!t.headers.etag&&!t.headers["last-modified"]){i=true}}if(!i){return{policy:new this.constructor(e,t),modified:t.status!=304,matches:false}}const n={};for(const e in this._resHeaders){n[e]=e in t.headers&&!s[e]?t.headers[e]:this._resHeaders[e]}const r=Object.assign({},t,{status:this._status,method:this._method,headers:n});return{policy:new this.constructor(e,r,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:false,matches:true}}}},42479:(e,t,i)=>{var n=i(95086);var r=i(38143);var s=i(51227);var a=i(65689);e.exports={parse:n.parseRequest,parseRequest:n.parseRequest,sign:r.signRequest,signRequest:r.signRequest,createSigner:r.createSigner,isSigner:r.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:s.verifySignature,verifySignature:s.verifySignature,verifyHMAC:s.verifyHMAC}},95086:(e,t,i)=>{var n=i(66631);var r=i(31669);var s=i(65689);var a=s.HASH_ALGOS;var o=s.PK_ALGOS;var u=s.HttpSignatureError;var c=s.InvalidAlgorithmError;var l=s.validateAlgorithm;var p={New:0,Params:1};var d={Name:0,Quote:1,Value:2,Comma:3};function ExpiredRequestError(e){u.call(this,e,ExpiredRequestError)}r.inherits(ExpiredRequestError,u);function InvalidHeaderError(e){u.call(this,e,InvalidHeaderError)}r.inherits(InvalidHeaderError,u);function InvalidParamsError(e){u.call(this,e,InvalidParamsError)}r.inherits(InvalidParamsError,u);function MissingHeaderError(e){u.call(this,e,MissingHeaderError)}r.inherits(MissingHeaderError,u);function StrictParsingError(e){u.call(this,e,StrictParsingError)}r.inherits(StrictParsingError,u);e.exports={parseRequest:function parseRequest(e,t){n.object(e,"request");n.object(e.headers,"request.headers");if(t===undefined){t={}}if(t.headers===undefined){t.headers=[e.headers["x-date"]?"x-date":"date"]}n.object(t,"options");n.arrayOfString(t.headers,"options.headers");n.optionalFinite(t.clockSkew,"options.clockSkew");var i=t.authorizationHeaderName||"authorization";if(!e.headers[i]){throw new MissingHeaderError("no "+i+" header "+"present in the request")}t.clockSkew=t.clockSkew||300;var r=0;var s=p.New;var a=d.Name;var o="";var u="";var f={scheme:"",params:{},signingString:""};var h=e.headers[i];for(r=0;r=65&&b<=90||b>=97&&b<=122){o+=m}else if(m==="="){if(o.length===0)throw new InvalidHeaderError("bad param format");a=d.Quote}else{throw new InvalidHeaderError("bad param format")}break;case d.Quote:if(m==='"'){u="";a=d.Value}else{throw new InvalidHeaderError("bad param format")}break;case d.Value:if(m==='"'){f.params[o]=u;a=d.Comma}else{u+=m}break;case d.Comma:if(m===","){o="";a=d.Name}else{throw new InvalidHeaderError("bad param format")}break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!f.params.headers||f.params.headers===""){if(e.headers["x-date"]){f.params.headers=["x-date"]}else{f.params.headers=["date"]}}else{f.params.headers=f.params.headers.split(" ")}if(!f.scheme||f.scheme!=="Signature")throw new InvalidHeaderError('scheme was not "Signature"');if(!f.params.keyId)throw new InvalidHeaderError("keyId was not specified");if(!f.params.algorithm)throw new InvalidHeaderError("algorithm was not specified");if(!f.params.signature)throw new InvalidHeaderError("signature was not specified");f.params.algorithm=f.params.algorithm.toLowerCase();try{l(f.params.algorithm)}catch(e){if(e instanceof c)throw new InvalidParamsError(f.params.algorithm+" is not "+"supported");else throw e}for(r=0;rt.clockSkew*1e3){throw new ExpiredRequestError("clock skew of "+w/1e3+"s was greater than "+t.clockSkew+"s")}}t.headers.forEach(function(e){if(f.params.headers.indexOf(e.toLowerCase())<0)throw new MissingHeaderError(e+" was not a signed header")});if(t.algorithms){if(t.algorithms.indexOf(f.params.algorithm)===-1)throw new InvalidParamsError(f.params.algorithm+" is not a supported algorithm")}f.algorithm=f.params.algorithm.toUpperCase();f.keyId=f.params.keyId;return f}}},38143:(e,t,i)=>{var n=i(66631);var r=i(76417);var s=i(98605);var a=i(31669);var o=i(87022);var u=i(6287);var c=i(65689);var l=i(31669).format;var p=c.HASH_ALGOS;var d=c.PK_ALGOS;var f=c.InvalidAlgorithmError;var h=c.HttpSignatureError;var m=c.validateAlgorithm;var b='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function MissingHeaderError(e){h.call(this,e,MissingHeaderError)}a.inherits(MissingHeaderError,h);function StrictParsingError(e){h.call(this,e,StrictParsingError)}a.inherits(StrictParsingError,h);function RequestSigner(e){n.object(e,"options");var t=[];if(e.algorithm!==undefined){n.string(e.algorithm,"options.algorithm");t=m(e.algorithm)}this.rs_alg=t;if(e.sign!==undefined){n.func(e.sign,"options.sign");this.rs_signFunc=e.sign}else if(t[0]==="hmac"&&e.key!==undefined){n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(typeof e.key!=="string"&&!Buffer.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=r.createHmac(t[1].toUpperCase(),e.key);this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:t[1],toString:function(){return e}}}}else if(e.key!==undefined){var i=e.key;if(typeof i==="string"||Buffer.isBuffer(i))i=o.parsePrivateKey(i);n.ok(o.PrivateKey.isPrivateKey(i,[1,2]),"options.key must be a sshpk.PrivateKey");this.rs_key=i;n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(!d[i.type]){throw new f(i.type.toUpperCase()+" type "+"keys are not supported")}if(t[0]!==undefined&&i.type!==t[0]){throw new f("options.key must be a "+t[0].toUpperCase()+" key, was given a "+i.type.toUpperCase()+" key instead")}this.rs_signer=i.createSign(t[1])}else{throw new TypeError("options.sign (func) or options.key is required")}this.rs_headers=[];this.rs_lines=[]}RequestSigner.prototype.writeHeader=function(e,t){n.string(e,"header");e=e.toLowerCase();n.string(t,"value");this.rs_headers.push(e);if(this.rs_signFunc){this.rs_lines.push(e+": "+t)}else{var i=e+": "+t;if(this.rs_headers.length>0)i="\n"+i;this.rs_signer.update(i)}return t};RequestSigner.prototype.writeDateHeader=function(){return this.writeHeader("date",u.rfc1123(new Date))};RequestSigner.prototype.writeTarget=function(e,t){n.string(e,"method");n.string(t,"path");e=e.toLowerCase();this.writeHeader("(request-target)",e+" "+t)};RequestSigner.prototype.sign=function(e){n.func(e,"callback");if(this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,i;if(this.rs_signFunc){var r=this.rs_lines.join("\n");var s=this;this.rs_signFunc(r,function(r,a){if(r){e(r);return}try{n.object(a,"signature");n.string(a.keyId,"signature.keyId");n.string(a.algorithm,"signature.algorithm");n.string(a.signature,"signature.signature");t=m(a.algorithm);i=l(b,a.keyId,a.algorithm,s.rs_headers.join(" "),a.signature)}catch(t){e(t);return}e(null,i)})}else{try{var a=this.rs_signer.sign()}catch(t){e(t);return}t=(this.rs_alg[0]||this.rs_key.type)+"-"+a.hashAlgorithm;var o=a.toString();i=l(b,this.rs_keyId,t,this.rs_headers.join(" "),o);e(null,i)}};e.exports={isSigner:function(e){if(typeof e==="object"&&e instanceof RequestSigner)return true;return false},createSigner:function createSigner(e){return new RequestSigner(e)},signRequest:function signRequest(e,t){n.object(e,"request");n.object(t,"options");n.optionalString(t.algorithm,"options.algorithm");n.string(t.keyId,"options.keyId");n.optionalArrayOfString(t.headers,"options.headers");n.optionalString(t.httpVersion,"options.httpVersion");if(!e.getHeader("Date"))e.setHeader("Date",u.rfc1123(new Date));if(!t.headers)t.headers=["date"];if(!t.httpVersion)t.httpVersion="1.1";var i=[];if(t.algorithm){t.algorithm=t.algorithm.toLowerCase();i=m(t.algorithm)}var s;var a="";for(s=0;s{var n=i(66631);var r=i(87022);var s=i(31669);var a={sha1:true,sha256:true,sha512:true};var o={rsa:true,dsa:true,ecdsa:true};function HttpSignatureError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,t||HttpSignatureError);this.message=e;this.name=t.name}s.inherits(HttpSignatureError,Error);function InvalidAlgorithmError(e){HttpSignatureError.call(this,e,InvalidAlgorithmError)}s.inherits(InvalidAlgorithmError,HttpSignatureError);function validateAlgorithm(e){var t=e.toLowerCase().split("-");if(t.length!==2){throw new InvalidAlgorithmError(t[0].toUpperCase()+" is not a "+"valid algorithm")}if(t[0]!=="hmac"&&!o[t[0]]){throw new InvalidAlgorithmError(t[0].toUpperCase()+" type keys "+"are not supported")}if(!a[t[1]]){throw new InvalidAlgorithmError(t[1].toUpperCase()+" is not a "+"supported hash algorithm")}return t}e.exports={HASH_ALGOS:a,PK_ALGOS:o,HttpSignatureError:HttpSignatureError,InvalidAlgorithmError:InvalidAlgorithmError,validateAlgorithm:validateAlgorithm,sshKeyToPEM:function sshKeyToPEM(e){n.string(e,"ssh_key");var t=r.parseKey(e,"ssh");return t.toString("pem")},fingerprint:function fingerprint(e){n.string(e,"ssh_key");var t=r.parseKey(e,"ssh");return t.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function pemToRsaSSHKey(e,t){n.equal("string",typeof e,"typeof pem");var i=r.parseKey(e,"pem");i.comment=t;return i.toString("ssh")}}},51227:(e,t,i)=>{var n=i(66631);var r=i(76417);var s=i(87022);var a=i(65689);var o=a.HASH_ALGOS;var u=a.PK_ALGOS;var c=a.InvalidAlgorithmError;var l=a.HttpSignatureError;var p=a.validateAlgorithm;e.exports={verifySignature:function verifySignature(e,t){n.object(e,"parsedSignature");if(typeof t==="string"||Buffer.isBuffer(t))t=s.parseKey(t);n.ok(s.Key.isKey(t,[1,1]),"pubkey must be a sshpk.Key");var i=p(e.algorithm);if(i[0]==="hmac"||i[0]!==t.type)return false;var r=t.createVerify(i[1]);r.update(e.signingString);return r.verify(e.params.signature,"base64")},verifyHMAC:function verifyHMAC(e,t){n.object(e,"parsedHMAC");n.string(t,"secret");var i=p(e.algorithm);if(i[0]!=="hmac")return false;var s=i[1].toUpperCase();var a=r.createHmac(s,t);a.update(e.signingString);var o=r.createHmac(s,t);o.update(a.digest());o=o.digest();var u=r.createHmac(s,t);u.update(new Buffer(e.params.signature,"base64"));u=u.digest();if(typeof o==="string")return o===u;if(Buffer.isBuffer(o)&&!o.equals)return o.toString("binary")===u.toString("binary");return o.equals(u)}}},79898:(e,t,i)=>{"use strict";const n=i(28614);const r=i(4016);const s=i(97565);const a=i(49273);const o=Symbol("currentStreamsCount");const u=Symbol("request");const c=Symbol("cachedOriginSet");const l=Symbol("gracefullyClosing");const p=["maxDeflateDynamicTableSize","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","localAddress","path","rejectUnauthorized","minDHSize","ca","cert","clientCertEngine","ciphers","key","pfx","servername","minVersion","maxVersion","secureProtocol","crl","honorCipherOrder","ecdhCurve","dhparam","secureOptions","sessionIdContext"];const d=(e,t,i)=>{let n=0;let r=e.length;while(n>>1;if(i(e[s],t)){n=s+1}else{r=s}}return n};const f=(e,t)=>{return e.remoteSettings.maxConcurrentStreams>t.remoteSettings.maxConcurrentStreams};const h=(e,t)=>{for(const i of e){if(i[c].lengtht[c].includes(e))&&i[o]+t[o]<=t.remoteSettings.maxConcurrentStreams){g(i)}}};const m=(e,t)=>{for(const i of e){if(t[c].lengthi[c].includes(e))&&t[o]+i[o]<=i.remoteSettings.maxConcurrentStreams){g(t)}}};const b=({agent:e,isFree:t})=>{const i={};for(const n in e.sessions){const r=e.sessions[n];const s=r.filter(e=>{const i=e[Agent.kCurrentStreamsCount]{e[l]=true;if(e[o]===0){e.close()}};class Agent extends n{constructor({timeout:e=6e4,maxSessions:t=Infinity,maxFreeSessions:i=10,maxCachedTlsSessions:n=100}={}){super();this.sessions={};this.queue={};this.timeout=e;this.maxSessions=t;this.maxFreeSessions=i;this._freeSessionsCount=0;this._sessionsCount=0;this.settings={enablePush:false};this.tlsSessionCache=new a({maxSize:n})}static normalizeOrigin(e,t){if(typeof e==="string"){e=new URL(e)}if(t&&e.hostname!==t){e.hostname=t}return e.origin}normalizeOptions(e){let t="";if(e){for(const i of p){if(e[i]){t+=`:${e[i]}`}}}return t}_tryToCreateNewSession(e,t){if(!(e in this.queue)||!(t in this.queue[e])){return}const i=this.queue[e][t];if(this._sessionsCount{if(Array.isArray(i)){i=[...i];n()}else{i=[{resolve:n,reject:r}]}const a=this.normalizeOptions(t);const p=Agent.normalizeOrigin(e,t&&t.servername);if(p===undefined){for(const{reject:e}of i){e(new TypeError("The `origin` argument needs to be a string or an URL object"))}return}if(a in this.sessions){const e=this.sessions[a];let t=-1;let n=-1;let r;for(const i of e){const e=i.remoteSettings.maxConcurrentStreams;if(e=e||i[l]||i.destroyed){continue}if(!r){t=e}if(s>n){r=i;n=s}}}if(r){if(i.length!==1){for(const{reject:e}of i){const t=new Error(`Expected the length of listeners to be 1, got ${i.length}.\n`+"Please report this to https://github.com/szmarczak/http2-wrapper/");e(t)}return}i[0].resolve(r);return}}if(a in this.queue){if(p in this.queue[a]){this.queue[a][p].listeners.push(...i);this._tryToCreateNewSession(a,p);return}}else{this.queue[a]={}}const b=()=>{if(a in this.queue&&this.queue[a][p]===g){delete this.queue[a][p];if(Object.keys(this.queue[a]).length===0){delete this.queue[a]}}};const g=()=>{const n=`${p}:${a}`;let r=false;try{const y=s.connect(e,{createConnection:this.createConnection,settings:this.settings,session:this.tlsSessionCache.get(n),...t});y[o]=0;y[l]=false;const S=()=>y[o]{this.tlsSessionCache.set(n,e)});y.once("error",e=>{for(const{reject:t}of i){t(e)}this.tlsSessionCache.delete(n)});y.setTimeout(this.timeout,()=>{y.destroy()});y.once("close",()=>{if(r){if(v){this._freeSessionsCount--}this._sessionsCount--;const e=this.sessions[a];e.splice(e.indexOf(y),1);if(e.length===0){delete this.sessions[a]}}else{const e=new Error("Session closed without receiving a SETTINGS frame");e.code="HTTP2WRAPPER_NOSETTINGS";for(const{reject:t}of i){t(e)}b()}this._tryToCreateNewSession(a,p)});const w=()=>{if(!(a in this.queue)||!S()){return}for(const e of y[c]){if(e in this.queue[a]){const{listeners:t}=this.queue[a][e];while(t.length!==0&&S()){t.shift().resolve(y)}const i=this.queue[a];if(i[e].listeners.length===0){delete i[e];if(Object.keys(i).length===0){delete this.queue[a];break}}if(!S()){break}}}};y.on("origin",()=>{y[c]=y.originSet;if(!S()){return}w();h(this.sessions[a],y)});y.once("remoteSettings",()=>{y.ref();y.unref();this._sessionsCount++;if(g.destroyed){const e=new Error("Agent has been destroyed");for(const t of i){t.reject(e)}y.destroy();return}y[c]=y.originSet;{const e=this.sessions;if(a in e){const t=e[a];t.splice(d(t,y,f),0,y)}else{e[a]=[y]}}this._freeSessionsCount+=1;r=true;this.emit("session",y);w();b();if(y[o]===0&&this._freeSessionsCount>this.maxFreeSessions){y.close()}if(i.length!==0){this.getSession(p,t,i);i.length=0}y.on("remoteSettings",()=>{w();h(this.sessions[a],y)})});y[u]=y.request;y.request=((e,t)=>{if(y[l]){throw new Error("The session is gracefully closing. No new streams are allowed.")}const i=y[u](e,t);y.ref();++y[o];if(y[o]===y.remoteSettings.maxConcurrentStreams){this._freeSessionsCount--}i.once("close",()=>{v=S();--y[o];if(!y.destroyed&&!y.closed){m(this.sessions[a],y);if(S()&&!y.closed){if(!v){this._freeSessionsCount++;v=true}const e=y[o]===0;if(e){y.unref()}if(e&&(this._freeSessionsCount>this.maxFreeSessions||y[l])){y.close()}else{h(this.sessions[a],y);w()}}}});return i})}catch(e){for(const t of i){t.reject(e)}b()}};g.listeners=i;g.completed=false;g.destroyed=false;this.queue[a][p]=g;this._tryToCreateNewSession(a,p)})}request(e,t,i,n){return new Promise((r,s)=>{this.getSession(e,t,[{reject:s,resolve:e=>{try{r(e.request(i,n))}catch(e){s(e)}}}])})}createConnection(e,t){return Agent.connect(e,t)}static connect(e,t){t.ALPNProtocols=["h2"];const i=e.port||443;const n=e.hostname||e.host;if(typeof t.servername==="undefined"){t.servername=n}return r.connect(i,n,t)}closeFreeSessions(){for(const e of Object.values(this.sessions)){for(const t of e){if(t[o]===0){t.close()}}}}destroy(e){for(const t of Object.values(this.sessions)){for(const i of t){i.destroy(e)}}for(const e of Object.values(this.queue)){for(const t of Object.values(e)){t.destroyed=true}}this.queue={}}get freeSessions(){return b({agent:this,isFree:true})}get busySessions(){return b({agent:this,isFree:false})}}Agent.kCurrentStreamsCount=o;Agent.kGracefullyClosing=l;e.exports={Agent:Agent,globalAgent:new Agent}},97167:(e,t,i)=>{"use strict";const n=i(98605);const r=i(57211);const s=i(46624);const a=i(49273);const o=i(59632);const u=i(51982);const c=i(92686);const l=new a({maxSize:100});const p=new Map;const d=(e,t,i)=>{t._httpMessage={shouldKeepAlive:true};const n=()=>{e.emit("free",t,i)};t.on("free",n);const r=()=>{e.removeSocket(t,i)};t.on("close",r);const s=()=>{e.removeSocket(t,i);t.off("close",r);t.off("free",n);t.off("agentRemove",s)};t.on("agentRemove",s);e.emit("free",t,i)};const f=async e=>{const t=`${e.host}:${e.port}:${e.ALPNProtocols.sort()}`;if(!l.has(t)){if(p.has(t)){const e=await p.get(t);return e.alpnProtocol}const{path:i,agent:n}=e;e.path=e.socketPath;const a=s(e);p.set(t,a);try{const{socket:s,alpnProtocol:o}=await a;l.set(t,o);e.path=i;if(o==="h2"){s.destroy()}else{const{globalAgent:t}=r;const i=r.Agent.prototype.createConnection;if(n){if(n.createConnection===i){d(n,s,e)}else{s.destroy()}}else if(t.createConnection===i){d(t,s,e)}else{s.destroy()}}p.delete(t);return o}catch(e){p.delete(t);throw e}}return l.get(t)};e.exports=(async(e,t,i)=>{if(typeof e==="string"||e instanceof URL){e=c(new URL(e))}if(typeof t==="function"){i=t;t=undefined}t={ALPNProtocols:["h2","http/1.1"],...e,...t,resolveSocket:true};if(!Array.isArray(t.ALPNProtocols)||t.ALPNProtocols.length===0){throw new Error("The `ALPNProtocols` option must be an Array with at least one entry")}t.protocol=t.protocol||"https:";const s=t.protocol==="https:";t.host=t.hostname||t.host||"localhost";t.session=t.tlsSession;t.servername=t.servername||u(t);t.port=t.port||(s?443:80);t._defaultAgent=s?r.globalAgent:n.globalAgent;const a=t.agent;if(a){if(a.addRequest){throw new Error("The `options.agent` object can contain only `http`, `https` or `http2` properties")}t.agent=a[s?"https":"http"]}if(s){const e=await f(t);if(e==="h2"){if(a){t.agent=a.http2}return new o(t,i)}}return n.request(t,i)});e.exports.protocolCache=l},59632:(e,t,i)=>{"use strict";const n=i(97565);const{Writable:r}=i(92413);const{Agent:s,globalAgent:a}=i(79898);const o=i(82575);const u=i(92686);const c=i(81818);const l=i(11199);const{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_PROTOCOL:d,ERR_HTTP_HEADERS_SENT:f,ERR_INVALID_HTTP_TOKEN:h,ERR_HTTP_INVALID_HEADER_VALUE:m,ERR_INVALID_CHAR:b}=i(7087);const{HTTP2_HEADER_STATUS:g,HTTP2_HEADER_METHOD:y,HTTP2_HEADER_PATH:S,HTTP2_METHOD_CONNECT:v}=n.constants;const w=Symbol("headers");const j=Symbol("origin");const z=Symbol("session");const O=Symbol("options");const k=Symbol("flushedHeaders");const C=Symbol("jobs");const T=/^[\^`\-\w!#$%&*+.|~]+$/;const _=/[^\t\u0020-\u007E\u0080-\u00FF]/;class ClientRequest extends r{constructor(e,t,i){super({autoDestroy:false});const n=typeof e==="string"||e instanceof URL;if(n){e=u(e instanceof URL?e:new URL(e))}if(typeof t==="function"||t===undefined){i=t;t=n?e:{...e}}else{t={...e,...t}}if(t.h2session){this[z]=t.h2session}else if(t.agent===false){this.agent=new s({maxFreeSessions:0})}else if(typeof t.agent==="undefined"||t.agent===null){if(typeof t.createConnection==="function"){this.agent=new s({maxFreeSessions:0});this.agent.createConnection=t.createConnection}else{this.agent=a}}else if(typeof t.agent.request==="function"){this.agent=t.agent}else{throw new p("options.agent",["Agent-like Object","undefined","false"],t.agent)}if(t.protocol&&t.protocol!=="https:"){throw new d(t.protocol,"https:")}const r=t.port||t.defaultPort||this.agent&&this.agent.defaultPort||443;const o=t.hostname||t.host||"localhost";delete t.hostname;delete t.host;delete t.port;const{timeout:c}=t;t.timeout=undefined;this[w]=Object.create(null);this[C]=[];this.socket=null;this.connection=null;this.method=t.method||"GET";this.path=t.path;this.res=null;this.aborted=false;this.reusedSocket=false;if(t.headers){for(const[e,i]of Object.entries(t.headers)){this.setHeader(e,i)}}if(t.auth&&!("authorization"in this[w])){this[w].authorization="Basic "+Buffer.from(t.auth).toString("base64")}t.session=t.tlsSession;t.path=t.socketPath;this[O]=t;if(r===443){this[j]=`https://${o}`;if(!(":authority"in this[w])){this[w][":authority"]=o}}else{this[j]=`https://${o}:${r}`;if(!(":authority"in this[w])){this[w][":authority"]=`${o}:${r}`}}if(c){this.setTimeout(c)}if(i){this.once("response",i)}this[k]=false}get method(){return this[w][y]}set method(e){if(e){this[w][y]=e.toUpperCase()}}get path(){return this[w][S]}set path(e){if(e){this[w][S]=e}}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(e,t,i){if(this._mustNotHaveABody){i(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();const n=()=>this._request.write(e,t,i);if(this._request){n()}else{this[C].push(n)}}_final(e){if(this.destroyed){return}this.flushHeaders();const t=()=>{if(this._mustNotHaveABody){e();return}this._request.end(e)};if(this._request){t()}else{this[C].push(t)}}abort(){if(this.res&&this.res.complete){return}if(!this.aborted){process.nextTick(()=>this.emit("abort"))}this.aborted=true;this.destroy()}_destroy(e,t){if(this.res){this.res._dump()}if(this._request){this._request.destroy()}t(e)}async flushHeaders(){if(this[k]||this.destroyed){return}this[k]=true;const e=this.method===v;const t=t=>{this._request=t;if(this.destroyed){t.destroy();return}if(!e){c(t,this,["timeout","continue","close","error"])}const i=e=>{return(...t)=>{if(!this.writable&&!this.destroyed){e(...t)}else{this.once("finish",()=>{e(...t)})}}};t.once("response",i((i,n,r)=>{const s=new o(this.socket,t.readableHighWaterMark);this.res=s;s.req=this;s.statusCode=i[g];s.headers=i;s.rawHeaders=r;s.once("end",()=>{if(this.aborted){s.aborted=true;s.emit("aborted")}else{s.complete=true;s.socket=null;s.connection=null}});if(e){s.upgrade=true;if(this.emit("connect",s,t,Buffer.alloc(0))){this.emit("close")}else{t.destroy()}}else{t.on("data",e=>{if(!s._dumped&&!s.push(e)){t.pause()}});t.once("end",()=>{s.push(null)});if(!this.emit("response",s)){s._dump()}}}));t.once("headers",i(e=>this.emit("information",{statusCode:e[g]})));t.once("trailers",i((e,t,i)=>{const{res:n}=this;n.trailers=e;n.rawTrailers=i}));const{socket:n}=t.session;this.socket=n;this.connection=n;for(const e of this[C]){e()}this.emit("socket",this.socket)};if(this[z]){try{t(this[z].request(this[w]))}catch(e){this.emit("error",e)}}else{this.reusedSocket=true;try{t(await this.agent.request(this[j],this[O],this[w]))}catch(e){this.emit("error",e)}}}getHeader(e){if(typeof e!=="string"){throw new p("name","string",e)}return this[w][e.toLowerCase()]}get headersSent(){return this[k]}removeHeader(e){if(typeof e!=="string"){throw new p("name","string",e)}if(this.headersSent){throw new f("remove")}delete this[w][e.toLowerCase()]}setHeader(e,t){if(this.headersSent){throw new f("set")}if(typeof e!=="string"||!T.test(e)&&!l(e)){throw new h("Header name",e)}if(typeof t==="undefined"){throw new m(t,e)}if(_.test(t)){throw new b("header content",e)}this[w][e.toLowerCase()]=t}setNoDelay(){}setSocketKeepAlive(){}setTimeout(e,t){const i=()=>this._request.setTimeout(e,t);if(this._request){i()}else{this[C].push(i)}return this}get maxHeadersCount(){if(!this.destroyed&&this._request){return this._request.session.localSettings.maxHeaderListSize}return undefined}set maxHeadersCount(e){}}e.exports=ClientRequest},82575:(e,t,i)=>{"use strict";const{Readable:n}=i(92413);class IncomingMessage extends n{constructor(e,t){super({highWaterMark:t,autoDestroy:false});this.statusCode=null;this.statusMessage="";this.httpVersion="2.0";this.httpVersionMajor=2;this.httpVersionMinor=0;this.headers={};this.trailers={};this.req=null;this.aborted=false;this.complete=false;this.upgrade=null;this.rawHeaders=[];this.rawTrailers=[];this.socket=e;this.connection=e;this._dumped=false}_destroy(e){this.req._request.destroy(e)}setTimeout(e,t){this.req.setTimeout(e,t);return this}_dump(){if(!this._dumped){this._dumped=true;this.removeAllListeners("data");this.resume()}}_read(){if(this.req){this.req._request.resume()}}}e.exports=IncomingMessage},54645:(e,t,i)=>{"use strict";const n=i(97565);const r=i(79898);const s=i(59632);const a=i(82575);const o=i(97167);const u=(e,t,i)=>{return new s(e,t,i)};const c=(e,t,i)=>{const n=new s(e,t,i);n.end();return n};e.exports={...n,ClientRequest:s,IncomingMessage:a,...r,request:u,get:c,auto:o}},51982:(e,t,i)=>{"use strict";const n=i(11631);e.exports=(e=>{let t=e.host;const i=e.headers&&e.headers.host;if(i){if(i.startsWith("[")){const e=i.indexOf("]");if(e===-1){t=i}else{t=i.slice(1,-1)}}else{t=i.split(":",1)[0]}}if(n.isIP(t)){return""}return t})},7087:e=>{"use strict";const t=(t,i,n)=>{e.exports[i]=class NodeError extends t{constructor(...e){super(typeof n==="string"?n:n(e));this.name=`${super.name} [${i}]`;this.code=i}}};t(TypeError,"ERR_INVALID_ARG_TYPE",e=>{const t=e[0].includes(".")?"property":"argument";let i=e[1];const n=Array.isArray(i);if(n){i=`${i.slice(0,-1).join(", ")} or ${i.slice(-1)}`}return`The "${e[0]}" ${t} must be ${n?"one of":"of"} type ${i}. Received ${typeof e[2]}`});t(TypeError,"ERR_INVALID_PROTOCOL",e=>{return`Protocol "${e[0]}" not supported. Expected "${e[1]}"`});t(Error,"ERR_HTTP_HEADERS_SENT",e=>{return`Cannot ${e[0]} headers after they are sent to the client`});t(TypeError,"ERR_INVALID_HTTP_TOKEN",e=>{return`${e[0]} must be a valid HTTP token [${e[1]}]`});t(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",e=>{return`Invalid value "${e[0]} for header "${e[1]}"`});t(TypeError,"ERR_INVALID_CHAR",e=>{return`Invalid character in ${e[0]} [${e[1]}]`})},11199:e=>{"use strict";e.exports=(e=>{switch(e){case":method":case":scheme":case":authority":case":path":return true;default:return false}})},81818:e=>{"use strict";e.exports=((e,t,i)=>{for(const n of i){e.on(n,(...e)=>t.emit(n,...e))}})},92686:e=>{"use strict";e.exports=(e=>{const t={protocol:e.protocol,hostname:typeof e.hostname==="string"&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};if(typeof e.port==="string"&&e.port.length!==0){t.port=Number(e.port)}if(e.username||e.password){t.auth=`${e.username||""}:${e.password||""}`}return t})},98043:e=>{"use strict";e.exports=((e,t=1,i)=>{i={indent:" ",includeEmptyLines:false,...i};if(typeof e!=="string"){throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``)}if(typeof t!=="number"){throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``)}if(typeof i.indent!=="string"){throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``)}if(t===0){return e}const n=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,i.indent.repeat(t))})},52492:(e,t,i)=>{var n=i(62940);var r=Object.create(null);var s=i(1223);e.exports=n(inflight);function inflight(e,t){if(r[e]){r[e].push(t);return null}else{r[e]=[t];return makeres(e)}}function makeres(e){return s(function RES(){var t=r[e];var i=t.length;var n=slice(arguments);try{for(var s=0;si){t.splice(0,i);process.nextTick(function(){RES.apply(null,n)})}else{delete r[e]}}})}function slice(e){var t=e.length;var i=[];for(var n=0;n{try{var n=i(31669);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=i(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype;e.prototype=new i;e.prototype.constructor=e}}}},41554:e=>{"use strict";var t=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};t.writable=function(e){return t(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};t.readable=function(e){return t(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};t.duplex=function(e){return t.writable(e)&&t.readable(e)};t.transform=function(e){return t.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},10657:e=>{e.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var t=Object.prototype.toString;var i={"[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 i[t.call(e)]}},97126:(e,t,i)=>{var n=i(35747);var r;if(process.platform==="win32"||global.TESTING_WINDOWS){r=i(42001)}else{r=i(9728)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,i){if(typeof t==="function"){i=t;t={}}if(!i){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(i,n){isexe(e,t||{},function(e,t){if(e){n(e)}else{i(t)}})})}r(e,t||{},function(e,n){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;n=false}}i(e,n)})}function sync(e,t){try{return r.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},9728:(e,t,i)=>{e.exports=isexe;isexe.sync=sync;var n=i(35747);function isexe(e,t,i){n.stat(e,function(e,n){i(e,e?false:checkStat(n,t))})}function sync(e,t){return checkStat(n.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var i=e.mode;var n=e.uid;var r=e.gid;var s=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var a=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var o=parseInt("100",8);var u=parseInt("010",8);var c=parseInt("001",8);var l=o|u;var p=i&c||i&u&&r===a||i&o&&n===s||i&l&&s===0;return p}},42001:(e,t,i)=>{e.exports=isexe;isexe.sync=sync;var n=i(35747);function checkPathExt(e,t){var i=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!i){return true}i=i.split(";");if(i.indexOf("")!==-1){return true}for(var n=0;n{"use strict";e.exports=i(88867)},83362:(e,t,i)=>{var n=i(92413);function isStream(e){return e instanceof n.Stream}function isReadable(e){return isStream(e)&&typeof e._read=="function"&&typeof e._readableState=="object"}function isWritable(e){return isStream(e)&&typeof e._write=="function"&&typeof e._writableState=="object"}function isDuplex(e){return isReadable(e)&&isWritable(e)}e.exports=isStream;e.exports.isReadable=isReadable;e.exports.isWritable=isWritable;e.exports.isDuplex=isDuplex},52973:e=>{const t={JOSEAlgNotWhitelisted:"ERR_JOSE_ALG_NOT_WHITELISTED",JOSECritNotUnderstood:"ERR_JOSE_CRIT_NOT_UNDERSTOOD",JOSEInvalidEncoding:"ERR_JOSE_INVALID_ENCODING",JOSEMultiError:"ERR_JOSE_MULTIPLE_ERRORS",JOSENotSupported:"ERR_JOSE_NOT_SUPPORTED",JWEDecryptionFailed:"ERR_JWE_DECRYPTION_FAILED",JWEInvalid:"ERR_JWE_INVALID",JWKImportFailed:"ERR_JWK_IMPORT_FAILED",JWKInvalid:"ERR_JWK_INVALID",JWKKeySupport:"ERR_JWK_KEY_SUPPORT",JWKSNoMatchingKey:"ERR_JWKS_NO_MATCHING_KEY",JWSInvalid:"ERR_JWS_INVALID",JWSVerificationFailed:"ERR_JWS_VERIFICATION_FAILED",JWTClaimInvalid:"ERR_JWT_CLAIM_INVALID",JWTExpired:"ERR_JWT_EXPIRED",JWTMalformed:"ERR_JWT_MALFORMED"};const i={JWEDecryptionFailed:"decryption operation failed",JWEInvalid:"JWE invalid",JWKSNoMatchingKey:"no matching key found in the KeyStore",JWSInvalid:"JWS invalid",JWSVerificationFailed:"signature verification failed"};class JOSEError extends Error{constructor(e){super(e);if(e===undefined){this.message=i[this.constructor.name]}this.name=this.constructor.name;this.code=t[this.constructor.name];Error.captureStackTrace(this,this.constructor)}}const n=e=>e instanceof JOSEMultiError;class JOSEMultiError extends JOSEError{constructor(e){super();let t;while((t=e.findIndex(n))&&t!==-1){e.splice(t,1,...e[t])}Object.defineProperty(this,"errors",{value:e})}*[Symbol.iterator](){for(const e of this.errors){yield e}}}e.exports.JOSEError=JOSEError;e.exports.JOSEAlgNotWhitelisted=class JOSEAlgNotWhitelisted extends JOSEError{};e.exports.JOSECritNotUnderstood=class JOSECritNotUnderstood extends JOSEError{};e.exports.JOSEInvalidEncoding=class JOSEInvalidEncoding extends JOSEError{};e.exports.JOSEMultiError=JOSEMultiError;e.exports.JOSENotSupported=class JOSENotSupported extends JOSEError{};e.exports.JWEDecryptionFailed=class JWEDecryptionFailed extends JOSEError{};e.exports.JWEInvalid=class JWEInvalid extends JOSEError{};e.exports.JWKImportFailed=class JWKImportFailed extends JOSEError{};e.exports.JWKInvalid=class JWKInvalid extends JOSEError{};e.exports.JWKKeySupport=class JWKKeySupport extends JOSEError{};e.exports.JWKSNoMatchingKey=class JWKSNoMatchingKey extends JOSEError{};e.exports.JWSInvalid=class JWSInvalid extends JOSEError{};e.exports.JWSVerificationFailed=class JWSVerificationFailed extends JOSEError{};class JWTClaimInvalid extends JOSEError{constructor(e,t="unspecified",i="unspecified"){super(e);this.claim=t;this.reason=i}}e.exports.JWTClaimInvalid=JWTClaimInvalid;e.exports.JWTExpired=class JWTExpired extends JWTClaimInvalid{};e.exports.JWTMalformed=class JWTMalformed extends JOSEError{}},68207:(e,t,i)=>{const n=i(72967);e.exports=function(){this.seq().obj(this.key("algorithm").objid(n),this.key("parameters").optional().choice({namedCurve:this.objid(n),null:this.null_()}))}},37707:(e,t,i)=>{const n=i(72967);e.exports=function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().choice({namedCurve:this.objid(n)}),this.key("publicKey").explicit(1).optional().bitstr())}},16416:(e,t,i)=>{const n=i(39436);const r=new Map;const s=n.define("AlgorithmIdentifier",i(68207));r.set("AlgorithmIdentifier",s);const a=n.define("ECPrivateKey",i(37707));r.set("ECPrivateKey",a);const o=n.define("PrivateKeyInfo",i(58570)(s));r.set("PrivateKeyInfo",o);const u=n.define("PublicKeyInfo",i(5641)(s));r.set("PublicKeyInfo",u);const c=n.define("PrivateKey",i(62624));r.set("PrivateKey",c);const l=n.define("OneAsymmetricKey",i(30424)(s,c));r.set("OneAsymmetricKey",l);const p=n.define("RSAPrivateKey",i(29822));r.set("RSAPrivateKey",p);const d=n.define("RSAPublicKey",i(39542));r.set("RSAPublicKey",d);e.exports=r},72967:e=>{const t={"1 2 840 10045 3 1 7":"P-256","1 3 132 0 10":"secp256k1","1 3 132 0 34":"P-384","1 3 132 0 35":"P-521","1 2 840 10045 2 1":"ecPublicKey","1 2 840 113549 1 1 1":"rsaEncryption","1 3 101 110":"X25519","1 3 101 111":"X448","1 3 101 112":"Ed25519","1 3 101 113":"Ed448"};e.exports=t},30424:e=>{e.exports=((e,t)=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").use(t))}))},62624:e=>{e.exports=function(){this.octstr().contains().obj(this.key("privateKey").octstr())}},58570:e=>{e.exports=(e=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").octstr())}))},5641:e=>{e.exports=(e=>(function(){this.seq().obj(this.key("algorithm").use(e),this.key("publicKey").bitstr())}))},29822:e=>{e.exports=function(){this.seq().obj(this.key("version").int({0:"two-prime",1:"multi"}),this.key("n").int(),this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int())}},39542:e=>{e.exports=function(){this.seq().obj(this.key("n").int(),this.key("e").int())}},73385:e=>{let t;let i;if(Buffer.isEncoding("base64url")){t=((e,t="utf8")=>Buffer.from(e,t).toString("base64url"));i=(e=>e.toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");t=((t,i="utf8")=>e(Buffer.from(t,i).toString("base64")));i=(t=>e(t.toString("base64")))}const n=e=>{return Buffer.from(e,"base64")};const r=(e,t="utf8")=>{return n(e).toString(t)};const s={encode:e=>{return t(JSON.stringify(e))},decode:(e,t="utf8")=>{return JSON.parse(r(e,t))}};s.decode.try=((e,t="utf8")=>{try{return s.decode(e,t)}catch(i){return r(e,t)}});const a=e=>{let t=BigInt(e).toString(16);if(t.length%2){t=`0${t}`}const i=t.length/2;const n=new Uint8Array(i);let r=0;let s=0;while(ri(Buffer.from(a(e)));e.exports.decode=r;e.exports.decodeToBuffer=n;e.exports.encode=t;e.exports.encodeBuffer=i;e.exports.JSON=s;e.exports.encodeBigInt=o},15010:e=>{e.exports.KEYOBJECT=Symbol("KEYOBJECT");e.exports.PRIVATE_MEMBERS=Symbol("PRIVATE_MEMBERS");e.exports.PUBLIC_MEMBERS=Symbol("PUBLIC_MEMBERS");e.exports.THUMBPRINT_MATERIAL=Symbol("THUMBPRINT_MATERIAL");e.exports.JWK_MEMBERS=Symbol("JWK_MEMBERS");e.exports.KEY_MANAGEMENT_ENCRYPT=Symbol("KEY_MANAGEMENT_ENCRYPT");e.exports.KEY_MANAGEMENT_DECRYPT=Symbol("KEY_MANAGEMENT_DECRYPT");const t={sig:new Set(["sign","verify"]),enc:new Set(["encrypt","decrypt","wrapKey","unwrapKey","deriveKey"])};const i=new Set([...t.sig,...t.enc]);const n=new Set(Object.keys(t));e.exports.USES_MAPPING=t;e.exports.OPS=i;e.exports.USES=n},43653:e=>{e.exports=(e=>JSON.parse(JSON.stringify(e)))},14451:e=>{const t=128;const i=0;const n=32;const r=16;const s=2;const a=r|n|i<<6;const o=s|i<<6;const u=e=>(e/8|0)+(e%8===0?0:1);const c={ES256:u(256),ES256K:u(256),ES384:u(384),ES512:u(521)};const l=(e,i,n)=>{let r=0;while(i+r=t;if(s){--r}return r};e.exports.derToJose=((e,i)=>{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!c[i]){throw new Error(`Unknown algorithm "${i}"`)}const n=c[i];const r=n+1;const s=e.length;let u=0;if(e[u++]!==a){throw new Error('Could not find expected "seq"')}let l=e[u++];if(l===(t|1)){l=e[u++]}if(s-u{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!c[i]){throw new TypeError(`Unknown algorithm "${i}"`)}const n=c[i];const r=e.length;if(r!==n*2){throw new Error(`"${i}" signatures must be "${n*2}" bytes, saw "${r}"`)}const s=l(e,0,n);const u=l(e,n,e.length);const p=n-s;const d=n-u;const f=1+1+p+1+1+d;const h=f{e.exports=(e=>Math.floor(e.getTime()/1e3))},93137:(e,t,i)=>{const{randomBytes:n}=i(76417);const{IVLENGTHS:r}=i(15501);e.exports=(e=>n(r.get(e)/8))},31308:(e,t,i)=>{const n=i(52973);const r=i(57841);const s=i(13468);const{KeyStore:a}=i(24998);e.exports=((e,t=false)=>{if(e instanceof r){return e}if(e instanceof a){if(!t){throw new TypeError("key argument for this operation must not be a JWKS.KeyStore instance")}return e}try{return s(e)}catch(e){if(e instanceof n.JOSEError&&!(e instanceof n.JWKImportFailed)){throw e}let i;if(t){i="key must be an instance of a key instantiated by JWK.asKey, a valid JWK.asKey input, or a JWKS.KeyStore instance"}else{i="key must be an instance of a key instantiated by JWK.asKey, or a valid JWK.asKey input"}throw new TypeError(i)}})},29024:e=>{e.exports=((e={},t={})=>{const i=Object.keys(e);const n=new Set(Object.keys(t));return!i.some(e=>n.has(e))})},41805:e=>{e.exports=(e=>!!e&&e.constructor===Object)},98921:(e,t,i)=>{const{keyObjectSupported:n}=i(32457);let r;let s;let a;let o;let u;if(n){({createPublicKey:r,createPrivateKey:s,createSecretKey:a,KeyObject:o}=i(76417));u=(e=>e)}else{const{EOL:e}=i(12087);const t=i(52973);const n=i(41805);const c=i(16416);const l=Symbol("toInput");const p=Symbol("namedCurve");u=((e,t)=>{if(e instanceof o){return e[l](t)}return a(e)[l](t)});const d=e=>Buffer.from(e.replace(/(?:-----(?:BEGIN|END)(?: (?:RSA|EC))? (?:PRIVATE|PUBLIC) KEY-----|\s)/g,""),"base64");const f=(t,i)=>`-----BEGIN ${i}-----${e}${(t.toString("base64").match(/.{1,64}/g)||[]).join(e)}${e}-----END ${i}-----`;const h=e=>{const i=typeof e==="string"?e:`OID ${e.join(".")}`;throw new t.JOSENotSupported(`${i} is not supported in your Node.js runtime version`)};o=class KeyObject{export({cipher:e,passphrase:i,type:n,format:r}={}){if(this._type==="secret"){return this._buffer}if(this._type==="public"){if(this.asymmetricKeyType==="rsa"){switch(n){case"pkcs1":if(r==="pem"){return this._pem}return d(this._pem);case"spki":{const e=c.get("PublicKeyInfo");const t=e.encode({algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}},publicKey:{unused:0,data:d(this._pem)}},"pem",{label:"PUBLIC KEY"});return r==="pem"?t:d(t)}default:throw new TypeError(`The value ${n} is invalid for option "type"`)}}if(this.asymmetricKeyType==="ec"){if(n!=="spki"){throw new TypeError(`The value ${n} is invalid for option "type"`)}if(r==="pem"){return this._pem}return d(this._pem)}}if(this._type==="private"){if(i!==undefined||e!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(n==="pkcs8"){if(this._pkcs8){if(r==="der"&&typeof this._pkcs8==="string"){return d(this._pkcs8)}if(r==="pem"&&Buffer.isBuffer(this._pkcs8)){return f(this._pkcs8,"PRIVATE KEY")}return this._pkcs8}if(this.asymmetricKeyType==="rsa"){const e=this._asn1;const t=c.get("RSAPrivateKey");const i=t.encode(e);const s=c.get("PrivateKeyInfo");const a=s.encode({version:0,privateKey:i,algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}}});this._pkcs8=a;return this.export({type:n,format:r})}if(this.asymmetricKeyType==="ec"){const e=this._asn1;const t=c.get("ECPrivateKey");const i=t.encode({version:e.version,privateKey:e.privateKey,publicKey:e.publicKey});const s=c.get("PrivateKeyInfo");const a=s.encode({version:0,privateKey:i,algorithm:{algorithm:"ecPublicKey",parameters:this._asn1.parameters}});this._pkcs8=a;return this.export({type:n,format:r})}}if(this.asymmetricKeyType==="rsa"&&n==="pkcs1"){if(r==="pem"){return this._pem}return d(this._pem)}else if(this.asymmetricKeyType==="ec"&&n==="sec1"){if(r==="pem"){return this._pem}return d(this._pem)}else{throw new TypeError(`The value ${n} is invalid for option "type"`)}}}get type(){return this._type}get asymmetricKeyType(){return this._asymmetricKeyType}get symmetricKeySize(){return this._symmetricKeySize}[l](e){switch(this._type){case"secret":return this._buffer;case"public":return this._pem;default:if(e){if(!("_pub"in this)){this._pub=r(this)}return this._pub[l](false)}return this._pem}}};a=(e=>{if(!Buffer.isBuffer(e)||!e.length){throw new TypeError("input must be a non-empty Buffer instance")}const t=new o;t._buffer=Buffer.from(e);t._symmetricKeySize=e.length;t._type="secret";return t});r=(e=>{if(e instanceof o){if(e.type!=="private"){throw new TypeError(`Invalid key object type ${e.type}, expected private.`)}switch(e.asymmetricKeyType){case"ec":{const t=c.get("PublicKeyInfo");const i=t.encode({algorithm:{algorithm:"ecPublicKey",parameters:e._asn1.parameters},publicKey:e._asn1.publicKey});return r({key:i,format:"der",type:"spki"})}case"rsa":{const t=c.get("RSAPublicKey");const i=t.encode(e._asn1);return r({key:i,format:"der",type:"pkcs1"})}}}if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:i,passphrase:a}=e;let{key:u,type:l}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(i!=="pem"&&i!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let p;if(i==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PUBLIC KEY-----":l="spki";p="PUBLIC KEY";break;case"-----BEGIN RSA PUBLIC KEY-----":l="pkcs1";p="RSA PUBLIC KEY";break;case"-----BEGIN CERTIFICATE-----":throw new t.JOSENotSupported("X.509 certificates are not supported in your Node.js runtime version");case"-----BEGIN PRIVATE KEY-----":case"-----BEGIN EC PRIVATE KEY-----":case"-----BEGIN RSA PRIVATE KEY-----":return r(s(u));default:throw new TypeError("unknown/unsupported PEM type")}}switch(l){case"spki":{const e=c.get("PublicKeyInfo");const t=e.decode(u,i,{label:p});let n,s;switch(t.algorithm.algorithm){case"ecPublicKey":{s=new o;s._asn1=t;s._asymmetricKeyType="ec";s._type="public";s._pem=e.encode(t,"pem",{label:"PUBLIC KEY"});break}case"rsaEncryption":{n="pkcs1";s=r({type:n,key:t.publicKey.data,format:"der"});break}default:h(t.algorithm.algorithm)}return s}case"pkcs1":{const e=c.get("RSAPublicKey");const t=e.decode(u,i,{label:p});if(t.n===BigInt(0)){return r(s({key:u,format:i,type:l,passphrase:a}))}const n=new o;n._asn1=t;n._asymmetricKeyType="rsa";n._type="public";n._pem=e.encode(t,"pem",{label:"RSA PUBLIC KEY"});return n}case"pkcs8":case"sec1":return r(s({format:i,key:u,type:l,passphrase:a}));default:throw new TypeError(`The value ${l} is invalid for option "type"`)}});s=((e,i)=>{if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:r,passphrase:a}=e;let{key:u,type:l}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(a!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(r!=="pem"&&r!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let d;if(r==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PRIVATE KEY-----":l="pkcs8";d="PRIVATE KEY";break;case"-----BEGIN EC PRIVATE KEY-----":l="sec1";d="EC PRIVATE KEY";break;case"-----BEGIN RSA PRIVATE KEY-----":l="pkcs1";d="RSA PRIVATE KEY";break;default:throw new TypeError("unknown/unsupported PEM type")}}switch(l){case"pkcs8":{const e=c.get("PrivateKeyInfo");const t=e.decode(u,r,{label:d});let i,n;switch(t.algorithm.algorithm){case"ecPublicKey":{i="sec1";n=s({type:i,key:t.privateKey,format:"der"},{[p]:t.algorithm.parameters.value});break}case"rsaEncryption":{i="pkcs1";n=s({type:i,key:t.privateKey,format:"der"});break}default:h(t.algorithm.algorithm)}n._pkcs8=u;return n}case"pkcs1":{const e=c.get("RSAPrivateKey");const t=e.decode(u,r,{label:d});const i=new o;i._asn1=t;i._asymmetricKeyType="rsa";i._type="private";i._pem=e.encode(t,"pem",{label:"RSA PRIVATE KEY"});return i}case"sec1":{const e=c.get("ECPrivateKey");let t=e.decode(u,r,{label:d});if(!("parameters"in t)&&!i[p]){throw new Error("invalid sec1")}else if(!("parameters"in t)){t={...t,parameters:{type:"namedCurve",value:i[p]}}}const n=new o;n._asn1=t;n._asymmetricKeyType="ec";n._type="private";n._pem=e.encode(t,"pem",{label:"EC PRIVATE KEY"});return n}default:throw new TypeError(`The value ${l} is invalid for option "type"`)}})}e.exports={createPublicKey:r,createPrivateKey:s,createSecretKey:a,KeyObject:o,asInput:u}},69693:(e,t,i)=>{const{EOL:n}=i(12087);const r=i(52973);const{keyObjectSupported:s}=i(32457);const{createPublicKey:a}=i(98921);const o=i(73385);const u=i(16416);const c=i(53141);const{OKP_CURVES:l,EC_CURVES:p}=i(15501);const d=(e,t)=>`-----BEGIN ${t} KEY-----${n}${(e.match(/.{1,64}/g)||[]).join(n)}${n}-----END ${t} KEY-----`;const f={private(e,t){const i=t.export({type:"pkcs8",format:"der"});const n=u.get("OneAsymmetricKey");const{privateKey:{privateKey:r}}=n.decode(i);return{...f.public(e,a(t)),d:o.encodeBuffer(r)}},public(e,t){const i=t.export({type:"spki",format:"der"});const n=u.get("PublicKeyInfo");const{publicKey:{data:r}}=n.decode(i);return{kty:"OKP",crv:e,x:o.encodeBuffer(r)}}};const h={rsa:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("RSAPrivateKey");const{privateKey:s}=i.decode(t);const{version:a,n:c,e:l,d:p,p:d,q:f,dp:h,dq:m,qi:b}=n.decode(s);if(a!=="two-prime"){throw new r.JOSENotSupported("Private RSA keys with more than two primes are not supported")}return{kty:"RSA",n:o.encodeBigInt(c),e:o.encodeBigInt(l),d:o.encodeBigInt(p),p:o.encodeBigInt(d),q:o.encodeBigInt(f),dp:o.encodeBigInt(h),dq:o.encodeBigInt(m),qi:o.encodeBigInt(b)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const n=u.get("RSAPublicKey");const{publicKey:{data:r}}=i.decode(t);const{n:s,e:a}=n.decode(r);return{kty:"RSA",n:o.encodeBigInt(s),e:o.encodeBigInt(a)}}},ec:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("ECPrivateKey");const{privateKey:c,algorithm:{parameters:{value:l}}}=i.decode(t);const{privateKey:p,publicKey:d}=n.decode(c);if(typeof d==="undefined"){if(s){return{...h.ec.public(a(e)),d:o.encodeBuffer(p)}}throw new r.JOSENotSupported("Private EC keys without the public key embedded are not supported in your Node.js runtime version")}const f=d.data.slice(1,(d.data.length-1)/2+1);const m=d.data.slice((d.data.length-1)/2+1);return{kty:"EC",crv:l,d:o.encodeBuffer(p),x:o.encodeBuffer(f),y:o.encodeBuffer(m)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const{publicKey:{data:n},algorithm:{parameters:{value:r}}}=i.decode(t);const s=n.slice(1,(n.length-1)/2+1);const a=n.slice((n.length-1)/2+1);return{kty:"EC",crv:r,x:o.encodeBuffer(s),y:o.encodeBuffer(a)}}},ed25519:{private(e){return f.private("Ed25519",e)},public(e){return f.public("Ed25519",e)}},ed448:{private(e){return f.private("Ed448",e)},public(e){return f.public("Ed448",e)}},x25519:{private(e){return f.private("X25519",e)},public(e){return f.public("X25519",e)}},x448:{private(e){return f.private("X448",e)},public(e){return f.public("X448",e)}}};e.exports.keyObjectToJWK=(e=>{if(e.type==="private"){return h[e.asymmetricKeyType].private(e)}return h[e.asymmetricKeyType].public(e)});const m=(e,t)=>({unused:0,data:Buffer.concat([Buffer.alloc(1,4),o.decodeToBuffer(e),o.decodeToBuffer(t)])});const b={RSA:{private(e,{calculateMissingRSAPrimes:t}){const i=u.get("RSAPrivateKey");if("oth"in e){throw new r.JOSENotSupported("Private RSA keys with more than two primes are not supported")}if(e.p||e.q||e.dp||e.dq||e.qi){if(!(e.p&&e.q&&e.dp&&e.dq&&e.qi)){throw new r.JWKInvalid("all other private key parameters must be present when any one of them is present")}}else if(t){e=c(e)}else if(!t){throw new r.JOSENotSupported("importing private RSA keys without all other private key parameters is not enabled, see documentation and its advisory on how and when its ok to enable it")}return i.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`),d:BigInt(`0x${o.decodeToBuffer(e.d).toString("hex")}`),p:BigInt(`0x${o.decodeToBuffer(e.p).toString("hex")}`),q:BigInt(`0x${o.decodeToBuffer(e.q).toString("hex")}`),dp:BigInt(`0x${o.decodeToBuffer(e.dp).toString("hex")}`),dq:BigInt(`0x${o.decodeToBuffer(e.dq).toString("hex")}`),qi:BigInt(`0x${o.decodeToBuffer(e.qi).toString("hex")}`)},"pem",{label:"RSA PRIVATE KEY"})},public(e){const t=u.get("RSAPublicKey");return t.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`)},"pem",{label:"RSA PUBLIC KEY"})}},EC:{private(e){const t=u.get("ECPrivateKey");return t.encode({version:1,privateKey:o.decodeToBuffer(e.d),parameters:{type:"namedCurve",value:e.crv},publicKey:m(e.x,e.y)},"pem",{label:"EC PRIVATE KEY"})},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:"ecPublicKey",parameters:{type:"namedCurve",value:e.crv}},publicKey:m(e.x,e.y)},"pem",{label:"PUBLIC KEY"})}},OKP:{private(e){const t=u.get("OneAsymmetricKey");const i=t.encode({version:0,privateKey:{privateKey:o.decodeToBuffer(e.d)},algorithm:{algorithm:e.crv}},"der");i.write("04",12,1,"hex");return d(i.toString("base64"),"PRIVATE")},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:e.crv},publicKey:{unused:0,data:o.decodeToBuffer(e.x)}},"pem",{label:"PUBLIC KEY"})}}};e.exports.jwkToPem=((e,{calculateMissingRSAPrimes:t=false}={})=>{switch(e.kty){case"EC":if(!p.has(e.crv)){throw new r.JOSENotSupported(`unsupported EC key curve: ${e.crv}`)}break;case"OKP":if(!l.has(e.crv)){throw new r.JOSENotSupported(`unsupported OKP key curve: ${e.crv}`)}break;case"RSA":break;default:throw new r.JOSENotSupported(`unsupported key type: ${e.kty}`)}if(e.d){return b[e.kty].private(e,{calculateMissingRSAPrimes:t})}return b[e.kty].public(e)})},20125:e=>{e.exports=(e=>`sha${e.substr(2,3)}`)},53141:(e,t,i)=>{const{randomBytes:n}=i(76417);const r=i(73385);const s=i(52973);const a=BigInt(0);const o=BigInt(1);const u=BigInt(2);const c=e=>{const t=e.toString(16);return r.encodeBuffer(Buffer.from(t.length%2?`0${t}`:t,"hex"))};const l=e=>BigInt(`0x${e.toString("hex")}`);const p=e=>e.toString(2).length;const d=(e,t)=>{let i=a;let n=o;let r=o;let s=a;while(e!==a){const a=t/e;const o=t%e;const u=i-r*a;const c=n-s*a;t=e;e=o;i=r;n=s;r=u;s=c}return i};const f=(e,t)=>{let i=a;while(!((e|t)&o)){e>>=o;t>>=o;i++}while(!(e&o)){e>>=o}do{while(!(t&o)){t>>=o}if(e>t){const i=e;e=t;t=i}t-=e}while(t);return e<{e=g(e,i);let n=o;let r=e;while(t>0){const e=t%u;t=t/u;if(e===o){n=n*r;n=n%i}r=r*r;r=r%i}return n};const m=(e,t)=>{const i=t-e;const n=p(i);let r;do{r=l(b(n))}while(r>i);return r+e};const b=e=>{const t=Math.ceil(e/8);const i=n(t);i[0]=i[0]&2**(e%8)-1;return i};const g=(e,t)=>{e=e%t;return e<0?e+t:e};const y=e=>{let t=e;while(t%u===a){t=t/u}return t};const S=30;const v=22;const w=(e,t,i)=>{const n=y(e*t-o);let r=0;let c;do{r++;if(r===S){throw new s.JWKImportFailed("failed to calculate missing primes")}let e=0;let t=h(m(u,i),n,i);let l=a;while(t!==o){e++;if(e===v){throw new s.JWKImportFailed("failed to calculate missing primes")}l=t;t=t*t%i}if(l!==i-o){c=l}}while(!c);const l=f(c-o,i);const p=i/l;return l>p?{p:l,q:p}:{p:p,q:l}};e.exports=(e=>{const t=l(r.decodeToBuffer(e.e));const i=l(r.decodeToBuffer(e.d));const n=l(r.decodeToBuffer(e.n));if(i>=n){throw new s.JWKInvalid("invalid RSA private exponent")}const{p:a,q:u}=w(t,i,n);const p=i%(a-o);const f=i%(u-o);const h=g(d(g(u,a),a),a);return{...e,p:c(a),q:c(u),dp:c(p),dq:c(f),qi:c(h)}})},32457:(e,t,i)=>{const{diffieHellman:n,KeyObject:r,sign:s,verify:a}=i(76417);const[o,u]=process.version.substr(1).split(".").map(e=>parseInt(e,10));e.exports={oaepHashSupported:o>12||o===12&&u>=9,keyObjectSupported:!!r&&o>=12,edDSASupported:!!s&&!!a,dsaEncodingSupported:o>13||o===13&&u>=2||o===12&&u>=16,improvedDH:!!n}},97305:e=>{const t=60;const i=t*60;const n=i*24;const r=n*7;const s=n*365.25;const a=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;e.exports=(e=>{const o=a.exec(e);if(!o){throw new TypeError(`invalid time period format ("${e}")`)}const u=parseFloat(o[1]);const c=o[2].toLowerCase();switch(c){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(u);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(u*t);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(u*i);case"day":case"days":case"d":return Math.round(u*n);case"week":case"weeks":case"w":return Math.round(u*r);case"year":case"years":case"yr":case"yrs":case"y":return Math.round(u*s)}})},80820:(e,t,i)=>{const{timingSafeEqual:n}=i(76417);const r=(e,t)=>{if(e.length===t){return e}const i=Buffer.alloc(t);e.copy(i);return i};const s=(e,t)=>{const i=Math.max(e.length,t.length);return n(r(e,i),r(t,i))};e.exports=s},4520:e=>{const t=Math.pow(2,32);e.exports=((e,i=Buffer.allocUnsafe(8))=>{const n=Math.floor(e/t);const r=e%t;i.writeUInt32BE(n,0);i.writeUInt32BE(r,4);return i})},530:(e,t,i)=>{const{JOSECritNotUnderstood:n,JWSInvalid:r}=i(52973);const s=new Set(["alg","jku","jwk","kid","x5u","x5c","x5t","x5t#S256","typ","cty","crit","enc","zip","epk","apu","apv","iv","tag","p2s","p2c"]);e.exports=function validateCrit(e,t,i,a){if(t&&"crit"in t){if(!Array.isArray(t.crit)||t.crit.length===0||t.crit.some(e=>typeof e!=="string"||!e)){throw new e('"crit" Header Parameter MUST be an array of non-empty strings when present')}const o=new Set(a);const u={...t,...i};t.crit.forEach(i=>{if(s.has(i)){throw new e(`The critical list contains a non-extension Header Parameter ${i}`)}if(!o.has(i)){throw new n(`critical "${i}" is not understood`)}if(i==="b64"){if(!("b64"in t)){throw new r('"b64" critical parameter must be integrity protected')}if(typeof t.b64!=="boolean"){throw new r('"b64" critical parameter must be a boolean')}}else if(!(i in u)){throw new e(`critical parameter "${i}" is missing`)}})}if(i&&"crit"in i){throw new e('"crit" Header Parameter MUST be integrity protected when present')}}},16425:(e,t,i)=>{e.exports={JWE:i(72851),JWK:i(67894),JWKS:i(42896),JWS:i(36518),JWT:i(18138),errors:i(52973)}},49651:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const a=i(4520);const o=i(80820);const{KEYOBJECT:u}=i(15010);const{JWEInvalid:c,JWEDecryptionFailed:l}=i(52973);const p=function(e,t,i){if(t.length!==16){throw new c("invalid iv")}if(arguments.length===3){if(i.length!==e/8){throw new c("invalid tag")}}};const d=(e,t,{[u]:i},r,{iv:s,aad:o=Buffer.alloc(0)})=>{const c=i.export();p(e,s);const l=e/8;const d=c.slice(l);const f=n(`aes-${e}-cbc`,d,s);const h=Buffer.concat([f.update(r),f.final()]);const m=Buffer.concat([o,s,h,a(o.length*8)]);const b=c.slice(0,l);const g=t({[u]:b},m).slice(0,l);return{ciphertext:h,tag:g}};const f=(e,t,{[u]:i},n,{iv:s,tag:c=Buffer.alloc(0),aad:d=Buffer.alloc(0)})=>{p(e,s,c);const f=e/8;const h=i.export();const m=h.slice(f);const b=h.slice(0,f);const g=Buffer.concat([d,s,n,a(d.length*8)]);const y=t({[u]:b},g,c).slice(0,f);const S=o(c,y);let v;try{const t=r(`aes-${e}-cbc`,m,s);v=Buffer.concat([t.update(n),t.final()])}catch(e){}if(!v||!S){throw new l}return v};e.exports=((e,t)=>{["A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const r=e.sign.get(`HS${n*2}`);if(s().includes(`aes-${n}-cbc`)){e.encrypt.set(i,d.bind(undefined,n,r));e.decrypt.set(i,f.bind(undefined,n,r));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length/2===n)}})})},21239:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const{KEYOBJECT:a}=i(15010);const{JWEInvalid:o,JWEDecryptionFailed:u}=i(52973);const{asInput:c}=i(98921);const l=function(e,t,i){if(t.length!==12){throw new o("invalid iv")}if(arguments.length===3){if(i.length!==16){throw new o("invalid tag")}}};const p=(e,{[a]:t},i,{iv:r,aad:s=Buffer.alloc(0)})=>{const o=c(t,false);l(e,r);const u=n(`aes-${e}-gcm`,o,r,{authTagLength:16});u.setAAD(s);const p=Buffer.concat([u.update(i),u.final()]);const d=u.getAuthTag();return{ciphertext:p,tag:d}};const d=(e,{[a]:t},i,{iv:n,tag:s=Buffer.alloc(0),aad:o=Buffer.alloc(0)})=>{const p=c(t,false);l(e,n,s);try{const t=r(`aes-${e}-gcm`,p,n,{authTagLength:16});t.setAuthTag(s);t.setAAD(o);return Buffer.concat([t.update(i),t.final()])}catch(e){throw new u}};e.exports=((e,t)=>{["A128GCM","A192GCM","A256GCM"].forEach(i=>{const n=parseInt(i.substr(1,3),10);if(s().includes(`aes-${n}-gcm`)){e.encrypt.set(i,p.bind(undefined,n));e.decrypt.set(i,d.bind(undefined,n));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},37813:(e,t,i)=>{const n=i(93137);const r=i(73385);e.exports=((e,t)=>{["A128GCMKW","A192GCMKW","A256GCMKW"].forEach(i=>{const s=i.substr(0,7);const a=parseInt(i.substr(1,3),10);const o=e.encrypt.get(s);const u=e.decrypt.get(s);if(o&&u){e.keyManagementEncrypt.set(i,(e,t)=>{const s=n(i);const{ciphertext:a,tag:u}=o(e,t,{iv:s});return{wrapped:a,header:{tag:r.encodeBuffer(u),iv:r.encodeBuffer(s)}}});e.keyManagementDecrypt.set(i,u);t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===a)}})})},80477:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const{KEYOBJECT:a}=i(15010);const{asInput:o}=i(98921);const u=e=>{if(e!==undefined&&e.length%8!==0){throw new Error("invalid data length")}};const c=(e,{[a]:t},i)=>{const r=o(t,false);const s=n(e,r,Buffer.alloc(8,"a6","hex"));return{wrapped:Buffer.concat([s.update(i),s.final()])}};const l=(e,{[a]:t},i)=>{const n=o(t,false);u(i);const s=r(e,n,Buffer.alloc(8,"a6","hex"));return Buffer.concat([s.update(i),s.final()])};e.exports=((e,t)=>{["A128KW","A192KW","A256KW"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const r=`aes${n}-wrap`;if(s().includes(r)){e.keyManagementEncrypt.set(i,c.bind(undefined,r));e.keyManagementDecrypt.set(i,l.bind(undefined,r));t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},94563:(e,t,i)=>{const{improvedDH:n}=i(32457);if(n){const{diffieHellman:t}=i(76417);const{KeyObject:n}=i(98921);const r=i(13468);e.exports=(({keyObject:e},i)=>{if(!(i instanceof n)){({keyObject:i}=r(i))}return t({privateKey:e,publicKey:i})})}else{const{createECDH:t,constants:{POINT_CONVERSION_UNCOMPRESSED:n}}=i(76417);const r=i(73385);const s=e=>{switch(e){case"P-256":return"prime256v1";case"P-384":return"secp384r1";case"P-521":return"secp521r1"}};const a=Buffer.alloc(1,n);const o=(e,t)=>Buffer.concat([a,r.decodeToBuffer(e),r.decodeToBuffer(t)]);e.exports=(({crv:e,d:i},{x:n,y:a})=>{const u=s(e);const c=t(u);c.setPrivateKey(r.decodeToBuffer(i));return c.computeSecret(o(n,a))})}},81417:(e,t,i)=>{const{createHash:n}=i(76417);const r=i(94563);const s=(e,t,i)=>{const r=Math.ceil(t/32);let s;for(let t=1;t<=r;t++){const r=Buffer.allocUnsafe(4+e.length+i.length);r.writeUInt32BE(t,0);e.copy(r,4);i.copy(r,4+e.length);if(!s){s=n("sha256").update(r).digest()}else{s=Buffer.concat([s,n("sha256").update(r).digest()])}}return s.slice(0,t)};const a=(e,t=Buffer.allocUnsafe(4))=>{t.writeUInt32BE(e);return t};const o=e=>Buffer.concat([a(e.length),e]);e.exports=((e,t,i,n,{apu:u=Buffer.alloc(0),apv:c=Buffer.alloc(0)}={},l=r)=>{const p=Buffer.concat([o(Buffer.from(e)),o(u),o(c),a(t)]);const d=l(i,n);return s(d,t/8,p)})},52652:(e,t,i)=>{const{improvedDH:n}=i(32457);const{KEYLENGTHS:r}=i(15501);const{generateSync:s}=i(39377);const a=i(81417);const o=(e,t,{enc:i})=>{const n=s(e.kty,e.crv);const o=a(i,r.get(i),n,e);return{wrapped:o,header:{epk:{kty:e.kty,crv:e.crv,x:n.x,y:n.y}}}};const u=(e,t,i)=>{const{enc:n,epk:s}=i;return a(n,r.get(n),e,s,i)};e.exports=((e,t)=>{e.keyManagementEncrypt.set("ECDH-ES",o);e.keyManagementDecrypt.set("ECDH-ES",u);t.EC.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!=="secp256k1");if(n){t.OKP.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}})},7668:(e,t,i)=>{const{improvedDH:n}=i(32457);const{KEYOBJECT:r}=i(15010);const{generateSync:s}=i(39377);const{ECDH_DERIVE_LENGTHS:a}=i(15501);const o=i(81417);const u=(e,t,i,n)=>{const a=s(i.kty,i.crv);const o=t(a,i,n);const u=e({[r]:o},n);u.header=u.header||{};Object.assign(u.header,{epk:{kty:i.kty,crv:i.crv,x:a.x,y:a.y}});return u};const c=(e,t,i,n,s)=>{const{epk:a}=s;const o=t(i,a,s);return e({[r]:o},n,s)};e.exports=((e,t)=>{["ECDH-ES+A128KW","ECDH-ES+A192KW","ECDH-ES+A256KW"].forEach(i=>{const r=i.substr(-6);const s=e.keyManagementEncrypt.get(r);const l=e.keyManagementDecrypt.get(r);const p=parseInt(i.substr(9,3),10);a.set(i,p);if(s&&l){e.keyManagementEncrypt.set(i,u.bind(undefined,s,o.bind(undefined,i,p)));e.keyManagementDecrypt.set(i,c.bind(undefined,l,o.bind(undefined,i,p)));t.EC.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!=="secp256k1");if(n){t.OKP.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}}})});e.exports.wrapKey=u;e.exports.unwrapKey=c},77634:(e,t,i)=>{const{sign:n,verify:r,createSign:s,createVerify:a,getCurves:o}=i(76417);const{derToJose:u,joseToDer:c}=i(14451);const{KEYOBJECT:l}=i(15010);const p=i(20125);const{asInput:d}=i(98921);const{dsaEncodingSupported:f}=i(32457);let h,m;if(f){h=((e,t,{[l]:i},r)=>{if(typeof r==="string"){r=Buffer.from(r)}return n(t,r,{key:d(i,false),dsaEncoding:"ieee-p1363"})});m=((e,t,{[l]:i},n,s)=>{try{return r(t,n,{key:d(i,true),dsaEncoding:"ieee-p1363"},s)}catch(e){return false}})}else{h=((e,t,{[l]:i},n)=>{return u(s(t).update(n).sign(d(i,false)),e)});m=((e,t,{[l]:i},n,r)=>{try{return a(t).update(n).verify(d(i,true),c(r,e))}catch(e){return false}})}const b=e=>{switch(e){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}};e.exports=((e,t)=>{const i=[];if(o().includes("prime256v1")){i.push("ES256")}if(o().includes("secp256k1")){i.push("ES256K")}if(o().includes("secp384r1")){i.push("ES384")}if(o().includes("secp521r1")){i.push("ES512")}i.forEach(i=>{const n=p(i);e.sign.set(i,h.bind(undefined,i,n));e.verify.set(i,m.bind(undefined,i,n));t.EC.sign[i]=(e=>e.private&&t.EC.verify[i](e));t.EC.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&b(e.crv)===i)})})},18803:(e,t,i)=>{const{sign:n,verify:r}=i(76417);const{KEYOBJECT:s}=i(15010);const{edDSASupported:a}=i(32457);const o=({[s]:e},t)=>{if(typeof t==="string"){t=Buffer.from(t)}return n(undefined,t,e)};const u=({[s]:e},t,i)=>{return r(undefined,t,e,i)};e.exports=((e,t)=>{if(a){e.sign.set("EdDSA",o);e.verify.set("EdDSA",u);t.OKP.sign.EdDSA=(e=>e.private&&t.OKP.verify.EdDSA(e));t.OKP.verify.EdDSA=(e=>(e.use==="sig"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("ed"))}})},25866:(e,t,i)=>{const{createHmac:n}=i(76417);const{KEYOBJECT:r}=i(15010);const s=i(80820);const a=i(20125);const{asInput:o}=i(98921);const u=(e,t,{[r]:i},s)=>{const a=n(t,o(i,false));a.update(s);return a.digest()};const c=(e,t,i,n,r)=>{const a=u(e,t,i,n);const o=r;return s(o,a)};e.exports=((e,t)=>{["HS256","HS384","HS512"].forEach(i=>{const n=a(i);e.sign.set(i,u.bind(undefined,i,n));e.verify.set(i,c.bind(undefined,i,n));t.oct.sign[i]=t.oct.verify[i]=(e=>e.use==="sig"||e.use===undefined)})})},50191:(e,t,i)=>{const{JWKKeySupport:n,JOSENotSupported:r}=i(52973);const{KEY_MANAGEMENT_ENCRYPT:s,KEY_MANAGEMENT_DECRYPT:a}=i(15010);const{JWA:o,JWK:u}=i(15501);i(25866)(o,u);i(77634)(o,u);i(18803)(o,u);i(35172)(o,u);i(16984)(o,u);i(72638)(o);i(49651)(o,u);i(21239)(o,u);i(1029)(o,u);i(80477)(o,u);i(37813)(o,u);i(94515)(o,u);i(52652)(o,u);i(7668)(o,u);const c=(e,t,i)=>{const u=`_${t}_${i}`;let l;let p;if(t==="keyManagementEncrypt"){l="key management (encryption)";p=s}else if(t==="keyManagementDecrypt"){l="key management (decryption)";p=a}if(u in e){if(e[u]){return}throw new n(`the key does not support ${i} ${l||t} algorithm`)}let d=true;if(!o[t].has(i)){throw new r(`unsupported ${l||t} alg: ${i}`)}else if(!e.algorithms(p).has(i)){d=false}Object.defineProperty(e,u,{value:d,enumerable:false});if(!d){return c(e,t,i)}};e.exports={check:c,sign:(e,t,i)=>{c(t,"sign",e);return o.sign.get(e)(t,i)},verify:(e,t,i,n)=>{c(t,"verify",e);return o.verify.get(e)(t,i,n)},keyManagementEncrypt:(e,t,i,n)=>{c(t,"keyManagementEncrypt",e);return o.keyManagementEncrypt.get(e)(t,i,n)},keyManagementDecrypt:(e,t,i,n)=>{c(t,"keyManagementDecrypt",e);return o.keyManagementDecrypt.get(e)(t,i,n)},encrypt:(e,t,i,n)=>{c(t,"encrypt",e);return o.encrypt.get(e)(t,i,n)},decrypt:(e,t,i,n)=>{c(t,"decrypt",e);return o.decrypt.get(e)(t,i,n)}}},72638:e=>{const t=()=>Buffer.from("");const i=(e,t,i)=>!i.length;e.exports=((e,n)=>{e.sign.set("none",t);e.verify.set("none",i)})},94515:(e,t,i)=>{const{pbkdf2Sync:n,randomBytes:r}=i(76417);const{KEYOBJECT:s}=i(15010);const a=i(73385);const o=16;const u=Buffer.alloc(1,0);const c=(e,t)=>{return Buffer.concat([Buffer.from(e,"utf8"),u,t])};const l=(e,t,i,u,{[s]:c},l)=>{const p=Math.floor(Math.random()*2049+2048);const d=r(o);const f=i(d);const h=n(c.export(),f,p,e,t);const m=u({[s]:h},l);m.header=m.header||{};Object.assign(m.header,{p2c:p,p2s:a.encodeBuffer(d)});return m};const p=(e,t,i,r,{[s]:a},o,u)=>{const{p2s:c,p2c:l}=u;const p=i(c);const d=n(a.export(),p,l,e,t);return r({[s]:d},o,u)};e.exports=((e,t)=>{["PBES2-HS256+A128KW","PBES2-HS384+A192KW","PBES2-HS512+A256KW"].forEach(i=>{const n=i.substr(-6);const r=e.keyManagementEncrypt.get(n);const s=e.keyManagementDecrypt.get(n);const a=parseInt(i.substr(13,3),10)/8;const o=`sha${i.substr(8,3)}`;if(r&&s){e.keyManagementEncrypt.set(i,l.bind(undefined,a,o,c.bind(undefined,i),r));e.keyManagementDecrypt.set(i,p.bind(undefined,a,o,c.bind(undefined,i),s));t.oct.deriveKey[i]=(e=>e.use==="enc"||e.use===undefined)}})})},1029:(e,t,i)=>{const{publicEncrypt:n,privateDecrypt:r,constants:s}=i(76417);const{oaepHashSupported:a}=i(32457);const{KEYOBJECT:o}=i(15010);const{asInput:u}=i(98921);const c=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return s.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return s.RSA_PKCS1_PADDING}};const l=e=>{switch(e){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return undefined}};const p=(e,t,{[o]:i},r)=>{const s=u(i,true);return{wrapped:n({key:s,oaepHash:t,padding:e},r)}};const d=(e,t,{[o]:i},n)=>{const s=u(i,false);return r({key:s,oaepHash:t,padding:e},n)};const f={RSA1_5:0,"RSA-OAEP":592,"RSA-OAEP-256":784,"RSA-OAEP-384":1040,"RSA-OAEP-512":1296};e.exports=((e,t)=>{const i=["RSA-OAEP","RSA1_5"];if(a){i.splice(1,0,"RSA-OAEP-256","RSA-OAEP-384","RSA-OAEP-512")}i.forEach(i=>{const n=c(i);const r=l(i);e.keyManagementEncrypt.set(i,p.bind(undefined,n,r));e.keyManagementDecrypt.set(i,d.bind(undefined,n,r));t.RSA.wrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length>=f[i]);t.RSA.unwrapKey[i]=(e=>e.private&&(e.use==="enc"||e.use===undefined)&&e.length>=f[i])})})},16984:(e,t,i)=>{const{createSign:n,createVerify:r}=i(76417);const{KEYOBJECT:s}=i(15010);const a=i(20125);const{asInput:o}=i(98921);const u=(e,{[s]:t},i)=>{return n(e).update(i).sign(o(t,false))};const c=(e,{[s]:t},i,n)=>{return r(e).update(i).verify(o(t,true),n)};const l={RS256:0,RS384:624,RS512:752};e.exports=((e,t)=>{["RS256","RS384","RS512"].forEach(i=>{const n=a(i);e.sign.set(i,u.bind(undefined,n));e.verify.set(i,c.bind(undefined,n));t.RSA.sign[i]=(e=>e.private&&t.RSA.verify[i](e));t.RSA.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&e.length>=l[i])})})},35172:(e,t,i)=>{const{createSign:n,createVerify:r,constants:s}=i(76417);const{KEYOBJECT:a}=i(15010);const o=i(20125);const{asInput:u}=i(98921);const c=(e,{[a]:t},i)=>{const r=u(t,false);return n(e).update(i).sign({key:r,padding:s.RSA_PKCS1_PSS_PADDING,saltLength:s.RSA_PSS_SALTLEN_DIGEST})};const l=(e,{[a]:t},i,n)=>{const o=u(t,true);return r(e).update(i).verify({key:o,padding:s.RSA_PKCS1_PSS_PADDING,saltLength:s.RSA_PSS_SALTLEN_DIGEST},n)};const p={PS256:528,PS384:784,PS512:1040};e.exports=((e,t)=>{["PS256","PS384","PS512"].forEach(i=>{const n=o(i);e.sign.set(i,c.bind(undefined,n));e.verify.set(i,l.bind(undefined,n));t.RSA.sign[i]=(e=>e.private&&t.RSA.verify[i](e));t.RSA.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&e.length>=p[i])})})},73607:(e,t,i)=>{const{inflateRawSync:n}=i(78761);const r=i(73385);const s=i(31308);const{KeyStore:a}=i(42896);const o=i(52973);const{check:u,decrypt:c,keyManagementDecrypt:l}=i(50191);const p=i(67894);const{createSecretKey:d}=i(98921);const f=i(15242);const h=i(46904);const{detect:m}=i(5348);const b=new Set(["compact","flattened"]);const g=(e={},t={},i={})=>{if(typeof e==="string"){e=r.JSON.decode(e)}const n=e.p2s||t.p2s||i.p2s;const s=e.apu||t.apu||i.apu;const a=e.apv||t.apv||i.apv;const o=e.iv||t.iv||i.iv;const u=e.tag||t.tag||i.tag;return{...e,...t,...i,...typeof n==="string"?{p2s:r.decodeToBuffer(n)}:undefined,...typeof s==="string"?{apu:r.decodeToBuffer(s)}:undefined,...typeof a==="string"?{apv:r.decodeToBuffer(a)}:undefined,...typeof o==="string"?{iv:r.decodeToBuffer(o)}:undefined,...typeof u==="string"?{tag:r.decodeToBuffer(u)}:undefined}};const y=(e,t)=>{if(e!==undefined&&(!Array.isArray(e)||e.some(e=>typeof e!=="string"||!e))){throw new TypeError(`"${t}" option must be an array of non-empty strings`)}if(!e){return undefined}return new Set(e)};const S=(e,t,i,v,{crit:w=[],complete:j=false,keyManagementAlgorithms:z,contentEncryptionAlgorithms:O}={})=>{v=s(v,true);z=y(z,"keyManagementAlgorithms");O=y(O,"contentEncryptionAlgorithms");if(!Array.isArray(w)||w.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=m(i)}let k,C,T,_,A,E,R,x,N,V,P,M;if(t==="general"&&i.recipients.length===1){t="flattened";const{recipients:e,...n}=i;i={...n,...e[0]}}if(b.has(t)){if(t==="compact"){[R,_,A,C,x]=i.split(".")}else{({protected:R,encrypted_key:_,iv:A,ciphertext:C,tag:x,unprotected:N,aad:P,header:M}=i)}if(!e){h(R,N,[{header:M}],true,w)}E=g(R,N,M);({alg:k,enc:T}=E);if(z&&!z.has(k)){throw new o.JOSEAlgNotWhitelisted("key management algorithm not whitelisted")}if(O&&!O.has(T)){throw new o.JOSEAlgNotWhitelisted("content encryption algorithm not whitelisted")}if(v instanceof a){const e=v;let n;if(E.alg==="dir"){n=e.all({kid:E.kid,alg:E.enc,key_ops:["decrypt"]})}else{n=e.all({kid:E.kid,alg:E.alg,key_ops:["unwrapKey"]})}switch(n.length){case 0:throw new o.JWKSNoMatchingKey;case 1:v=n[0];break;default:{const e=[];for(const r of n){try{return S(true,t,i,r,{crit:w,complete:j,contentEncryptionAlgorithms:O?[...O]:undefined,keyManagementAlgorithms:z?[...z]:undefined})}catch(t){e.push(t);continue}}const r=new o.JOSEMultiError(e);if([...r].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}throw r}}}u(v,...k==="dir"?["decrypt",T]:["keyManagementDecrypt",k]);try{if(k==="dir"){V=p.asKey(v,{alg:T,use:"enc"})}else if(k==="ECDH-ES"){const e=l(k,v,undefined,E);V=p.asKey(d(e),{alg:T,use:"enc"})}else{const e=l(k,v,r.decodeToBuffer(_),E);V=p.asKey(d(e),{alg:T,use:"enc"})}}catch(e){V=f(T)}let s;if(P){s=Buffer.concat([Buffer.from(R||""),Buffer.from("."),Buffer.from(P)])}else{s=Buffer.from(R||"")}try{A=r.decodeToBuffer(A)}catch(e){}try{x=r.decodeToBuffer(x)}catch(e){}let m=c(T,V,r.decodeToBuffer(C),{iv:A,tag:x,aad:s});if(E.zip){m=n(m)}if(j){const e={cleartext:m,key:v,cek:V};if(P)e.aad=P;if(M)e.header=M;if(N)e.unprotected=N;if(R)e.protected=r.JSON.decode(R);return e}return m}h(i.protected,i.unprotected,i.recipients.map(({header:e})=>({header:e})),true,w);const{recipients:B,...I}=i;const D=[];for(const e of B){try{return S(true,"flattened",{...I,...e},v,{crit:w,complete:j,contentEncryptionAlgorithms:O?[...O]:undefined,keyManagementAlgorithms:z?[...z]:undefined})}catch(e){D.push(e);continue}}const q=new o.JOSEMultiError(D);if([...q].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}else if([...q].every(e=>e instanceof o.JWKSNoMatchingKey)){throw new o.JWKSNoMatchingKey}throw q};e.exports=S.bind(undefined,false,undefined)},19094:(e,t,i)=>{const{deflateRawSync:n}=i(78761);const{KEYOBJECT:r}=i(15010);const s=i(93137);const a=i(73385);const o=i(31308);const u=i(41805);const{createSecretKey:c}=i(98921);const l=i(43653);const p=i(13468);const{JWEInvalid:d}=i(52973);const{check:f,keyManagementEncrypt:h,encrypt:m}=i(50191);const b=i(5348);const g=i(15242);const y=i(46904);const S=Symbol("PROCESS_RECIPIENT");class Encrypt{constructor(e,t,i,n){if(!Buffer.isBuffer(e)&&typeof e!=="string"){throw new TypeError("cleartext argument must be a Buffer or a string")}e=Buffer.from(e);if(i!==undefined&&!Buffer.isBuffer(i)&&typeof i!=="string"){throw new TypeError("aad argument must be a Buffer or a string when provided")}i=i?Buffer.from(i):undefined;if(t!==undefined&&!u(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(n!==undefined&&!u(n)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}this._recipients=[];this._cleartext=e;this._aad=i;this._unprotected=n?l(n):undefined;this._protected=t?l(t):undefined}recipient(e,t){e=o(e);if(t!==undefined&&!u(t)){throw new TypeError("header argument must be a plain object when provided")}this._recipients.push({key:e,header:t?l(t):undefined});return this}[S](e){const t=this._unprotected;const i=this._protected;const{length:n}=this._recipients;const s={...i,...t,...e.header};const{key:o}=e;const u=s.enc;let l=s.alg;if(o.use==="sig"){throw new TypeError('a key with "use":"sig" is not usable for encryption')}if(l==="dir"){f(o,"encrypt",u)}else if(l){f(o,"keyManagementEncrypt",l)}else{l=o.alg||[...o.algorithms("wrapKey")][0]||[...o.algorithms("deriveKey")][0];if(l==="ECDH-ES"&&n!==1){l=[...o.algorithms("deriveKey")][1]}if(!l){throw new d('could not resolve a usable "alg" for a recipient')}if(n===1){if(i){i.alg=l}else{this._protected={alg:l}}}else{if(e.header){e.header.alg=l}else{e.header={alg:l}}}}let m;let b;if(o.kty==="oct"&&l==="dir"){this._cek=p(o[r],{use:"enc",alg:u})}else{f(this._cek,"encrypt",u);({wrapped:m,header:b}=h(l,o,this._cek[r].export(),{enc:u,alg:l}));if(l==="ECDH-ES"){this._cek=p(c(m),{use:"enc",alg:u})}}if(l==="dir"||l==="ECDH-ES"){e.encrypted_key=""}else{e.encrypted_key=a.encodeBuffer(m)}if(b){e.generatedHeader=b}}encrypt(e){const t=b[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new d("missing recipients")}t.validate(this._protected,this._unprotected,this._aad,this._recipients);let i=y(this._protected,this._unprotected,this._recipients,false,this._protected?this._protected.crit:undefined);if(!i){i="A128CBC-HS256";if(this._protected){this._protected.enc=i}else{this._protected={enc:i}}}const r={};this._cek=g(i);for(const e of this._recipients){this[S](e)}const o=s(i);r.iv=a.encodeBuffer(o);if(this._recipients.length===1&&this._recipients[0].generatedHeader){const[{generatedHeader:e}]=this._recipients;delete this._recipients[0].generatedHeader;this._protected={...this._protected,...e}}if(this._protected){r.protected=a.JSON.encode(this._protected)}r.unprotected=this._unprotected;let u;if(this._aad){r.aad=a.encode(this._aad);u=Buffer.concat([Buffer.from(r.protected||""),Buffer.from("."),Buffer.from(r.aad)])}else{u=Buffer.from(r.protected||"")}let c=this._cleartext;if(this._protected&&"zip"in this._protected){c=n(c)}const{ciphertext:l,tag:p}=m(i,this._cek,c,{iv:o,aad:u});r.tag=a.encodeBuffer(p);r.ciphertext=a.encodeBuffer(l);return t(r,this._recipients)}}e.exports=Encrypt},15242:(e,t,i)=>{const{randomBytes:n}=i(76417);const{createSecretKey:r}=i(98921);const{KEYLENGTHS:s}=i(15501);const a=i(50504);e.exports=(e=>{const t=s.get(e);if(!t){return new a({type:"secret"})}return new a(r(n(t/8)),{use:"enc",alg:e})})},72851:(e,t,i)=>{const n=i(19094);const r=i(73607);const s=(e,t,i,r,s,a)=>{return new n(t,r,s,a).recipient(i).encrypt(e)};e.exports.Encrypt=n;e.exports.encrypt=s.bind(undefined,"compact");e.exports.encrypt.flattened=s.bind(undefined,"flattened");e.exports.encrypt.general=s.bind(undefined,"general");e.exports.decrypt=r},5348:(e,t,i)=>{const n=i(41805);let r=i(530);const{JWEInvalid:s}=i(52973);r=r.bind(undefined,s);const a=(e,[t])=>{return`${e.protected}.${t.encrypted_key}.${e.iv}.${e.ciphertext}.${e.tag}`};a.validate=((e,t,i,{0:{header:n},length:a})=>{if(a!==1||i||t||n){throw new s("JWE Compact Serialization doesn't support multiple recipients, JWE unprotected headers or AAD")}r(e,t,e?e.crit:undefined)});const o=(e,[t])=>{const{header:i,encrypted_key:n}=t;return{...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,...i?{header:i}:undefined,...n?{encrypted_key:n}:undefined,...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag}};o.validate=((e,t,i,{0:{header:n},length:a})=>{if(a!==1){throw new s("Flattened JWE JSON Serialization doesn't support multiple recipients")}r(e,{...t,...n},e?e.crit:undefined)});const u=(e,t)=>{const i={...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,recipients:t.map(({header:e,encrypted_key:t,generatedHeader:i})=>{if(!e&&!t&&!i){return false}return{...e||i?{header:{...e,...i}}:undefined,...t?{encrypted_key:t}:undefined}}).filter(Boolean),...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag};if(!i.recipients.length){delete i.recipients}return i};u.validate=((e,t,i,n)=>{n.forEach(({header:i})=>{r(e,{...i,...t},e?e.crit:undefined)})});const c=e=>{return n(e)&&typeof e.ciphertext==="string"&&typeof e.iv==="string"&&typeof e.tag==="string"&&(e.unprotected===undefined||n(e.unprotected))&&(e.protected===undefined||typeof e.protected==="string")&&(e.aad===undefined||typeof e.aad==="string")};const l=e=>{return(e.encrypted_key===undefined||typeof e.encrypted_key==="string")&&(e.header===undefined||n(e.header))};const p=e=>{return n(e)&&typeof e.encrypted_key==="string"&&(e.header===undefined||n(e.header))};const d=e=>{if(Array.isArray(e.recipients)&&e.recipients.every(p)){return true}return false};const f=e=>{if(typeof e==="string"&&e.split(".").length===5){return"compact"}if(c(e)){if(d(e)){return"general"}if(l(e)){return"flattened"}}throw new s("JWE malformed or invalid serialization")};e.exports={compact:a,flattened:o,general:u,detect:f}},46904:(e,t,i)=>{const n=i(29024);const r=i(73385);let s=i(530);const{JWEInvalid:a,JOSENotSupported:o}=i(52973);s=s.bind(undefined,a);e.exports=((e,t,i,u,c)=>{if(typeof e==="string"){try{e=r.JSON.decode(e)}catch(e){throw new a("could not parse JWE protected header")}}let l=[];const p=new Set;if(!n(e,t)||!i.every(({header:i})=>{if(typeof i==="object"){l.push(i.alg);p.add(i.enc)}const r={...t,...i};s(e,r,c);if("zip"in r){throw new a('"zip" Header Parameter MUST be integrity protected')}else if(e&&"zip"in e&&e.zip!=="DEF"){throw new o('only "DEF" compression algorithm is supported')}return n(i,e)&&n(i,t)})){throw new a("JWE Shared Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}if(typeof e==="object"){l.push(e.alg);p.add(e.enc)}if(typeof t==="object"){l.push(t.alg);p.add(t.enc)}l=l.filter(Boolean);p.delete(undefined);if(i.length!==1){if(l.includes("dir")||l.includes("ECDH-ES")){throw new a("dir and ECDH-ES alg may only be used with a single recipient")}}if(u){if(l.length!==i.length){throw new a("missing Key Management algorithm")}if(p.size===0){throw new a("missing Content Encryption algorithm")}else if(p.size!==1){throw new a("there must only be one Content Encryption algorithm")}}else{if(p.size>1){throw new a("there must only be one Content Encryption algorithm")}}return[...p][0]})},39377:(e,t,i)=>{const n=i(52973);const r=i(13468);const s=i(73242);const a=i(53426);const o=i(24510);const u=i(50504);const c=async(e,t,i,c=true)=>{switch(e){case"RSA":return r(await s.generate(t,c),i);case"EC":return r(await a.generate(t,c),i);case"OKP":return r(await o.generate(t,c),i);case"oct":return r(await u.generate(t,c),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};const l=(e,t,i,c=true)=>{switch(e){case"RSA":return r(s.generateSync(t,c),i);case"EC":return r(a.generateSync(t,c),i);case"OKP":return r(o.generateSync(t,c),i);case"oct":return r(u.generateSync(t,c),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};e.exports.generate=c;e.exports.generateSync=l},13468:(e,t,i)=>{const{createPublicKey:n,createPrivateKey:r,createSecretKey:s,KeyObject:a}=i(98921);const o=i(73385);const u=i(41805);const{jwkToPem:c}=i(69693);const l=i(52973);const p=i(73242);const d=i(53426);const f=i(24510);const h=i(50504);const m=new Set(["string","buffer","object"]);const b=(e={},t={})=>{return{alg:t.alg,key_ops:t.key_ops,kid:t.kid,use:t.use,x5c:t.x5c,x5t:t.x5t,"x5t#S256":t["x5t#S256"],...e}};const g=/^[a-zA-Z0-9-]+ AAAA(?:[0-9A-Za-z+/])+(?:==|=)?(?: .*)?$/;const y=(e,t,{calculateMissingRSAPrimes:i=false}={})=>{let y,S,v;if(!m.has(typeof e)){throw new TypeError("key argument must be a string, buffer or an object")}if(t!==undefined&&!u(t)){throw new TypeError("parameters argument must be a plain object when provided")}if(e instanceof a){switch(e.type){case"private":y=e;break;case"public":S=e;break;case"secret":v=e;break}}else if(typeof e==="object"&&e&&"kty"in e&&e.kty==="oct"){try{v=s(o.decodeToBuffer(e.k))}catch(t){if(!("k"in e)){v={type:"secret"}}}t=b(t,e)}else if(typeof e==="object"&&e&&"kty"in e){({calculateMissingRSAPrimes:i=false}=t||{calculateMissingRSAPrimes:i});let s;try{s=c(e,{calculateMissingRSAPrimes:i})}catch(e){if(e instanceof l.JOSEError){throw e}}if(s&&e.d){y=r(s)}else if(s){S=n(s)}t=b({},e)}else if(e&&(typeof e==="object"||typeof e==="string")){try{y=r(e)}catch(e){if(e instanceof l.JOSEError){throw e}}try{S=n(e);if(e.startsWith("-----BEGIN CERTIFICATE-----")&&(!t||!("x5c"in t))){t=b(t,{x5c:[e.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,"")]})}}catch(e){if(e instanceof l.JOSEError){throw e}}try{if(!e.includes("-----BEGIN")&&!g.test(e.toString("ascii").replace(/[\r\n]/g,""))){v=s(Buffer.isBuffer(e)?e:Buffer.from(e))}}catch(e){}}const w=y||S||v;if(y||S){switch(w.asymmetricKeyType){case"rsa":return new p(w,t);case"ec":return new d(w,t);case"ed25519":case"ed448":case"x25519":case"x448":return new f(w,t);default:throw new l.JOSENotSupported("only RSA, EC and OKP asymmetric keys are supported")}}else if(v){return new h(w,t)}throw new l.JWKImportFailed("key import failed")};e.exports=y},67894:(e,t,i)=>{const n=i(57841);const r=i(98012);const s=i(84902);const a=i(303);const o=i(13468);const u=i(39377);e.exports={...u,asKey:o,isKey:e=>e instanceof n,None:r,EmbeddedJWK:s,EmbeddedX5C:a}},57841:(e,t,i)=>{const{strict:n}=i(42357);const{inspect:r}=i(31669);const{EOL:s}=i(12087);const{keyObjectSupported:a}=i(32457);const{createPublicKey:o}=i(98921);const{keyObjectToJWK:u}=i(69693);const{THUMBPRINT_MATERIAL:c,PUBLIC_MEMBERS:l,PRIVATE_MEMBERS:p,JWK_MEMBERS:d,KEYOBJECT:f,USES_MAPPING:h,OPS:m,USES:b}=i(15010);const g=i(41805);const y=i(82253);const S=i(52973);const v=Symbol("privateApi");const{JWK:w}=i(15501);class Key{constructor(e,{alg:t,use:i,kid:r,key_ops:u,x5c:l,x5t:p,"x5t#S256":d}={}){if(i!==undefined){if(typeof i!=="string"||!b.has(i)){throw new TypeError('`use` must be either "sig" or "enc" string when provided')}}if(t!==undefined){if(typeof t!=="string"||!t){throw new TypeError("`alg` must be a non-empty string when provided")}}if(r!==undefined){if(typeof r!=="string"||!r){throw new TypeError("`kid` must be a non-empty string when provided")}}if(u!==undefined){if(!Array.isArray(u)||!u.length||u.some(e=>typeof e!=="string")){throw new TypeError("`key_ops` must be a non-empty array of strings when provided")}u=Array.from(new Set(u)).filter(e=>m.has(e))}if(u&&i){if(i==="enc"&&u.some(e=>h.sig.has(e))||i==="sig"&&u.some(e=>h.enc.has(e))){throw new S.JWKInvalid('inconsistent JWK "use" and "key_ops"')}}if(a&&l!==undefined){if(!Array.isArray(l)||!l.length||l.some(e=>typeof e!=="string")){throw new TypeError("`x5c` must be an array of one or more PKIX certificates when provided")}l.forEach((t,i)=>{let r;try{r=o({key:`-----BEGIN CERTIFICATE-----${s}${(t.match(/.{1,64}/g)||[]).join(s)}${s}-----END CERTIFICATE-----`,format:"pem"})}catch(e){throw new S.JWKInvalid(`\`x5c\` member at index ${i} is not a valid base64-encoded DER PKIX certificate`)}if(i===0){try{n.deepEqual(r.export({type:"spki",format:"der"}),(e.type==="public"?e:o(e)).export({type:"spki",format:"der"}))}catch(e){throw new S.JWKInvalid("The key in the first `x5c` certificate MUST match the public key represented by the JWK")}}})}Object.defineProperties(this,{[f]:{value:g(e)?undefined:e},keyObject:{get(){if(!a){throw new S.JOSENotSupported("KeyObject class is not supported in your Node.js runtime version")}return this[f]}},type:{value:e.type},private:{value:e.type==="private"},public:{value:e.type==="public"},secret:{value:e.type==="secret"},alg:{value:t,enumerable:t!==undefined},use:{value:i,enumerable:i!==undefined},x5c:{enumerable:l!==undefined,...l?{get(){return[...l]}}:{value:undefined}},key_ops:{enumerable:u!==undefined,...u?{get(){return[...u]}}:{value:undefined}},kid:{enumerable:true,...r?{value:r}:{get(){Object.defineProperty(this,"kid",{value:this.thumbprint,configurable:false});return this.kid},configurable:true}},...l?{x5t:{enumerable:true,...p?{value:p}:{get(){Object.defineProperty(this,"x5t",{value:y.x5t(this.x5c[0]),configurable:false});return this.x5t},configurable:true}}}:undefined,...l?{"x5t#S256":{enumerable:true,...d?{value:d}:{get(){Object.defineProperty(this,"x5t#S256",{value:y["x5t#S256"](this.x5c[0]),configurable:false});return this["x5t#S256"]},configurable:true}}}:undefined,thumbprint:{get(){Object.defineProperty(this,"thumbprint",{value:y.kid(this[c]()),configurable:false});return this.thumbprint},configurable:true}})}toPEM(e=false,t={}){if(this.secret){throw new TypeError("symmetric keys cannot be exported as PEM")}if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const{type:i=(e?"pkcs8":"spki"),cipher:n,passphrase:r}=t;let s=this[f];if(!e){if(this.private){s=o(s)}if(n||r){throw new TypeError("cipher and passphrase can only be applied when exporting private keys")}}if(e){return s.export({format:"pem",type:i,cipher:n,passphrase:r})}return s.export({format:"pem",type:i})}toJWK(e=false){if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const t=[...this.constructor[e?p:l]].map(e=>[e,this[e]]);const i={};Object.keys(t).forEach(e=>{const[n,r]=t[e];i[n]=r});i.kty=this.kty;i.kid=this.kid;if(this.alg){i.alg=this.alg}if(this.key_ops&&this.key_ops.length){i.key_ops=this.key_ops}if(this.use){i.use=this.use}if(this.x5c){i.x5c=this.x5c}if(this.x5t){i.x5t=this.x5t}if(this["x5t#S256"]){i["x5t#S256"]=this["x5t#S256"]}return i}[d](){const e=this[f].type==="private"?this.constructor[p]:this.constructor[l];Object.defineProperties(this,[...e].reduce((t,i)=>{t[i]={get(){const t=u(this[f]);Object.defineProperties(this,Object.entries(t).filter(([t])=>e.has(t)).reduce((e,[t,i])=>{e[t]={value:i,enumerable:this.constructor[l].has(t),configurable:false};return e},{}));return this[i]},enumerable:this.constructor[l].has(i),configurable:true};return t},{}))}[r.custom](){return`${this.constructor.name} ${r(this.toJWK(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}[c](){throw new Error(`"[THUMBPRINT_MATERIAL]()" is not implemented on ${this.constructor.name}`)}algorithms(e,t,i){const{use:n=this.use,alg:r=this.alg,key_ops:s=this.key_ops}=t===v?i:{};if(r){return new Set(this.algorithms(e,v,{alg:null,use:n,key_ops:s}).has(r)?[r]:undefined)}if(typeof e==="symbol"){try{return this[e]()}catch(e){return new Set}}if(e&&s&&!s.includes(e)){return new Set}switch(e){case"decrypt":case"deriveKey":case"encrypt":case"sign":case"unwrapKey":case"verify":case"wrapKey":return new Set(Object.entries(w[this.kty][e]).map(([e,t])=>t(this)?e:undefined).filter(Boolean));case undefined:return new Set([...this.algorithms("sign"),...this.algorithms("verify"),...this.algorithms("decrypt"),...this.algorithms("encrypt"),...this.algorithms("unwrapKey"),...this.algorithms("wrapKey"),...this.algorithms("deriveKey")]);default:throw new TypeError("invalid key operation")}}static async generate(){throw new Error(`"static async generate()" is not implemented on ${this.name}`)}static generateSync(){throw new Error(`"static generateSync()" is not implemented on ${this.name}`)}static get[l](){throw new Error(`"static get [PUBLIC_MEMBERS]()" is not implemented on ${this.name}`)}static get[p](){throw new Error(`"static get [PRIVATE_MEMBERS]()" is not implemented on ${this.name}`)}}e.exports=Key},53426:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{EC_CURVES:d}=i(15501);const{keyObjectSupported:f}=i(32457);const{createPublicKey:h,createPrivateKey:m}=i(98921);const b=i(52973);const g=i(57841);const y=s(r);const S=new Set(["crv","x","y"]);Object.freeze(S);const v=new Set([...S,"d"]);Object.freeze(v);class ECKey extends g{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"EC",enumerable:true});if(!d.has(this.crv)){throw new b.JOSENotSupported("unsupported EC key curve")}}static get[u](){return S}static get[c](){return v}[a](){return{crv:this.crv,kty:"EC",x:this.x,y:this.y}}[p](){return this.algorithms("deriveKey")}[l](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="P-256",t=true){if(!d.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}let i,n;if(f){({privateKey:i,publicKey:n}=await y("ec",{namedCurve:e}));return t?i:n}({privateKey:i,publicKey:n}=await y("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(n)}}static generateSync(e="P-256",t=true){if(!d.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}let i,r;if(f){({privateKey:i,publicKey:r}=n("ec",{namedCurve:e}));return t?i:r}({privateKey:i,publicKey:r}=n("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(r)}}}e.exports=ECKey},84902:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class EmbeddedJWK extends r{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.JWK {}"}algorithms(){return new Set}}e.exports=new EmbeddedJWK},303:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class EmbeddedX5C extends r{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.X5C {}"}algorithms(){return new Set}}e.exports=new EmbeddedX5C},98012:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class NoneKey extends r{constructor(){super({type:"unsecured"},{alg:"none"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"None {}"}algorithms(e){switch(e){case"sign":case"verify":case undefined:return new Set(["none"]);default:return new Set}}}e.exports=new NoneKey},50504:(e,t,i)=>{const{randomBytes:n}=i(76417);const{createSecretKey:r}=i(98921);const s=i(73385);const{THUMBPRINT_MATERIAL:a,PUBLIC_MEMBERS:o,PRIVATE_MEMBERS:u,KEY_MANAGEMENT_DECRYPT:c,KEY_MANAGEMENT_ENCRYPT:l,KEYOBJECT:p}=i(15010);const d=i(57841);const f=new Set;Object.freeze(f);const h=new Set(["k"]);Object.freeze(h);class OctKey extends d{constructor(...e){super(...e);Object.defineProperties(this,{kty:{value:"oct",enumerable:true},length:{value:this[p]?this[p].symmetricKeySize*8:undefined},k:{enumerable:false,get(){if(this[p]){Object.defineProperty(this,"k",{value:s.encodeBuffer(this[p].export()),configurable:false})}else{Object.defineProperty(this,"k",{value:undefined,configurable:false})}return this.k},configurable:true}})}static get[o](){return f}static get[u](){return h}[a](){if(!this[p]){throw new TypeError('reference "oct" keys without "k" cannot have their thumbprint calculated')}return{k:this.k,kty:"oct"}}[l](){return new Set([...this.algorithms("wrapKey"),...this.algorithms("deriveKey")])}[c](){return this[l]()}algorithms(...e){if(!this[p]){return new Set}return d.prototype.algorithms.call(this,...e)}static async generate(...e){return this.generateSync(...e)}static generateSync(e=256,t=true){if(!t){throw new TypeError('"oct" keys cannot be generated as public')}if(!Number.isSafeInteger(e)||!e||e%8!==0){throw new TypeError("invalid bit length")}return r(n(e/8))}}e.exports=OctKey},24510:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{OKP_CURVES:d}=i(15501);const{edDSASupported:f}=i(32457);const h=i(52973);const m=i(57841);const b=s(r);const g=new Set(["crv","x"]);Object.freeze(g);const y=new Set([...g,"d"]);Object.freeze(y);class OKPKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"OKP",enumerable:true});if(!d.has(this.crv)){throw new h.JOSENotSupported("unsupported OKP key curve")}}static get[u](){return g}static get[c](){return y}[a](){return{crv:this.crv,kty:"OKP",x:this.x}}[p](){return this.algorithms("deriveKey")}[l](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!d.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:n}=await b(e.toLowerCase());return t?i:n}static generateSync(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!d.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:r}=n(e.toLowerCase());return t?i:r}}e.exports=OKPKey},73242:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{keyObjectSupported:d}=i(32457);const{createPublicKey:f,createPrivateKey:h}=i(98921);const m=i(57841);const b=s(r);const g=new Set(["e","n"]);Object.freeze(g);const y=new Set([...g,"d","p","q","dp","dq","qi"]);Object.freeze(y);class RSAKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperties(this,{kty:{value:"RSA",enumerable:true},length:{get(){Object.defineProperty(this,"length",{value:Buffer.byteLength(this.n,"base64")*8,configurable:false});return this.length},configurable:true}})}static get[u](){return g}static get[c](){return y}[a](){return{e:this.e,kty:"RSA",n:this.n}}[p](){return this.algorithms("wrapKey")}[l](){return this.algorithms("unwrapKey")}static async generate(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,n;if(d){({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e}));return t?i:n}({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(n)}}static generateSync(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,r;if(d){({privateKey:i,publicKey:r}=n("rsa",{modulusLength:e}));return t?i:r}({privateKey:i,publicKey:r}=n("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(r)}}}e.exports=RSAKey},82253:(e,t,i)=>{const{createHash:n}=i(76417);const r=i(73385);const s=(e,t)=>r.encodeBuffer(n(e).update(Buffer.from(t,"base64")).digest());e.exports.kid=(e=>r.encodeBuffer(n("sha256").update(JSON.stringify(e)).digest()));e.exports.x5t=s.bind(undefined,"sha1");e.exports["x5t#S256"]=s.bind(undefined,"sha256")},42896:(e,t,i)=>{const n=i(24998);e.exports=n},24998:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(41805);const{generate:s,generateSync:a}=i(39377);const{USES_MAPPING:o}=i(15010);const{isKey:u,asKey:c}=i(67894);const l=(e,{alg:t,use:i,ops:n})=>{let r=0;if(t&&e.alg){r++}if(i&&e.use){r++}if(n&&e.key_ops){r++}return r};class KeyStore{constructor(...e){while(e.some(Array.isArray)){e=e.flat?e.flat():e.reduce((e,t)=>{if(Array.isArray(t)){return[...e,...t]}e.push(t);return e},[])}if(e.some(e=>!u(e)||!e.kty)){throw new TypeError("all keys must be instances of a key instantiated by JWK.asKey")}this._keys=new Set(e)}all({alg:e,kid:t,thumbprint:i,use:n,kty:r,key_ops:s,x5t:a,"x5t#S256":u,crv:c}={}){if(s!==undefined&&(!Array.isArray(s)||!s.length||s.some(e=>typeof e!=="string"))){throw new TypeError("`key_ops` must be a non-empty array of strings")}const p={alg:e,use:n,ops:s};return[...this._keys].filter(l=>{let p=true;if(p&&t!==undefined&&l.kid!==t){p=false}if(p&&i!==undefined&&l.thumbprint!==i){p=false}if(p&&a!==undefined&&l.x5t!==a){p=false}if(p&&u!==undefined&&l["x5t#S256"]!==u){p=false}if(p&&r!==undefined&&l.kty!==r){p=false}if(p&&c!==undefined&&l.crv!==c){p=false}if(e!==undefined&&!l.algorithms().has(e)){p=false}if(p&&n!==undefined&&(l.use!==undefined&&l.use!==n)){p=false}if(p&&s!==undefined&&(l.key_ops!==undefined||l.use!==undefined)){let e;if(l.key_ops){e=new Set(l.key_ops)}else{e=o[l.use]}if(s.some(t=>!e.has(t))){p=false}}return p}).sort((e,t)=>l(t,p)-l(e,p))}get(...e){return this.all(...e)[0]}add(e){if(!u(e)||!e.kty){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.add(e)}remove(e){if(!u(e)){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.delete(e)}toJWKS(e=false){return{keys:[...this._keys.values()].map(t=>t.toJWK(e&&(t.private||t.secret&&t.k)))}}async generate(...e){this._keys.add(await s(...e))}generateSync(...e){this._keys.add(a(...e))}get size(){return this._keys.size}[n.custom](){return`${this.constructor.name} ${n(this.toJWKS(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}*[Symbol.iterator](){for(const e of this._keys){yield e}}}function asKeyStore(e,{ignoreErrors:t=false,calculateMissingRSAPrimes:i=false}={}){if(!r(e)||!Array.isArray(e.keys)||e.keys.some(e=>!r(e)||!("kty"in e))){throw new TypeError("jwks must be a JSON Web Key Set formatted object")}const n=e.keys.map(e=>{try{return c(e,{calculateMissingRSAPrimes:i})}catch(e){if(!t){throw e}return undefined}}).filter(Boolean);return new KeyStore(...n)}e.exports={KeyStore:KeyStore,asKeyStore:asKeyStore}},36518:(e,t,i)=>{const n=i(1728);const{verify:r}=i(39835);const s=(e,t,i,r,s)=>{return new n(t).recipient(i,r,s).sign(e)};e.exports.Sign=n;e.exports.sign=s.bind(undefined,"compact");e.exports.sign.flattened=s.bind(undefined,"flattened");e.exports.sign.general=s.bind(undefined,"general");e.exports.verify=r},28104:(e,t,i)=>{const n=i(41805);let r=i(530);const{JWSInvalid:s}=i(52973);r=r.bind(undefined,s);const a=(e,[t])=>{return`${t.protected}.${e}.${t.signature}`};a.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1||t){throw new s("JWS Compact Serialization doesn't support multiple recipients or JWS unprotected headers")}r(i,t,i?i.crit:undefined)});const o=(e,[t])=>{const{header:i,signature:n,protected:r}=t;return{payload:e,...r?{protected:r}:undefined,...i?{header:i}:undefined,signature:n}};o.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1){throw new s("Flattened JWS JSON Serialization doesn't support multiple recipients")}r(i,t,i?i.crit:undefined)});const u=(e,t)=>{return{payload:e,signatures:t.map(({header:e,signature:t,protected:i})=>{return{...i?{protected:i}:undefined,...e?{header:e}:undefined,signature:t}})}};u.validate=((e,t)=>{let i=false;t.forEach(({protectedHeader:e,unprotectedHeader:t})=>{if(e&&!i&&"b64"in e){i=true}r(e,t,e?e.crit:undefined)});if(i){const e=t.map(({protectedHeader:e})=>e&&e.b64);if(!e.every((e,t,[i])=>e===i)){throw new s('the "b64" Header Parameter value MUST be the same for all recipients')}}});const c=e=>{return n(e)&&(typeof e.payload==="string"||Buffer.isBuffer(e.payload))};const l=e=>{return n(e)&&typeof e.signature==="string"&&(e.header===undefined||n(e.header))&&(e.protected===undefined||typeof e.protected==="string")};const p=e=>{if(Array.isArray(e.signatures)&&e.signatures.every(l)){return true}return false};const d=e=>{if(typeof e==="string"&&e.split(".").length===3){return"compact"}if(c(e)){if(p(e)){return"general"}if(l(e)){return"flattened"}}throw new s("JWS malformed or invalid serialization")};e.exports={compact:a,flattened:o,general:u,detect:d}},1728:(e,t,i)=>{const n=i(73385);const r=i(29024);const s=i(41805);const a=i(43653);const{JWSInvalid:o}=i(52973);const{sign:u}=i(50191);const c=i(31308);const l=i(28104);const p=Symbol("PROCESS_RECIPIENT");class Sign{constructor(e){if(typeof e==="string"){e=n.encode(e)}else if(Buffer.isBuffer(e)){e=n.encodeBuffer(e);this._binary=true}else if(s(e)){e=n.JSON.encode(e)}else{throw new TypeError("payload argument must be a Buffer, string or an object")}this._payload=e;this._recipients=[]}recipient(e,t,i){e=c(e);if(t!==undefined&&!s(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(i!==undefined&&!s(i)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}if(!r(t,i)){throw new o("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}this._recipients.push({key:e,protectedHeader:t?a(t):undefined,unprotectedHeader:i?a(i):undefined});return this}[p](e,t){const{key:i,protectedHeader:r,unprotectedHeader:s}=e;if(i.use==="enc"){throw new TypeError('a key with "use":"enc" is not usable for signing')}const a={protected:r||{},unprotected:s||{}};let c=a.protected.alg||a.unprotected.alg;if(!c){c=i.alg||[...i.algorithms("sign")][0];if(e.protectedHeader){a.protected.alg=e.protectedHeader.alg=c}else{a.protected=e.protectedHeader={alg:c}}}if(!c){throw new o('could not resolve a usable "alg" for a recipient')}e.header=s;e.protected=Object.keys(a.protected).length?n.JSON.encode(a.protected):"";if(t&&a.protected.crit&&a.protected.crit.includes("b64")&&a.protected.b64===false){if(this._binary){this._payload=n.decodeToBuffer(this._payload)}else{this._payload=n.decode(this._payload)}}const l=Buffer.concat([Buffer.from(e.protected||""),Buffer.from("."),Buffer.from(this._payload)]);e.signature=n.encodeBuffer(u(c,i,l))}sign(e){const t=l[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new o("missing recipients")}t.validate(this,this._recipients);this._recipients.forEach((e,t)=>{this[p](e,t===0)});return t(this._payload,this._recipients)}}e.exports=Sign},39835:(e,t,i)=>{const{EOL:n}=i(12087);const r=i(73385);const s=i(29024);const a=i(41805);let o=i(530);const u=i(31308);const{KeyStore:c}=i(42896);const l=i(52973);const{check:p,verify:d}=i(50191);const f=i(67894);const{detect:h}=i(28104);o=o.bind(undefined,l.JWSInvalid);const m=new Set(["compact","flattened","preparsed"]);const b=(e,t,i,g,{crit:y=[],complete:S=false,algorithms:v}={})=>{g=u(g,true);if(v!==undefined&&(!Array.isArray(v)||v.some(e=>typeof e!=="string"||!e))){throw new TypeError('"algorithms" option must be an array of non-empty strings')}else if(v){v=new Set(v)}if(!Array.isArray(y)||y.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=h(i)}let w;let j;let z;let O;let k;if(t==="general"&&i.signatures.length===1){t="flattened";const{signatures:e,...n}=i;i={...n,...e[0]}}let C;if(m.has(t)){let u={};switch(t){case"compact":[w,z,O]=i.split(".");break;case"flattened":({protected:w,payload:z,signature:O,header:j}=i);break;case"preparsed":{({decoded:C}=i);[w,z,O]=i.token.split(".");break}}if(!j){e=true}if(C){u=C.header}else if(w){try{u=r.JSON.decode(w)}catch(e){throw new l.JWSInvalid("could not parse JWS protected header")}}else{e=e||true}if(!e&&!s(u,j)){throw new l.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const h={...u,...j};o(u,j,y);k=u.alg||j&&j.alg;if(!k){throw new l.JWSInvalid("missing JWS signature algorithm")}else if(v&&!v.has(k)){throw new l.JOSEAlgNotWhitelisted("alg not whitelisted")}if(g instanceof c){const e=g;const n=e.all({kid:h.kid,alg:h.alg,key_ops:["verify"]});switch(n.length){case 0:throw new l.JWKSNoMatchingKey;case 1:g=n[0];break;default:{const e=[];for(const r of n){try{return b(true,t,i,r,{crit:y,complete:S,algorithms:v?[...v]:undefined})}catch(t){e.push(t);continue}}const r=new l.JOSEMultiError(e);if([...r].some(e=>e instanceof l.JWSVerificationFailed)){throw new l.JWSVerificationFailed}throw r}}}if(g===f.EmbeddedJWK){if(!a(h.jwk)){throw new l.JWSInvalid('JWS Header Parameter "jwk" must be a JSON object')}g=f.asKey(h.jwk);if(g.type!=="public"){throw new l.JWSInvalid('JWS Header Parameter "jwk" must be a public key')}}else if(g===f.EmbeddedX5C){if(!Array.isArray(h.x5c)||!h.x5c.length||h.x5c.some(e=>typeof e!=="string"||!e)){throw new l.JWSInvalid('JWS Header Parameter "x5c" must be a JSON array of certificate value strings')}g=f.asKey(`-----BEGIN CERTIFICATE-----${n}${(h.x5c[0].match(/.{1,64}/g)||[]).join(n)}${n}-----END CERTIFICATE-----`,{x5c:h.x5c})}p(g,"verify",k);const m=Buffer.concat([Buffer.from(w||""),Buffer.from("."),Buffer.isBuffer(z)?z:Buffer.from(z)]);if(!d(k,g,m,r.decodeToBuffer(O))){throw new l.JWSVerificationFailed}if(h.b64===false){z=Buffer.from(z)}else{z=r.decodeToBuffer(z)}if(S){const e={payload:z,key:g};if(w)e.protected=u;if(j)e.header=j;return e}return z}const{signatures:T,..._}=i;const A=[];for(const e of T){try{return b(false,"flattened",{..._,...e},g,{crit:y,complete:S,algorithms:v?[...v]:undefined})}catch(e){A.push(e);continue}}const E=new l.JOSEMultiError(A);if([...E].some(e=>e instanceof l.JWSVerificationFailed)){throw new l.JWSVerificationFailed}else if([...E].every(e=>e instanceof l.JWKSNoMatchingKey)){throw new l.JWKSNoMatchingKey}throw E};e.exports={bare:b,verify:b.bind(undefined,false,undefined)}},6743:(e,t,i)=>{const n=i(73385);const r=i(52973);e.exports=((e,{complete:t=false}={})=>{if(typeof e!=="string"||!e){throw new TypeError("JWT must be a string")}const{0:i,1:s,2:a,length:o}=e.split(".");if(o===5){throw new TypeError("encrypted JWTs cannot be decoded")}if(o!==3){throw new r.JWTMalformed("JWTs must have three components")}try{const e={header:n.JSON.decode(i),payload:n.JSON.decode(s),signature:a};return t?e:e.payload}catch(e){throw new r.JWTMalformed("JWT is malformed")}})},18138:(e,t,i)=>{const n=i(6743);const r=i(86703);const s=i(44856);const a=i(39547);e.exports={sign:r,verify:s,...a};Object.defineProperty(e.exports,"decode",{enumerable:false,configurable:true,value:n})},39547:(e,t,i)=>{const{JWTClaimInvalid:n}=i(52973);const r=i(97305);const s=i(47396);const a=i(41805);const o=i(44856);const{isString:u,isRequired:c,isTimestamp:l,isStringOrArrayOfStrings:p}=i(23951);const d=c.bind(undefined,n);const f=u.bind(undefined,n);const h=u.bind(undefined,TypeError);const m=(e,t,i,n)=>{Object.defineProperty(e,t,{enumerable:true,configurable:true,value(...r){process.emitWarning(`The ${i} API implements an IETF draft. Breaking draft implementations are included as minor versions of the jose library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.`,"DraftWarning");Object.defineProperty(e,t,{enumerable:true,configurable:true,value:n});return e[t](...r)}})};const b=(e,t)=>{if(!a(e)){throw new TypeError("options must be an object")}if(!e.issuer){throw new TypeError(`"issuer" option is required to validate ${t}`)}if(!e.audience){throw new TypeError(`"audience" option is required to validate ${t}`)}};e.exports={IdToken:{verify:(e,t,i={})=>{b(i,"an ID Token");if("maxAuthAge"in i){h(i.maxAuthAge,"options.maxAuthAge")}if("nonce"in i){h(i.nonce,"options.nonce")}const a=s(i.now||new Date);const u=o(e,t,{...i});const c=i.complete?u.payload:u;if(Array.isArray(c.aud)&&c.aud.length>1){d(c.azp,'"azp" claim',"azp")}d(c.iat,'"iat" claim',"iat");d(c.sub,'"sub" claim',"sub");d(c.exp,'"exp" claim',"exp");l(c.auth_time,"auth_time",!!i.maxAuthAge);f(c.nonce,'"nonce" claim',"nonce",!!i.nonce);f(c.acr,'"acr" claim',"acr");p(c.amr,"amr");if(i.nonce&&c.nonce!==i.nonce){throw new n('unexpected "nonce" claim value',"nonce","check_failed")}const m=i.clockTolerance?r(i.clockTolerance):0;if(i.maxAuthAge){const e=r(i.maxAuthAge);if(c.auth_time+e1&&c.azp!==i.audience){throw new n('unexpected "azp" claim value',"azp","check_failed")}return u}},LogoutToken:{},AccessToken:{}};m(e.exports.LogoutToken,"verify","jose.JWT.LogoutToken.verify",(e,t,i={})=>{b(i,"a Logout Token");const r=o(e,t,{...i});const s=i.complete?r.payload:r;d(s.iat,'"iat" claim',"iat");d(s.jti,'"jti" claim',"jti");f(s.sid,'"sid" claim',"sid");if(!("sid"in s)&&!("sub"in s)){throw new n('either "sid" or "sub" (or both) claims must be present')}if("nonce"in s){throw new n('"nonce" claim is prohibited',"nonce","prohibited")}if(!("events"in s)){throw new n('"events" claim is missing',"events","missing")}if(!a(s.events)){throw new n('"events" claim must be an object',"events","invalid")}if(!("http://schemas.openid.net/event/backchannel-logout"in s.events)){throw new n('"http://schemas.openid.net/event/backchannel-logout" member is missing in the "events" claim',"events","invalid")}if(!a(s.events["http://schemas.openid.net/event/backchannel-logout"])){throw new n('"http://schemas.openid.net/event/backchannel-logout" member in the "events" claim must be an object',"events","invalid")}return r});m(e.exports.AccessToken,"verify","jose.JWT.AccessToken.verify",(e,t,i={})=>{b(i,"a JWT Access Token");h(i.maxAuthAge,"options.maxAuthAge");const a=s(i.now||new Date);const u="at+JWT";const c=o(e,t,{...i,typ:u});const m=i.complete?c.payload:c;d(m.iat,'"iat" claim',"iat");d(m.exp,'"exp" claim',"exp");d(m.sub,'"sub" claim',"sub");d(m.jti,'"jti" claim',"jti");f(m.client_id,'"client_id" claim',"client_id",true);l(m.auth_time,"auth_time",!!i.maxAuthAge);f(m.acr,'"acr" claim',"acr");p(m.amr,"amr");const g=i.clockTolerance?r(i.clockTolerance):0;if(i.maxAuthAge){const e=r(i.maxAuthAge);if(m.auth_time+e{const{JWTClaimInvalid:n}=i(52973);const r=e=>typeof e!=="string"||e.length===0;const s=e=>!Array.isArray(e)||e.length===0||e.some(r);const a=(e,t,i,n)=>{if(t===undefined){throw new e(`${i} is missing`,n,"missing")}};const o=(e,t,i,n,s=false)=>{if(s){a(e,t,i,n)}if(t!==undefined&&r(t)){throw new e(`${i} must be a string`,n,"invalid")}};const u=(e,t,i=false)=>{if(i&&e===undefined){throw new n(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&typeof e!=="number"){throw new n(`"${t}" claim must be a JSON numeric value`,t,"invalid")}};const c=(e,t,i=false)=>{if(i&&e===undefined){throw new n(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&(r(e)&&s(e))){throw new n(`"${t}" claim must be a string or array of strings`,t,"invalid")}};e.exports={isNotArrayOfStrings:s,isRequired:a,isNotString:r,isString:o,isTimestamp:u,isStringOrArrayOfStrings:c}},86703:(e,t,i)=>{const n=i(41805);const r=i(97305);const s=i(47396);const a=i(31308);const o=i(36518);const u=i(23951).isString.bind(undefined,TypeError);const c=e=>{if(typeof e.iat!=="boolean"){throw new TypeError("options.iat must be a boolean")}if(typeof e.kid!=="boolean"){throw new TypeError("options.kid must be a boolean")}u(e.subject,"options.subject");u(e.issuer,"options.issuer");if(e.audience!==undefined&&((typeof e.audience!=="string"||!e.audience)&&(!Array.isArray(e.audience)||e.audience.length===0||e.audience.some(e=>!e||typeof e!=="string")))){throw new TypeError("options.audience must be a string or an array of strings")}if(!n(e.header)){throw new TypeError("options.header must be an object")}u(e.algorithm,"options.algorithm");u(e.expiresIn,"options.expiresIn");u(e.notBefore,"options.notBefore");u(e.jti,"options.jti");if(e.now!==undefined&&(!(e.now instanceof Date)||!e.now.getTime())){throw new TypeError("options.now must be a valid Date object")}};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithm:u,audience:l,expiresIn:p,header:d={},iat:f=true,issuer:h,jti:m,kid:b=true,notBefore:g,subject:y,now:S}=i;c({algorithm:u,audience:l,expiresIn:p,header:d,iat:f,issuer:h,jti:m,kid:b,notBefore:g,now:S,subject:y});if(!n(e)){throw new TypeError("payload must be an object")}let v;if(p||g||f){v=s(S||new Date)}e={...e,sub:y||e.sub,aud:l||e.aud,iss:h||e.iss,jti:m||e.jti,iat:f?v:e.iat,exp:p?v+r(p):e.exp,nbf:g?v+r(g):e.nbf};t=a(t);let w;if(typeof i.kid==="boolean"){w=b}else{w=!t.secret}return o.sign(JSON.stringify(e),t,{...d,alg:u||d.alg,kid:w?t.kid:d.kid})})},44856:(e,t,i)=>{const n=i(41805);const r=i(47396);const s=i(97305);const a=i(31308);const{bare:o}=i(39835);const{JWTClaimInvalid:u,JWTExpired:c}=i(52973);const{isString:l,isNotString:p,isNotArrayOfStrings:d,isTimestamp:f,isStringOrArrayOfStrings:h}=i(23951);const m=i(6743);const b=l.bind(undefined,u);const g=l.bind(undefined,TypeError);const y=e=>e.toLowerCase().replace(/^application\//,"");const S=({algorithms:e,audience:t,clockTolerance:i,complete:n=false,crit:r,ignoreExp:s=false,ignoreIat:a=false,ignoreNbf:o=false,issuer:u,jti:c,maxTokenAge:l,now:f=new Date,subject:h,typ:m})=>{if(typeof n!=="boolean"){throw new TypeError("options.complete must be a boolean")}if(typeof s!=="boolean"){throw new TypeError("options.ignoreExp must be a boolean")}if(typeof o!=="boolean"){throw new TypeError("options.ignoreNbf must be a boolean")}if(typeof a!=="boolean"){throw new TypeError("options.ignoreIat must be a boolean")}g(l,"options.maxTokenAge");g(h,"options.subject");g(c,"options.jti");g(i,"options.clockTolerance");g(m,"options.typ");if(u!==undefined&&(p(u)&&d(u))){throw new TypeError("options.issuer must be a string or an array of strings")}if(t!==undefined&&(p(t)&&d(t))){throw new TypeError("options.audience must be a string or an array of strings")}if(e!==undefined&&d(e)){throw new TypeError("options.algorithms must be an array of strings")}if(!(f instanceof Date)||!f.getTime()){throw new TypeError("options.now must be a valid Date object")}if(a&&l!==undefined){throw new TypeError("options.ignoreIat and options.maxTokenAge cannot used together")}if(r!==undefined&&d(r)){throw new TypeError("options.crit must be an array of strings")}return{algorithms:e,audience:t,clockTolerance:i,complete:n,crit:r,ignoreExp:s,ignoreIat:a,ignoreNbf:o,issuer:u,jti:c,maxTokenAge:l,now:f,subject:h,typ:m}};const v=({header:e,payload:t},i)=>{b(e.alg,'"alg" header parameter',"alg",true);f(t.iat,"iat",!!i.maxTokenAge);f(t.exp,"exp");f(t.nbf,"nbf");b(t.jti,'"jti" claim',"jti",!!i.jti);h(t.iss,"iss",!!i.issuer);b(t.sub,'"sub" claim',"sub",!!i.subject);h(t.aud,"aud",!!i.audience);b(e.typ,'"typ" header parameter',"typ",!!i.typ)};const w=(e,t)=>{if(typeof e==="string"){return t.includes(e)}e=new Set(e);return t.some(Set.prototype.has.bind(e))};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithms:l,audience:p,clockTolerance:d,complete:f,crit:h,ignoreExp:b,ignoreIat:g,ignoreNbf:j,issuer:z,jti:O,maxTokenAge:k,now:C,subject:T,typ:_}=i=S(i);const A=m(e,{complete:true});t=a(t,true);if(f){({key:t}=o(true,"preparsed",{decoded:A,token:e},t,{crit:h,algorithms:l,complete:true}));A.key=t}else{o(true,"preparsed",{decoded:A,token:e},t,{crit:h,algorithms:l})}const E=r(C);v(A,i);if(z&&(typeof A.payload.iss!=="string"||!(typeof z==="string"?[z]:z).includes(A.payload.iss))){throw new u('unexpected "iss" claim value',"iss","check_failed")}if(T&&A.payload.sub!==T){throw new u('unexpected "sub" claim value',"sub","check_failed")}if(O&&A.payload.jti!==O){throw new u('unexpected "jti" claim value',"jti","check_failed")}if(p&&!w(A.payload.aud,typeof p==="string"?[p]:p)){throw new u('unexpected "aud" claim value',"aud","check_failed")}if(_&&y(A.header.typ)!==y(_)){throw new u('unexpected "typ" JWT header value',"typ","check_failed")}const R=d?s(d):0;if(!g&&!("exp"in A.payload)&&"iat"in A.payload&&A.payload.iat>E+R){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}if(!j&&"nbf"in A.payload&&A.payload.nbf>E+R){throw new u('"nbf" claim timestamp check failed',"nbf","check_failed")}if(!b&&"exp"in A.payload&&A.payload.exp<=E-R){throw new c('"exp" claim timestamp check failed',"exp","check_failed")}if(k){const e=E-A.payload.iat;const t=s(k);if(e-R>t){throw new c('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed")}if(e<0-R){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}}return f?A:A.payload})},30760:(e,t,i)=>{const{getCurves:n}=i(76417);const r=new Set;if(n().includes("prime256v1")){r.add("P-256")}if(n().includes("secp256k1")){r.add("secp256k1")}if(n().includes("secp384r1")){r.add("P-384")}if(n().includes("secp521r1")){r.add("P-521")}e.exports=r},87168:e=>{e.exports=new Map},15501:(e,t,i)=>{const n=i(30760);const r=i(19805);const s=i(72430);const a=i(95942);const o=i(54358);const u=i(24720);const c=i(87168);e.exports={EC_CURVES:n,ECDH_DERIVE_LENGTHS:c,IVLENGTHS:r,JWA:s,JWK:a,KEYLENGTHS:o,OKP_CURVES:u}},19805:e=>{e.exports=new Map([["A128CBC-HS256",128],["A128GCM",96],["A128GCMKW",96],["A192CBC-HS384",128],["A192GCM",96],["A192GCMKW",96],["A256CBC-HS512",128],["A256GCM",96],["A256GCMKW",96]])},72430:e=>{e.exports={sign:new Map,verify:new Map,keyManagementEncrypt:new Map,keyManagementDecrypt:new Map,encrypt:new Map,decrypt:new Map}},95942:e=>{e.exports={oct:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},EC:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},RSA:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},OKP:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}}}},54358:e=>{e.exports=new Map([["A128CBC-HS256",256],["A128GCM",128],["A192CBC-HS384",384],["A192GCM",192],["A256CBC-HS512",512],["A256GCM",256]])},24720:e=>{const t=new Set(["Ed25519"]);if(!("electron"in process.versions)){t.add("Ed448");t.add("X25519");t.add("X448")}e.exports=t},21917:(e,t,i)=>{"use strict";var n=i(40916);e.exports=n},40916:(e,t,i)=>{"use strict";var n=i(45190);var r=i(73034);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=i(30967);e.exports.Schema=i(66514);e.exports.FAILSAFE_SCHEMA=i(66037);e.exports.JSON_SCHEMA=i(1571);e.exports.CORE_SCHEMA=i(92183);e.exports.DEFAULT_SAFE_SCHEMA=i(48949);e.exports.DEFAULT_FULL_SCHEMA=i(56874);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.safeLoad=n.safeLoad;e.exports.safeLoadAll=n.safeLoadAll;e.exports.dump=r.dump;e.exports.safeDump=r.safeDump;e.exports.YAMLException=i(65199);e.exports.MINIMAL_SCHEMA=i(66037);e.exports.SAFE_SCHEMA=i(48949);e.exports.DEFAULT_SCHEMA=i(56874);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},59136:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var i,n,r,s;if(t){s=Object.keys(t);for(i=0,n=s.length;i{"use strict";var n=i(59136);var r=i(65199);var s=i(56874);var a=i(48949);var o=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var c=9;var l=10;var p=13;var d=32;var f=33;var h=34;var m=35;var b=37;var g=38;var y=39;var S=42;var v=44;var w=45;var j=58;var z=61;var O=62;var k=63;var C=64;var T=91;var _=93;var A=96;var E=123;var R=124;var x=125;var N={};N[0]="\\0";N[7]="\\a";N[8]="\\b";N[9]="\\t";N[10]="\\n";N[11]="\\v";N[12]="\\f";N[13]="\\r";N[27]="\\e";N[34]='\\"';N[92]="\\\\";N[133]="\\N";N[160]="\\_";N[8232]="\\L";N[8233]="\\P";var V=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,t){var i,n,r,s,a,o,c;if(t===null)return{};i={};n=Object.keys(t);for(r=0,s=n.length;r0?e.charCodeAt(s-1):null;f=f&&isPlainSafe(a,o)}}else{for(s=0;sn&&e[d+1]!==" ";d=s}}else if(!isPrintable(a)){return D}o=s>0?e.charCodeAt(s-1):null;f=f&&isPlainSafe(a,o)}c=c||p&&(s-d-1>n&&e[d+1]!==" ")}if(!u&&!c){return f&&!r(e)?P:M}if(i>9&&needIndentIndicator(e)){return D}return c?I:B}function writeScalar(e,t,i,n){e.dump=function(){if(t.length===0){return"''"}if(!e.noCompatMode&&V.indexOf(t)!==-1){return"'"+t+"'"}var s=e.indent*Math.max(1,i);var a=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s);var o=n||e.flowLevel>-1&&i>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,o,e.indent,a,testAmbiguity)){case P:return t;case M:return"'"+t.replace(/'/g,"''")+"'";case B:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,s));case I:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,a),s));case D:return'"'+escapeString(t,a)+'"';default:throw new r("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var i=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var r=n&&(e[e.length-2]==="\n"||e==="\n");var s=r?"+":n?"":"-";return i+s+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var i=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;i.lastIndex=n;return foldLine(e.slice(0,n),t)}();var r=e[0]==="\n"||e[0]===" ";var s;var a;while(a=i.exec(e)){var o=a[1],u=a[2];s=u[0]===" ";n+=o+(!r&&!s&&u!==""?"\n":"")+foldLine(u,t);r=s}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var i=/ [^ ]/g;var n;var r=0,s,a=0,o=0;var u="";while(n=i.exec(e)){o=n.index;if(o-r>t){s=a>r?a:o;u+="\n"+e.slice(r,s);r=s+1}a=o}u+="\n";if(e.length-r>t&&a>r){u+=e.slice(r,a)+"\n"+e.slice(a+1)}else{u+=e.slice(r)}return u.slice(1)}function escapeString(e){var t="";var i,n;var r;for(var s=0;s=55296&&i<=56319){n=e.charCodeAt(s+1);if(n>=56320&&n<=57343){t+=encodeHex((i-55296)*1024+n-56320+65536);s++;continue}}r=N[i];t+=!r&&isPrintable(i)?e[s]:r||encodeHex(i)}return t}function writeFlowSequence(e,t,i){var n="",r=e.tag,s,a;for(s=0,a=i.length;s1024)l+="? ";l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,c,false,false)){continue}l+=e.dump;n+=l}e.tag=r;e.dump="{"+n+"}"}function writeBlockMapping(e,t,i,n){var s="",a=e.tag,o=Object.keys(i),u,c,p,d,f,h;if(e.sortKeys===true){o.sort()}else if(typeof e.sortKeys==="function"){o.sort(e.sortKeys)}else if(e.sortKeys){throw new r("sortKeys must be a boolean or a function")}for(u=0,c=o.length;u1024;if(f){if(e.dump&&l===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=generateNextLine(e,t)}if(!writeNode(e,t+1,d,true,f)){continue}if(e.dump&&l===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;s+=h}e.tag=a;e.dump=s||"{}"}function detectType(e,t,i){var n,s,a,c,l,p;s=i?e.explicitTypes:e.implicitTypes;for(a=0,c=s.length;a tag resolver accepts not "'+p+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,i,n,s,a){e.tag=null;e.dump=i;if(!detectType(e,i,false)){detectType(e,i,true)}var u=o.call(e.dump);if(n){n=e.flowLevel<0||e.flowLevel>t}var c=u==="[object Object]"||u==="[object Array]",l,p;if(c){l=e.duplicates.indexOf(i);p=l!==-1}if(e.tag!==null&&e.tag!=="?"||p||e.indent!==2&&t>0){s=false}if(p&&e.usedDuplicates[l]){e.dump="*ref_"+l}else{if(c&&p&&!e.usedDuplicates[l]){e.usedDuplicates[l]=true}if(u==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,s);if(p){e.dump="&ref_"+l+e.dump}}else{writeFlowMapping(e,t,e.dump);if(p){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object Array]"){var d=e.noArrayIndent&&t>0?t-1:t;if(n&&e.dump.length!==0){writeBlockSequence(e,d,e.dump,s);if(p){e.dump="&ref_"+l+e.dump}}else{writeFlowSequence(e,d,e.dump);if(p){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,a)}}else{if(e.skipInvalid)return false;throw new r("unacceptable kind of an object to dump "+u)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,t){var i=[],n=[],r,s;inspectNode(e,i,n);for(r=0,s=n.length;r{"use strict";function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var t=this.name+": ";t+=this.reason||"(unknown reason)";if(!e&&this.mark){t+=" "+this.mark.toString()}return t};e.exports=YAMLException},45190:(e,t,i)=>{"use strict";var n=i(59136);var r=i(65199);var s=i(55426);var a=i(48949);var o=i(56874);var u=Object.prototype.hasOwnProperty;var c=1;var l=2;var p=3;var d=4;var f=1;var h=2;var m=3;var b=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var g=/[\x85\u2028\u2029]/;var y=/[,\[\]\{\}]/;var S=/^(?:!|!!|![a-z\-]+!)$/i;var v=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var w=new Array(256);var j=new Array(256);for(var z=0;z<256;z++){w[z]=simpleEscapeSequence(z)?1:0;j[z]=simpleEscapeSequence(z)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,t){return new r(t,new s(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var O={YAML:function handleYamlDirective(e,t,i){var n,r,s;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(i.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}r=parseInt(n[1],10);s=parseInt(n[2],10);if(r!==1){throwError(e,"unacceptable YAML version of the document")}e.version=i[0];e.checkLineBreaks=s<2;if(s!==1&&s!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,i){var n,r;if(i.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=i[0];r=i[1];if(!S.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(u.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!v.test(r)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[n]=r}};function captureSegment(e,t,i,n){var r,s,a,o;if(t1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,i){var n,r,s,a,o,u,c,l,p=e.kind,d=e.result,f;f=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(f)||is_FLOW_INDICATOR(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){r=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(r)||i&&is_FLOW_INDICATOR(r)){return false}}e.kind="scalar";e.result="";s=a=e.position;o=false;while(f!==0){if(f===58){r=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(r)||i&&is_FLOW_INDICATOR(r)){break}}else if(f===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||i&&is_FLOW_INDICATOR(f)){break}else if(is_EOL(f)){u=e.line;c=e.lineStart;l=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){o=true;f=e.input.charCodeAt(e.position);continue}else{e.position=a;e.line=u;e.lineStart=c;e.lineIndent=l;break}}if(o){captureSegment(e,s,a,false);writeFoldedLines(e,e.line-u);s=a=e.position;o=false}if(!is_WHITE_SPACE(f)){a=e.position+1}f=e.input.charCodeAt(++e.position)}captureSegment(e,s,a,false);if(e.result){return true}e.kind=p;e.result=d;return false}function readSingleQuotedScalar(e,t){var i,n,r;i=e.input.charCodeAt(e.position);if(i!==39){return false}e.kind="scalar";e.result="";e.position++;n=r=e.position;while((i=e.input.charCodeAt(e.position))!==0){if(i===39){captureSegment(e,n,e.position,true);i=e.input.charCodeAt(++e.position);if(i===39){n=e.position;e.position++;r=e.position}else{return true}}else if(is_EOL(i)){captureSegment(e,n,r,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=r=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;r=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var i,n,r,s,a,o;o=e.input.charCodeAt(e.position);if(o!==34){return false}e.kind="scalar";e.result="";e.position++;i=n=e.position;while((o=e.input.charCodeAt(e.position))!==0){if(o===34){captureSegment(e,i,e.position,true);e.position++;return true}else if(o===92){captureSegment(e,i,e.position,true);o=e.input.charCodeAt(++e.position);if(is_EOL(o)){skipSeparationSpace(e,false,t)}else if(o<256&&w[o]){e.result+=j[o];e.position++}else if((a=escapedHexLen(o))>0){r=a;s=0;for(;r>0;r--){o=e.input.charCodeAt(++e.position);if((a=fromHexCode(o))>=0){s=(s<<4)+a}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(s);e.position++}else{throwError(e,"unknown escape sequence")}i=n=e.position}else if(is_EOL(o)){captureSegment(e,i,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));i=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var i=true,n,r=e.tag,s,a=e.anchor,o,u,l,p,d,f={},h,m,b,g;g=e.input.charCodeAt(e.position);if(g===91){u=93;d=false;s=[]}else if(g===123){u=125;d=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}g=e.input.charCodeAt(++e.position);while(g!==0){skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===u){e.position++;e.tag=r;e.anchor=a;e.kind=d?"mapping":"sequence";e.result=s;return true}else if(!i){throwError(e,"missed comma between flow collection entries")}m=h=b=null;l=p=false;if(g===63){o=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(o)){l=p=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;composeNode(e,t,c,false,true);m=e.tag;h=e.result;skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if((p||e.line===n)&&g===58){l=true;g=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,c,false,true);b=e.result}if(d){storeMappingPair(e,s,f,m,h,b)}else if(l){s.push(storeMappingPair(e,null,f,m,h,b))}else{s.push(h)}skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===44){i=true;g=e.input.charCodeAt(++e.position)}else{i=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var i,r,s=f,a=false,o=false,u=t,c=0,l=false,p,d;d=e.input.charCodeAt(e.position);if(d===124){r=false}else if(d===62){r=true}else{return false}e.kind="scalar";e.result="";while(d!==0){d=e.input.charCodeAt(++e.position);if(d===43||d===45){if(f===s){s=d===43?m:h}else{throwError(e,"repeat of a chomping mode identifier")}}else if((p=fromDecimalCode(d))>=0){if(p===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!o){u=t+p-1;o=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(d)){do{d=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(d));if(d===35){do{d=e.input.charCodeAt(++e.position)}while(!is_EOL(d)&&d!==0)}}while(d!==0){readLineBreak(e);e.lineIndent=0;d=e.input.charCodeAt(e.position);while((!o||e.lineIndentu){u=e.lineIndent}if(is_EOL(d)){c++;continue}if(e.lineIndentt)&&u!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndentt){if(composeNode(e,t,d,true,r)){if(b){h=e.result}else{m=e.result}}if(!b){storeMappingPair(e,c,p,f,h,m,s,a);f=h=m=null}skipSeparationSpace(e,true,-1);y=e.input.charCodeAt(e.position)}if(e.lineIndent>t&&y!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for(b=0,g=e.implicitTypes.length;b tag; it should be "'+y.kind+'", not "'+e.kind+'"')}if(!y.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=y.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var t=e.position,i,n,r,s=false,a;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((a=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);a=e.input.charCodeAt(e.position);if(e.lineIndent>0||a!==37){break}s=true;a=e.input.charCodeAt(++e.position);i=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}n=e.input.slice(i,e.position);r=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(a!==0){while(is_WHITE_SPACE(a)){a=e.input.charCodeAt(++e.position)}if(a===35){do{a=e.input.charCodeAt(++e.position)}while(a!==0&&!is_EOL(a));break}if(is_EOL(a))break;i=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}r.push(e.input.slice(i,e.position))}if(a!==0)readLineBreak(e);if(u.call(O,n)){O[n](e,n,r)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(s){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,d,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&g.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position{"use strict";var n=i(59136);function Mark(e,t,i,n,r){this.name=e;this.buffer=t;this.position=i;this.line=n;this.column=r}Mark.prototype.getSnippet=function getSnippet(e,t){var i,r,s,a,o;if(!this.buffer)return null;e=e||4;t=t||75;i="";r=this.position;while(r>0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1))===-1){r-=1;if(this.position-r>t/2-1){i=" ... ";r+=5;break}}s="";a=this.position;while(at/2-1){s=" ... ";a-=5;break}}o=this.buffer.slice(r,a);return n.repeat(" ",e)+i+o+s+"\n"+n.repeat(" ",e+this.position-r+i.length)+"^"};Mark.prototype.toString=function toString(e){var t,i="";if(this.name){i+='in "'+this.name+'" '}i+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){i+=":\n"+t}}return i};e.exports=Mark},66514:(e,t,i)=>{"use strict";var n=i(59136);var r=i(65199);var s=i(30967);function compileList(e,t,i){var n=[];e.include.forEach(function(e){i=compileList(e,t,i)});e[t].forEach(function(e){i.forEach(function(t,i){if(t.tag===e.tag&&t.kind===e.kind){n.push(i)}});i.push(e)});return i.filter(function(e,t){return n.indexOf(t)===-1})}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,i;function collectType(t){e[t.kind][t.tag]=e["fallback"][t.tag]=t}for(t=0,i=arguments.length;t{"use strict";var n=i(66514);e.exports=new n({include:[i(1571)]})},56874:(e,t,i)=>{"use strict";var n=i(66514);e.exports=n.DEFAULT=new n({include:[i(48949)],explicit:[i(25914),i(69242),i(27278)]})},48949:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({include:[i(92183)],implicit:[i(83714),i(81393)],explicit:[i(32551),i(96668),i(76039),i(69237)]})},66037:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({explicit:[i(52672),i(5490),i(31173)]})},1571:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({include:[i(66037)],implicit:[i(22671),i(94675),i(89963),i(15564)]})},30967:(e,t,i)=>{"use strict";var n=i(65199);var r=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var s=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})})}return t}function Type(e,t){t=t||{};Object.keys(t).forEach(function(t){if(r.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}});this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.defaultStyle=t["defaultStyle"]||null;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(s.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},32551:(e,t,i)=>{"use strict";var n;try{var r=require;n=r("buffer").Buffer}catch(e){}var s=i(30967);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,i,n=0,r=e.length,s=a;for(i=0;i64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,i,r=e.replace(/[\r\n=]/g,""),s=r.length,o=a,u=0,c=[];for(t=0;t>16&255);c.push(u>>8&255);c.push(u&255)}u=u<<6|o.indexOf(r.charAt(t))}i=s%4*6;if(i===0){c.push(u>>16&255);c.push(u>>8&255);c.push(u&255)}else if(i===18){c.push(u>>10&255);c.push(u>>2&255)}else if(i===12){c.push(u>>4&255)}if(n){return n.from?n.from(c):new n(c)}return c}function representYamlBinary(e){var t="",i=0,n,r,s=e.length,o=a;for(n=0;n>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}i=(i<<8)+e[n]}r=s%3;if(r===0){t+=o[i>>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}else if(r===2){t+=o[i>>10&63];t+=o[i>>4&63];t+=o[i<<2&63];t+=o[64]}else if(r===1){t+=o[i>>2&63];t+=o[i<<4&63];t+=o[64];t+=o[64]}return t}function isBinary(e){return n&&n.isBuffer(e)}e.exports=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},94675:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},15564:(e,t,i)=>{"use strict";var n=i(59136);var r=i(30967);var s=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!s.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,i,n,r;t=e.replace(/_/g,"").toLowerCase();i=t[0]==="-"?-1:1;r=[];if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}else if(t.indexOf(":")>=0){t.split(":").forEach(function(e){r.unshift(parseFloat(e,10))});t=0;n=1;r.forEach(function(e){t+=e*n;n*=60});return i*t}return i*parseFloat(t,10)}var a=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var i;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}i=e.toString(10);return a.test(i)?i.replace("e",".e"):i}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new r("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},89963:(e,t,i)=>{"use strict";var n=i(59136);var r=i(30967);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,i=0,n=false,r;if(!t)return false;r=e[i];if(r==="-"||r==="+"){r=e[++i]}if(r==="0"){if(i+1===t)return true;r=e[++i];if(r==="b"){i++;for(;i=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},27278:(e,t,i)=>{"use strict";var n;try{var r=require;n=r("esprima")}catch(e){if(typeof window!=="undefined")n=window.esprima}var s=i(30967);function resolveJavascriptFunction(e){if(e===null)return false;try{var t="("+e+")",i=n.parse(t,{range:true});if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var t="("+e+")",i=n.parse(t,{range:true}),r=[],s;if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}i.body[0].expression.params.forEach(function(e){r.push(e.name)});s=i.body[0].expression.body.range;if(i.body[0].expression.body.type==="BlockStatement"){return new Function(r,t.slice(s[0]+1,s[1]-1))}return new Function(r,"return "+t.slice(s[0],s[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},69242:(e,t,i)=>{"use strict";var n=i(30967);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];if(n.length>3)return false;if(t[t.length-n.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];t=t.slice(1,t.length-n.length-1)}return new RegExp(t,n)}function representJavascriptRegExp(e){var t="/"+e.source+"/";if(e.global)t+="g";if(e.multiline)t+="m";if(e.ignoreCase)t+="i";return t}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},25914:(e,t,i)=>{"use strict";var n=i(30967);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},31173:(e,t,i)=>{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},81393:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},22671:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},96668:(e,t,i)=>{"use strict";var n=i(30967);var r=Object.prototype.hasOwnProperty;var s=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],i,n,a,o,u,c=e;for(i=0,n=c.length;i{"use strict";var n=i(30967);var r=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,i,n,s,a,o=e;a=new Array(o.length);for(t=0,i=o.length;t{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},69237:(e,t,i)=>{"use strict";var n=i(30967);var r=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,i=e;for(t in i){if(r.call(i,t)){if(i[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},52672:(e,t,i)=>{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},83714:(e,t,i)=>{"use strict";var n=i(30967);var r=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var s=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(r.exec(e)!==null)return true;if(s.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,i,n,a,o,u,c,l=0,p=null,d,f,h;t=r.exec(e);if(t===null)t=s.exec(e);if(t===null)throw new Error("Date resolve error");i=+t[1];n=+t[2]-1;a=+t[3];if(!t[4]){return new Date(Date.UTC(i,n,a))}o=+t[4];u=+t[5];c=+t[6];if(t[7]){l=t[7].slice(0,3);while(l.length<3){l+="0"}l=+l}if(t[9]){d=+t[10];f=+(t[11]||0);p=(d*60+f)*6e4;if(t[9]==="-")p=-p}h=new Date(Date.UTC(i,n,a,o,u,c,l));if(p)h.setTime(h.getTime()-p);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},85587:function(e,t){(function(){var i;var n=0xdeadbeefcafe;var r=(n&16777215)==15715070;function BigInteger(e,t,i){if(e!=null)if("number"==typeof e)this.fromNumber(e,t,i);else if(t==null&&"string"!=typeof e)this.fromString(e,256);else this.fromString(e,t)}function nbi(){return new BigInteger(null)}function am1(e,t,i,n,r,s){while(--s>=0){var a=t*this[e++]+i[n]+r;r=Math.floor(a/67108864);i[n++]=a&67108863}return r}function am2(e,t,i,n,r,s){var a=t&32767,o=t>>15;while(--s>=0){var u=this[e]&32767;var c=this[e++]>>15;var l=o*u+c*a;u=a*u+((l&32767)<<15)+i[n]+(r&1073741823);r=(u>>>30)+(l>>>15)+o*c+(r>>>30);i[n++]=u&1073741823}return r}function am3(e,t,i,n,r,s){var a=t&16383,o=t>>14;while(--s>=0){var u=this[e]&16383;var c=this[e++]>>14;var l=o*u+c*a;u=a*u+((l&16383)<<14)+i[n]+r;r=(u>>28)+(l>>14)+o*c;i[n++]=u&268435455}return r}var s=typeof navigator!=="undefined";if(s&&r&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;i=30}else if(s&&r&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;i=26}else{BigInteger.prototype.am=am3;i=28}BigInteger.prototype.DB=i;BigInteger.prototype.DM=(1<=0;--t)e[t]=this[t];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 t=nbi();t.fromInt(e);return t}function bnpFromString(e,t){var i;if(t==16)i=4;else if(t==8)i=3;else if(t==256)i=8;else if(t==2)i=1;else if(t==32)i=5;else if(t==4)i=2;else{this.fromRadix(e,t);return}this.t=0;this.s=0;var n=e.length,r=false,s=0;while(--n>=0){var a=i==8?e[n]&255:intAt(e,n);if(a<0){if(e.charAt(n)=="-")r=true;continue}r=false;if(s==0)this[this.t++]=a;else if(s+i>this.DB){this[this.t-1]|=(a&(1<>this.DB-s}else this[this.t-1]|=a<=this.DB)s-=this.DB}if(i==8&&(e[0]&128)!=0){this.s=-1;if(s>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 t;if(e==16)t=4;else if(e==8)t=3;else if(e==2)t=1;else if(e==32)t=5;else if(e==4)t=2;else return this.toRadix(e);var i=(1<0){if(o>o)>0){r=true;s=int2char(n)}while(a>=0){if(o>(o+=this.DB-t)}else{n=this[a]>>(o-=t)&i;if(o<=0){o+=this.DB;--a}}if(n>0)r=true;if(r)s+=int2char(n)}}return r?s:"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 t=this.s-e.s;if(t!=0)return t;var i=this.t;t=i-e.t;if(t!=0)return this.s<0?-t:t;while(--i>=0)if((t=this[i]-e[i])!=0)return t;return 0}function nbits(e){var t=1,i;if((i=e>>>16)!=0){e=i;t+=16}if((i=e>>8)!=0){e=i;t+=8}if((i=e>>4)!=0){e=i;t+=4}if((i=e>>2)!=0){e=i;t+=2}if((i=e>>1)!=0){e=i;t+=1}return t}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,t){var i;for(i=this.t-1;i>=0;--i)t[i+e]=this[i];for(i=e-1;i>=0;--i)t[i]=0;t.t=this.t+e;t.s=this.s}function bnpDRShiftTo(e,t){for(var i=e;i=0;--o){t[o+s+1]=this[o]>>n|a;a=(this[o]&r)<=0;--o)t[o]=0;t[s]=a;t.t=this.t+s+1;t.s=this.s;t.clamp()}function bnpRShiftTo(e,t){t.s=this.s;var i=Math.floor(e/this.DB);if(i>=this.t){t.t=0;return}var n=e%this.DB;var r=this.DB-n;var s=(1<>n;for(var a=i+1;a>n}if(n>0)t[this.t-i-1]|=(this.s&s)<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n-=e.s}t.s=n<0?-1:0;if(n<-1)t[i++]=this.DV+n;else if(n>0)t[i++]=n;t.t=i;t.clamp()}function bnpMultiplyTo(e,t){var i=this.abs(),n=e.abs();var r=i.t;t.t=r+n.t;while(--r>=0)t[r]=0;for(r=0;r=0)e[i]=0;for(i=0;i=t.DV){e[i+t.t]-=t.DV;e[i+t.t+1]=1}}if(e.t>0)e[e.t-1]+=t.am(i,t[i],e,2*i,0,1);e.s=0;e.clamp()}function bnpDivRemTo(e,t,i){var n=e.abs();if(n.t<=0)return;var r=this.abs();if(r.t0){n.lShiftTo(u,s);r.lShiftTo(u,i)}else{n.copyTo(s);r.copyTo(i)}var c=s.t;var l=s[c-1];if(l==0)return;var p=l*(1<1?s[c-2]>>this.F2:0);var d=this.FV/p,f=(1<=0){i[i.t++]=1;i.subTo(g,i)}BigInteger.ONE.dlShiftTo(c,g);g.subTo(s,s);while(s.t=0){var y=i[--m]==l?this.DM:Math.floor(i[m]*d+(i[m-1]+h)*f);if((i[m]+=s.am(0,y,i,b,0,c))0)i.rShiftTo(u,i);if(a<0)BigInteger.ZERO.subTo(i,i)}function bnMod(e){var t=nbi();this.abs().divRemTo(e,null,t);if(this.s<0&&t.compareTo(BigInteger.ZERO)>0)e.subTo(t,t);return t}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,t,i){e.multiplyTo(t,i);this.reduce(i)}function cSqrTo(e,t){e.squareTo(t);this.reduce(t)}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 t=e&3;t=t*(2-(e&15)*t)&15;t=t*(2-(e&255)*t)&255;t=t*(2-((e&65535)*t&65535))&65535;t=t*(2-e*t%this.DV)%this.DV;return t>0?this.DV-t:-t}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(t,t);return t}function montRevert(e){var t=nbi();e.copyTo(t);this.reduce(t);return t}function montReduce(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;i=t+this.m.t;e[i]+=this.m.am(0,n,e,t,0,this.m.t);while(e[i]>=e.DV){e[i]-=e.DV;e[++i]++}}e.clamp();e.drShiftTo(this.m.t,e);if(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function montSqrTo(e,t){e.squareTo(t);this.reduce(t)}function montMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}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,t){if(e>4294967295||e<1)return BigInteger.ONE;var i=nbi(),n=nbi(),r=t.convert(this),s=nbits(e)-1;r.copyTo(i);while(--s>=0){t.sqrTo(i,n);if((e&1<0)t.mulTo(n,r,i);else{var a=i;i=n;n=a}}return t.revert(i)}function bnModPowInt(e,t){var i;if(e<256||t.isEven())i=new Classic(t);else i=new Montgomery(t);return this.exp(e,i)}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 t=this.chunkSize(e);var i=Math.pow(e,t);var n=nbv(i),r=nbi(),s=nbi(),a="";this.divRemTo(n,r,s);while(r.signum()>0){a=(i+s.intValue()).toString(e).substr(1)+a;r.divRemTo(n,r,s)}return s.intValue().toString(e)+a}function bnpFromRadix(e,t){this.fromInt(0);if(t==null)t=10;var i=this.chunkSize(t);var n=Math.pow(t,i),r=false,s=0,a=0;for(var o=0;o=i){this.dMultiply(n);this.dAddOffset(a,0);s=0;a=0}}if(s>0){this.dMultiply(Math.pow(t,s));this.dAddOffset(a,0)}if(r)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(e,t,i){if("number"==typeof t){if(e<2)this.fromInt(1);else{this.fromNumber(e,i);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(t)){this.dAddOffset(2,0);if(this.bitLength()>e)this.subTo(BigInteger.ONE.shiftLeft(e-1),this)}}}else{var n=new Array,r=e&7;n.length=(e>>3)+1;t.nextBytes(n);if(r>0)n[0]&=(1<0){if(i>i)!=(this.s&this.DM)>>i)t[r++]=n|this.s<=0){if(i<8){n=(this[e]&(1<>(i+=this.DB-8)}else{n=this[e]>>(i-=8)&255;if(i<=0){i+=this.DB;--e}}if((n&128)!=0)n|=-256;if(r==0&&(this.s&128)!=(n&128))++r;if(r>0||n!=this.s)t[r++]=n}}return t}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,t,i){var n,r,s=Math.min(e.t,this.t);for(n=0;n>=16;t+=16}if((e&255)==0){e>>=8;t+=8}if((e&15)==0){e>>=4;t+=4}if((e&3)==0){e>>=2;t+=2}if((e&1)==0)++t;return t}function bnGetLowestSetBit(){for(var e=0;e=this.t)return this.s!=0;return(this[t]&1<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n+=e.s}t.s=n<0?-1:0;if(n>0)t[i++]=n;else if(n<-1)t[i++]=this.DV+n;t.t=i;t.clamp()}function bnAdd(e){var t=nbi();this.addTo(e,t);return t}function bnSubtract(e){var t=nbi();this.subTo(e,t);return t}function bnMultiply(e){var t=nbi();this.multiplyTo(e,t);return t}function bnSquare(){var e=nbi();this.squareTo(e);return e}function bnDivide(e){var t=nbi();this.divRemTo(e,t,null);return t}function bnRemainder(e){var t=nbi();this.divRemTo(e,null,t);return t}function bnDivideAndRemainder(e){var t=nbi(),i=nbi();this.divRemTo(e,t,i);return new Array(t,i)}function bnpDMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(e,t){if(e==0)return;while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV){this[t]-=this.DV;if(++t>=this.t)this[this.t++]=0;++this[t]}}function NullExp(){}function nNop(e){return e}function nMulTo(e,t,i){e.multiplyTo(t,i)}function nSqrTo(e,t){e.squareTo(t)}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,t,i){var n=Math.min(this.t+e.t,t);i.s=0;i.t=n;while(n>0)i[--n]=0;var r;for(r=i.t-this.t;n=0)i[n]=0;for(n=Math.max(t-this.t,0);n2*this.m.t)return e.mod(this.m);else if(e.compareTo(this.m)<0)return e;else{var t=nbi();e.copyTo(t);this.reduce(t);return t}}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,t){e.squareTo(t);this.reduce(t)}function barrettMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,t){var i=e.bitLength(),n,r=nbv(1),s;if(i<=0)return r;else if(i<18)n=1;else if(i<48)n=3;else if(i<144)n=4;else if(i<768)n=5;else n=6;if(i<8)s=new Classic(t);else if(t.isEven())s=new Barrett(t);else s=new Montgomery(t);var a=new Array,o=3,u=n-1,c=(1<1){var l=nbi();s.sqrTo(a[1],l);while(o<=c){a[o]=nbi();s.mulTo(l,a[o-2],a[o]);o+=2}}var p=e.t-1,d,f=true,h=nbi(),m;i=nbits(e[p])-1;while(p>=0){if(i>=u)d=e[p]>>i-u&c;else{d=(e[p]&(1<0)d|=e[p-1]>>this.DB+i-u}o=n;while((d&1)==0){d>>=1;--o}if((i-=o)<0){i+=this.DB;--p}if(f){a[d].copyTo(r);f=false}else{while(o>1){s.sqrTo(r,h);s.sqrTo(h,r);o-=2}if(o>0)s.sqrTo(r,h);else{m=r;r=h;h=m}s.mulTo(h,a[d],r)}while(p>=0&&(e[p]&1<0){t.rShiftTo(s,t);i.rShiftTo(s,i)}while(t.signum()>0){if((r=t.getLowestSetBit())>0)t.rShiftTo(r,t);if((r=i.getLowestSetBit())>0)i.rShiftTo(r,i);if(t.compareTo(i)>=0){t.subTo(i,t);t.rShiftTo(1,t)}else{i.subTo(t,i);i.rShiftTo(1,i)}}if(s>0)i.lShiftTo(s,i);return i}function bnpModInt(e){if(e<=0)return 0;var t=this.DV%e,i=this.s<0?e-1:0;if(this.t>0)if(t==0)i=this[0]%e;else for(var n=this.t-1;n>=0;--n)i=(t*i+this[n])%e;return i}function bnModInverse(e){var t=e.isEven();if(this.isEven()&&t||e.signum()==0)return BigInteger.ZERO;var i=e.clone(),n=this.clone();var r=nbv(1),s=nbv(0),a=nbv(0),o=nbv(1);while(i.signum()!=0){while(i.isEven()){i.rShiftTo(1,i);if(t){if(!r.isEven()||!s.isEven()){r.addTo(this,r);s.subTo(e,s)}r.rShiftTo(1,r)}else if(!s.isEven())s.subTo(e,s);s.rShiftTo(1,s)}while(n.isEven()){n.rShiftTo(1,n);if(t){if(!a.isEven()||!o.isEven()){a.addTo(this,a);o.subTo(e,o)}a.rShiftTo(1,a)}else if(!o.isEven())o.subTo(e,o);o.rShiftTo(1,o)}if(i.compareTo(n)>=0){i.subTo(n,i);if(t)r.subTo(a,r);s.subTo(o,s)}else{n.subTo(i,n);if(t)a.subTo(r,a);o.subTo(s,o)}}if(n.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(o.compareTo(e)>=0)return o.subtract(e);if(o.signum()<0)o.addTo(e,o);else return o;if(o.signum()<0)return o.add(e);else return o}var p=[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 d=(1<<26)/p[p.length-1];function bnIsProbablePrime(e){var t,i=this.abs();if(i.t==1&&i[0]<=p[p.length-1]){for(t=0;t>1;if(e>p.length)e=p.length;var r=nbi();for(var s=0;s>8&255;h[m++]^=e>>16&255;h[m++]^=e>>24&255;if(m>=S)m-=S}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(h==null){h=new Array;m=0;var b;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var g=new Uint8Array(32);window.crypto.getRandomValues(g);for(b=0;b<32;++b)h[m++]=g[b]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var y=window.crypto.random(32);for(b=0;b>>8;h[m++]=b&255}m=0;rng_seed_time()}function rng_get_byte(){if(f==null){rng_seed_time();f=prng_newstate();f.init(h);for(m=0;m{t.stringify=function stringify(e){if("undefined"==typeof e)return e;if(e&&Buffer.isBuffer(e))return JSON.stringify(":base64:"+e.toString("base64"));if(e&&e.toJSON)e=e.toJSON();if(e&&"object"===typeof e){var t="";var i=Array.isArray(e);t=i?"[":"{";var n=true;for(var r in e){var s="function"==typeof e[r]||!i&&"undefined"===typeof e[r];if(Object.hasOwnProperty.call(e,r)&&!s){if(!n)t+=",";n=false;if(i){if(e[r]==undefined)t+="null";else t+=stringify(e[r])}else if(e[r]!==void 0){t+=stringify(r)+":"+stringify(e[r])}}}t+=i?"]":"}";return t}else if("string"===typeof e){return JSON.stringify(/^:/.test(e)?":"+e:e)}else if("undefined"===typeof e){return"null"}else return JSON.stringify(e)};t.parse=function(e){return JSON.parse(e,function(e,t){if("string"===typeof t){if(/^:base64:/.test(t))return Buffer.from(t.substring(8),"base64");else return/^:/.test(t)?t.substring(1):t}return t})}},52533:e=>{"use strict";var t=e.exports=function(e,t,i){if(typeof t=="function"){i=t;t={}}i=t.cb||i;var n=typeof i=="function"?i:i.pre||function(){};var r=i.post||function(){};_traverse(t,n,r,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,i,n,r,s,a,o,u,c,l){if(r&&typeof r=="object"&&!Array.isArray(r)){i(r,s,a,o,u,c,l);for(var p in r){var d=r[p];if(Array.isArray(d)){if(p in t.arrayKeywords){for(var f=0;ft.maxItems){addError("There must be a maximum of "+t.maxItems+" in the array")}}else if(t.properties||t.additionalProperties){s.concat(checkObj(e,t.properties,i,t.additionalProperties))}if(t.pattern&&typeof e=="string"&&!e.match(t.pattern)){addError("does not match the regex pattern "+t.pattern)}if(t.maxLength&&typeof e=="string"&&e.length>t.maxLength){addError("may only be "+t.maxLength+" characters long")}if(t.minLength&&typeof e=="string"&&e.lengthe){addError("must have a minimum value of "+t.minimum)}if(typeof t.maximum!==undefined&&typeof e==typeof t.maximum&&t.maximum{t=e.exports=stringify;t.getSerialize=serializer;function stringify(e,t,i,n){return JSON.stringify(e,serializer(t,n),i)}function serializer(e,t){var i=[],n=[];if(t==null)t=function(e,t){if(i[0]===t)return"[Circular ~]";return"[Circular ~."+n.slice(0,i.indexOf(t)).join(".")+"]"};return function(r,s){if(i.length>0){var a=i.indexOf(this);~a?i.splice(a+1):i.push(this);~a?n.splice(a,Infinity,r):n.push(r);if(~i.indexOf(s))s=t.call(this,r,s)}else i.push(s);return e==null?s:e.call(this,r,s)}}},63269:function(e,t,i){(function(e,i){true?i(t):0})(this,function(t){"use strict";function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(e){return typeof e}}else{_typeof=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)_setPrototypeOf(e,t)}function _getPrototypeOf(e){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)};return _getPrototypeOf(e)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}function isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],function(){}));return true}catch(e){return false}}function _construct(e,t,i){if(isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(e,t,i){var n=[null];n.push.apply(n,t);var r=Function.bind.apply(e,n);var s=new r;if(i)_setPrototypeOf(s,i.prototype);return s}}return _construct.apply(null,arguments)}function _isNativeFunction(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _wrapNativeSuper(e){var t=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(e){if(e===null||!_isNativeFunction(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(e))return t.get(e);t.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,e)};return _wrapNativeSuper(e)}function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _possibleConstructorReturn(e,t){if(t&&(typeof t==="object"||typeof t==="function")){return t}return _assertThisInitialized(e)}var n=eval;var r=true&&Boolean(e.exports)&&!(typeof navigator!=="undefined"&&navigator.product==="ReactNative");var s=["value","path","pointer","parent","parentProperty","all"];var a=Object.prototype.hasOwnProperty;var o=function moveToAnotherArray(e,t,i){var n=e.length;for(var r=0;r1){p.shift()}this._hasParentSelector=null;var d=this._trace(p,t,["$"],o,u,i).filter(function(e){return e&&!e.isParentSelector});if(!d.length){return l?[]:undefined}if(d.length===1&&!l&&!Array.isArray(d[0].value)){return this._getPreferredOutput(d[0])}return d.reduce(function(e,t){var i=r._getPreferredOutput(t);if(c&&Array.isArray(i)){e=e.concat(i)}else{e.push(i)}return e},[])};JSONPath.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){default:throw new TypeError("Unknown result type");case"all":e.pointer=JSONPath.toPointer(e.path);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);return e;case"value":case"parent":case"parentProperty":return e[t];case"path":return JSONPath.toPathString(e[t]);case"pointer":return JSONPath.toPointer(e.path)}};JSONPath.prototype._handleCallback=function(e,t,i){if(t){var n=this._getPreferredOutput(e);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);t(n,i,e)}};JSONPath.prototype._trace=function(e,t,i,n,r,s,o){var u;var c=this;if(!e.length){u={path:i,value:t,parent:n,parentProperty:r};this._handleCallback(u,s,"value");return u}var l=e[0],p=e.slice(1);var d=[];function addRet(e){if(Array.isArray(e)){e.forEach(function(e){d.push(e)})}else{d.push(e)}}if((typeof l!=="string"||o)&&t&&a.call(t,l)){addRet(this._trace(p,t[l],push(i,l),t,l,s))}else if(l==="*"){this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){addRet(c._trace(unshift(e,i),n,r,s,a,o,true))})}else if(l===".."){addRet(this._trace(p,t,i,n,r,s));this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){if(_typeof(n[e])==="object"){addRet(c._trace(unshift(t,i),n[e],push(r,e),n,e,o))}})}else if(l==="^"){this._hasParentSelector=true;return i.length?{path:i.slice(0,-1),expr:p,isParentSelector:true}:[]}else if(l==="~"){u={path:push(i,l),value:r,parent:n,parentProperty:null};this._handleCallback(u,s,"property");return u}else if(l==="$"){addRet(this._trace(p,t,i,null,null,s))}else if(/^(-?\d*):(-?\d*):?(\d*)$/.test(l)){addRet(this._slice(l,p,t,i,n,r,s))}else if(l.indexOf("?(")===0){if(this.currPreventEval){throw new Error("Eval [?(expr)] prevented in JSONPath expression.")}this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){if(c._eval(t.replace(/^\?\((.*?)\)$/,"$1"),n[e],e,r,s,a)){addRet(c._trace(unshift(e,i),n,r,s,a,o))}})}else if(l[0]==="("){if(this.currPreventEval){throw new Error("Eval [(expr)] prevented in JSONPath expression.")}addRet(this._trace(unshift(this._eval(l,t,i[i.length-1],i.slice(0,-1),n,r),p),t,i,n,r,s))}else if(l[0]==="@"){var f=false;var h=l.slice(1,-2);switch(h){default:throw new TypeError("Unknown value type "+h);case"scalar":if(!t||!["object","function"].includes(_typeof(t))){f=true}break;case"boolean":case"string":case"undefined":case"function":if(_typeof(t)===h){f=true}break;case"number":if(_typeof(t)===h&&isFinite(t)){f=true}break;case"nonFinite":if(typeof t==="number"&&!isFinite(t)){f=true}break;case"object":if(t&&_typeof(t)===h){f=true}break;case"array":if(Array.isArray(t)){f=true}break;case"other":f=this.currOtherTypeCallback(t,i,n,r);break;case"integer":if(t===Number(t)&&isFinite(t)&&!(t%1)){f=true}break;case"null":if(t===null){f=true}break}if(f){u={path:i,value:t,parent:n,parentProperty:r};this._handleCallback(u,s,"value");return u}}else if(l[0]==="`"&&t&&a.call(t,l.slice(1))){var m=l.slice(1);addRet(this._trace(p,t[m],push(i,m),t,m,s,true))}else if(l.includes(",")){var b=l.split(",");var g=true;var y=false;var S=undefined;try{for(var v=b[Symbol.iterator](),w;!(g=(w=v.next()).done);g=true){var j=w.value;addRet(this._trace(unshift(j,p),t,i,n,r,s))}}catch(e){y=true;S=e}finally{try{if(!g&&v["return"]!=null){v["return"]()}}finally{if(y){throw S}}}}else if(!o&&t&&a.call(t,l)){addRet(this._trace(p,t[l],push(i,l),t,l,s,true))}if(this._hasParentSelector){for(var z=0;z{var n=i(66631);var r=i(31669);var s=i(87264);var a=i(81692);var o=i(21328);t.deepCopy=deepCopy;t.deepEqual=deepEqual;t.isEmpty=isEmpty;t.hasKey=hasKey;t.forEachKey=forEachKey;t.pluck=pluck;t.flattenObject=flattenObject;t.flattenIter=flattenIter;t.validateJsonObject=validateJsonObjectJS;t.validateJsonObjectJS=validateJsonObjectJS;t.randElt=randElt;t.extraProperties=extraProperties;t.mergeObjects=mergeObjects;t.startsWith=startsWith;t.endsWith=endsWith;t.parseInteger=parseInteger;t.iso8601=iso8601;t.rfc1123=rfc1123;t.parseDateTime=parseDateTime;t.hrtimediff=hrtimeDiff;t.hrtimeDiff=hrtimeDiff;t.hrtimeAccum=hrtimeAccum;t.hrtimeAdd=hrtimeAdd;t.hrtimeNanosec=hrtimeNanosec;t.hrtimeMicrosec=hrtimeMicrosec;t.hrtimeMillisec=hrtimeMillisec;function deepCopy(e){var t,i;var n="__deepCopy";if(e&&e[n])throw new Error("attempted deep copy of cyclic object");if(e&&e.constructor==Object){t={};e[n]=true;for(i in e){if(i==n)continue;t[i]=deepCopy(e[i])}delete e[n];return t}if(e&&e.constructor==Array){t=[];e[n]=true;for(i=0;i=0);for(a in e){s=i.slice(0);s.push(a);doFlattenIter(e[a],t-1,s,r)}}function flattenObject(e,t){if(t===0)return[e];n.ok(e!==null);n.equal(typeof e,"object");n.equal(typeof t,"number");n.ok(t>=0);var i=[];var r;for(r in e){flattenObject(e[r],t-1).forEach(function(e){i.push([r].concat(e))})}return i}function startsWith(e,t){return e.substr(0,t.length)==t}function endsWith(e,t){return e.substr(e.length-t.length,t.length)==t}function iso8601(e){if(typeof e=="number")e=new Date(e);n.ok(e.constructor===Date);return s.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function rfc1123(e){return s.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",c[e.getUTCDay()],e.getUTCDate(),u[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function parseDateTime(e){var t=+e;if(!isNaN(t)){return new Date(t)}else{return new Date(e)}}var l=Number.MAX_SAFE_INTEGER||9007199254740991;var p=Number.MIN_SAFE_INTEGER||-9007199254740991;var d={base:10,allowSign:true,allowPrefix:false,allowTrailing:false,allowImprecise:false,trimWhitespace:false,leadingZeroIsOctal:false};var f=48;var h=57;var m=65;var b=66;var g=79;var y=84;var S=88;var v=90;var w=97;var j=98;var z=111;var O=116;var k=120;var C=122;var T=48;var _=55;var A=87;function parseInteger(e,t){n.string(e,"str");n.optionalObject(t,"options");var i=false;var r=d;if(t){i=hasKey(t,"base");r=mergeObjects(r,t);n.number(r.base,"options.base");n.ok(r.base>=2,"options.base >= 2");n.ok(r.base<=36,"options.base <= 36");n.bool(r.allowSign,"options.allowSign");n.bool(r.allowPrefix,"options.allowPrefix");n.bool(r.allowTrailing,"options.allowTrailing");n.bool(r.allowImprecise,"options.allowImprecise");n.bool(r.trimWhitespace,"options.trimWhitespace");n.bool(r.leadingZeroIsOctal,"options.leadingZeroIsOctal");if(r.leadingZeroIsOctal){n.ok(!i,'"base" and "leadingZeroIsOctal" are '+"mutually exclusive")}}var s;var a=-1;var o=r.base;var u;var c=1;var f=0;var h=0;var m=e.length;if(r.trimWhitespace){while(hl||b=f&&e<=h){return e-T}else if(e>=m&&e<=v){return e-_}else if(e>=w&&e<=C){return e-A}else{return-1}}function isSpace(e){return e===32||e>=9&&e<=13||e===160||e===5760||e===6158||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function prefixToBase(e){if(e===j||e===b){return 2}else if(e===z||e===g){return 8}else if(e===O||e===y){return 10}else if(e===k||e===S){return 16}else{return-1}}function validateJsonObjectJS(e,t){var i=o.validate(t,e);if(i.errors.length===0)return null;var n=i.errors[0];var r=n["property"];var s=n["message"].toLowerCase();var u,c;if((u=s.indexOf("the property "))!=-1&&(c=s.indexOf(" is not defined in the schema and the "+"schema does not allow additional properties"))!=-1){u+="the property ".length;if(r==="")r=s.substr(u,c-u);else r=r+"."+s.substr(u,c-u);s="unsupported property"}var l=new a.VError('property "%s": %s',r,s);l.jsv_details=n;return l}function randElt(e){n.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array");return e[Math.floor(Math.random()*e.length)]}function assertHrtime(e){n.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes");n.ok(e[1]<1e9,"nanoseconds column overflow")}function hrtimeDiff(e,t){assertHrtime(e);assertHrtime(t);n.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var i=[e[0]-t[0],0];if(e[1]>=t[1]){i[1]=e[1]-t[1]}else{i[0]--;i[1]=1e9-(t[1]-e[1])}return i}function hrtimeNanosec(e){assertHrtime(e);return Math.floor(e[0]*1e9+e[1])}function hrtimeMicrosec(e){assertHrtime(e);return Math.floor(e[0]*1e6+e[1]/1e3)}function hrtimeMillisec(e){assertHrtime(e);return Math.floor(e[0]*1e3+e[1]/1e6)}function hrtimeAccum(e,t){assertHrtime(e);assertHrtime(t);e[1]+=t[1];if(e[1]>=1e9){e[0]++;e[1]-=1e9}e[0]+=t[0];return e}function hrtimeAdd(e,t){assertHrtime(e);var i=[e[0],e[1]];return hrtimeAccum(i,t)}function extraProperties(e,t){n.ok(typeof e==="object"&&e!==null,"obj argument must be a non-null object");n.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var i=0;i{"use strict";const n=i(28614);const r=i(22820);const s=e=>{const t={redis:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql"};if(e.adapter||e.uri){const i=e.adapter||/^[^:]*/.exec(e.uri)[0];return new(require(t[i]))(e)}return new Map};class Keyv extends n{constructor(e,t){super();this.opts=Object.assign({namespace:"keyv",serialize:r.stringify,deserialize:r.parse},typeof e==="string"?{uri:e}:e,t);if(!this.opts.store){const e=Object.assign({},this.opts);this.opts.store=s(e)}if(typeof this.opts.store.on==="function"){this.opts.store.on("error",e=>this.emit("error",e))}this.opts.store.namespace=this.opts.namespace}_getKeyPrefix(e){return`${this.opts.namespace}:${e}`}get(e,t){const i=this._getKeyPrefix(e);const{store:n}=this.opts;return Promise.resolve().then(()=>n.get(i)).then(e=>{return typeof e==="string"?this.opts.deserialize(e):e}).then(i=>{if(i===undefined){return undefined}if(typeof i.expires==="number"&&Date.now()>i.expires){this.delete(e);return undefined}return t&&t.raw?i:i.value})}set(e,t,i){const n=this._getKeyPrefix(e);if(typeof i==="undefined"){i=this.opts.ttl}if(i===0){i=undefined}const{store:r}=this.opts;return Promise.resolve().then(()=>{const e=typeof i==="number"?Date.now()+i:null;t={value:t,expires:e};return this.opts.serialize(t)}).then(e=>r.set(n,e,i)).then(()=>true)}delete(e){const t=this._getKeyPrefix(e);const{store:i}=this.opts;return Promise.resolve().then(()=>i.delete(t))}clear(){const{store:e}=this.opts;return Promise.resolve().then(()=>e.clear())}}e.exports=Keyv},9662:e=>{"use strict";e.exports=(e=>{const t={};for(const[i,n]of Object.entries(e)){t[i.toLowerCase()]=n}return t})},7129:(e,t,i)=>{"use strict";const n=i(40665);const r=Symbol("max");const s=Symbol("length");const a=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const c=Symbol("dispose");const l=Symbol("noDisposeOnSet");const p=Symbol("lruList");const d=Symbol("cache");const f=Symbol("updateAgeOnGet");const h=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[r]=e.max||Infinity;const i=e.length||h;this[a]=typeof i!=="function"?h:i;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[c]=e.dispose;this[l]=e.noDisposeOnSet||false;this[f]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||Infinity;g(this)}get max(){return this[r]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;g(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=h;if(e!==this[a]){this[a]=e;this[s]=0;this[p].forEach(e=>{e.length=this[a](e.value,e.key);this[s]+=e.length})}g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let i=this[p].tail;i!==null;){const n=i.prev;S(this,e,i,t);i=n}}forEach(e,t){t=t||this;for(let i=this[p].head;i!==null;){const n=i.next;S(this,e,i,t);i=n}}keys(){return this[p].toArray().map(e=>e.key)}values(){return this[p].toArray().map(e=>e.value)}reset(){if(this[c]&&this[p]&&this[p].length){this[p].forEach(e=>this[c](e.key,e.value))}this[d]=new Map;this[p]=new n;this[s]=0}dump(){return this[p].map(e=>b(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[p]}set(e,t,i){i=i||this[u];if(i&&typeof i!=="number")throw new TypeError("maxAge must be a number");const n=i?Date.now():0;const o=this[a](t,e);if(this[d].has(e)){if(o>this[r]){y(this,this[d].get(e));return false}const a=this[d].get(e);const u=a.value;if(this[c]){if(!this[l])this[c](e,u.value)}u.now=n;u.maxAge=i;u.value=t;this[s]+=o-u.length;u.length=o;this.get(e);g(this);return true}const f=new Entry(e,t,o,n,i);if(f.length>this[r]){if(this[c])this[c](e,t);return false}this[s]+=f.length;this[p].unshift(f);this[d].set(e,this[p].head);g(this);return true}has(e){if(!this[d].has(e))return false;const t=this[d].get(e).value;return!b(this,t)}get(e){return m(this,e,true)}peek(e){return m(this,e,false)}pop(){const e=this[p].tail;if(!e)return null;y(this,e);return e.value}del(e){y(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let i=e.length-1;i>=0;i--){const n=e[i];const r=n.e||0;if(r===0)this.set(n.k,n.v);else{const e=r-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[d].forEach((e,t)=>m(this,t,false))}}const m=(e,t,i)=>{const n=e[d].get(t);if(n){const t=n.value;if(b(e,t)){y(e,n);if(!e[o])return undefined}else{if(i){if(e[f])n.value.now=Date.now();e[p].unshiftNode(n)}}return t.value}};const b=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const i=Date.now()-t.now;return t.maxAge?i>t.maxAge:e[u]&&i>e[u]};const g=e=>{if(e[s]>e[r]){for(let t=e[p].tail;e[s]>e[r]&&t!==null;){const i=t.prev;y(e,t);t=i}}};const y=(e,t)=>{if(t){const i=t.value;if(e[c])e[c](i.key,i.value);e[s]-=i.length;e[d].delete(i.key);e[p].removeNode(t)}};class Entry{constructor(e,t,i,n,r){this.key=e;this.value=t;this.length=i;this.now=n;this.maxAge=r||0}}const S=(e,t,i,n)=>{let r=i.value;if(b(e,r)){y(e,i);if(!e[o])r=undefined}if(r)t.call(n,r.value,r.key,e)};e.exports=LRUCache},21381:(e,t)=>{"use strict";var i=typeof Reflect!=="undefined"?Reflect.construct:undefined;var n=Object.defineProperty;var r=Error.captureStackTrace;if(r===undefined){r=function captureStackTrace(e){var t=new Error;n(e,"stack",{configurable:true,get:function getStack(){var e=t.stack;n(this,"stack",{configurable:true,value:e,writable:true});return e},set:function setStack(t){n(e,"stack",{configurable:true,value:t,writable:true})}})}}function BaseError(e){if(e!==undefined){n(this,"message",{configurable:true,value:e,writable:true})}var t=this.constructor.name;if(t!==undefined&&t!==this.name){n(this,"name",{configurable:true,value:t,writable:true})}r(this,this.constructor)}BaseError.prototype=Object.create(Error.prototype,{constructor:{configurable:true,value:BaseError,writable:true}});var s=function(){function setFunctionName(e,t){return n(e,"name",{configurable:true,value:t})}try{var e=function(){};setFunctionName(e,"foo");if(e.name==="foo"){return setFunctionName}}catch(e){}}();function makeError(e,t){if(t==null||t===Error){t=BaseError}else if(typeof t!=="function"){throw new TypeError("super_ should be a function")}var n;if(typeof e==="string"){n=e;e=i!==undefined?function(){return i(t,arguments,this.constructor)}:function(){t.apply(this,arguments)};if(s!==undefined){s(e,n);n=undefined}}else if(typeof e!=="function"){throw new TypeError("constructor should be either a string or a function")}e.super_=e["super"]=t;var r={constructor:{configurable:true,value:e,writable:true}};if(n!==undefined){r.name={configurable:true,value:n,writable:true}}e.prototype=Object.create(t.prototype,r);return e}t=e.exports=makeError;t.BaseError=BaseError},47426:(e,t,i)=>{e.exports=i(73313)},43583:(e,t,i)=>{"use strict";var n=i(47426);var r=i(85622).extname;var s=/^\s*([^;\s]*)(?:;|\s|$)/;var a=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=s.exec(e);var i=t&&n[t[1].toLowerCase()];if(i&&i.charset){return i.charset}if(t&&a.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var i=e.indexOf("/")===-1?t.lookup(e):e;if(!i){return false}if(i.indexOf("charset")===-1){var n=t.charset(i);if(n)i+="; charset="+n.toLowerCase()}return i}function extension(e){if(!e||typeof e!=="string"){return false}var i=s.exec(e);var n=i&&t.extensions[i[1].toLowerCase()];if(!n||!n.length){return false}return n[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var i=r("x."+e).toLowerCase().substr(1);if(!i){return false}return t.types[i]||false}function populateMaps(e,t){var i=["nginx","apache",undefined,"iana"];Object.keys(n).forEach(function forEachMimeType(r){var s=n[r];var a=s.extensions;if(!a||!a.length){return}e[r]=a;for(var o=0;ol||c===l&&t[u].substr(0,12)==="application/")){continue}}t[u]=r}})}},42610:e=>{"use strict";const t=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];e.exports=((e,i)=>{if(i._readableState.autoDestroy){throw new Error("The second stream must have the `autoDestroy` option set to `false`")}const n=new Set(Object.keys(e).concat(t));const r={};for(const t of n){if(t in i){continue}r[t]={get(){const i=e[t];const n=typeof i==="function";return n?i.bind(e):i},set(i){e[t]=i},enumerable:true,configurable:false}}Object.defineProperties(i,r);e.once("aborted",()=>{i.destroy();i.emit("aborted")});e.once("close",()=>{if(e.complete){if(i.readable){i.once("end",()=>{i.emit("close")})}else{i.emit("close")}}else{i.emit("close")}});return i})},83973:(e,t,i)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n={sep:"/"};try{n=i(85622)}catch(e){}var r=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var s=i(33717);var a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var u=o+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var p=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var d=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(i,n,r){return minimatch(i,e,t)}}function ext(e,t){e=e||{};t=t||{};var i={};Object.keys(t).forEach(function(e){i[e]=t[e]});Object.keys(e).forEach(function(t){i[t]=e[t]});return i}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var i=function minimatch(i,n,r){return t.minimatch(i,n,ext(e,r))};i.Minimatch=function Minimatch(i,n){return new t.Minimatch(i,ext(e,n))};return i};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,i){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!i)i={};if(!i.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,i).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,i);i=this.globParts=i.map(function(e){return e.split(d)});this.debug(this.pattern,i);i=i.map(function(e,t,i){return e.map(this.parse,this)},this);this.debug(this.pattern,i);i=i.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var i=this.options;var n=0;if(i.nonegate)return;for(var r=0,s=e.length;r1024*64){throw new TypeError("pattern is too long")}var i=this.options;if(!i.noglobstar&&e==="**")return r;if(e==="")return"";var n="";var s=!!i.nocase;var c=false;var l=[];var d=[];var h;var m=false;var b=-1;var g=-1;var y=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var S=this;function clearStateChar(){if(h){switch(h){case"*":n+=u;s=true;break;case"?":n+=o;s=true;break;default:n+="\\"+h;break}S.debug("clearStateChar %j %j",h,n);h=false}}for(var v=0,w=e.length,j;v-1;A--){var E=d[A];var R=n.slice(0,E.reStart);var x=n.slice(E.reStart,E.reEnd-8);var N=n.slice(E.reEnd-8,E.reEnd);var V=n.slice(E.reEnd);N+=V;var P=R.split("(").length-1;var M=V;for(v=0;v=0;a--){s=e[a];if(s)break}for(a=0;a>> no match, partial?",e,p,t,d);if(p===o)return true}return false}var h;if(typeof c==="string"){if(n.nocase){h=l.toLowerCase()===c.toLowerCase()}else{h=l===c}this.debug("string match",c,l,h)}else{h=l.match(c);this.debug("pattern match",c,l,h)}if(!h)return false}if(s===o&&a===u){return true}else if(s===o){return i}else if(a===u){var m=s===o-1&&e[s]==="";return m}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},41077:(e,t,i)=>{"use strict";const n=i(28614);const r=i(92413);const s=i(40665);const a=i(24304).StringDecoder;const o=Symbol("EOF");const u=Symbol("maybeEmitEnd");const c=Symbol("emittedEnd");const l=Symbol("emittingEnd");const p=Symbol("closed");const d=Symbol("read");const f=Symbol("flush");const h=Symbol("flushChunk");const m=Symbol("encoding");const b=Symbol("decoder");const g=Symbol("flowing");const y=Symbol("paused");const S=Symbol("resume");const v=Symbol("bufferLength");const w=Symbol("bufferPush");const j=Symbol("bufferShift");const z=Symbol("objectMode");const O=Symbol("destroyed");const k=global._MP_NO_ITERATOR_SYMBOLS_!=="1";const C=k&&Symbol.asyncIterator||Symbol("asyncIterator not implemented");const T=k&&Symbol.iterator||Symbol("iterator not implemented");const _=e=>e==="end"||e==="finish"||e==="prefinish";const A=e=>e instanceof ArrayBuffer||typeof e==="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0;const E=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e);e.exports=class Minipass extends r{constructor(e){super();this[g]=false;this[y]=false;this.pipes=new s;this.buffer=new s;this[z]=e&&e.objectMode||false;if(this[z])this[m]=null;else this[m]=e&&e.encoding||null;if(this[m]==="buffer")this[m]=null;this[b]=this[m]?new a(this[m]):null;this[o]=false;this[c]=false;this[l]=false;this[p]=false;this.writable=true;this.readable=true;this[v]=0;this[O]=false}get bufferLength(){return this[v]}get encoding(){return this[m]}set encoding(e){if(this[z])throw new Error("cannot set encoding in objectMode");if(this[m]&&e!==this[m]&&(this[b]&&this[b].lastNeed||this[v]))throw new Error("cannot change encoding");if(this[m]!==e){this[b]=e?new a(e):null;if(this.buffer.length)this.buffer=this.buffer.map(e=>this[b].write(e))}this[m]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[z]}set objectMode(e){this[z]=this[z]||!!e}write(e,t,i){if(this[o])throw new Error("write after end");if(this[O]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof t==="function")i=t,t="utf8";if(!t)t="utf8";if(!this[z]&&!Buffer.isBuffer(e)){if(E(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(A(e))e=Buffer.from(e);else if(typeof e!=="string")this.objectMode=true}if(!this.objectMode&&!e.length){if(this[v]!==0)this.emit("readable");if(i)i();return this.flowing}if(typeof e==="string"&&!this[z]&&!(t===this[m]&&!this[b].lastNeed)){e=Buffer.from(e,t)}if(Buffer.isBuffer(e)&&this[m])e=this[b].write(e);if(this.flowing){if(this[v]!==0)this[f](true);this.emit("data",e)}else this[w](e);if(this[v]!==0)this.emit("readable");if(i)i();return this.flowing}read(e){if(this[O])return null;try{if(this[v]===0||e===0||e>this[v])return null;if(this[z])e=null;if(this.buffer.length>1&&!this[z]){if(this.encoding)this.buffer=new s([Array.from(this.buffer).join("")]);else this.buffer=new s([Buffer.concat(Array.from(this.buffer),this[v])])}return this[d](e||null,this.buffer.head.value)}finally{this[u]()}}[d](e,t){if(e===t.length||e===null)this[j]();else{this.buffer.head.value=t.slice(e);t=t.slice(0,e);this[v]-=e}this.emit("data",t);if(!this.buffer.length&&!this[o])this.emit("drain");return t}end(e,t,i){if(typeof e==="function")i=e,e=null;if(typeof t==="function")i=t,t="utf8";if(e)this.write(e,t);if(i)this.once("end",i);this[o]=true;this.writable=false;if(this.flowing||!this[y])this[u]();return this}[S](){if(this[O])return;this[y]=false;this[g]=true;this.emit("resume");if(this.buffer.length)this[f]();else if(this[o])this[u]();else this.emit("drain")}resume(){return this[S]()}pause(){this[g]=false;this[y]=true}get destroyed(){return this[O]}get flowing(){return this[g]}get paused(){return this[y]}[w](e){if(this[z])this[v]+=1;else this[v]+=e.length;return this.buffer.push(e)}[j](){if(this.buffer.length){if(this[z])this[v]-=1;else this[v]-=this.buffer.head.value.length}return this.buffer.shift()}[f](e){do{}while(this[h](this[j]()));if(!e&&!this.buffer.length&&!this[o])this.emit("drain")}[h](e){return e?(this.emit("data",e),this.flowing):false}pipe(e,t){if(this[O])return;const i=this[c];t=t||{};if(e===process.stdout||e===process.stderr)t.end=false;else t.end=t.end!==false;const n={dest:e,opts:t,ondrain:e=>this[S]()};this.pipes.push(n);e.on("drain",n.ondrain);this[S]();if(i&&n.opts.end)n.dest.end();return e}addListener(e,t){return this.on(e,t)}on(e,t){try{return super.on(e,t)}finally{if(e==="data"&&!this.pipes.length&&!this.flowing)this[S]();else if(_(e)&&this[c]){super.emit(e);this.removeAllListeners(e)}}}get emittedEnd(){return this[c]}[u](){if(!this[l]&&!this[c]&&!this[O]&&this.buffer.length===0&&this[o]){this[l]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[p])this.emit("close");this[l]=false}}emit(e,t){if(e!=="error"&&e!=="close"&&e!==O&&this[O])return;else if(e==="data"){if(!t)return;if(this.pipes.length)this.pipes.forEach(e=>e.dest.write(t)===false&&this.pause())}else if(e==="end"){if(this[c]===true)return;this[c]=true;this.readable=false;if(this[b]){t=this[b].end();if(t){this.pipes.forEach(e=>e.dest.write(t));super.emit("data",t)}}this.pipes.forEach(e=>{e.dest.removeListener("drain",e.ondrain);if(e.opts.end)e.dest.end()})}else if(e==="close"){this[p]=true;if(!this[c]&&!this[O])return}const i=new Array(arguments.length);i[0]=e;i[1]=t;if(arguments.length>2){for(let e=2;e{e.push(t);if(!this[z])e.dataLength+=t.length});return t.then(()=>e)}concat(){return this[z]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[z]?Promise.reject(new Error("cannot concat in objectMode")):this[m]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(O,()=>t(new Error("stream destroyed")));this.on("end",()=>e());this.on("error",e=>t(e))})}[C](){const e=()=>{const e=this.read();if(e!==null)return Promise.resolve({done:false,value:e});if(this[o])return Promise.resolve({done:true});let t=null;let i=null;const n=e=>{this.removeListener("data",r);this.removeListener("end",s);i(e)};const r=e=>{this.removeListener("error",n);this.removeListener("end",s);this.pause();t({value:e,done:!!this[o]})};const s=()=>{this.removeListener("error",n);this.removeListener("data",r);t({done:true})};const a=()=>n(new Error("stream destroyed"));return new Promise((e,o)=>{i=o;t=e;this.once(O,a);this.once("error",n);this.once("end",s);this.once("data",r)})};return{next:e}}[T](){const e=()=>{const e=this.read();const t=e===null;return{value:e,done:t}};return{next:e}}destroy(e){if(this[O]){if(e)this.emit("error",e);else this.emit(O);return this}this[O]=true;this.buffer=new s;this[v]=0;if(typeof this.close==="function"&&!this[p])this.close();if(e)this.emit("error",e);else this.emit(O);return this}static isStream(e){return!!e&&(e instanceof Minipass||e instanceof r||e instanceof n&&(typeof e.pipe==="function"||typeof e.write==="function"&&typeof e.end==="function"))}}},6769:(e,t,i)=>{const n=i(78761).constants||{ZLIB_VERNUM:4736};e.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,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_VERSION_ERROR:-6,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,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:Infinity,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},n))},33486:(e,t,i)=>{"use strict";const n=i(42357);const r=i(64293).Buffer;const s=i(78761);const a=t.constants=i(6769);const o=i(41077);const u=r.concat;const c=Symbol("_superWrite");class ZlibError extends Error{constructor(e){super("zlib: "+e.message);this.code=e.code;this.errno=e.errno;if(!this.code)this.code="ZLIB_ERROR";this.message="zlib: "+e.message;Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}}const l=Symbol("opts");const p=Symbol("flushFlag");const d=Symbol("finishFlushFlag");const f=Symbol("fullFlushFlag");const h=Symbol("handle");const m=Symbol("onError");const b=Symbol("sawError");const g=Symbol("level");const y=Symbol("strategy");const S=Symbol("ended");const v=Symbol("_defaultFullFlush");class ZlibBase extends o{constructor(e,t){if(!e||typeof e!=="object")throw new TypeError("invalid options for ZlibBase constructor");super(e);this[b]=false;this[S]=false;this[l]=e;this[p]=e.flush;this[d]=e.finishFlush;try{this[h]=new s[t](e)}catch(e){throw new ZlibError(e)}this[m]=(e=>{if(this[b])return;this[b]=true;this.close();this.emit("error",e)});this[h].on("error",e=>this[m](new ZlibError(e)));this.once("end",()=>this.close)}close(){if(this[h]){this[h].close();this[h]=null;this.emit("close")}}reset(){if(!this[b]){n(this[h],"zlib binding closed");return this[h].reset()}}flush(e){if(this.ended)return;if(typeof e!=="number")e=this[f];this.write(Object.assign(r.alloc(0),{[p]:e}))}end(e,t,i){if(e)this.write(e,t);this.flush(this[d]);this[S]=true;return super.end(null,null,i)}get ended(){return this[S]}write(e,t,i){if(typeof t==="function")i=t,t="utf8";if(typeof e==="string")e=r.from(e,t);if(this[b])return;n(this[h],"zlib binding closed");const s=this[h]._handle;const a=s.close;s.close=(()=>{});const o=this[h].close;this[h].close=(()=>{});r.concat=(e=>e);let l;try{const t=typeof e[p]==="number"?e[p]:this[p];l=this[h]._processChunk(e,t);r.concat=u}catch(e){r.concat=u;this[m](new ZlibError(e))}finally{if(this[h]){this[h]._handle=s;s.close=a;this[h].close=o;this[h].removeAllListeners("error")}}if(this[h])this[h].on("error",e=>this[m](new ZlibError(e)));let d;if(l){if(Array.isArray(l)&&l.length>0){d=this[c](r.from(l[0]));for(let e=1;e{this.flush(e);t()});try{this[h].params(e,t)}finally{this[h].flush=i}if(this[h]){this[g]=e;this[y]=t}}}}class Deflate extends Zlib{constructor(e){super(e,"Deflate")}}class Inflate extends Zlib{constructor(e){super(e,"Inflate")}}const w=Symbol("_portable");class Gzip extends Zlib{constructor(e){super(e,"Gzip");this[w]=e&&!!e.portable}[c](e){if(!this[w])return super[c](e);this[w]=false;e[9]=255;return super[c](e)}}class Gunzip extends Zlib{constructor(e){super(e,"Gunzip")}}class DeflateRaw extends Zlib{constructor(e){super(e,"DeflateRaw")}}class InflateRaw extends Zlib{constructor(e){super(e,"InflateRaw")}}class Unzip extends Zlib{constructor(e){super(e,"Unzip")}}class Brotli extends ZlibBase{constructor(e,t){e=e||{};e.flush=e.flush||a.BROTLI_OPERATION_PROCESS;e.finishFlush=e.finishFlush||a.BROTLI_OPERATION_FINISH;super(e,t);this[f]=a.BROTLI_OPERATION_FLUSH}}class BrotliCompress extends Brotli{constructor(e){super(e,"BrotliCompress")}}class BrotliDecompress extends Brotli{constructor(e){super(e,"BrotliDecompress")}}t.Deflate=Deflate;t.Inflate=Inflate;t.Gzip=Gzip;t.Gunzip=Gunzip;t.DeflateRaw=DeflateRaw;t.InflateRaw=InflateRaw;t.Unzip=Unzip;if(typeof s.BrotliCompress==="function"){t.BrotliCompress=BrotliCompress;t.BrotliDecompress=BrotliDecompress}else{t.BrotliCompress=t.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}}},66186:(e,t,i)=>{const n=i(42853);const r=i(12930);const{mkdirpNative:s,mkdirpNativeSync:a}=i(4983);const{mkdirpManual:o,mkdirpManualSync:u}=i(40356);const{useNative:c,useNativeSync:l}=i(54518);const p=(e,t)=>{e=r(e);t=n(t);return c(t)?s(e,t):o(e,t)};const d=(e,t)=>{e=r(e);t=n(t);return l(t)?a(e,t):u(e,t)};p.sync=d;p.native=((e,t)=>s(r(e),n(t)));p.manual=((e,t)=>o(r(e),n(t)));p.nativeSync=((e,t)=>a(r(e),n(t)));p.manualSync=((e,t)=>u(r(e),n(t)));e.exports=p},44992:(e,t,i)=>{const{dirname:n}=i(85622);const r=(e,t,i=undefined)=>{if(i===t)return Promise.resolve();return e.statAsync(t).then(e=>e.isDirectory()?i:undefined,i=>i.code==="ENOENT"?r(e,n(t),t):undefined)};const s=(e,t,i=undefined)=>{if(i===t)return undefined;try{return e.statSync(t).isDirectory()?i:undefined}catch(i){return i.code==="ENOENT"?s(e,n(t),t):undefined}};e.exports={findMade:r,findMadeSync:s}},40356:(e,t,i)=>{const{dirname:n}=i(85622);const r=(e,t,i)=>{t.recursive=false;const s=n(e);if(s===e){return t.mkdirAsync(e,t).catch(e=>{if(e.code!=="EISDIR")throw e})}return t.mkdirAsync(e,t).then(()=>i||e,n=>{if(n.code==="ENOENT")return r(s,t).then(i=>r(e,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return t.statAsync(e).then(e=>{if(e.isDirectory())return i;else throw n},()=>{throw n})})};const s=(e,t,i)=>{const r=n(e);t.recursive=false;if(r===e){try{return t.mkdirSync(e,t)}catch(e){if(e.code!=="EISDIR")throw e;else return}}try{t.mkdirSync(e,t);return i||e}catch(n){if(n.code==="ENOENT")return s(e,t,s(r,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!t.statSync(e).isDirectory())throw n}catch(e){throw n}}};e.exports={mkdirpManual:r,mkdirpManualSync:s}},4983:(e,t,i)=>{const{dirname:n}=i(85622);const{findMade:r,findMadeSync:s}=i(44992);const{mkdirpManual:a,mkdirpManualSync:o}=i(40356);const u=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirAsync(e,t);return r(t,e).then(i=>t.mkdirAsync(e,t).then(()=>i).catch(i=>{if(i.code==="ENOENT")return a(e,t);else throw i}))};const c=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirSync(e,t);const r=s(t,e);try{t.mkdirSync(e,t);return r}catch(i){if(i.code==="ENOENT")return o(e,t);else throw i}};e.exports={mkdirpNative:u,mkdirpNativeSync:c}},42853:(e,t,i)=>{const{promisify:n}=i(31669);const r=i(35747);const s=e=>{if(!e)e={mode:511,fs:r};else if(typeof e==="object")e={mode:511,fs:r,...e};else if(typeof e==="number")e={mode:e,fs:r};else if(typeof e==="string")e={mode:parseInt(e,8),fs:r};else throw new TypeError("invalid options argument");e.mkdir=e.mkdir||e.fs.mkdir||r.mkdir;e.mkdirAsync=n(e.mkdir);e.stat=e.stat||e.fs.stat||r.stat;e.statAsync=n(e.stat);e.statSync=e.statSync||e.fs.statSync||r.statSync;e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||r.mkdirSync;return e};e.exports=s},12930:(e,t,i)=>{const n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform;const{resolve:r,parse:s}=i(85622);const a=e=>{if(/\0/.test(e)){throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"})}e=r(e);if(n==="win32"){const t=/[*|"<>?:]/;const{root:i}=s(e);if(t.test(e.substr(i.length))){throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}}return e};e.exports=a},54518:(e,t,i)=>{const n=i(35747);const r=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version;const s=r.replace(/^v/,"").split(".");const a=+s[0]>10||+s[0]===10&&+s[1]>=12;const o=!a?()=>false:e=>e.mkdir===n.mkdir;const u=!a?()=>false:e=>e.mkdirSync===n.mkdirSync;e.exports={useNative:o,useNativeSync:u}},38560:e=>{"use strict";e.exports=function(e){try{return e()}catch(e){}}},80467:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(i(92413));var r=_interopDefault(i(98605));var s=_interopDefault(i(78835));var a=_interopDefault(i(57211));var o=_interopDefault(i(78761));const u=n.Readable;const c=Symbol("buffer");const l=Symbol("type");class Blob{constructor(){this[l]="";const e=arguments[0];const t=arguments[1];const i=[];let n=0;if(e){const t=e;const r=Number(t.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},r=i.size;let s=r===undefined?0:r;var a=i.timeout;let o=a===undefined?0:a;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 n) ;else{e=Buffer.from(String(e))}this[d]={body:e,disturbed:false,error:null};this.size=s;this.timeout=o;if(e instanceof n){e.on("error",function(e){const i=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[d].error=i})}}Body.prototype={get body(){return this[d].body},get bodyUsed(){return this[d].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(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[c]:t})})},json(){var e=this;return consumeBody.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.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(t){return convertBody(t,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 t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const i=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,i)}}};function consumeBody(){var e=this;if(this[d].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[d].disturbed=true;if(this[d].error){return Body.Promise.reject(this[d].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof n)){return Body.Promise.resolve(Buffer.alloc(0))}let i=[];let r=0;let s=false;return new Body.Promise(function(n,a){let o;if(e.timeout){o=setTimeout(function(){s=true;a(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}t.on("error",function(t){if(t.name==="AbortError"){s=true;a(t)}else{a(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}});t.on("data",function(t){if(s||t===null){return}if(e.size&&r+t.length>e.size){s=true;a(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}r+=t.length;i.push(t)});t.on("end",function(){if(s){return}clearTimeout(o);try{n(Buffer.concat(i,r))}catch(t){a(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}})})}function convertBody(e,t){if(typeof p!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const i=t.get("content-type");let n="utf-8";let r,s;if(i){r=/charset=([^;]*)/i.exec(i)}s=e.slice(0,1024).toString();if(!r&&s){r=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[b]=Object.create(null);if(e instanceof Headers){const t=e.raw();const i=Object.keys(t);for(const e of i){for(const i of t[e]){this.append(e,i)}}return}if(e==null) ;else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const i=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}i.push(Array.from(t))}for(const e of i){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 t of Object.keys(e)){const i=e[t];this.append(t,i)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[b],e);if(t===undefined){return null}return this[b][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let i=getHeaders(this);let n=0;while(n1&&arguments[1]!==undefined?arguments[1]:"key+value";const i=Object.keys(e[b]).sort();return i.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[b][t].join(", ")}:function(t){return[t.toLowerCase(),e[b][t].join(", ")]})}const g=Symbol("internal");function createHeadersIterator(e,t){const i=Object.create(y);i[g]={target:e,kind:t,index:0};return i}const y=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==y){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[g];const t=e.target,i=e.kind,n=e.index;const r=getHeaders(t,i);const s=r.length;if(n>=s){return{value:undefined,done:true}}this[g].index=n+1;return{value:r[n],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(y,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[b]);const i=find(e[b],"Host");if(i!==undefined){t[i]=t[i][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const i of Object.keys(e)){if(h.test(i)){continue}if(Array.isArray(e[i])){for(const n of e[i]){if(m.test(n)){continue}if(t[b][i]===undefined){t[b][i]=[n]}else{t[b][i].push(n)}}}else if(!m.test(e[i])){t[b][i]=[e[i]]}}return t}const S=Symbol("Response internals");const v=r.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const i=t.status||200;const n=new Headers(t.headers);if(e!=null&&!n.has("Content-Type")){const t=extractContentType(e);if(t){n.append("Content-Type",t)}}this[S]={url:t.url,status:i,statusText:t.statusText||v[i],headers:n,counter:t.counter}}get url(){return this[S].url||""}get status(){return this[S].status}get ok(){return this[S].status>=200&&this[S].status<300}get redirected(){return this[S].counter>0}get statusText(){return this[S].statusText}get headers(){return this[S].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 w=Symbol("Request internals");const j=s.parse;const z=s.format;const O="destroy"in n.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let i;if(!isRequest(e)){if(e&&e.href){i=j(e.href)}else{i=j(`${e}`)}e={}}else{i=j(e.url)}let n=t.method||e.method||"GET";n=n.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(n==="GET"||n==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let r=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,r,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const s=new Headers(t.headers||e.headers||{});if(r!=null&&!s.has("Content-Type")){const e=extractContentType(r);if(e){s.append("Content-Type",e)}}let a=isRequest(e)?e.signal:null;if("signal"in t)a=t.signal;if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:n,redirect:t.redirect||e.redirect||"follow",headers:s,parsedURL:i,signal:a};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[w].method}get url(){return z(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].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 t=e[w].parsedURL;const i=new Headers(e[w].headers);if(!i.has("Accept")){i.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof n.Readable&&!O){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let r=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){r="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){r=String(t)}}if(r){i.set("Content-Length",r)}if(!i.has("User-Agent")){i.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!i.has("Accept-Encoding")){i.set("Accept-Encoding","gzip,deflate")}let s=e.agent;if(typeof s==="function"){s=s(t)}if(!i.has("Connection")&&!s){i.set("Connection","close")}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(i),agent:s})}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 k=n.PassThrough;const C=s.resolve;function fetch(e,t){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(i,s){const u=new Request(e,t);const c=getNodeRequestOptions(u);const l=(c.protocol==="https:"?a:r).request;const p=u.signal;let d=null;const f=function abort(){let e=new AbortError("The user aborted a request.");s(e);if(u.body&&u.body instanceof n.Readable){u.body.destroy(e)}if(!d||!d.body)return;d.body.emit("error",e)};if(p&&p.aborted){f();return}const h=function abortAndFinalize(){f();finalize()};const m=l(c);let b;if(p){p.addEventListener("abort",h)}function finalize(){m.abort();if(p)p.removeEventListener("abort",h);clearTimeout(b)}if(u.timeout){m.once("socket",function(e){b=setTimeout(function(){s(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}m.on("error",function(e){s(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});m.on("response",function(e){clearTimeout(b);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const n=t.get("Location");const r=n===null?null:C(u.url,n);switch(u.redirect){case"error":s(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(r!==null){try{t.set("Location",r)}catch(e){s(e)}}break;case"follow":if(r===null){break}if(u.counter>=u.follow){s(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const n={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){s(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)&&u.method==="POST"){n.method="GET";n.body=undefined;n.headers.delete("content-length")}i(fetch(new Request(r,n)));finalize();return}}e.once("end",function(){if(p)p.removeEventListener("abort",h)});let n=e.pipe(new k);const r={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:u.size,timeout:u.timeout,counter:u.counter};const a=t.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||a===null||e.statusCode===204||e.statusCode===304){d=new Response(n,r);i(d);return}const c={flush:o.Z_SYNC_FLUSH,finishFlush:o.Z_SYNC_FLUSH};if(a=="gzip"||a=="x-gzip"){n=n.pipe(o.createGunzip(c));d=new Response(n,r);i(d);return}if(a=="deflate"||a=="x-deflate"){const t=e.pipe(new k);t.once("data",function(e){if((e[0]&15)===8){n=n.pipe(o.createInflate())}else{n=n.pipe(o.createInflateRaw())}d=new Response(n,r);i(d)});return}if(a=="br"&&typeof o.createBrotliDecompress==="function"){n=n.pipe(o.createBrotliDecompress());d=new Response(n,r);i(d);return}d=new Response(n,r);i(d)});writeToStream(m,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t.default=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError},17952:(e,t,i)=>{"use strict";const n=typeof URL==="undefined"?i(78835).URL:URL;const r="text/plain";const s="us-ascii";const a=(e,t)=>{return t.some(t=>t instanceof RegExp?t.test(e):t===e)};const o=(e,{stripHash:t})=>{const i=e.match(/^data:(.*?),(.*?)(?:#(.*))?$/);if(!i){throw new Error(`Invalid URL: ${e}`)}const n=i[1].split(";");const a=i[2];const o=t?"":i[3];let u=false;if(n[n.length-1]==="base64"){n.pop();u=true}const c=(n.shift()||"").toLowerCase();const l=n.map(e=>{let[t,i=""]=e.split("=").map(e=>e.trim());if(t==="charset"){i=i.toLowerCase();if(i===s){return""}}return`${t}${i?`=${i}`:""}`}).filter(Boolean);const p=[...l];if(u){p.push("base64")}if(p.length!==0||c&&c!==r){p.unshift(c)}return`data:${p.join(";")},${u?a.trim():a}${o?`#${o}`:""}`};const u=(e,t)=>{t={defaultProtocol:"http:",normalizeProtocol:true,forceHttp:false,forceHttps:false,stripAuthentication:true,stripHash:false,stripWWW:true,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:true,removeDirectoryIndex:false,sortQueryParameters:true,...t};if(Reflect.has(t,"normalizeHttps")){throw new Error("options.normalizeHttps is renamed to options.forceHttp")}if(Reflect.has(t,"normalizeHttp")){throw new Error("options.normalizeHttp is renamed to options.forceHttps")}if(Reflect.has(t,"stripFragment")){throw new Error("options.stripFragment is renamed to options.stripHash")}e=e.trim();if(/^data:/i.test(e)){return o(e,t)}const i=e.startsWith("//");const r=!i&&/^\.*\//.test(e);if(!r){e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol)}const s=new n(e);if(t.forceHttp&&t.forceHttps){throw new Error("The `forceHttp` and `forceHttps` options cannot be used together")}if(t.forceHttp&&s.protocol==="https:"){s.protocol="http:"}if(t.forceHttps&&s.protocol==="http:"){s.protocol="https:"}if(t.stripAuthentication){s.username="";s.password=""}if(t.stripHash){s.hash=""}if(s.pathname){s.pathname=s.pathname.replace(/((?!:).|^)\/{2,}/g,(e,t)=>{if(/^(?!\/)/g.test(t)){return`${t}/`}return"/"})}if(s.pathname){s.pathname=decodeURI(s.pathname)}if(t.removeDirectoryIndex===true){t.removeDirectoryIndex=[/^index\.[a-z]+$/]}if(Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=s.pathname.split("/");const i=e[e.length-1];if(a(i,t.removeDirectoryIndex)){e=e.slice(0,e.length-1);s.pathname=e.slice(1).join("/")+"/"}}if(s.hostname){s.hostname=s.hostname.replace(/\.$/,"");if(t.stripWWW&&/^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(s.hostname)){s.hostname=s.hostname.replace(/^www\./,"")}}if(Array.isArray(t.removeQueryParameters)){for(const e of[...s.searchParams.keys()]){if(a(e,t.removeQueryParameters)){s.searchParams.delete(e)}}}if(t.sortQueryParameters){s.searchParams.sort()}if(t.removeTrailingSlash){s.pathname=s.pathname.replace(/\/$/,"")}e=s.toString();if((t.removeTrailingSlash||s.pathname==="/")&&s.hash===""){e=e.replace(/\/$/,"")}if(i&&!t.normalizeProtocol){e=e.replace(/^http:\/\//,"//")}if(t.stripProtocol){e=e.replace(/^(?:https?:)?\/\//,"")}return e};e.exports=u;e.exports.default=u},20502:(e,t,i)=>{"use strict";const n=i(85622);const r=i(20539);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[r()]},e);let t;let i=n.resolve(e.cwd);const s=[];while(t!==i){s.push(n.join(i,"node_modules/.bin"));t=i;i=n.resolve(i,"..")}s.push(n.dirname(process.execPath));return s.concat(e.path).join(n.delimiter)});e.exports.env=(t=>{t=Object.assign({env:process.env},t);const i=Object.assign({},t.env);const n=r({env:i});t.path=i[n];i[n]=e.exports(t);return i})},43248:(e,t,i)=>{var n=i(76417);function sha(e,t,i){return n.createHmac(i,e).update(t).digest("base64")}function rsa(e,t){return n.createSign("RSA-SHA1").update(t).sign(e,"base64")}function rfc3986(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function map(e){var t,i,n=[];for(t in e){i=e[t];if(Array.isArray(i))for(var r=0;rt?1:e{"use strict";var n=i(76417);t=e.exports=objectHash;function objectHash(e,t){t=applyDefaults(e,t);return hash(e,t)}t.sha1=function(e){return objectHash(e)};t.keys=function(e){return objectHash(e,{excludeValues:true,algorithm:"sha1",encoding:"hex"})};t.MD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex"})};t.keysMD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex",excludeValues:true})};var r=n.getHashes?n.getHashes().slice():["sha1","md5"];r.push("passthrough");var s=["buffer","hex","binary","base64"];function applyDefaults(e,t){t=t||{};var i={};i.algorithm=t.algorithm||"sha1";i.encoding=t.encoding||"hex";i.excludeValues=t.excludeValues?true:false;i.algorithm=i.algorithm.toLowerCase();i.encoding=i.encoding.toLowerCase();i.ignoreUnknown=t.ignoreUnknown!==true?false:true;i.respectType=t.respectType===false?false:true;i.respectFunctionNames=t.respectFunctionNames===false?false:true;i.respectFunctionProperties=t.respectFunctionProperties===false?false:true;i.unorderedArrays=t.unorderedArrays!==true?false:true;i.unorderedSets=t.unorderedSets===false?false:true;i.unorderedObjects=t.unorderedObjects===false?false:true;i.replacer=t.replacer||undefined;i.excludeKeys=t.excludeKeys||undefined;if(typeof e==="undefined"){throw new Error("Object argument required.")}for(var n=0;n=0){return this.dispatch("[CIRCULAR:"+o+"]")}else{i.push(t)}if(typeof Buffer!=="undefined"&&Buffer.isBuffer&&Buffer.isBuffer(t)){n("buffer:");return n(t)}if(a!=="object"&&a!=="function"&&a!=="asyncfunction"){if(this["_"+a]){this["_"+a](t)}else if(e.ignoreUnknown){return n("["+a+"]")}else{throw new Error('Unknown object type "'+a+'"')}}else{var u=Object.keys(t);if(e.unorderedObjects){u=u.sort()}if(e.respectType!==false&&!isNativeFunction(t)){u.splice(0,0,"prototype","__proto__","constructor")}if(e.excludeKeys){u=u.filter(function(t){return!e.excludeKeys(t)})}n("object:"+u.length+":");var c=this;return u.forEach(function(i){c.dispatch(i);n(":");if(!e.excludeValues){c.dispatch(t[i])}n(",")})}},_array:function(t,r){r=typeof r!=="undefined"?r:e.unorderedArrays!==false;var s=this;n("array:"+t.length+":");if(!r||t.length<=1){return t.forEach(function(e){return s.dispatch(e)})}var a=[];var o=t.map(function(t){var n=new PassThrough;var r=i.slice();var s=typeHasher(e,n,r);s.dispatch(t);a=a.concat(r.slice(i.length));return n.read().toString()});i=i.concat(a);o.sort();return this._array(o,false)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":");n(e.toString())},_function:function(t){n("fn:");if(isNativeFunction(t)){this.dispatch("[native]")}else{this.dispatch(t.toString())}if(e.respectFunctionNames!==false){this.dispatch("function-name:"+String(t.name))}if(e.respectFunctionProperties){this._object(t)}},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){n("uint8clampedarray:");return this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){n("float32array:");return this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){n("float64array:");return this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){n("arraybuffer:");return this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString(),"utf8")},_map:function(t){n("map:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_set:function(t){n("set:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_file:function(e){n("file:");return this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown){return n("[blob]")}throw Error("Hashing Blob objects is currently not supported\n"+"(see https://github.com/puleos/object-hash/issues/26)\n"+'Use "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function PassThrough(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}},1270:(e,t,i)=>{const{strict:n}=i(42357);const{createHash:r}=i(76417);const{format:s}=i(31669);const a=i(19811);let o;if(Buffer.isEncoding("base64url")){o=(e=>e.toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");o=(t=>e(t.toString("base64")))}function getHash(e,t){switch(e){case"HS256":case"RS256":case"PS256":case"ES256":case"ES256K":return r("sha256");case"HS384":case"RS384":case"PS384":case"ES384":return r("sha384");case"HS512":case"RS512":case"PS512":case"ES512":return r("sha512");case"EdDSA":switch(t){case"Ed25519":return r("sha512");case"Ed448":if(!a){throw new TypeError("Ed448 *_hash calculation is not supported in your Node.js runtime version")}return r("shake256",{outputLength:114});default:throw new TypeError("unrecognized or invalid EdDSA curve provided")}default:throw new TypeError("unrecognized or invalid JWS algorithm provided")}}function generate(e,t,i){const n=getHash(t,i).update(e).digest();return o(n.slice(0,n.length/2))}function validate(e,t,i,r,a){if(typeof e.claim!=="string"||!e.claim){throw new TypeError("names.claim must be a non-empty string")}if(typeof e.source!=="string"||!e.source){throw new TypeError("names.source must be a non-empty string")}n(typeof t==="string"&&t,`${e.claim} must be a non-empty string`);n(typeof i==="string"&&i,`${e.source} must be a non-empty string`);let o;let u;try{o=generate(i,r,a)}catch(t){u=s("%s could not be validated (%s)",e.claim,t.message)}u=u||s("%s mismatch, expected %s, got: %s",e.claim,o,t);n.equal(o,t,u)}e.exports={validate:validate,generate:generate}},19811:(e,t,i)=>{const n=i(76417);const[r,s]=process.version.substr(1).split(".").map(e=>parseInt(e,10));const a=r>12||r===12&&s>=8;const o=a&&n.getHashes().includes("shake256");e.exports=o},1223:(e,t,i)=>{var n=i(62940);e.exports=n(once);e.exports.strict=n(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 t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var i=e.name||"Function wrapped with `once`";t.onceError=i+" shouldn't be called more than once";t.called=false;return t}},28300:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(98605);const s=i(76417);const{strict:a}=i(42357);const o=i(71191);const u=i(78835);const{ParseError:c}=i(93061);const l=i(16425);const p=i(1270);const d=i(61827);const f=i(13098);const{assertSigningAlgValuesSupport:h,assertIssuerConfiguration:m}=i(63217);const b=i(78857);const g=i(39862);const y=i(28576);const S=i(39029);const{OPError:v,RPError:w}=i(45061);const j=i(8542);const{random:z}=i(75421);const O=i(92946);const{CALLBACK_PROPERTIES:k,CLIENT_DEFAULTS:C,JWT_CONTENT:T,CLOCK_TOLERANCE:_}=i(27556);const A=i(30730);const E=i(36546);const{authenticatedPost:R,resolveResponseType:x,resolveRedirectUri:N}=i(7619);const V=i(23979);function pickCb(e){return b(e,...k)}function authorizationHeaderValue(e,t="Bearer"){return`${t} ${e}`}function cleanUpClaims(e){if(Object.keys(e._claim_names).length===0){delete e._claim_names}if(Object.keys(e._claim_sources).length===0){delete e._claim_sources}}function assignClaim(e,t,i,n=true){return([r,s])=>{if(s===i){if(n&&t[r]===undefined){throw new w(`expected claim "${r}" in "${i}"`)}else if(t[r]!==undefined){e[r]=t[r]}delete e._claim_names[r]}}}function verifyPresence(e,t,i){if(e[i]===undefined){throw new w({message:`missing required JWT property ${i}`,jwt:t})}}function authorizationParams(e){const t={client_id:this.client_id,scope:"openid",response_type:x.call(this),redirect_uri:N.call(this),...e};Object.entries(t).forEach(([e,i])=>{if(i===null||i===undefined){delete t[e]}else if(e==="claims"&&typeof i==="object"){t[e]=JSON.stringify(i)}else if(e==="resource"&&Array.isArray(i)){t[e]=i}else if(typeof i!=="string"){t[e]=String(i)}});return t}async function claimJWT(e,t){try{const{header:i,payload:n}=l.JWT.decode(t,{complete:true});const{iss:r}=n;if(i.alg==="none"){return n}let s;if(!r||r===this.issuer.issuer){s=await this.issuer.queryKeyStore(i)}else if(A.has(r)){s=await A.get(r).queryKeyStore(i)}else{const e=await this.issuer.constructor.discover(r);s=await e.queryKeyStore(i)}return l.JWT.verify(t,s)}catch(i){if(i instanceof w||i instanceof v||i.name==="AggregateError"){throw i}else{throw new w({printf:["failed to validate the %s JWT (%s: %s)",e,i.name,i.message],jwt:t})}}}function getKeystore(e){const t=l.JWKS.asKeyStore(e);if(t.all().some(e=>e.type!=="private")){throw new TypeError("jwks must only contain private keys")}return t}function checkBasicSupport(e,t,i){try{const t=e.issuer.token_endpoint_auth_methods_supported;if(!t.includes(i.token_endpoint_auth_method)){if(t.includes("client_secret_post")){i.token_endpoint_auth_method="client_secret_post"}}}catch(e){}}function handleCommonMistakes(e,t,i){if(!t.token_endpoint_auth_method){checkBasicSupport(e,t,i)}if(t.redirect_uri){if(t.redirect_uris){throw new TypeError("provide a redirect_uri or redirect_uris, not both")}i.redirect_uris=[t.redirect_uri];delete i.redirect_uri}if(t.response_type){if(t.response_types){throw new TypeError("provide a response_type or response_types, not both")}i.response_types=[t.response_type];delete i.response_type}}function getDefaultsForEndpoint(e,t,i){if(!t[`${e}_endpoint`])return;const n=i.token_endpoint_auth_method;const r=i.token_endpoint_auth_signing_alg;const s=`${e}_endpoint_auth_method`;const a=`${e}_endpoint_auth_signing_alg`;if(i[s]===undefined&&i[a]===undefined){if(n!==undefined){i[s]=n}if(r!==undefined){i[a]=r}}}class BaseClient{}e.exports=((e,t=false)=>(class Client extends BaseClient{constructor(e={},t,i){super();if(typeof e.client_id!=="string"||!e.client_id){throw new TypeError("client_id is required")}const n={...C,...e};handleCommonMistakes(this,e,n);h("token",this.issuer,n);["introspection","revocation"].forEach(e=>{getDefaultsForEndpoint(e,this.issuer,n);h(e,this.issuer,n)});Object.entries(n).forEach(([e,t])=>{E(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return E(this).get("metadata").get(e)},enumerable:true})}});if(t!==undefined){const e=getKeystore.call(this,t);E(this).set("keystore",e)}if(i!==undefined){E(this).set("options",i)}this[_]=0}authorizationUrl(e={}){if(!g(e)){throw new TypeError("params must be a plain object")}m(this.issuer,"authorization_endpoint");const t=u.parse(this.issuer.authorization_endpoint,true);t.search=null;t.query={...t.query,...authorizationParams.call(this,e)};return u.format(t)}authorizationPost(e={}){if(!g(e)){throw new TypeError("params must be a plain object")}const t=authorizationParams.call(this,e);const i=Object.keys(t).map(e=>``).join("\n");return`\n\n Requesting Authorization\n\n\n
\n ${i}\n
\n\n`}endSessionUrl(e={}){m(this.issuer,"end_session_endpoint");const{0:t,length:i}=this.post_logout_redirect_uris||[];const{post_logout_redirect_uri:n=(i===1?t:undefined)}=e;let r=e.id_token_hint;if(r instanceof S){if(!r.id_token){throw new TypeError("id_token not present in TokenSet")}r=r.id_token}const s=u.parse(this.issuer.end_session_endpoint,true);s.search=null;s.query={...e,...s.query,...{post_logout_redirect_uri:n,id_token_hint:r}};Object.entries(s.query).forEach(([e,t])=>{if(t===null||t===undefined){delete s.query[e]}});return u.format(s)}callbackParams(e){const t=e instanceof r.IncomingMessage||e&&e.method&&e.url;const i=typeof e==="string";if(!i&&!t){throw new TypeError("#callbackParams only accepts string urls, http.IncomingMessage or a lookalike")}if(t){switch(e.method){case"GET":return pickCb(u.parse(e.url,true).query);case"POST":if(e.body===undefined){throw new TypeError("incoming message body missing, include a body parser prior to this method call")}switch(typeof e.body){case"object":case"string":if(Buffer.isBuffer(e.body)){return pickCb(o.parse(e.body.toString("utf-8")))}if(typeof e.body==="string"){return pickCb(o.parse(e.body))}return pickCb(e.body);default:throw new TypeError("invalid IncomingMessage body object")}default:throw new TypeError("invalid IncomingMessage method")}}else{return pickCb(u.parse(e,true).query)}}async callback(e,t,i={},{exchangeBody:n,clientAssertionPayload:r,DPoP:s}={}){let a=pickCb(t);if(i.jarm&&!("response"in t)){throw new w({message:"expected a JARM response",checks:i,params:a})}else if("response"in t){const e=await this.decryptJARM(a.response);a=await this.validateJARM(e)}if(this.default_max_age&&!i.max_age){i.max_age=this.default_max_age}if(a.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!a.state&&i.state){throw new w({message:"state missing from the response",checks:i,params:a})}if(i.state!==a.state){throw new w({printf:["state mismatch, expected %s, got: %s",i.state,a.state],checks:i,params:a})}if(a.error){throw new v(a)}const o={code:["code"],id_token:["id_token"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(a.code||a.id_token||a.access_token){throw new w({message:'unexpected params encountered for "none" response',checks:i,params:a})}}else{for(const t of o[e]){if(!a[t]){throw new w({message:`${t} missing from response`,checks:i,params:a})}}}}}if(a.id_token){const e=new S(a);await this.decryptIdToken(e);await this.validateIdToken(e,i.nonce,"authorization",i.max_age,i.state);if(!a.code){return e}}if(a.code){const t=await this.grant({...n,grant_type:"authorization_code",code:a.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:r,DPoP:s});await this.decryptIdToken(t);await this.validateIdToken(t,i.nonce,"token",i.max_age);if(a.session_state){t.session_state=a.session_state}return t}return new S(a)}async oauthCallback(e,t,i={},{exchangeBody:n,clientAssertionPayload:r,DPoP:s}={}){let a=pickCb(t);if(i.jarm&&!("response"in t)){throw new w({message:"expected a JARM response",checks:i,params:a})}else if("response"in t){const e=await this.decryptJARM(a.response);a=await this.validateJARM(e)}if(a.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!a.state&&i.state){throw new w({message:"state missing from the response",checks:i,params:a})}if(i.state!==a.state){throw new w({printf:["state mismatch, expected %s, got: %s",i.state,a.state],checks:i,params:a})}if(a.error){throw new v(a)}const o={code:["code"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(a.code||a.id_token||a.access_token){throw new w({message:'unexpected params encountered for "none" response',checks:i,params:a})}}if(o[e]){for(const t of o[e]){if(!a[t]){throw new w({message:`${t} missing from response`,checks:i,params:a})}}}}}if(a.code){return this.grant({...n,grant_type:"authorization_code",code:a.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:r,DPoP:s})}return new S(a)}async decryptIdToken(e){if(!this.id_token_encrypted_response_alg){return e}let t=e;if(t instanceof S){if(!t.id_token){throw new TypeError("id_token not present in TokenSet")}t=t.id_token}const i=this.id_token_encrypted_response_alg;const n=this.id_token_encrypted_response_enc;const r=await this.decryptJWE(t,i,n);if(e instanceof S){e.id_token=r;return e}return r}async validateJWTUserinfo(e){const t=this.userinfo_signed_response_alg;return this.validateJWT(e,t,[])}async decryptJARM(e){if(!this.authorization_encrypted_response_alg){return e}const t=this.authorization_encrypted_response_alg;const i=this.authorization_encrypted_response_enc;return this.decryptJWE(e,t,i)}async decryptJWTUserinfo(e){if(!this.userinfo_encrypted_response_alg){return e}const t=this.userinfo_encrypted_response_alg;const i=this.userinfo_encrypted_response_enc;return this.decryptJWE(e,t,i)}async decryptJWE(e,t,i="A128CBC-HS256"){const n=JSON.parse(d.decode(e.split(".")[0]));if(n.alg!==t){throw new w({printf:["unexpected JWE alg received, expected %s, got: %s",t,n.alg],jwt:e})}if(n.enc!==i){throw new w({printf:["unexpected JWE enc received, expected %s, got: %s",i,n.enc],jwt:e})}let r;if(t.match(/^(?:RSA|ECDH)/)){r=E(this).get("keystore")}else{r=await this.joseSecret(t==="dir"?i:t)}const s=l.JWE.decrypt(e,r);return s.toString("utf8")}async validateIdToken(e,t,i,n,r){let s=e;const a=this.id_token_signed_response_alg;const o=s instanceof S;if(o){if(!s.id_token){throw new TypeError("id_token not present in TokenSet")}s=s.id_token}s=String(s);const u=j();const{protected:c,payload:l,key:d}=await this.validateJWT(s,a);if(n||n!==null&&this.require_auth_time){if(!l.auth_time){throw new w({message:"missing required JWT property auth_time",jwt:s})}if(typeof l.auth_time!=="number"){throw new w({message:"JWT auth_time claim must be a JSON numeric value",jwt:s})}}if(n&&l.auth_time+ns+this[_]){throw new w({printf:["JWT not active yet, now %i, nbf %i",s+this[_],u.nbf],now:s,tolerance:this[_],nbf:u.nbf,jwt:e})}}if(u.exp!==undefined){if(typeof u.exp!=="number"){throw new w({message:"JWT exp claim must be a JSON numeric value",jwt:e})}if(s-this[_]>=u.exp){throw new w({printf:["JWT expired, now %i, exp %i",s-this[_],u.exp],now:s,tolerance:this[_],exp:u.exp,jwt:e})}}if(u.aud!==undefined){if(Array.isArray(u.aud)){if(u.aud.length>1&&!u.azp){throw new w({message:"missing required JWT property azp",jwt:e})}if(!u.aud.includes(this.client_id)){throw new w({printf:["aud is missing the client_id, expected %s to be included in %j",this.client_id,u.aud],jwt:e})}}else if(u.aud!==this.client_id){throw new w({printf:["aud mismatch, expected %s, got: %s",this.client_id,u.aud],jwt:e})}}if(u.azp!==undefined){let{additionalAuthorizedParties:t}=E(this).get("options")||{};if(typeof t==="string"){t=[this.client_id,t]}else if(Array.isArray(t)){t=[this.client_id,...t]}else{t=[this.client_id]}if(!t.includes(u.azp)){throw new w({printf:["azp mismatch, got: %s",u.azp],jwt:e})}}let c;if(r){try{a(g(u.sub_jwk));c=l.JWK.asKey(u.sub_jwk);a.equal(c.type,"public")}catch(t){throw new w({message:"failed to use sub_jwk claim as an asymmetric JSON Web Key",jwt:e})}if(c.thumbprint!==u.sub){throw new w({message:"failed to match the subject with sub_jwk",jwt:e})}}else if(o.alg.startsWith("HS")){c=await this.joseSecret()}else if(o.alg!=="none"){c=await this.issuer.queryKeyStore(o)}if(!c&&o.alg==="none"){return{protected:o,payload:u}}try{return{...l.JWS.verify(e,c,{complete:true}),payload:u}}catch(t){throw new w({message:"failed to validate JWT signature",jwt:e})}}async refresh(e,{exchangeBody:t,clientAssertionPayload:i,DPoP:n}={}){let r=e;if(r instanceof S){if(!r.refresh_token){throw new TypeError("refresh_token not present in TokenSet")}r=r.refresh_token}const s=await this.grant({...t,grant_type:"refresh_token",refresh_token:String(r)},{clientAssertionPayload:i,DPoP:n});if(s.id_token){await this.decryptIdToken(s);await this.validateIdToken(s,null,"token",null);if(e instanceof S&&e.id_token){const t=e.claims().sub;const i=s.claims().sub;if(i!==t){throw new w({printf:["sub mismatch, expected %s, got: %s",t,i],jwt:s.id_token})}}}return s}async requestResource(e,t,{method:i,headers:n,body:r,tokenType:s=(t instanceof S?t.token_type:"Bearer"),DPoP:a}={}){if(t instanceof S){if(!t.access_token){throw new TypeError("access_token not present in TokenSet")}t=t.access_token}const o={headers:{Authorization:authorizationHeaderValue(t,s),...n},body:r};const u=!!this.tls_client_certificate_bound_access_tokens;return O.call(this,{...o,responseType:"buffer",method:i,url:e},{mTLS:u,DPoP:a})}async userinfo(e,{method:t="GET",via:i="header",tokenType:n,params:r,DPoP:s}={}){m(this.issuer,"userinfo_endpoint");const o={tokenType:n,method:String(t).toUpperCase(),DPoP:s};if(o.method!=="GET"&&o.method!=="POST"){throw new TypeError("#userinfo() method can only be POST or a GET")}if(i==="query"&&o.method!=="GET"){throw new TypeError("userinfo endpoints will only parse query strings for GET requests")}else if(i==="body"&&o.method!=="POST"){throw new TypeError("can only send body on POST")}const l=!!(this.userinfo_signed_response_alg||this.userinfo_encrypted_response_alg);if(l){o.headers={Accept:"application/jwt"}}else{o.headers={Accept:"application/json"}}const p=!!this.tls_client_certificate_bound_access_tokens;let d;if(p&&this.issuer.mtls_endpoint_aliases){d=this.issuer.mtls_endpoint_aliases.userinfo_endpoint}d=new u.URL(d||this.issuer.userinfo_endpoint);if(i==="query"){o.headers.Authorization=undefined;d.searchParams.append("access_token",e instanceof S?e.access_token:e)}else if(i==="body"){o.headers.Authorization=undefined;o.headers["Content-Type"]="application/x-www-form-urlencoded";o.body=new u.URLSearchParams;o.body.append("access_token",e instanceof S?e.access_token:e)}if(r){if(o.method==="GET"){Object.entries(r).forEach(([e,t])=>{d.searchParams.append(e,t)})}else if(o.body){Object.entries(r).forEach(([e,t])=>{o.body.append(e,t)})}else{o.body=new u.URLSearchParams;o.headers["Content-Type"]="application/x-www-form-urlencoded";Object.entries(r).forEach(([e,t])=>{o.body.append(e,t)})}}if(o.body){o.body=o.body.toString()}const f=await this.requestResource(d,e,o);let h=y(f,{bearer:true});if(l){if(!T.test(f.headers["content-type"])){throw new w({message:"expected application/jwt response from the userinfo_endpoint",response:f})}const e=f.body.toString();const t=await this.decryptJWTUserinfo(e);if(!this.userinfo_signed_response_alg){try{h=JSON.parse(t);a(g(h))}catch(e){throw new w({message:"failed to parse userinfo JWE payload as JSON",jwt:t})}}else{({payload:h}=await this.validateJWTUserinfo(t))}}else{try{h=JSON.parse(f.body)}catch(e){throw new c(e,f)}}if(e instanceof S&&e.id_token){const t=e.claims().sub;if(h.sub!==t){throw new w({printf:["userinfo sub mismatch, expected %s, got: %s",t,h.sub],body:h,jwt:e.id_token})}}return h}async derivedKey(e){const t=`${e}_key`;if(E(this).has(t)){return E(this).get(t)}const i=e<=256?"sha256":e<=384?"sha384":e<=512?"sha512":false;if(!i){throw new Error("unsupported symmetric encryption key derivation")}const n=s.createHash(i).update(this.client_secret).digest().slice(0,e/8);const r=l.JWK.asKey({k:d.encode(n),kty:"oct"});E(this).set(t,r);return r}async joseSecret(e){if(!this.client_secret){throw new TypeError("client_secret is required")}if(/^A(\d{3})(?:GCM)?KW$/.test(e)){return this.derivedKey(parseInt(RegExp.$1,10))}if(/^A(\d{3})(?:GCM|CBC-HS(\d{3}))$/.test(e)){return this.derivedKey(parseInt(RegExp.$2||RegExp.$1,10))}if(E(this).has("jose_secret")){return E(this).get("jose_secret")}const t=l.JWK.asKey({k:d.encode(this.client_secret),kty:"oct"});E(this).set("jose_secret",t);return t}async grant(e,{clientAssertionPayload:t,DPoP:i}={}){m(this.issuer,"token_endpoint");const n=await R.call(this,"token",{form:e,responseType:"json"},{clientAssertionPayload:t,DPoP:i});const r=y(n);return new S(r)}async deviceAuthorization(e={},{exchangeBody:t,clientAssertionPayload:i,DPoP:n}={}){m(this.issuer,"device_authorization_endpoint");m(this.issuer,"token_endpoint");const r=authorizationParams.call(this,{client_id:this.client_id,redirect_uri:null,response_type:null,...e});const s=await R.call(this,"device_authorization",{responseType:"json",form:r},{clientAssertionPayload:i,endpointAuthMethod:"token"});const a=y(s);return new V({client:this,exchangeBody:t,clientAssertionPayload:i,response:a,maxAge:e.max_age,DPoP:n})}async revoke(e,t,{revokeBody:i,clientAssertionPayload:n}={}){m(this.issuer,"revocation_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const r={...i,token:e};if(t){r.token_type_hint=t}const s=await R.call(this,"revocation",{form:r},{clientAssertionPayload:n});y(s,{body:false})}async introspect(e,t,{introspectBody:i,clientAssertionPayload:n}={}){m(this.issuer,"introspection_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const r={...i,token:e};if(t){r.token_type_hint=t}const s=await R.call(this,"introspection",{form:r,responseType:"json"},{clientAssertionPayload:n});const a=y(s);return a}async fetchDistributedClaims(e,t={}){if(!g(e)){throw new TypeError("claims argument must be a plain object")}if(!g(e._claim_sources)){return e}if(!g(e._claim_names)){return e}const i=Object.entries(e._claim_sources).filter(([,e])=>e&&e.endpoint);await Promise.all(i.map(async([i,n])=>{try{const r={headers:{Accept:"application/jwt",Authorization:authorizationHeaderValue(n.access_token||t[i])}};const s=await O.call(this,{...r,method:"GET",url:n.endpoint});const a=y(s,{bearer:true});const o=await claimJWT.call(this,"distributed",a);delete e._claim_sources[i];Object.entries(e._claim_names).forEach(assignClaim(e,o,i,false))}catch(e){e.src=i;throw e}}));cleanUpClaims(e);return e}async unpackAggregatedClaims(e){if(!g(e)){throw new TypeError("claims argument must be a plain object")}if(!g(e._claim_sources)){return e}if(!g(e._claim_names)){return e}const t=Object.entries(e._claim_sources).filter(([,e])=>e&&e.JWT);await Promise.all(t.map(async([t,i])=>{try{const n=await claimJWT.call(this,"aggregated",i.JWT);delete e._claim_sources[t];Object.entries(e._claim_names).forEach(assignClaim(e,n,t))}catch(e){e.src=t;throw e}}));cleanUpClaims(e);return e}static async register(e,t={}){const{initialAccessToken:i,jwks:n,...r}=t;m(this.issuer,"registration_endpoint");if(n!==undefined&&!(e.jwks||e.jwks_uri)){const t=getKeystore.call(this,n);e.jwks=t.toJWKS(false)}const s=await O.call(this,{headers:i?{Authorization:authorizationHeaderValue(i)}:undefined,responseType:"json",json:e,url:this.issuer.registration_endpoint,method:"POST"});const a=y(s,{statusCode:201,bearer:true});return new this(a,n,r)}get metadata(){const e={};E(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async fromUri(e,t,i,n){const r=await O.call(this,{method:"GET",url:e,responseType:"json",headers:{Authorization:authorizationHeaderValue(t)}});const s=y(r,{bearer:true});return new this(s,i,n)}async requestObject(e={},{sign:t=this.request_object_signing_alg||"none",encrypt:{alg:i=this.request_object_encryption_alg,enc:n=this.request_object_encryption_enc||"A128CBC-HS256"}={}}={}){if(!g(e)){throw new TypeError("requestObject must be a plain object")}let r;let s;const a=this.constructor.name==="FAPIClient";const o=j();const u={alg:t,typ:"oauth-authz-req+jwt"};const c=JSON.stringify(f({},e,{iss:this.client_id,aud:this.issuer.issuer,client_id:this.client_id,jti:z(),iat:o,exp:o+300,...a?{nbf:o}:undefined}));if(t==="none"){r=[d.encode(JSON.stringify(u)),d.encode(c),""].join(".")}else{const e=t.startsWith("HS");if(e){s=await this.joseSecret()}else{const e=E(this).get("keystore");if(!e){throw new TypeError(`no keystore present for client, cannot sign using alg ${t}`)}s=e.get({alg:t,use:"sig"});if(!s){throw new TypeError(`no key to sign with found for alg ${t}`)}}r=l.JWS.sign(c,s,{...u,kid:e?undefined:s.kid})}if(!i){return r}const p={alg:i,enc:n,cty:"oauth-authz-req+jwt"};if(p.alg.match(/^(RSA|ECDH)/)){[s]=await this.issuer.queryKeyStore({alg:p.alg,enc:p.enc,use:"enc"},{allowMulti:true})}else{s=await this.joseSecret(p.alg==="dir"?p.enc:p.alg)}return l.JWE.encrypt(r,s,{...p,kid:s.kty==="oct"?undefined:s.kid})}static get issuer(){return e}get issuer(){return e}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}));async function validateJARM(e){const t=this.authorization_signed_response_alg;const{payload:i}=await this.validateJWT(e,t,["iss","exp","aud"]);return pickCb(i)}Object.defineProperty(BaseClient.prototype,"validateJARM",{enumerable:true,configurable:true,value(...e){process.emitWarning("The JARM API implements an OIDF implementer's draft. Breaking draft implementations are included as minor versions of the openid-client library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.","DraftWarning");Object.defineProperty(BaseClient.prototype,"validateJARM",{enumerable:true,configurable:true,value:validateJARM});return this.validateJARM(...e)}});function dpopProof(e,t){if(!g(e)){throw new TypeError("payload must be a plain object")}let i;try{i=l.JWK.asKey(t);a(i.type==="private")}catch(e){throw new TypeError('"DPoP" option must be an asymmetric private key to sign the DPoP Proof JWT with')}let{alg:n}=i;if(!n&&this.issuer.dpop_signing_alg_values_supported){const e=i.algorithms("sign");n=this.issuer.dpop_signing_alg_values_supported.find(t=>e.has(t))}if(!n){[n]=i.algorithms("sign")}return l.JWS.sign({iat:j(),jti:z(),...e},t,{alg:n,typ:"dpop+jwt",jwk:b(i,"kty","crv","x","y","e","n")})}Object.defineProperty(BaseClient.prototype,"dpopProof",{enumerable:true,configurable:true,value(...e){process.emitWarning("The DPoP APIs implements an IETF draft. Breaking draft implementations are included as minor versions of the openid-client library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.","DraftWarning");Object.defineProperty(BaseClient.prototype,"dpopProof",{enumerable:true,configurable:true,value:dpopProof});return this.dpopProof(...e)}});e.exports.BaseClient=BaseClient},23979:(e,t,i)=>{const{inspect:n}=i(31669);const{RPError:r,OPError:s}=i(45061);const a=i(36546);const o=i(8542);const{authenticatedPost:u}=i(7619);const c=i(28576);const l=i(39029);class DeviceFlowHandle{constructor({client:e,exchangeBody:t,clientAssertionPayload:i,response:n,maxAge:s,DPoP:u}){["verification_uri","user_code","device_code"].forEach(e=>{if(typeof n[e]!=="string"||!n[e]){throw new r(`expected ${e} string to be returned by Device Authorization Response, got %j`,n[e])}});if(!Number.isSafeInteger(n.expires_in)){throw new r("expected expires_in number to be returned by Device Authorization Response, got %j",n.expires_in)}a(this).expires_at=o()+n.expires_in;a(this).client=e;a(this).DPoP=u;a(this).maxAge=s;a(this).exchangeBody=t;a(this).clientAssertionPayload=i;a(this).response=n;a(this).interval=n.interval*1e3||5e3}async poll(){if(this.expired()){throw new r("the device code %j has expired and the device authorization session has concluded",this.device_code)}await new Promise(e=>setTimeout(e,a(this).interval));const e=await u.call(a(this).client,"token",{form:{...a(this).exchangeBody,grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:this.device_code},responseType:"json"},{clientAssertionPayload:a(this).clientAssertionPayload,DPoP:a(this).DPoP});let t;try{t=c(e)}catch(e){switch(e instanceof s&&e.error){case"slow_down":a(this).interval+=5e3;case"authorization_pending":return this.poll();default:throw e}}const i=new l(t);if("id_token"in i){await a(this).client.decryptIdToken(i);await a(this).client.validateIdToken(i,undefined,"token",a(this).maxAge)}return i}get device_code(){return a(this).response.device_code}get user_code(){return a(this).response.user_code}get verification_uri(){return a(this).response.verification_uri}get verification_uri_complete(){return a(this).response.verification_uri_complete}get expires_in(){return Math.max.apply(null,[a(this).expires_at-o(),0])}expired(){return this.expires_in===0}[n.custom](){return`${this.constructor.name} ${n(a(this).response,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}e.exports=DeviceFlowHandle},45061:(e,t,i)=>{const{format:n}=i(31669);const r=i(21381);function OPError({error_description:e,error:t,error_uri:i,session_state:n,state:r,scope:s},a){OPError.super.call(this,!e?t:`${t} (${e})`);Object.assign(this,{error:t},e&&{error_description:e},i&&{error_uri:i},r&&{state:r},s&&{scope:s},n&&{session_state:n});if(a){Object.defineProperty(this,"response",{value:a})}}r(OPError);function RPError(...e){if(typeof e[0]==="string"){RPError.super.call(this,n(...e))}else{const{message:t,printf:i,response:r,...s}=e[0];if(i){RPError.super.call(this,n(...i))}else{RPError.super.call(this,t)}Object.assign(this,s);if(r){Object.defineProperty(this,"response",{value:r})}}}r(RPError);e.exports={OPError:OPError,RPError:RPError}},63217:e=>{function assertSigningAlgValuesSupport(e,t,i){if(!t[`${e}_endpoint`])return;const n=`${e}_endpoint_auth_method`;const r=`${e}_endpoint_auth_signing_alg`;const s=`${e}_endpoint_auth_signing_alg_values_supported`;if(i[n]&&i[n].endsWith("_jwt")&&!i[r]&&!t[s]){throw new TypeError(`${s} must be configured on the issuer if ${r} is not defined on a client`)}}function assertIssuerConfiguration(e,t){if(!e[t]){throw new TypeError(`${t} must be configured on the issuer`)}}e.exports={assertSigningAlgValuesSupport:assertSigningAlgValuesSupport,assertIssuerConfiguration:assertIssuerConfiguration}},61827:e=>{let t;if(Buffer.isEncoding("base64url")){t=((e,t="utf8")=>Buffer.from(e,t).toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");t=((t,i="utf8")=>e(Buffer.from(t,i).toString("base64")))}const i=e=>Buffer.from(e,"base64");e.exports.decode=i;e.exports.encode=t},7619:(e,t,i)=>{const n=i(16425);const{assertIssuerConfiguration:r}=i(63217);const{random:s}=i(75421);const a=i(8542);const o=i(92946);const u=i(36546);const c=i(2494);const l=e=>encodeURIComponent(e).replace(/%20/g,"+");async function clientAssertion(e,t){let i=this[`${e}_endpoint_auth_signing_alg`];if(!i){r(this.issuer,`${e}_endpoint_auth_signing_alg_values_supported`)}if(this[`${e}_endpoint_auth_method`]==="client_secret_jwt"){const r=await this.joseSecret();if(!i){const t=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(t)&&t.find(e=>r.algorithms("sign").has(e))}return n.JWS.sign(t,r,{alg:i,typ:"JWT"})}const s=u(this).get("keystore");if(!s){throw new TypeError("no client jwks provided for signing a client assertion with")}if(!i){const t=new Set;s.all().forEach(e=>{e.algorithms("sign").forEach(Set.prototype.add.bind(t))});const n=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(n)&&n.find(e=>t.has(e))}const a=s.get({alg:i,use:"sig"});if(!a){throw new TypeError(`no key found in client jwks to sign a client assertion with using alg ${i}`)}return n.JWS.sign(t,a,{alg:i,typ:"JWT",kid:a.kid})}async function authFor(e,{clientAssertionPayload:t}={}){const i=this[`${e}_endpoint_auth_method`];switch(i){case"self_signed_tls_client_auth":case"tls_client_auth":case"none":return{form:{client_id:this.client_id}};case"client_secret_post":if(!this.client_secret){throw new TypeError("client_secret_post client authentication method requires a client_secret")}return{form:{client_id:this.client_id,client_secret:this.client_secret}};case"private_key_jwt":case"client_secret_jwt":{const i=a();let n=this.issuer[`${e}_endpoint`]||this.issuer.issuer;if(this.tls_client_certificate_bound_access_tokens&&e==="token"&&this.issuer.mtls_endpoint_aliases){n=this.issuer.mtls_endpoint_aliases[`${e}_endpoint`]||n}const r=await clientAssertion.call(this,e,{iat:i,exp:i+60,jti:s(),iss:this.client_id,sub:this.client_id,aud:n,...t});return{form:{client_id:this.client_id,client_assertion:r,client_assertion_type:"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"}}}default:{if(!this.client_secret){throw new TypeError("client_secret_basic client authentication method requires a client_secret")}const e=`${l(this.client_id)}:${l(this.client_secret)}`;const t=Buffer.from(e).toString("base64");return{headers:{Authorization:`Basic ${t}`}}}}}function resolveResponseType(){const{length:e,0:t}=this.response_types;if(e===1){return t}return undefined}function resolveRedirectUri(){const{length:e,0:t}=this.redirect_uris||[];if(e===1){return t}return undefined}async function authenticatedPost(e,t,{clientAssertionPayload:i,endpointAuthMethod:n=e,DPoP:r}={}){const s=await authFor.call(this,n,{clientAssertionPayload:i});const a=c(t,s);const u=this[`${n}_endpoint_auth_method`].includes("tls_client_auth")||e==="token"&&this.tls_client_certificate_bound_access_tokens;let l;if(u&&this.issuer.mtls_endpoint_aliases){l=this.issuer.mtls_endpoint_aliases[`${e}_endpoint`]}l=l||this.issuer[`${e}_endpoint`];if("form"in a){for(const[e,t]of Object.entries(a.form)){if(typeof t==="undefined"){delete a.form[e]}}}return o.call(this,{...a,method:"POST",url:l},{mTLS:u,DPoP:r})}e.exports={resolveResponseType:resolveResponseType,resolveRedirectUri:resolveRedirectUri,authFor:authFor,authenticatedPost:authenticatedPost}},27556:e=>{const t="/.well-known/openid-configuration";const i="/.well-known/oauth-authorization-server";const n="/.well-known/webfinger";const r="http://openid.net/specs/connect/1.0/issuer";const s=[`https://login.microsoftonline.com/common${t}`,`https://login.microsoftonline.com/common/v2.0${t}`,`https://login.microsoftonline.com/organizations/v2.0${t}`,`https://login.microsoftonline.com/consumers/v2.0${t}`];const a={grant_types:["authorization_code"],id_token_signed_response_alg:"RS256",authorization_signed_response_alg:"RS256",response_types:["code"],token_endpoint_auth_method:"client_secret_basic"};const o={claim_types_supported:["normal"],claims_parameter_supported:false,grant_types_supported:["authorization_code","implicit"],request_parameter_supported:false,request_uri_parameter_supported:true,require_request_uri_registration:false,response_modes_supported:["query","fragment"],token_endpoint_auth_methods_supported:["client_secret_basic"]};const u=["access_token","code","error","error_description","error_uri","expires_in","id_token","state","token_type","session_state","response"];const c=/^application\/jwt/;const l=Symbol("openid-client.custom.http-options");const p=Symbol("openid-client.custom.clock-tolerance");e.exports={AAD_MULTITENANT_DISCOVERY:s,CALLBACK_PROPERTIES:u,CLIENT_DEFAULTS:a,CLOCK_TOLERANCE:p,HTTP_OPTIONS:l,ISSUER_DEFAULTS:o,JWT_CONTENT:c,OAUTH2_DISCOVERY:i,OIDC_DISCOVERY:t,REL:r,WEBFINGER:n}},21004:e=>{e.exports=(e=>JSON.parse(JSON.stringify(e)))},13098:(e,t,i)=>{const n=i(39862);function defaults(e,t,...i){for(const r of i){if(!n(r)){continue}for(const[i,s]of Object.entries(r)){if(i==="__proto__"||i==="constructor"){continue}if(typeof t[i]==="undefined"&&typeof s!=="undefined"){t[i]=s}if(e&&n(t[i])&&n(s)){defaults(true,t[i],s)}}}return t}e.exports=defaults.bind(undefined,false);e.exports.deep=defaults.bind(undefined,true)},75421:(e,t,i)=>{const{createHash:n,randomBytes:r}=i(76417);const s=i(61827);const a=(e=32)=>s.encode(r(e));e.exports={random:a,state:a,nonce:a,codeVerifier:a,codeChallenge:e=>s.encode(n("sha256").update(e).digest())}},61797:(e,t,i)=>{const n=i(78835);const{strict:r}=i(42357);e.exports=(e=>{try{const{protocol:t}=new n.URL(e);r(t.match(/^(https?:)$/));return true}catch(e){throw new TypeError("only valid absolute URLs can be requested")}})},39862:e=>{e.exports=(e=>!!e&&e.constructor===Object)},2494:(e,t,i)=>{const n=i(39862);function merge(e,...t){for(const i of t){if(!n(i)){continue}for(const[t,r]of Object.entries(i)){if(t==="__proto__"||t==="constructor"){continue}if(n(e[t])&&n(r)){e[t]=merge(e[t],r)}else if(typeof r!=="undefined"){e[t]=r}}}return e}e.exports=merge},78857:e=>{e.exports=function pick(e,...t){const i={};for(const n of t){if(e[n]){i[n]=e[n]}}return i}},28576:(e,t,i)=>{const{STATUS_CODES:n}=i(98605);const{format:r}=i(31669);const{OPError:s}=i(45061);const a=/(\w+)=("[^"]*")/g;const o=e=>{const t={};try{while(a.exec(e.headers["www-authenticate"])!==null){if(RegExp.$1&&RegExp.$2){t[RegExp.$1]=RegExp.$2.slice(1,-1)}}}catch(e){}if(t.error){throw new s(t,e)}};const u=e=>{let t=false;try{let i;if(typeof e.body!=="object"||Buffer.isBuffer(e.body)){i=JSON.parse(e.body)}else{i=e.body}t=typeof i.error==="string"&&i.error.length;if(t)e.body=i}catch(e){}return t};function processResponse(e,{statusCode:t=200,body:i=true,bearer:a=false}={}){if(e.statusCode!==t){if(a){o(e)}if(u(e)){throw new s(e.body,e)}throw new s({error:r("expected %i %s, got: %i %s",t,n[t],e.statusCode,n[e.statusCode])},e)}if(i&&!e.body){throw new s({error:r("expected %i %s with body but no body was returned",t,n[t])},e)}return e.body}e.exports=processResponse},92946:(e,t,i)=>{const n=i(93061);const r=i(76710);const{deep:s}=i(13098);const a=i(61797);const{HTTP_OPTIONS:o}=i(27556);let u;let c;const l=e=>{u=s({},e,u);c=n.extend(u)};l({followRedirect:false,headers:{"User-Agent":`${r.name}/${r.version} (${r.homepage})`},retry:0,timeout:3500,throwHttpErrors:false});e.exports=async function request(e,{mTLS:t=false,DPoP:i}={}){const{url:n}=e;a(n);const r=this[o];let l=e;if(i&&"dpopProof"in this){l.headers=l.headers||{};l.headers.DPoP=this.dpopProof({htu:n,htm:e.method},i)}if(r){l=r.call(this,s({},l,u))}if(t&&((!l.key||!l.cert)&&(!l.https||!(l.https.key&&l.https.certificate||l.https.pfx)))){throw new TypeError("mutual-TLS certificate and key not set")}return c(l)};e.exports.setDefaults=l},8542:e=>{e.exports=(()=>Math.floor(Date.now()/1e3))},36546:e=>{const t=new WeakMap;e.exports=(e=>{if(!t.has(e)){t.set(e,new Map([["metadata",new Map]]))}return t.get(e)})},27416:e=>{const t=/^\d+$/;function hasScheme(e){if(e.includes("://"))return true;const i=e.replace(/(\/|\?)/g,"#").split("#")[0];if(i.includes(":")){const e=i.indexOf(":");const n=i.slice(e+1);if(!t.test(n)){return true}}return false}function acctSchemeAssumed(e){if(!e.includes("@"))return false;const t=e.split("@");const i=t[t.length-1];return!(i.includes(":")||i.includes("/")||i.includes("?"))}function normalize(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}let t;if(hasScheme(e)){t=e}else if(acctSchemeAssumed(e)){t=`acct:${e}`}else{t=`https://${e}`}return t.split("#")[0]}e.exports=normalize},53140:(e,t,i)=>{const n=i(27213);const{OPError:r,RPError:s}=i(45061);const a=i(30730);const o=i(22134);const u=i(39029);const{CLOCK_TOLERANCE:c,HTTP_OPTIONS:l}=i(27556);const p=i(75421);const{setDefaults:d}=i(92946);e.exports={Issuer:n,Registry:a,Strategy:o,TokenSet:u,errors:{OPError:r,RPError:s},custom:{setHttpOptionsDefaults:d,http_options:l,clock_tolerance:c},generators:p}},27213:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(78835);const s=i(61231);const a=i(16425);const o=i(7129);const u=i(24856);const{RPError:c}=i(45061);const l=i(28300);const p=i(30730);const d=i(28576);const f=i(27416);const h=i(36546);const m=i(92946);const{assertIssuerConfiguration:b}=i(63217);const{ISSUER_DEFAULTS:g,OIDC_DISCOVERY:y,OAUTH2_DISCOVERY:S,WEBFINGER:v,REL:w,AAD_MULTITENANT_DISCOVERY:j}=i(27556);const z=Symbol("AAD_MULTITENANT");class Issuer{constructor(e={}){const t=e[z];delete e[z];["introspection","revocation"].forEach(t=>{if(e[`${t}_endpoint`]&&e[`${t}_endpoint_auth_methods_supported`]===undefined&&e[`${t}_endpoint_auth_signing_alg_values_supported`]===undefined){if(e.token_endpoint_auth_methods_supported){e[`${t}_endpoint_auth_methods_supported`]=e.token_endpoint_auth_methods_supported}if(e.token_endpoint_auth_signing_alg_values_supported){e[`${t}_endpoint_auth_signing_alg_values_supported`]=e.token_endpoint_auth_signing_alg_values_supported}}});Object.entries(e).forEach(([e,t])=>{h(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return h(this).get("metadata").get(e)},enumerable:true})}});h(this).set("cache",new o({max:100}));p.set(this.issuer,this);const i=l(this,t);Object.defineProperties(this,{Client:{value:i},FAPIClient:{value:class FAPIClient extends i{}}})}async keystore(e=false){b(this,"jwks_uri");const t=h(this).get("keystore");const i=h(this).get("cache");if(e||!t){i.reset();const e=await m.call(this,{method:"GET",responseType:"json",url:this.jwks_uri});const t=d(e);const n=a.JWKS.asKeyStore(t,{ignoreErrors:true});i.set("throttle",true,60*1e3);h(this).set("keystore",n);return n}return t}async queryKeyStore({kid:e,kty:t,alg:i,use:n,key_ops:r},{allowMulti:s=false}={}){const o=h(this).get("cache");const l={kid:e,kty:t,alg:i,use:n,key_ops:r};const p=u(l,{algorithm:"sha256",ignoreUnknown:true,unorderedArrays:true,unorderedSets:true});const d=o.get(p)||o.get("throttle");const f=await this.keystore(!d);const m=f.all(l);if(m.length===0){throw new c({printf:["no valid key found in issuer's jwks_uri for key parameters %j",l],jwks:f})}if(!s&&m.length>1&&!e){throw new c({printf:["multiple matching keys found in issuer's jwks_uri for key parameters %j, kid must be provided in this case",l],jwks:f})}o.set(p,true);return new a.JWKS.KeyStore(m)}get metadata(){const e={};h(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async webfinger(e){const t=f(e);const{host:i}=r.parse(t);const n=`https://${i}${v}`;const s=await m.call(this,{method:"GET",url:n,responseType:"json",searchParams:{resource:t,rel:w},followRedirect:true});const a=d(s);const o=Array.isArray(a.links)&&a.links.find(e=>typeof e==="object"&&e.rel===w&&e.href);if(!o){throw new c({message:"no issuer found in webfinger response",body:a})}if(typeof o.href!=="string"||!o.href.startsWith("https://")){throw new c({printf:["invalid issuer location %s",o.href],body:a})}const u=o.href;if(p.has(u)){return p.get(u)}const l=await this.discover(u);if(l.issuer!==u){p.delete(l.issuer);throw new c("discovered issuer mismatch, expected %s, got: %s",u,l.issuer)}return l}static async discover(e){const t=r.parse(e);if(t.pathname.includes("/.well-known/")){const t=await m.call(this,{method:"GET",responseType:"json",url:e});const i=d(t);return new Issuer({...g,...i,[z]:!!j.find(t=>e.startsWith(t))})}const i=[];if(t.pathname.endsWith("/")){i.push(`${t.pathname}${y.substring(1)}`)}else{i.push(`${t.pathname}${y}`)}if(t.pathname==="/"){i.push(`${S}`)}else{i.push(`${S}${t.pathname}`)}const n=[];for(const e of i){try{const i=r.format({...t,pathname:e});const s=await m.call(this,{method:"GET",responseType:"json",url:i});const o=d(s);return new Issuer({...g,...o,[z]:!!j.find(e=>i.startsWith(e))})}catch(a){n.push(a)}}const a=new s(n);a.message=`Issuer.discover() failed.${a.message.split("\n").filter(e=>!e.startsWith(" at")).join("\n")}`;throw a}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}e.exports=Issuer},30730:e=>{const t=new Map;e.exports=t},22134:(e,t,i)=>{const n=i(78835);const{format:r}=i(31669);const s=i(21004);const{RPError:a,OPError:o}=i(45061);const{BaseClient:u}=i(28300);const{random:c,codeChallenge:l}=i(75421);const p=i(78857);const{resolveResponseType:d,resolveRedirectUri:f}=i(7619);function verified(e,t,i={}){if(e){this.error(e)}else if(!t){this.fail(i)}else{this.success(t,i)}}function OpenIDConnectStrategy({client:e,params:t={},passReqToCallback:i=false,sessionKey:r,usePKCE:a=true,extras:o={}}={},c){if(!(e instanceof u)){throw new TypeError("client must be an instance of openid-client Client")}if(typeof c!=="function"){throw new TypeError("verify callback must be a function")}if(!e.issuer||!e.issuer.issuer){throw new TypeError("client must have an issuer with an identifier")}this._client=e;this._issuer=e.issuer;this._verify=c;this._passReqToCallback=i;this._usePKCE=a;this._key=r||`oidc:${n.parse(this._issuer.issuer).hostname}`;this._params=s(t);this._extras=s(o);if(!this._params.response_type)this._params.response_type=d.call(e);if(!this._params.redirect_uri)this._params.redirect_uri=f.call(e);if(!this._params.scope)this._params.scope="openid";if(this._usePKCE===true){const e=Array.isArray(this._issuer.code_challenge_methods_supported)?this._issuer.code_challenge_methods_supported:false;if(e&&e.includes("S256")){this._usePKCE="S256"}else if(e&&e.includes("plain")){this._usePKCE="plain"}else if(e){throw new TypeError("neither code_challenge_method supported by the client is supported by the issuer")}else{this._usePKCE="S256"}}else if(typeof this._usePKCE==="string"&&!["plain","S256"].includes(this._usePKCE)){throw new TypeError(`${this._usePKCE} is not valid/implemented PKCE code_challenge_method`)}this.name=n.parse(e.issuer.issuer).hostname}OpenIDConnectStrategy.prototype.authenticate=function authenticate(e,t){(async()=>{const i=this._client;if(!e.session){throw new TypeError("authentication requires session support")}const n=i.callbackParams(e);const s=this._key;if(Object.keys(n).length===0){const n={state:c(),...this._params,...t};if(!n.nonce&&n.response_type.includes("id_token")){n.nonce=c()}e.session[s]=p(n,"nonce","state","max_age","response_type");if(this._usePKCE&&n.response_type.includes("code")){const t=c();e.session[s].code_verifier=t;switch(this._usePKCE){case"S256":n.code_challenge=l(t);n.code_challenge_method="S256";break;case"plain":n.code_challenge=t;break}}this.redirect(i.authorizationUrl(n));return}const o=e.session[s];if(Object.keys(o||{}).length===0){throw new Error(r('did not find expected authorization request details in session, req.session["%s"] is %j',s,o))}const{state:u,nonce:d,max_age:f,code_verifier:h,response_type:m}=o;try{delete e.session[s]}catch(e){}const b={redirect_uri:this._params.redirect_uri,...t};const g={state:u,nonce:d,max_age:f,code_verifier:h,response_type:m};const y=await i.callback(b.redirect_uri,n,g,this._extras);const S=this._passReqToCallback;const v=this._verify.length>(S?3:2)&&i.issuer.userinfo_endpoint;const w=[y,verified.bind(this)];if(v){if(!y.access_token){throw new a({message:"expected access_token to be returned when asking for userinfo in verify callback",tokenset:y})}const e=await i.userinfo(y);w.splice(1,0,e)}if(S){w.unshift(e)}this._verify(...w)})().catch(e=>{if(e instanceof o&&e.error!=="server_error"&&!e.error.startsWith("invalid")||e instanceof a){this.fail(e)}else{this.error(e)}})};e.exports=OpenIDConnectStrategy},39029:(e,t,i)=>{const n=i(61827);const r=i(8542);class TokenSet{constructor(e){Object.assign(this,e)}set expires_in(e){this.expires_at=r()+Number(e)}get expires_in(){return Math.max.apply(null,[this.expires_at-r(),0])}expired(){return this.expires_in===0}claims(){if(!this.id_token){throw new TypeError("id_token not present in TokenSet")}return JSON.parse(n.decode(this.id_token.split(".")[1]))}}e.exports=TokenSet},19072:e=>{"use strict";class CancelError extends Error{constructor(e){super(e||"Promise was canceled");this.name="CancelError"}get isCanceled(){return true}}class PCancelable{static fn(e){return(...t)=>{return new PCancelable((i,n,r)=>{t.push(r);e(...t).then(i,n)})}}constructor(e){this._cancelHandlers=[];this._isPending=true;this._isCanceled=false;this._rejectOnCancel=true;this._promise=new Promise((t,i)=>{this._reject=i;const n=e=>{if(!this._isCanceled||!s.shouldReject){this._isPending=false;t(e)}};const r=e=>{this._isPending=false;i(e)};const s=e=>{if(!this._isPending){throw new Error("The `onCancel` handler was attached after the promise settled.")}this._cancelHandlers.push(e)};Object.defineProperties(s,{shouldReject:{get:()=>this._rejectOnCancel,set:e=>{this._rejectOnCancel=e}}});return e(n,r,s)})}then(e,t){return this._promise.then(e,t)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!this._isPending||this._isCanceled){return}this._isCanceled=true;if(this._cancelHandlers.length>0){try{for(const e of this._cancelHandlers){e()}}catch(e){this._reject(e);return}}if(this._rejectOnCancel){this._reject(new CancelError(e))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);e.exports=PCancelable;e.exports.CancelError=CancelError},31330:e=>{"use strict";e.exports=((e,t)=>{t=t||(()=>{});return e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e}))})},38714:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var i=t.exec(e);var n=i[1]||"";var r=Boolean(n&&n.charAt(1)!==":");return Boolean(i[2]||r)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},20539:e=>{"use strict";e.exports=(e=>{e=e||{};const t=e.env||process.env;const i=e.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(t).find(e=>e.toUpperCase()==="PATH")||"Path"})},85644:function(e){(function(){var t,i,n,r,s,a;if(typeof performance!=="undefined"&&performance!==null&&performance.now){e.exports=function(){return performance.now()}}else if(typeof process!=="undefined"&&process!==null&&process.hrtime){e.exports=function(){return(t()-s)/1e6};i=process.hrtime;t=function(){var e;e=i();return e[0]*1e9+e[1]};r=t();a=process.uptime()*1e9;s=r-a}else if(Date.now){e.exports=function(){return Date.now()-n};n=Date.now()}else{e.exports=function(){return(new Date).getTime()-n};n=(new Date).getTime()}}).call(this)},54742:(e,t,i)=>{"use strict";var n=i(52997);var r=i(24347);var s=Object.prototype.hasOwnProperty;function isRetryError(e){return e&&e.code==="EPROMISERETRY"&&s.call(e,"retried")}function promiseRetry(e,t){var i;var s;if(typeof e==="object"&&typeof t==="function"){i=t;t=e;e=i}s=r.operation(t);return new Promise(function(t,i){s.attempt(function(r){Promise.resolve().then(function(){return e(function(e){if(isRetryError(e)){e=e.retried}throw n(new Error("Retrying"),"EPROMISERETRY",{retried:e})},r)}).then(t,function(e){if(isRetryError(e)){e=e.retried;if(s.retry(e||new Error)){return}}i(e)})})})}e.exports=promiseRetry},29975:(e,t,i)=>{"use strict";var n=i(94213);var r={};r.rules=i(2156).map(function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:e.charAt(0)==="*",exception:e.charAt(0)==="!"}});r.endsWith=function(e,t){return e.indexOf(t,e.length-t.length)!==-1};r.findRule=function(e){var t=n.toASCII(e);return r.rules.reduce(function(e,i){if(i.punySuffix===-1){i.punySuffix=n.toASCII(i.suffix)}if(!r.endsWith(t,"."+i.punySuffix)&&t!==i.punySuffix){return e}return i},null)};t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."};r.validate=function(e){var t=n.toASCII(e);if(t.length<1){return"DOMAIN_TOO_SHORT"}if(t.length>255){return"DOMAIN_TOO_LONG"}var i=t.split(".");var r;for(var s=0;s63){return"LABEL_TOO_LONG"}if(r.charAt(0)==="-"){return"LABEL_STARTS_WITH_DASH"}if(r.charAt(r.length-1)==="-"){return"LABEL_ENDS_WITH_DASH"}if(!/^[a-z0-9\-]+$/.test(r)){return"LABEL_INVALID_CHARS"}}};t.parse=function(e){if(typeof e!=="string"){throw new TypeError("Domain name must be a string.")}var i=e.slice(0).toLowerCase();if(i.charAt(i.length-1)==="."){i=i.slice(0,i.length-1)}var s=r.validate(i);if(s){return{input:e,error:{message:t.errorCodes[s],code:s}}}var a={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:false};var o=i.split(".");if(o[o.length-1]==="local"){return a}var u=function(){if(!/xn--/.test(i)){return a}if(a.domain){a.domain=n.toASCII(a.domain)}if(a.subdomain){a.subdomain=n.toASCII(a.subdomain)}return a};var c=r.findRule(i);if(!c){if(o.length<2){return a}a.tld=o.pop();a.sld=o.pop();a.domain=[a.sld,a.tld].join(".");if(o.length){a.subdomain=o.pop()}return u()}a.listed=true;var l=c.suffix.split(".");var p=o.slice(0,o.length-l.length);if(c.exception){p.push(l.shift())}a.tld=l.join(".");if(!p.length){return u()}if(c.wildcard){l.unshift(p.pop());a.tld=l.join(".")}if(!p.length){return u()}a.sld=p.pop();a.domain=[a.sld,a.tld].join(".");if(p.length){a.subdomain=p.join(".")}return u()};t.get=function(e){if(!e){return null}return t.parse(e).domain||null};t.isValid=function(e){var i=t.parse(e);return Boolean(i.domain&&i.listed)}},18341:(e,t,i)=>{var n=i(1223);var r=i(81205);var s=i(35747);var a=function(){};var o=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var c=function(e){if(!o)return false;if(!s)return false;return(e instanceof(s.ReadStream||a)||e instanceof(s.WriteStream||a))&&u(e.close)};var l=function(e){return e.setHeader&&u(e.abort)};var p=function(e,t,i,s){s=n(s);var o=false;e.on("close",function(){o=true});r(e,{readable:t,writable:i},function(e){if(e)return s(e);o=true;s()});var p=false;return function(t){if(o)return;if(p)return;p=true;if(c(e))return e.close(a);if(l(e))return e.abort();if(u(e.destroy))return e.destroy();s(t||new Error("stream was destroyed"))}};var d=function(e){e()};var f=function(e,t){return e.pipe(t)};var h=function(){var e=Array.prototype.slice.call(arguments);var t=u(e[e.length-1]||a)&&e.pop()||a;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var i;var n=e.map(function(r,s){var a=s0;return p(r,a,o,function(e){if(!i)i=e;if(e)n.forEach(d);if(a)return;n.forEach(d);t(i)})});return e.reduce(f)};e.exports=h},74907:e=>{"use strict";var t=String.prototype.replace;var i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},22760:(e,t,i)=>{"use strict";var n=i(79954);var r=i(33912);var s=i(74907);e.exports={formats:s,parse:r,stringify:n}},33912:(e,t,i)=>{"use strict";var n=i(72360);var r=Object.prototype.hasOwnProperty;var s={allowDots:false,allowPrototypes:false,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:false,strictNullHandling:false};var a=function parseQueryStringValues(e,t){var i={};var n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;var a=t.parameterLimit===Infinity?undefined:t.parameterLimit;var o=n.split(t.delimiter,a);for(var u=0;u=0;--r){var s;var a=e[r];if(a==="[]"){s=[];s=s.concat(n)}else{s=i.plainObjects?Object.create(null):{};var o=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a;var u=parseInt(o,10);if(!isNaN(u)&&a!==o&&String(u)===o&&u>=0&&(i.parseArrays&&u<=i.arrayLimit)){s=[];s[u]=n}else{s[o]=n}}n=s}return n};var u=function parseQueryStringKeys(e,t,i){if(!e){return}var n=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var s=/(\[[^[\]]*])/;var a=/(\[[^[\]]*])/g;var u=s.exec(n);var c=u?n.slice(0,u.index):n;var l=[];if(c){if(!i.plainObjects&&r.call(Object.prototype,c)){if(!i.allowPrototypes){return}}l.push(c)}var p=0;while((u=a.exec(n))!==null&&p{"use strict";var n=i(72360);var r=i(74907);var s={brackets:function brackets(e){return e+"[]"},indices:function indices(e,t){return e+"["+t+"]"},repeat:function repeat(e){return e}};var a=Date.prototype.toISOString;var o={delimiter:"&",encode:true,encoder:n.encode,encodeValuesOnly:false,serializeDate:function serializeDate(e){return a.call(e)},skipNulls:false,strictNullHandling:false};var u=function stringify(e,t,i,r,s,a,u,c,l,p,d,f){var h=e;if(typeof u==="function"){h=u(t,h)}else if(h instanceof Date){h=p(h)}else if(h===null){if(r){return a&&!f?a(t,o.encoder):t}h=""}if(typeof h==="string"||typeof h==="number"||typeof h==="boolean"||n.isBuffer(h)){if(a){var m=f?t:a(t,o.encoder);return[d(m)+"="+d(a(h,o.encoder))]}return[d(t)+"="+d(String(h))]}var b=[];if(typeof h==="undefined"){return b}var g;if(Array.isArray(u)){g=u}else{var y=Object.keys(h);g=c?y.sort(c):y}for(var S=0;S0?T+C:""}},72360:e=>{"use strict";var t=Object.prototype.hasOwnProperty;var i=function(){var e=[];for(var t=0;t<256;++t){e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase())}return e}();var n=function compactQueue(e){var t;while(e.length){var i=e.pop();t=i.obj[i.prop];if(Array.isArray(t)){var n=[];for(var r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=t.charAt(r);continue}if(s<128){n=n+i[s];continue}if(s<2048){n=n+(i[192|s>>6]+i[128|s&63]);continue}if(s<55296||s>=57344){n=n+(i[224|s>>12]+i[128|s>>6&63]+i[128|s&63]);continue}r+=1;s=65536+((s&1023)<<10|t.charCodeAt(r)&1023);n+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|s&63]}return n};var c=function compact(e){var t=[{obj:{o:e},prop:"o"}];var i=[];for(var r=0;r{"use strict";class QuickLRU{constructor(e={}){if(!(e.maxSize&&e.maxSize>0)){throw new TypeError("`maxSize` must be a number greater than 0")}this.maxSize=e.maxSize;this.onEviction=e.onEviction;this.cache=new Map;this.oldCache=new Map;this._size=0}_set(e,t){this.cache.set(e,t);this._size++;if(this._size>=this.maxSize){this._size=0;if(typeof this.onEviction==="function"){for(const[e,t]of this.oldCache.entries()){this.onEviction(e,t)}}this.oldCache=this.cache;this.cache=new Map}}get(e){if(this.cache.has(e)){return this.cache.get(e)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);this.oldCache.delete(e);this._set(e,t);return t}}set(e,t){if(this.cache.has(e)){this.cache.set(e,t)}else{this._set(e,t)}return this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){if(this.cache.has(e)){return this.cache.get(e)}if(this.oldCache.has(e)){return this.oldCache.get(e)}}delete(e){const t=this.cache.delete(e);if(t){this._size--}return this.oldCache.delete(e)||t}clear(){this.cache.clear();this.oldCache.clear();this._size=0}*keys(){for(const[e]of this){yield e}}*values(){for(const[,e]of this){yield e}}*[Symbol.iterator](){for(const e of this.cache){yield e}for(const e of this.oldCache){const[t]=e;if(!this.cache.has(t)){yield e}}}get size(){let e=0;for(const t of this.oldCache.keys()){if(!this.cache.has(t)){e++}}return Math.min(this._size+e,this.maxSize)}}e.exports=QuickLRU},48699:(e,t,i)=>{"use strict";var n=i(38171);var r=i(50976);var s=i(74845);var a=s.paramsHaveRequestBody;function initParams(e,t,i){if(typeof t==="function"){i=t}var r={};if(t!==null&&typeof t==="object"){n(r,t,{uri:e})}else if(typeof e==="string"){n(r,{uri:e})}else{n(r,e)}r.callback=i||r.callback;return r}function request(e,t,i){if(typeof e==="undefined"){throw new Error("undefined is not a valid uri or options object.")}var n=initParams(e,t,i);if(n.method==="HEAD"&&a(n)){throw new Error("HTTP HEAD requests MUST NOT include a request body.")}return new request.Request(n)}function verbFunc(e){var t=e.toUpperCase();return function(e,i,n){var r=initParams(e,i,n);r.method=t;return request(r,r.callback)}}request.get=verbFunc("get");request.head=verbFunc("head");request.options=verbFunc("options");request.post=verbFunc("post");request.put=verbFunc("put");request.patch=verbFunc("patch");request.del=verbFunc("delete");request["delete"]=verbFunc("delete");request.jar=function(e){return r.jar(e)};request.cookie=function(e){return r.parse(e)};function wrapRequestMethod(e,t,i,r){return function(s,a,o){var u=initParams(s,a,o);var c={};n(true,c,t,u);c.pool=u.pool||t.pool;if(r){c.method=r.toUpperCase()}if(typeof i==="function"){e=i}return e(c,c.callback)}}request.defaults=function(e,t){var i=this;e=e||{};if(typeof e==="function"){t=e;e={}}var n=wrapRequestMethod(i,e,t);var r=["get","head","post","put","patch","del","delete"];r.forEach(function(r){n[r]=wrapRequestMethod(i[r],e,t,r)});n.cookie=wrapRequestMethod(i.cookie,e,t);n.jar=i.jar;n.defaults=i.defaults;return n};request.forever=function(e,t){var i={};if(t){n(i,t)}if(e){i.agentOptions=e}i.forever=true;return request.defaults(i)};e.exports=request;request.Request=i(70304);request.initParams=initParams;Object.defineProperty(request,"debug",{enumerable:true,get:function(){return request.Request.debug},set:function(e){request.Request.debug=e}})},76996:(e,t,i)=>{"use strict";var n=i(35684);var r=i(80824);var s=i(74845);var a=s.md5;var o=s.toBase64;function Auth(e){this.request=e;this.hasAuth=false;this.sentAuth=false;this.bearerToken=null;this.user=null;this.pass=null}Auth.prototype.basic=function(e,t,i){var n=this;if(typeof e!=="string"||t!==undefined&&typeof t!=="string"){n.request.emit("error",new Error("auth() received invalid user or password"))}n.user=e;n.pass=t;n.hasAuth=true;var r=e+":"+(t||"");if(i||typeof i==="undefined"){var s="Basic "+o(r);n.sentAuth=true;return s}};Auth.prototype.bearer=function(e,t){var i=this;i.bearerToken=e;i.hasAuth=true;if(t||typeof t==="undefined"){if(typeof e==="function"){e=e()}var n="Bearer "+(e||"");i.sentAuth=true;return n}};Auth.prototype.digest=function(e,t,i){var n=this;var s={};var o=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;while(true){var u=o.exec(i);if(!u){break}s[u[1]]=u[2]||u[3]}var c=function(e,t,i,n,r,s){var o=a(t+":"+i+":"+n);if(e&&e.toLowerCase()==="md5-sess"){return a(o+":"+r+":"+s)}else{return o}};var l=/(^|,)\s*auth\s*($|,)/.test(s.qop)&&"auth";var p=l&&"00000001";var d=l&&r().replace(/-/g,"");var f=c(s.algorithm,n.user,s.realm,n.pass,s.nonce,d);var h=a(e+":"+t);var m=l?a(f+":"+s.nonce+":"+p+":"+d+":"+l+":"+h):a(f+":"+s.nonce+":"+h);var b={username:n.user,realm:s.realm,nonce:s.nonce,uri:t,qop:l,response:m,nc:p,cnonce:d,algorithm:s.algorithm,opaque:s.opaque};i=[];for(var g in b){if(b[g]){if(g==="qop"||g==="nc"||g==="algorithm"){i.push(g+"="+b[g])}else{i.push(g+'="'+b[g]+'"')}}}i="Digest "+i.join(", ");n.sentAuth=true;return i};Auth.prototype.onRequest=function(e,t,i,n){var r=this;var s=r.request;var a;if(n===undefined&&e===undefined){r.request.emit("error",new Error("no auth mechanism defined"))}else if(n!==undefined){a=r.bearer(n,i)}else{a=r.basic(e,t,i)}if(a){s.setHeader("authorization",a)}};Auth.prototype.onResponse=function(e){var t=this;var i=t.request;if(!t.hasAuth||t.sentAuth){return null}var r=n(e.headers);var s=r.get("www-authenticate");var a=s&&s.split(" ")[0].toLowerCase();i.debug("reauth",a);switch(a){case"basic":return t.basic(t.user,t.pass,true);case"bearer":return t.bearer(t.bearerToken,true);case"digest":return t.digest(i.method,i.path,s)}};t.g=Auth},50976:(e,t,i)=>{"use strict";var n=i(47372);var r=n.Cookie;var s=n.CookieJar;t.parse=function(e){if(e&&e.uri){e=e.uri}if(typeof e!=="string"){throw new Error("The cookie function only accepts STRING as param")}return r.parse(e,{loose:true})};function RequestJar(e){var t=this;t._jar=new s(e,{looseMode:true})}RequestJar.prototype.setCookie=function(e,t,i){var n=this;return n._jar.setCookieSync(e,t,i||{})};RequestJar.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)};RequestJar.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)};t.jar=function(e){return new RequestJar(e)}},75654:e=>{"use strict";function formatHostname(e){return e.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(e){e=e.trim().toLowerCase();var t=e.split(":",2);var i=formatHostname(t[0]);var n=t[1];var r=e.indexOf(":")>-1;return{hostname:i,port:n,hasPort:r}}function uriInNoProxy(e,t){var i=e.port||(e.protocol==="https:"?"443":"80");var n=formatHostname(e.hostname);var r=t.split(",");return r.map(parseNoProxyZone).some(function(e){var t=n.indexOf(e.hostname);var r=t>-1&&t===n.length-e.hostname.length;if(e.hasPort){return i===e.port&&r}return r})}function getProxyFromURI(e){var t=process.env.NO_PROXY||process.env.no_proxy||"";if(t==="*"){return null}if(t!==""&&uriInNoProxy(e,t)){return null}if(e.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(e.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}e.exports=getProxyFromURI},3248:(e,t,i)=>{"use strict";var n=i(35747);var r=i(71191);var s=i(75697);var a=i(38171);function Har(e){this.request=e}Har.prototype.reducer=function(e,t){if(e[t.name]===undefined){e[t.name]=t.value;return e}var i=[e[t.name],t.value];e[t.name]=i;return e};Har.prototype.prep=function(e){e.queryObj={};e.headersObj={};e.postData.jsonObj=false;e.postData.paramsObj=false;if(e.queryString&&e.queryString.length){e.queryObj=e.queryString.reduce(this.reducer,{})}if(e.headers&&e.headers.length){e.headersObj=e.headers.reduceRight(function(e,t){e[t.name]=t.value;return e},{})}if(e.cookies&&e.cookies.length){var t=e.cookies.map(function(e){return e.name+"="+e.value});if(t.length){e.headersObj.cookie=t.join("; ")}}function some(t){return t.some(function(t){return e.postData.mimeType.indexOf(t)===0})}if(some(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"])){e.postData.mimeType="multipart/form-data"}else if(some(["application/x-www-form-urlencoded"])){if(!e.postData.params){e.postData.text=""}else{e.postData.paramsObj=e.postData.params.reduce(this.reducer,{});e.postData.text=r.stringify(e.postData.paramsObj)}}else if(some(["text/json","text/x-json","application/json","application/x-json"])){e.postData.mimeType="application/json";if(e.postData.text){try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(t){this.request.debug(t);e.postData.mimeType="text/plain"}}}return e};Har.prototype.options=function(e){if(!e.har){return e}var t={};a(t,e.har);if(t.log&&t.log.entries){t=t.log.entries[0]}t.url=t.url||e.url||e.uri||e.baseUrl||"/";t.httpVersion=t.httpVersion||"HTTP/1.1";t.queryString=t.queryString||[];t.headers=t.headers||[];t.cookies=t.cookies||[];t.postData=t.postData||{};t.postData.mimeType=t.postData.mimeType||"application/octet-stream";t.bodySize=0;t.headersSize=0;t.postData.size=0;if(!s.request(t)){return e}var i=this.prep(t);if(i.url){e.url=i.url}if(i.method){e.method=i.method}if(Object.keys(i.queryObj).length){e.qs=i.queryObj}if(Object.keys(i.headersObj).length){e.headers=i.headersObj}function test(e){return i.postData.mimeType.indexOf(e)===0}if(test("application/x-www-form-urlencoded")){e.form=i.postData.paramsObj}else if(test("application/json")){if(i.postData.jsonObj){e.body=i.postData.jsonObj;e.json=true}}else if(test("multipart/form-data")){e.formData={};i.postData.params.forEach(function(t){var i={};if(!t.fileName&&!t.contentType){e.formData[t.name]=t.value;return}if(t.fileName&&!t.value){i.value=n.createReadStream(t.fileName)}else if(t.value){i.value=t.value}if(t.fileName){i.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}}e.formData[t.name]=i})}else{if(i.postData.text){e.body=i.postData.text}}return e};t.t=Har},34473:(e,t,i)=>{"use strict";var n=i(76417);function randomString(e){var t=(e+1)*6;var i=n.randomBytes(Math.ceil(t/8));var r=i.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return r.slice(0,e)}function calculatePayloadHash(e,t,i){var r=n.createHash(t);r.update("hawk.1.payload\n");r.update((i?i.split(";")[0].trim().toLowerCase():"")+"\n");r.update(e||"");r.update("\n");return r.digest("base64")}t.calculateMac=function(e,t){var i="hawk.1.header\n"+t.ts+"\n"+t.nonce+"\n"+(t.method||"").toUpperCase()+"\n"+t.resource+"\n"+t.host.toLowerCase()+"\n"+t.port+"\n"+(t.hash||"")+"\n";if(t.ext){i=i+t.ext.replace("\\","\\\\").replace("\n","\\n")}i=i+"\n";if(t.app){i=i+t.app+"\n"+(t.dlg||"")+"\n"}var r=n.createHmac(e.algorithm,e.key).update(i);var s=r.digest("base64");return s};t.header=function(e,i,n){var r=n.timestamp||Math.floor((Date.now()+(n.localtimeOffsetMsec||0))/1e3);var s=n.credentials;if(!s||!s.id||!s.key||!s.algorithm){return""}if(["sha1","sha256"].indexOf(s.algorithm)===-1){return""}var a={ts:r,nonce:n.nonce||randomString(6),method:i,resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||(e.protocol==="http:"?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};if(!a.hash&&(n.payload||n.payload==="")){a.hash=calculatePayloadHash(n.payload,s.algorithm,n.contentType)}var o=t.calculateMac(s,a);var u=a.ext!==null&&a.ext!==undefined&&a.ext!=="";var c='Hawk id="'+s.id+'", ts="'+a.ts+'", nonce="'+a.nonce+(a.hash?'", hash="'+a.hash:"")+(u?'", ext="'+a.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+o+'"';if(a.app){c=c+', app="'+a.app+(a.dlg?'", dlg="'+a.dlg:"")+'"'}return c}},74845:(e,t,i)=>{"use strict";var n=i(57073);var r=i(76417);var s=i(21867).Buffer;var a=typeof setImmediate==="undefined"?process.nextTick:setImmediate;function paramsHaveRequestBody(e){return e.body||e.requestBodyStream||e.json&&typeof e.json!=="boolean"||e.multipart}function safeStringify(e,t){var i;try{i=JSON.stringify(e,t)}catch(r){i=n(e,t)}return i}function md5(e){return r.createHash("md5").update(e).digest("hex")}function isReadStream(e){return e.readable&&e.path&&e.mode}function toBase64(e){return s.from(e||"","utf8").toString("base64")}function copy(e){var t={};Object.keys(e).forEach(function(i){t[i]=e[i]});return t}function version(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}t.paramsHaveRequestBody=paramsHaveRequestBody;t.safeStringify=safeStringify;t.md5=md5;t.isReadStream=isReadStream;t.toBase64=toBase64;t.copy=copy;t.version=version;t.defer=a},87810:(e,t,i)=>{"use strict";var n=i(80824);var r=i(85443);var s=i(83362);var a=i(21867).Buffer;function Multipart(e){this.request=e;this.boundary=n();this.chunked=false;this.body=null}Multipart.prototype.isChunked=function(e){var t=this;var i=false;var n=e.data||e;if(!n.forEach){t.request.emit("error",new Error("Argument error, options.multipart."))}if(e.chunked!==undefined){i=e.chunked}if(t.request.getHeader("transfer-encoding")==="chunked"){i=true}if(!i){n.forEach(function(e){if(typeof e.body==="undefined"){t.request.emit("error",new Error("Body attribute missing in multipart."))}if(s(e.body)){i=true}})}return i};Multipart.prototype.setHeaders=function(e){var t=this;if(e&&!t.request.hasHeader("transfer-encoding")){t.request.setHeader("transfer-encoding","chunked")}var i=t.request.getHeader("content-type");if(!i||i.indexOf("multipart")===-1){t.request.setHeader("content-type","multipart/related; boundary="+t.boundary)}else{if(i.indexOf("boundary")!==-1){t.boundary=i.replace(/.*boundary=([^\s;]+).*/,"$1")}else{t.request.setHeader("content-type",i+"; boundary="+t.boundary)}}};Multipart.prototype.build=function(e,t){var i=this;var n=t?new r:[];function add(e){if(typeof e==="number"){e=e.toString()}return t?n.append(e):n.push(a.from(e))}if(i.request.preambleCRLF){add("\r\n")}e.forEach(function(e){var t="--"+i.boundary+"\r\n";Object.keys(e).forEach(function(i){if(i==="body"){return}t+=i+": "+e[i]+"\r\n"});t+="\r\n";add(t);add(e.body);add("\r\n")});add("--"+i.boundary+"--");if(i.request.postambleCRLF){add("\r\n")}return n};Multipart.prototype.onRequest=function(e){var t=this;var i=t.isChunked(e);var n=e.data||e;t.setHeaders(i);t.chunked=i;t.body=t.build(n,i)};t.$=Multipart},41174:(e,t,i)=>{"use strict";var n=i(78835);var r=i(22760);var s=i(35684);var a=i(80824);var o=i(43248);var u=i(76417);var c=i(21867).Buffer;function OAuth(e){this.request=e;this.params=null}OAuth.prototype.buildParams=function(e,t,i,n,r,s){var u={};for(var c in e){u["oauth_"+c]=e[c]}if(!u.oauth_version){u.oauth_version="1.0"}if(!u.oauth_timestamp){u.oauth_timestamp=Math.floor(Date.now()/1e3).toString()}if(!u.oauth_nonce){u.oauth_nonce=a().replace(/-/g,"")}if(!u.oauth_signature_method){u.oauth_signature_method="HMAC-SHA1"}var l=u.oauth_consumer_secret||u.oauth_private_key;delete u.oauth_consumer_secret;delete u.oauth_private_key;var p=u.oauth_token_secret;delete u.oauth_token_secret;var d=u.oauth_realm;delete u.oauth_realm;delete u.oauth_transport_method;var f=t.protocol+"//"+t.host+t.pathname;var h=s.parse([].concat(n,r,s.stringify(u)).join("&"));u.oauth_signature=o.sign(u.oauth_signature_method,i,f,h,l,p);if(d){u.realm=d}return u};OAuth.prototype.buildBodyHash=function(e,t){if(["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0){this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."))}var i=u.createHash("sha1");i.update(t||"");var n=i.digest("hex");return c.from(n,"hex").toString("base64")};OAuth.prototype.concatParams=function(e,t,i){i=i||"";var n=Object.keys(e).filter(function(e){return e!=="realm"&&e!=="oauth_signature"}).sort();if(e.realm){n.splice(0,0,"realm")}n.push("oauth_signature");return n.map(function(t){return t+"="+i+o.rfc3986(e[t])+i}).join(t)};OAuth.prototype.onRequest=function(e){var t=this;t.params=e;var i=t.request.uri||{};var a=t.request.method||"";var o=s(t.request.headers);var u=t.request.body||"";var c=t.request.qsLib||r;var l;var p;var d=o.get("content-type")||"";var f="application/x-www-form-urlencoded";var h=e.transport_method||"header";if(d.slice(0,f.length)===f){d=f;l=u}if(i.query){p=i.query}if(h==="body"&&(a!=="POST"||d!==f)){t.request.emit("error",new Error("oauth: transport_method of body requires POST "+"and content-type "+f))}if(!l&&typeof e.body_hash==="boolean"){e.body_hash=t.buildBodyHash(e,t.request.body.toString())}var m=t.buildParams(e,i,a,p,l,c);switch(h){case"header":t.request.setHeader("Authorization","OAuth "+t.concatParams(m,",",'"'));break;case"query":var b=t.request.uri.href+=(p?"&":"?")+t.concatParams(m,"&");t.request.uri=n.parse(b);t.request.path=t.request.uri.path;break;case"body":t.request.body=(l?l+"&":"")+t.concatParams(m,"&");break;default:t.request.emit("error",new Error("oauth: transport_method invalid"))}};t.f=OAuth},66476:(e,t,i)=>{"use strict";var n=i(22760);var r=i(71191);function Querystring(e){this.request=e;this.lib=null;this.useQuerystring=null;this.parseOptions=null;this.stringifyOptions=null}Querystring.prototype.init=function(e){if(this.lib){return}this.useQuerystring=e.useQuerystring;this.lib=this.useQuerystring?r:n;this.parseOptions=e.qsParseOptions||{};this.stringifyOptions=e.qsStringifyOptions||{}};Querystring.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)};Querystring.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)};Querystring.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})};Querystring.prototype.unescape=r.unescape;t.h=Querystring},3048:(e,t,i)=>{"use strict";var n=i(78835);var r=/^https?:/;function Redirect(e){this.request=e;this.followRedirect=true;this.followRedirects=true;this.followAllRedirects=false;this.followOriginalHttpMethod=false;this.allowRedirect=function(){return true};this.maxRedirects=10;this.redirects=[];this.redirectsFollowed=0;this.removeRefererHeader=false}Redirect.prototype.onRequest=function(e){var t=this;if(e.maxRedirects!==undefined){t.maxRedirects=e.maxRedirects}if(typeof e.followRedirect==="function"){t.allowRedirect=e.followRedirect}if(e.followRedirect!==undefined){t.followRedirects=!!e.followRedirect}if(e.followAllRedirects!==undefined){t.followAllRedirects=e.followAllRedirects}if(t.followRedirects||t.followAllRedirects){t.redirects=t.redirects||[]}if(e.removeRefererHeader!==undefined){t.removeRefererHeader=e.removeRefererHeader}if(e.followOriginalHttpMethod!==undefined){t.followOriginalHttpMethod=e.followOriginalHttpMethod}};Redirect.prototype.redirectTo=function(e){var t=this;var i=t.request;var n=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var r=e.caseless.get("location");i.debug("redirect",r);if(t.followAllRedirects){n=r}else if(t.followRedirects){switch(i.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:n=r;break}}}else if(e.statusCode===401){var s=i._auth.onResponse(e);if(s){i.setHeader("authorization",s);n=i.uri}}return n};Redirect.prototype.onResponse=function(e){var t=this;var i=t.request;var s=t.redirectTo(e);if(!s||!t.allowRedirect.call(i,e)){return false}i.debug("redirect to",s);if(e.resume){e.resume()}if(t.redirectsFollowed>=t.maxRedirects){i.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+i.uri.href));return false}t.redirectsFollowed+=1;if(!r.test(s)){s=n.resolve(i.uri.href,s)}var a=i.uri;i.uri=n.parse(s);if(i.uri.protocol!==a.protocol){delete i.agent}t.redirects.push({statusCode:e.statusCode,redirectUri:s});if(t.followAllRedirects&&i.method!=="HEAD"&&e.statusCode!==401&&e.statusCode!==307){i.method=t.followOriginalHttpMethod?i.method:"GET"}delete i.src;delete i.req;delete i._started;if(e.statusCode!==401&&e.statusCode!==307){delete i.body;delete i._form;if(i.headers){i.removeHeader("host");i.removeHeader("content-type");i.removeHeader("content-length");if(i.uri.hostname!==i.originalHost.split(":")[0]){i.removeHeader("authorization")}}}if(!t.removeRefererHeader){i.setHeader("referer",a.href)}i.emit("redirect");i.init();return true};t.l=Redirect},17619:(e,t,i)=>{"use strict";var n=i(78835);var r=i(11137);var s=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"];var a=["proxy-authorization"];function constructProxyHost(e){var t=e.port;var i=e.protocol;var n=e.hostname+":";if(t){n+=t}else if(i==="https:"){n+="443"}else{n+="80"}return n}function constructProxyHeaderWhiteList(e,t){var i=t.reduce(function(e,t){e[t.toLowerCase()]=true;return e},{});return Object.keys(e).filter(function(e){return i[e.toLowerCase()]}).reduce(function(t,i){t[i]=e[i];return t},{})}function constructTunnelOptions(e,t){var i=e.proxy;var n={proxy:{host:i.hostname,port:+i.port,proxyAuth:i.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return n}function constructTunnelFnName(e,t){var i=e.protocol==="https:"?"https":"http";var n=t.protocol==="https:"?"Https":"Http";return[i,n].join("Over")}function getTunnelFn(e){var t=e.uri;var i=e.proxy;var n=constructTunnelFnName(t,i);return r[n]}function Tunnel(e){this.request=e;this.proxyHeaderWhiteList=s;this.proxyHeaderExclusiveList=[];if(typeof e.tunnel!=="undefined"){this.tunnelOverride=e.tunnel}}Tunnel.prototype.isEnabled=function(){var e=this;var t=e.request;if(typeof e.tunnelOverride!=="undefined"){return e.tunnelOverride}if(t.uri.protocol==="https:"){return true}return false};Tunnel.prototype.setup=function(e){var t=this;var i=t.request;e=e||{};if(typeof i.proxy==="string"){i.proxy=n.parse(i.proxy)}if(!i.proxy||!i.tunnel){return false}if(e.proxyHeaderWhiteList){t.proxyHeaderWhiteList=e.proxyHeaderWhiteList}if(e.proxyHeaderExclusiveList){t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList}var r=t.proxyHeaderExclusiveList.concat(a);var s=t.proxyHeaderWhiteList.concat(r);var o=constructProxyHeaderWhiteList(i.headers,s);o.host=constructProxyHost(i.uri);r.forEach(i.removeHeader,i);var u=getTunnelFn(i);var c=constructTunnelOptions(i,o);i.agent=u(c);return true};Tunnel.defaultProxyHeaderWhiteList=s;Tunnel.defaultProxyHeaderExclusiveList=a;t.n=Tunnel},11377:(e,t,i)=>{var n=i(85443);var r=i(31669);var s=i(85622);var a=i(98605);var o=i(57211);var u=i(78835).parse;var c=i(35747);var l=i(43583);var p=i(14812);var d=i(94932);e.exports=FormData;r.inherits(FormData,n);function FormData(e){if(!(this instanceof FormData)){return new FormData}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];n.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,i){i=i||{};if(typeof i=="string"){i={filename:i}}var s=n.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(r.isArray(t)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(e,t,i);var o=this._multiPartFooter();s(a);s(t);s(o);this._trackLength(a,t,i)};FormData.prototype._trackLength=function(e,t,i){var n=0;if(i.knownLength!=null){n+=+i.knownLength}else if(Buffer.isBuffer(t)){n=t.length}else if(typeof t==="string"){n=Buffer.byteLength(t)}this._valueLength+=n;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))){return}if(!i.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{c.stat(e.path,function(i,n){var r;if(i){t(i);return}r=n.size-(e.start?e.start:0);t(null,r)})}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",function(i){e.pause();t(null,+i.headers["content-length"])});e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,i){if(typeof i.header=="string"){return i.header}var n=this._getContentDisposition(t,i);var r=this._getContentType(t,i);var s="";var a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(r||[])};if(typeof i.header=="object"){d(a,i.header)}var o;for(var u in a){if(!a.hasOwnProperty(u))continue;o=a[u];if(o==null){continue}if(!Array.isArray(o)){o=[o]}if(o.length){s+=u+": "+o.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+s+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var i,n;if(typeof t.filepath==="string"){i=s.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){i=s.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){i=s.basename(e.client._httpMessage.path)}if(i){n='filename="'+i+'"'}return n};FormData.prototype._getContentType=function(e,t){var i=t.contentType;if(!i&&e.name){i=l.lookup(e.name)}if(!i&&e.path){i=l.lookup(e.path)}if(!i&&e.readable&&e.hasOwnProperty("httpVersion")){i=e.headers["content-type"]}if(!i&&(t.filepath||t.filename)){i=l.lookup(t.filepath||t.filename)}if(!i&&typeof e=="object"){i=FormData.DEFAULT_CONTENT_TYPE}return i};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var i=this._streams.length===0;if(i){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){i[t.toLowerCase()]=e[t]}}return i};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype._generateBoundary=function(){var e="--------------------------";for(var t=0;t<24;t++){e+=Math.floor(Math.random()*10).toString(16)}this._boundary=e};FormData.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length){e+=this._lastBoundary().length}if(!this.hasKnownLength()){this._error(new Error("Cannot calculate proper length in synchronous way."))}return e};FormData.prototype.hasKnownLength=function(){var e=true;if(this._valuesToMeasure.length){e=false}return e};FormData.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length){t+=this._lastBoundary().length}if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}p.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,n){if(i){e(i);return}n.forEach(function(e){t+=e});e(null,t)})};FormData.prototype.submit=function(e,t){var i,n,r={method:"post"};if(typeof e=="string"){e=u(e);n=d({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)}else{n=d(e,r);if(!n.port){n.port=n.protocol=="https:"?443:80}}n.headers=this.getHeaders(e.headers);if(n.protocol=="https:"){i=o.request(n)}else{i=a.request(n)}this.getLength(function(e,n){if(e){this._error(e);return}i.setHeader("Content-Length",n);this.pipe(i);if(t){i.on("error",t);i.on("response",t.bind(this,null))}}.bind(this));return i};FormData.prototype._error=function(e){if(!this.error){this.error=e;this.pause();this.emit("error",e)}};FormData.prototype.toString=function(){return"[object FormData]"}},94932:e=>{e.exports=function(e,t){Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]});return e}},70304:(e,t,i)=>{"use strict";var n=i(98605);var r=i(57211);var s=i(78835);var a=i(31669);var o=i(92413);var u=i(78761);var c=i(96342);var l=i(16071);var p=i(42479);var d=i(43583);var f=i(35684);var h=i(47568);var m=i(11377);var b=i(38171);var g=i(83362);var y=i(10657).strict;var S=i(74845);var v=i(50976);var w=i(75654);var j=i(66476).h;var z=i(3248).t;var O=i(76996).g;var k=i(41174).f;var C=i(34473);var T=i(87810).$;var _=i(3048).l;var A=i(17619).n;var E=i(85644);var R=i(21867).Buffer;var x=S.safeStringify;var N=S.isReadStream;var V=S.toBase64;var P=S.defer;var M=S.copy;var B=S.version;var I=v.jar();var D={};function filterForNonReserved(e,t){var i={};for(var n in t){var r=e.indexOf(n)===-1;if(r){i[n]=t[n]}}return i}function filterOutReservedFunctions(e,t){var i={};for(var n in t){var r=!(e.indexOf(n)===-1);var s=typeof t[n]==="function";if(!(r&&s)){i[n]=t[n]}}return i}function requestToJSON(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function responseToJSON(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:requestToJSON.call(e.request)}}function Request(e){var t=this;if(e.har){t._har=new z(t);e=t._har.options(e)}o.Stream.call(t);var i=Object.keys(Request.prototype);var n=filterForNonReserved(i,e);b(t,n);e=filterOutReservedFunctions(i,e);t.readable=true;t.writable=true;if(e.method){t.explicitMethod=true}t._qs=new j(t);t._auth=new O(t);t._oauth=new k(t);t._multipart=new T(t);t._redirect=new _(t);t._tunnel=new A(t);t.init(e)}a.inherits(Request,o.Stream);Request.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG);function debug(){if(Request.debug){console.error("REQUEST %s",a.format.apply(a,arguments))}}Request.prototype.debug=debug;Request.prototype.init=function(e){var t=this;if(!e){e={}}t.headers=t.headers?M(t.headers):{};for(var i in t.headers){if(typeof t.headers[i]==="undefined"){delete t.headers[i]}}f.httpify(t,t.headers);if(!t.method){t.method=e.method||"GET"}if(!t.localAddress){t.localAddress=e.localAddress}t._qs.init(e);debug(e);if(!t.pool&&t.pool!==false){t.pool=D}t.dests=t.dests||[];t.__isRequestRequest=true;if(!t._callback&&t.callback){t._callback=t.callback;t.callback=function(){if(t._callbackCalled){return}t._callbackCalled=true;t._callback.apply(t,arguments)};t.on("error",t.callback.bind());t.on("complete",t.callback.bind(t,null))}if(!t.uri&&t.url){t.uri=t.url;delete t.url}if(t.baseUrl){if(typeof t.baseUrl!=="string"){return t.emit("error",new Error("options.baseUrl must be a string"))}if(typeof t.uri!=="string"){return t.emit("error",new Error("options.uri must be a string when using options.baseUrl"))}if(t.uri.indexOf("//")===0||t.uri.indexOf("://")!==-1){return t.emit("error",new Error("options.uri must be a path when using options.baseUrl"))}var a=t.baseUrl.lastIndexOf("/")===t.baseUrl.length-1;var o=t.uri.indexOf("/")===0;if(a&&o){t.uri=t.baseUrl+t.uri.slice(1)}else if(a||o){t.uri=t.baseUrl+t.uri}else if(t.uri===""){t.uri=t.baseUrl}else{t.uri=t.baseUrl+"/"+t.uri}delete t.baseUrl}if(!t.uri){return t.emit("error",new Error("options.uri is a required argument"))}if(typeof t.uri==="string"){t.uri=s.parse(t.uri)}if(!t.uri.href){t.uri.href=s.format(t.uri)}if(t.uri.protocol==="unix:"){return t.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"))}if(t.uri.host==="unix"){t.enableUnixSocket()}if(t.strictSSL===false){t.rejectUnauthorized=false}if(!t.uri.pathname){t.uri.pathname="/"}if(!(t.uri.host||t.uri.hostname&&t.uri.port)&&!t.uri.isUnix){var u=s.format(t.uri);var c='Invalid URI "'+u+'"';if(Object.keys(e).length===0){c+=". This can be caused by a crappy redirection."}t.abort();return t.emit("error",new Error(c))}if(!t.hasOwnProperty("proxy")){t.proxy=w(t.uri)}t.tunnel=t._tunnel.isEnabled();if(t.proxy){t._tunnel.setup(e)}t._redirect.onRequest(e);t.setHost=false;if(!t.hasHeader("host")){var l=t.originalHostHeaderName||"host";t.setHeader(l,t.uri.host);if(t.uri.port){if(t.uri.port==="80"&&t.uri.protocol==="http:"||t.uri.port==="443"&&t.uri.protocol==="https:"){t.setHeader(l,t.uri.hostname)}}t.setHost=true}t.jar(t._jar||e.jar);if(!t.uri.port){if(t.uri.protocol==="http:"){t.uri.port=80}else if(t.uri.protocol==="https:"){t.uri.port=443}}if(t.proxy&&!t.tunnel){t.port=t.proxy.port;t.host=t.proxy.hostname}else{t.port=t.uri.port;t.host=t.uri.hostname}if(e.form){t.form(e.form)}if(e.formData){var p=e.formData;var m=t.form();var b=function(e,t){if(t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")){m.append(e,t.value,t.options)}else{m.append(e,t)}};for(var S in p){if(p.hasOwnProperty(S)){var v=p[S];if(v instanceof Array){for(var j=0;j=100&&e<200||e===204||e===304};var c;if(t.gzip&&!o(e.statusCode)){var l=e.headers["content-encoding"]||"identity";l=l.trim().toLowerCase();var p={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};if(l==="gzip"){c=u.createGunzip(p);e.pipe(c)}else if(l==="deflate"){c=u.createInflate(p);e.pipe(c)}else{if(l!=="identity"){debug("ignoring unrecognized Content-Encoding "+l)}c=e}}else{c=e}if(t.encoding){if(t.dests.length!==0){console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.")}else{c.setEncoding(t.encoding)}}if(t._paused){c.pause()}t.responseContent=c;t.emit("response",e);t.dests.forEach(function(e){t.pipeDest(e)});c.on("data",function(i){if(t.timing&&!t.responseStarted){t.responseStartTime=(new Date).getTime();e.responseStartTime=t.responseStartTime}t._destdata=true;t.emit("data",i)});c.once("end",function(e){t.emit("end",e)});c.on("error",function(e){t.emit("error",e)});c.on("close",function(){t.emit("close")});if(t.callback){t.readResponseBody(e)}else{t.on("end",function(){if(t._aborted){debug("aborted",t.uri.href);return}t.emit("complete",e)})}}debug("finish init function",t.uri.href)};Request.prototype.readResponseBody=function(e){var t=this;debug("reading response's body");var i=[];var n=0;var r=[];t.on("data",function(e){if(!R.isBuffer(e)){r.push(e)}else if(e.length){n+=e.length;i.push(e)}});t.on("end",function(){debug("end event",t.uri.href);if(t._aborted){debug("aborted",t.uri.href);i=[];n=0;return}if(n){debug("has body",t.uri.href,n);e.body=R.concat(i,n);if(t.encoding!==null){e.body=e.body.toString(t.encoding)}i=[];n=0}else if(r.length){if(t.encoding==="utf8"&&r[0].length>0&&r[0][0]==="\ufeff"){r[0]=r[0].substring(1)}e.body=r.join("")}if(t._json){try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){debug("invalid JSON received",t.uri.href)}}debug("emitting complete",t.uri.href);if(typeof e.body==="undefined"&&!t._json){e.body=t.encoding===null?R.alloc(0):""}t.emit("complete",e,e.body)})};Request.prototype.abort=function(){var e=this;e._aborted=true;if(e.req){e.req.abort()}else if(e.response){e.response.destroy()}e.clearTimeout();e.emit("abort")};Request.prototype.pipeDest=function(e){var t=this;var i=t.response;if(e.headers&&!e.headersSent){if(i.caseless.has("content-type")){var n=i.caseless.has("content-type");if(e.setHeader){e.setHeader(n,i.headers[n])}else{e.headers[n]=i.headers[n]}}if(i.caseless.has("content-length")){var r=i.caseless.has("content-length");if(e.setHeader){e.setHeader(r,i.headers[r])}else{e.headers[r]=i.headers[r]}}}if(e.setHeader&&!e.headersSent){for(var s in i.headers){if(!t.gzip||s!=="content-encoding"){e.setHeader(s,i.headers[s])}}e.statusCode=i.statusCode}if(t.pipefilter){t.pipefilter(i,e)}};Request.prototype.qs=function(e,t){var i=this;var n;if(!t&&i.uri.query){n=i._qs.parse(i.uri.query)}else{n={}}for(var r in e){n[r]=e[r]}var a=i._qs.stringify(n);if(a===""){return i}i.uri=s.parse(i.uri.href.split("?")[0]+"?"+a);i.url=i.uri;i.path=i.uri.path;if(i.uri.host==="unix"){i.enableUnixSocket()}return i};Request.prototype.form=function(e){var t=this;if(e){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.setHeader("content-type","application/x-www-form-urlencoded")}t.body=typeof e==="string"?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8");return t}t._form=new m;t._form.on("error",function(e){e.message="form-data: "+e.message;t.emit("error",e);t.abort()});return t._form};Request.prototype.multipart=function(e){var t=this;t._multipart.onRequest(e);if(!t._multipart.chunked){t.body=t._multipart.body}return t};Request.prototype.json=function(e){var t=this;if(!t.hasHeader("accept")){t.setHeader("accept","application/json")}if(typeof t.jsonReplacer==="function"){t._jsonReplacer=t.jsonReplacer}t._json=true;if(typeof e==="boolean"){if(t.body!==undefined){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.body=x(t.body,t._jsonReplacer)}else{t.body=t._qs.rfc3986(t.body)}if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}}else{t.body=x(e,t._jsonReplacer);if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}if(typeof t.jsonReviver==="function"){t._jsonReviver=t.jsonReviver}return t};Request.prototype.getHeader=function(e,t){var i=this;var n,r,s;if(!t){t=i.headers}Object.keys(t).forEach(function(i){if(i.length!==e.length){return}r=new RegExp(e,"i");s=i.match(r);if(s){n=t[i]}});return n};Request.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":");var t=e[0];var i=e[1];this.socketPath=t;this.uri.pathname=i;this.uri.path=i;this.uri.host=t;this.uri.hostname=t;this.uri.isUnix=true};Request.prototype.auth=function(e,t,i,n){var r=this;r._auth.onRequest(e,t,i,n);return r};Request.prototype.aws=function(e,t){var i=this;if(!t){i._aws=e;return i}if(e.sign_version===4||e.sign_version==="4"){var n={host:i.uri.host,path:i.uri.path,method:i.method,headers:i.headers,body:i.body};if(e.service){n.service=e.service}var r=l.sign(n,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});i.setHeader("authorization",r.headers.Authorization);i.setHeader("x-amz-date",r.headers["X-Amz-Date"]);if(r.headers["X-Amz-Security-Token"]){i.setHeader("x-amz-security-token",r.headers["X-Amz-Security-Token"])}}else{var s=new Date;i.setHeader("date",s.toUTCString());var a={key:e.key,secret:e.secret,verb:i.method.toUpperCase(),date:s,contentType:i.getHeader("content-type")||"",md5:i.getHeader("content-md5")||"",amazonHeaders:c.canonicalizeHeaders(i.headers)};var o=i.uri.path;if(e.bucket&&o){a.resource="/"+e.bucket+o}else if(e.bucket&&!o){a.resource="/"+e.bucket}else if(!e.bucket&&o){a.resource=o}else if(!e.bucket&&!o){a.resource="/"}a.resource=c.canonicalizeResource(a.resource);i.setHeader("authorization",c.authorization(a))}return i};Request.prototype.httpSignature=function(e){var t=this;p.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,i){t.setHeader(e,i)},method:t.method,path:t.path},e);debug("httpSignature authorization",t.getHeader("authorization"));return t};Request.prototype.hawk=function(e){var t=this;t.setHeader("Authorization",C.header(t.uri,t.method,e))};Request.prototype.oauth=function(e){var t=this;t._oauth.onRequest(e);return t};Request.prototype.jar=function(e){var t=this;var i;if(t._redirect.redirectsFollowed===0){t.originalCookieHeader=t.getHeader("cookie")}if(!e){i=false;t._disableCookies=true}else{var n=e.getCookieString?e:I;var r=t.uri.href;if(n){i=n.getCookieString(r)}}if(i&&i.length){if(t.originalCookieHeader){t.setHeader("cookie",t.originalCookieHeader+"; "+i)}else{t.setHeader("cookie",i)}}t._jar=e;return t};Request.prototype.pipe=function(e,t){var i=this;if(i.response){if(i._destdata){i.emit("error",new Error("You cannot pipe after data has been emitted from the response."))}else if(i._ended){i.emit("error",new Error("You cannot pipe after the response has been ended."))}else{o.Stream.prototype.pipe.call(i,e,t);i.pipeDest(e);return e}}else{i.dests.push(e);o.Stream.prototype.pipe.call(i,e,t);return e}};Request.prototype.write=function(){var e=this;if(e._aborted){return}if(!e._started){e.start()}if(e.req){return e.req.write.apply(e.req,arguments)}};Request.prototype.end=function(e){var t=this;if(t._aborted){return}if(e){t.write(e)}if(!t._started){t.start()}if(t.req){t.req.end()}};Request.prototype.pause=function(){var e=this;if(!e.responseContent){e._paused=true}else{e.responseContent.pause.apply(e.responseContent,arguments)}};Request.prototype.resume=function(){var e=this;if(!e.responseContent){e._paused=false}else{e.responseContent.resume.apply(e.responseContent,arguments)}};Request.prototype.destroy=function(){var e=this;this.clearTimeout();if(!e._ended){e.end()}else if(e.response){e.response.destroy()}};Request.prototype.clearTimeout=function(){if(this.timeoutTimer){clearTimeout(this.timeoutTimer);this.timeoutTimer=null}};Request.defaultProxyHeaderWhiteList=A.defaultProxyHeaderWhiteList.slice();Request.defaultProxyHeaderExclusiveList=A.defaultProxyHeaderExclusiveList.slice();Request.prototype.toJSON=requestToJSON;e.exports=Request},46624:(e,t,i)=>{"use strict";const n=i(4016);e.exports=((e={})=>new Promise((t,i)=>{const r=n.connect(e,()=>{if(e.resolveSocket){r.off("error",i);t({alpnProtocol:r.alpnProtocol,socket:r})}else{r.destroy();t({alpnProtocol:r.alpnProtocol})}});r.on("error",i)}))},9004:(e,t,i)=>{"use strict";const n=i(92413).Readable;const r=i(9662);class Response extends n{constructor(e,t,i,n){if(typeof e!=="number"){throw new TypeError("Argument `statusCode` should be a number")}if(typeof t!=="object"){throw new TypeError("Argument `headers` should be an object")}if(!(i instanceof Buffer)){throw new TypeError("Argument `body` should be a buffer")}if(typeof n!=="string"){throw new TypeError("Argument `url` should be a string")}super();this.statusCode=e;this.headers=r(t);this.body=i;this.url=n}_read(){this.push(this.body);this.push(null)}}e.exports=Response},24347:(e,t,i)=>{e.exports=i(56244)},56244:(e,t,i)=>{var n=i(45369);t.operation=function(e){var i=t.timeouts(e);return new n(i,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var i in e){t[i]=e[i]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var n=[];for(var r=0;r{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var i=this._timeouts.shift();if(i===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);i=this._timeouts.shift()}else{return false}}var n=this;var r=setTimeout(function(){n._attempts++;if(n._operationTimeoutCb){n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout);if(n._options.unref){n._timeout.unref()}}n._fn(n._attempts)},i);if(this._options.unref){r.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var i=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){i._operationTimeoutCb()},i._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var i=0;for(var n=0;n=i){t=r;i=a}}return t}},3487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function parse(e,t,i){if(i===void 0){i={}}if(!t.codes){t.codes={};for(var n=0;n=8){a-=8;s[u++]=255&o>>a}}if(a>=t.bits||255&o<<8-a){throw new SyntaxError("Unexpected end of data")}return s}function stringify(e,t,i){if(i===void 0){i={}}var n=i,r=n.pad,s=r===void 0?true:r;var a=(1<t.bits){u-=t.bits;o+=t.chars[a&c>>u]}}if(u){o+=t.chars[a&c<{const n=i(42357);const r=i(85622);const s=i(35747);let a=undefined;try{a=i(91957)}catch(e){}const o={nosort:true,silent:true};let u=0;const c=process.platform==="win32";const l=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||o};const p=(e,t,i)=>{if(typeof t==="function"){i=t;t={}}n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n.equal(typeof i,"function","rimraf: callback function required");n(t,"rimraf: invalid options argument provided");n.equal(typeof t,"object","rimraf: options should be object");l(t);let r=0;let s=null;let o=0;const c=e=>{s=s||e;if(--o===0)i(s)};const p=(e,n)=>{if(e)return i(e);o=n.length;if(o===0)return i();n.forEach(e=>{const i=n=>{if(n){if((n.code==="EBUSY"||n.code==="ENOTEMPTY"||n.code==="EPERM")&&rd(e,t,i),r*100)}if(n.code==="EMFILE"&&ud(e,t,i),u++)}if(n.code==="ENOENT")n=null}u=0;c(n)};d(e,t,i)})};if(t.disableGlob||!a.hasMagic(e))return p(null,[e]);t.lstat(e,(i,n)=>{if(!i)return p(null,[e]);a(e,t.glob,p)})};const d=(e,t,i)=>{n(e);n(t);n(typeof i==="function");t.lstat(e,(n,r)=>{if(n&&n.code==="ENOENT")return i(null);if(n&&n.code==="EPERM"&&c)f(e,t,n,i);if(r&&r.isDirectory())return m(e,t,n,i);t.unlink(e,n=>{if(n){if(n.code==="ENOENT")return i(null);if(n.code==="EPERM")return c?f(e,t,n,i):m(e,t,n,i);if(n.code==="EISDIR")return m(e,t,n,i)}return i(n)})})};const f=(e,t,i,r)=>{n(e);n(t);n(typeof r==="function");t.chmod(e,438,n=>{if(n)r(n.code==="ENOENT"?null:i);else t.stat(e,(n,s)=>{if(n)r(n.code==="ENOENT"?null:i);else if(s.isDirectory())m(e,t,i,r);else t.unlink(e,r)})})};const h=(e,t,i)=>{n(e);n(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw i}let r;try{r=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(r.isDirectory())y(e,t,i);else t.unlinkSync(e)};const m=(e,t,i,r)=>{n(e);n(t);n(typeof r==="function");t.rmdir(e,n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"))b(e,t,r);else if(n&&n.code==="ENOTDIR")r(i);else r(n)})};const b=(e,t,i)=>{n(e);n(t);n(typeof i==="function");t.readdir(e,(n,s)=>{if(n)return i(n);let a=s.length;if(a===0)return t.rmdir(e,i);let o;s.forEach(n=>{p(r.join(e,n),t,n=>{if(o)return;if(n)return i(o=n);if(--a===0)t.rmdir(e,i)})})})};const g=(e,t)=>{t=t||{};l(t);n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n(t,"rimraf: missing options");n.equal(typeof t,"object","rimraf: options should be object");let i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(n){i=a.sync(e,t.glob)}}if(!i.length)return;for(let e=0;e{n(e);n(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw i;if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")S(e,t)}};const S=(e,t)=>{n(e);n(t);t.readdirSync(e).forEach(i=>g(r.join(e,i),t));const i=c?100:1;let s=0;do{let n=true;try{const r=t.rmdirSync(e,t);n=false;return r}finally{if(++s{var n=i(64293);var r=n.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return r(e,t,i)}SafeBuffer.prototype=Object.create(r.prototype);copyProps(r,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return r(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=r(e);if(t!==undefined){if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},15118:(e,t,i)=>{"use strict";var n=i(64293);var r=n.Buffer;var s={};var a;for(a in n){if(!n.hasOwnProperty(a))continue;if(a==="SlowBuffer"||a==="Buffer")continue;s[a]=n[a]}var o=s.Buffer={};for(a in r){if(!r.hasOwnProperty(a))continue;if(a==="allocUnsafe"||a==="allocUnsafeSlow")continue;o[a]=r[a]}s.Buffer.prototype=r.prototype;if(!o.from||o.from===Uint8Array.from){o.from=function(e,t,i){if(typeof e==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e)}if(e&&typeof e.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}return r(e,t,i)}}if(!o.alloc){o.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof e)}if(e<0||e>=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var n=r(e);if(!t||t.length===0){n.fill(0)}else if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}return n}}if(!s.kStringMaxLength){try{s.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!s.constants){s.constants={MAX_LENGTH:s.kMaxLength};if(s.kStringMaxLength){s.constants.MAX_STRING_LENGTH=s.kStringMaxLength}}e.exports=s},45123:e=>{e.exports=["cat","cd","chmod","cp","dirs","echo","exec","find","grep","head","ln","ls","mkdir","mv","pwd","rm","sed","set","sort","tail","tempdir","test","to","toEnd","touch","uniq","which"]},33516:(e,t,i)=>{function __ncc_wildcard$0(e){if(e==="cat.js"||e==="cat")return i(30271);else if(e==="cd.js"||e==="cd")return i(42051);else if(e==="chmod.js"||e==="chmod")return i(24975);else if(e==="common.js"||e==="common")return i(53687);else if(e==="cp.js"||e==="cp")return i(34932);else if(e==="dirs.js"||e==="dirs")return i(41178);else if(e==="echo.js"||e==="echo")return i(10243);else if(e==="error.js"||e==="error")return i(10232);else if(e==="exec-child.js"||e==="exec-child")return i(69607);else if(e==="exec.js"||e==="exec")return i(10896);else if(e==="find.js"||e==="find")return i(47838);else if(e==="grep.js"||e==="grep")return i(17417);else if(e==="head.js"||e==="head")return i(6613);else if(e==="ln.js"||e==="ln")return i(15787);else if(e==="ls.js"||e==="ls")return i(35561);else if(e==="mkdir.js"||e==="mkdir")return i(72695);else if(e==="mv.js"||e==="mv")return i(39849);else if(e==="popd.js"||e==="popd")return i(50227);else if(e==="pushd.js"||e==="pushd")return i(44177);else if(e==="pwd.js"||e==="pwd")return i(58553);else if(e==="rm.js"||e==="rm")return i(22830);else if(e==="sed.js"||e==="sed")return i(25899);else if(e==="set.js"||e==="set")return i(11411);else if(e==="sort.js"||e==="sort")return i(72116);else if(e==="tail.js"||e==="tail")return i(42284);else if(e==="tempdir.js"||e==="tempdir")return i(76150);else if(e==="test.js"||e==="test")return i(79723);else if(e==="to.js"||e==="to")return i(71961);else if(e==="toEnd.js"||e==="toEnd")return i(33736);else if(e==="touch.js"||e==="touch")return i(28358);else if(e==="uniq.js"||e==="uniq")return i(77286);else if(e==="which.js"||e==="which")return i(64766)}var n=i(53687);i(45123).forEach(function(e){__ncc_wildcard$0(e)});t.exit=process.exit;t.error=i(10232);t.ShellString=n.ShellString;t.env=process.env;t.config=n.config},30271:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("cat",_cat,{canReceivePipe:true,cmdOptions:{n:"number"}});function _cat(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(e){if(!r.existsSync(e)){n.error("no such file or directory: "+e)}else if(n.statFollowLinks(e).isDirectory()){n.error(e+": Is a directory")}i+=r.readFileSync(e,"utf8")});if(e.number){i=addNumbers(i)}return i}e.exports=_cat;function addNumbers(e){var t=e.split("\n");var i=t.pop();t=t.map(function(e,t){return numberedLine(t+1,e)});if(i.length){i=numberedLine(t.length+1,i)}t.push(i);return t.join("\n")}function numberedLine(e,t){var i=(" "+e).slice(-6)+"\t";return i+t}},42051:(e,t,i)=>{var n=i(12087);var r=i(53687);r.register("cd",_cd,{});function _cd(e,t){if(!t)t=n.homedir();if(t==="-"){if(!process.env.OLDPWD){r.error("could not find previous directory")}else{t=process.env.OLDPWD}}try{var i=process.cwd();process.chdir(t);process.env.OLDPWD=i}catch(e){var s;try{r.statFollowLinks(t);s="not a directory: "+t}catch(e){s="no such file or directory: "+t}if(s)r.error(s)}return""}e.exports=_cd},24975:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);var a=function(e){return{OTHER_EXEC:e.EXEC,OTHER_WRITE:e.WRITE,OTHER_READ:e.READ,GROUP_EXEC:e.EXEC<<3,GROUP_WRITE:e.WRITE<<3,GROUP_READ:e.READ<<3,OWNER_EXEC:e.EXEC<<6,OWNER_WRITE:e.WRITE<<6,OWNER_READ:e.READ<<6,STICKY:parseInt("01000",8),SETGID:parseInt("02000",8),SETUID:parseInt("04000",8),TYPE_MASK:parseInt("0770000",8)}}({EXEC:1,WRITE:2,READ:4});n.register("chmod",_chmod,{});function _chmod(e,t,i){if(!i){if(e.length>0&&e.charAt(0)==="-"){[].unshift.call(arguments,"")}else{n.error("You must specify a file.")}}e=n.parseOptions(e,{R:"recursive",c:"changes",v:"verbose"});i=[].slice.call(arguments,2);var o;if(e.recursive){o=[];i.forEach(function addFile(e){var t=n.statNoFollowLinks(e);if(!t.isSymbolicLink()){o.push(e);if(t.isDirectory()){r.readdirSync(e).forEach(function(t){addFile(e+"/"+t)})}}})}else{o=i}o.forEach(function innerChmod(i){i=s.resolve(i);if(!r.existsSync(i)){n.error("File not found: "+i)}if(e.recursive&&n.statNoFollowLinks(i).isSymbolicLink()){return}var o=n.statFollowLinks(i);var u=o.isDirectory();var c=o.mode;var l=c&a.TYPE_MASK;var p=c;if(isNaN(parseInt(t,8))){t.split(",").forEach(function(t){var s=/([ugoa]*)([=\+-])([rwxXst]*)/i;var o=s.exec(t);if(o){var d=o[1];var f=o[2];var h=o[3];var m=d.indexOf("u")!==-1||d==="a"||d==="";var b=d.indexOf("g")!==-1||d==="a"||d==="";var g=d.indexOf("o")!==-1||d==="a"||d==="";var y=h.indexOf("r")!==-1;var S=h.indexOf("w")!==-1;var v=h.indexOf("x")!==-1;var w=h.indexOf("X")!==-1;var j=h.indexOf("t")!==-1;var z=h.indexOf("s")!==-1;if(w&&u){v=true}var O=0;if(m){O|=(y?a.OWNER_READ:0)+(S?a.OWNER_WRITE:0)+(v?a.OWNER_EXEC:0)+(z?a.SETUID:0)}if(b){O|=(y?a.GROUP_READ:0)+(S?a.GROUP_WRITE:0)+(v?a.GROUP_EXEC:0)+(z?a.SETGID:0)}if(g){O|=(y?a.OTHER_READ:0)+(S?a.OTHER_WRITE:0)+(v?a.OTHER_EXEC:0)}if(j){O|=a.STICKY}switch(f){case"+":p|=O;break;case"-":p&=~O;break;case"=":p=l+O;if(n.statFollowLinks(i).isDirectory()){p|=a.SETUID+a.SETGID&c}break;default:n.error("Could not recognize operator: `"+f+"`")}if(e.verbose){console.log(i+" -> "+p.toString(8))}if(c!==p){if(!e.verbose&&e.changes){console.log(i+" -> "+p.toString(8))}r.chmodSync(i,p);c=p}}else{n.error("Invalid symbolic mode change: "+t)}})}else{p=l+parseInt(t,8);if(n.statFollowLinks(i).isDirectory()){p|=a.SETUID+a.SETGID&c}r.chmodSync(i,p)}});return""}e.exports=_chmod},53687:(e,t,i)=>{"use strict";var n=i(12087);var r=i(35747);var s=i(91957);var a=i(33516);var o=Object.create(a);t.extend=Object.assign;var u=Boolean(process.versions.electron);var c={fatal:false,globOptions:{},maxdepth:255,noglob:false,silent:false,verbose:false,execPath:null,bufLength:64*1024};var l={reset:function(){Object.assign(this,c);if(!u){this.execPath=process.execPath}},resetForTesting:function(){this.reset();this.silent=true}};l.reset();t.config=l;var p={error:null,errorCode:0,currentCmd:"shell.js"};t.state=p;delete process.env.OLDPWD;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function log(){if(!l.silent){console.error.apply(console,arguments)}}t.log=log;function convertErrorOutput(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}return e.replace(/\\/g,"/")}t.convertErrorOutput=convertErrorOutput;function error(e,t,i){if(typeof e!=="string")throw new Error("msg must be a string");var n={continue:false,code:1,prefix:p.currentCmd+": ",silent:false};if(typeof t==="number"&&isObject(i)){i.code=t}else if(isObject(t)){i=t}else if(typeof t==="number"){i={code:t}}else if(typeof t!=="number"){i={}}i=Object.assign({},n,i);if(!p.errorCode)p.errorCode=i.code;var r=convertErrorOutput(i.prefix+e);p.error=p.error?p.error+"\n":"";p.error+=r;if(l.fatal)throw new Error(r);if(e.length>0&&!i.silent)log(r);if(!i.continue){throw{msg:"earlyExit",retValue:new ShellString("",p.error,p.errorCode)}}}t.error=error;function ShellString(e,t,i){var n;if(e instanceof Array){n=e;n.stdout=e.join("\n");if(e.length>0)n.stdout+="\n"}else{n=new String(e);n.stdout=e}n.stderr=t;n.code=i;h.forEach(function(e){n[e]=o[e].bind(n)});return n}t.ShellString=ShellString;function parseOptions(e,t,i){if(typeof e!=="string"&&!isObject(e)){throw new Error("options must be strings or key-value pairs")}else if(!isObject(t)){throw new Error("parseOptions() internal error: map must be an object")}else if(i&&!isObject(i)){throw new Error("parseOptions() internal error: errorOptions must be object")}if(e==="--"){return{}}var n={};Object.keys(t).forEach(function(e){var i=t[e];if(i[0]!=="!"){n[i]=false}});if(e==="")return n;if(typeof e==="string"){if(e[0]!=="-"){throw new Error("Options string must start with a '-'")}var r=e.slice(1).split("");r.forEach(function(e){if(e in t){var r=t[e];if(r[0]==="!"){n[r.slice(1)]=false}else{n[r]=true}}else{error("option not recognized: "+e,i||{})}})}else{Object.keys(e).forEach(function(r){var s=r[1];if(s in t){var a=t[s];n[a]=e[r]}else{error("option not recognized: "+s,i||{})}})}return n}t.parseOptions=parseOptions;function expand(e){if(!Array.isArray(e)){throw new TypeError("must be an array")}var t=[];e.forEach(function(e){if(typeof e!=="string"){t.push(e)}else{var i;try{i=s.sync(e,l.globOptions);i=i.length>0?i:[e]}catch(t){i=[e]}t=t.concat(i)}});return t}t.expand=expand;var d=typeof Buffer.alloc==="function"?function(e){return Buffer.alloc(e||l.bufLength)}:function(e){return new Buffer(e||l.bufLength)};t.buffer=d;function unlinkSync(e){try{r.unlinkSync(e)}catch(t){if(t.code==="EPERM"){r.chmodSync(e,"0666");r.unlinkSync(e)}else{throw t}}}t.unlinkSync=unlinkSync;function statFollowLinks(){return r.statSync.apply(r,arguments)}t.statFollowLinks=statFollowLinks;function statNoFollowLinks(){return r.lstatSync.apply(r,arguments)}t.statNoFollowLinks=statNoFollowLinks;function randomFileName(){function randomHash(e){if(e===1){return parseInt(16*Math.random(),10).toString(16)}var t="";for(var i=0;i{var n=i(35747);var r=i(85622);var s=i(53687);s.register("cp",_cp,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:false});function copyFileSync(e,t,i){if(!n.existsSync(e)){s.error("copyFileSync: no such file or directory: "+e)}var r=process.platform==="win32";try{if(i.update&&s.statFollowLinks(e).mtime=s.config.maxdepth)return;i++;var a=process.platform==="win32";try{n.mkdirSync(t)}catch(e){if(e.code!=="EEXIST")throw e}var o=n.readdirSync(e);for(var u=0;u and/or ")}else{t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}var a=n.existsSync(i);var o=a&&s.statFollowLinks(i);if((!a||!o.isDirectory())&&t.length>1){s.error("dest is not a directory (too many sources)")}if(a&&o.isFile()&&e.no_force){return new s.ShellString("","",0)}t.forEach(function(a,u){if(!n.existsSync(a)){if(a==="")a="''";s.error("no such file or directory: "+a,{continue:true});return}var c=s.statFollowLinks(a);if(!e.noFollowsymlink&&c.isDirectory()){if(!e.recursive){s.error("omitting directory '"+a+"'",{continue:true})}else{var l=o&&o.isDirectory()?r.join(i,r.basename(a)):i;try{s.statFollowLinks(r.dirname(i));cpdirSyncRecursive(a,l,0,{no_force:e.no_force,followsymlink:e.followsymlink})}catch(e){s.error("cannot create directory '"+i+"': No such file or directory")}}}else{var p=i;if(o&&o.isDirectory()){p=r.normalize(i+"/"+r.basename(a))}var d=n.existsSync(p);if(d&&checkRecentCreated(t,u)){if(!e.no_force){s.error("will not overwrite just-created '"+p+"' with '"+a+"'",{continue:true})}return}if(d&&e.no_force){return}if(r.relative(a,p)===""){s.error("'"+p+"' and '"+a+"' are the same file",{continue:true});return}copyFileSync(a,p,e)}});return new s.ShellString("",s.state.error,s.state.errorCode)}e.exports=_cp},41178:(e,t,i)=>{var n=i(53687);var r=i(42051);var s=i(85622);n.register("dirs",_dirs,{wrapOutput:false});n.register("pushd",_pushd,{wrapOutput:false});n.register("popd",_popd,{wrapOutput:false});var a=[];function _isStackIndex(e){return/^[\-+]\d+$/.test(e)}function _parseStackIndex(e){if(_isStackIndex(e)){if(Math.abs(e)1){i=i.splice(1,1).concat(i)}else{return n.error("no other directory")}}else if(_isStackIndex(t)){var o=_parseStackIndex(t);i=i.slice(o).concat(i.slice(0,o))}else{if(e["no-cd"]){i.splice(1,0,t)}else{i.unshift(t)}}if(e["no-cd"]){i=i.slice(1)}else{t=s.resolve(i.shift());r("",t)}a=i;return _dirs(e.quiet?"-q":"")}t.pushd=_pushd;function _popd(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{n:"no-cd",q:"quiet"});if(!a.length){return n.error("directory stack empty")}t=_parseStackIndex(t||"+0");if(e["no-cd"]||t>0||a.length+t===0){t=t>0?t-1:t;a.splice(t,1)}else{var i=s.resolve(a.shift());r("",i)}return _dirs(e.quiet?"-q":"")}t.popd=_popd;function _dirs(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{c:"clear",q:"quiet"});if(e.clear){a=[];return a}var i=_actualDirStack();if(t){t=_parseStackIndex(t);if(t<0){t=i.length+t}if(!e.quiet){n.log(i[t])}return i[t]}if(!e.quiet){n.log(i.join(" "))}return i}t.dirs=_dirs},10243:(e,t,i)=>{var n=i(31669).format;var r=i(53687);r.register("echo",_echo,{allowGlobbing:false});function _echo(e){var t=[].slice.call(arguments,e?0:1);var i={};try{i=r.parseOptions(t[0],{e:"escapes",n:"no_newline"},{silent:true});if(t[0]){t.shift()}}catch(e){r.state.error=null}var s=n.apply(null,t);if(!i.no_newline){s+="\n"}process.stdout.write(s);return s}e.exports=_echo},10232:(e,t,i)=>{var n=i(53687);function error(){return n.state.error}e.exports=error},69607:(e,t,i)=>{e=i.nmd(e);if(require.main!==e){throw new Error("This file should not be required")}var n=i(63129);var r=i(35747);var s=process.argv[2];var a=r.readFileSync(s,"utf8");var o=JSON.parse(a);var u=o.command;var c=o.execOptions;var l=o.pipe;var p=o.stdoutFile;var d=o.stderrFile;var f=n.exec(u,c,function(e){if(!e){process.exitCode=0}else if(e.code===undefined){process.exitCode=1}else{process.exitCode=e.code}});var h=r.createWriteStream(p);var m=r.createWriteStream(d);f.stdout.pipe(h);f.stderr.pipe(m);f.stdout.pipe(process.stdout);f.stderr.pipe(process.stderr);if(l){f.stdin.end(l)}},10896:(e,t,i)=>{var n=i(53687);var r=i(76150).tempDir;var s=i(58553);var a=i(85622);var o=i(35747);var u=i(63129);var c=20*1024*1024;var l=1;n.register("exec",_exec,{unix:false,canReceivePipe:true,wrapOutput:false});function execSync(e,t,p){if(!n.config.execPath){n.error("Unable to find a path to the node binary. Please manually set config.execPath")}var d=r();var f=a.resolve(d+"/"+n.randomFileName());var h=a.resolve(d+"/"+n.randomFileName());var m=a.resolve(d+"/"+n.randomFileName());t=n.extend({silent:n.config.silent,cwd:s().toString(),env:process.env,maxBuffer:c,encoding:"utf8"},t);if(o.existsSync(f))n.unlinkSync(f);if(o.existsSync(h))n.unlinkSync(h);if(o.existsSync(m))n.unlinkSync(m);t.cwd=a.resolve(t.cwd);var b={command:e,execOptions:t,pipe:p,stdoutFile:m,stderrFile:h};o.writeFileSync(f,JSON.stringify(b),"utf8");var g=[i.ab+"exec-child.js",f];if(t.silent){t.stdio="ignore"}else{t.stdio=[0,1,2]}var y=0;try{delete t.shell;u.execFileSync(n.config.execPath,g,t)}catch(e){y=e.status||l}var S="";var v="";if(t.encoding==="buffer"){S=o.readFileSync(m);v=o.readFileSync(h)}else{S=o.readFileSync(m,t.encoding);v=o.readFileSync(h,t.encoding)}try{n.unlinkSync(f)}catch(e){}try{n.unlinkSync(h)}catch(e){}try{n.unlinkSync(m)}catch(e){}if(y!==0){n.error(v,y,{continue:true,silent:true})}var w=n.ShellString(S,v,y);return w}function execAsync(e,t,i,r){t=n.extend({silent:n.config.silent,cwd:s().toString(),env:process.env,maxBuffer:c,encoding:"utf8"},t);var a=u.exec(e,t,function(e,t,i){if(r){if(!e){r(0,t,i)}else if(e.code===undefined){r(1,t,i)}else{r(e.code,t,i)}}});if(i)a.stdin.end(i);if(!t.silent){a.stdout.pipe(process.stdout);a.stderr.pipe(process.stderr)}return a}function _exec(e,t,i){t=t||{};if(!e)n.error("must specify command");var r=n.readFromPipe();if(typeof t==="function"){i=t;t={async:true}}if(typeof t==="object"&&typeof i==="function"){t.async=true}t=n.extend({silent:n.config.silent,async:false},t);if(t.async){return execAsync(e,t,r,i)}else{return execSync(e,t,r)}}e.exports=_exec},47838:(e,t,i)=>{var n=i(85622);var r=i(53687);var s=i(35561);r.register("find",_find,{});function _find(e,t){if(!t){r.error("no path specified")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}var i=[];function pushFile(e){if(process.platform==="win32"){e=e.replace(/\\/g,"/")}i.push(e)}t.forEach(function(e){var t;try{t=r.statFollowLinks(e)}catch(t){r.error("no such file or directory: "+e)}pushFile(e);if(t.isDirectory()){s({recursive:true,all:true},e).forEach(function(t){pushFile(n.join(e,t))})}});return i}e.exports=_find},17417:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("grep",_grep,{globStart:2,canReceivePipe:true,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}});function _grep(e,t,i){var s=n.readFromPipe();if(!i&&!s)n.error("no paths given",2);i=[].slice.call(arguments,2);if(s){i.unshift("-")}var a=[];if(e.ignoreCase){t=new RegExp(t,"i")}i.forEach(function(i){if(!r.existsSync(i)&&i!=="-"){n.error("no such file or directory: "+i,2,{continue:true});return}var o=i==="-"?s:r.readFileSync(i,"utf8");if(e.nameOnly){if(o.match(t)){a.push(i)}}else{var u=o.split("\n");u.forEach(function(i){var n=i.match(t);if(e.inverse&&!n||!e.inverse&&n){a.push(i)}})}});return a.join("\n")+"\n"}e.exports=_grep},6613:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("head",_head,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function readSomeLines(e,t){var i=n.buffer();var s=i.length;var a=s;var o=0;var u=r.openSync(e,"r");var c=0;var l="";while(a===s&&c{var n=i(35747);var r=i(85622);var s=i(53687);s.register("ln",_ln,{cmdOptions:{s:"symlink",f:"force"}});function _ln(e,t,i){if(!t||!i){s.error("Missing and/or ")}t=String(t);var a=r.normalize(t).replace(RegExp(r.sep+"$"),"");var o=r.resolve(t)===a;i=r.resolve(process.cwd(),String(i));if(n.existsSync(i)){if(!e.force){s.error("Destination file exists",{continue:true})}n.unlinkSync(i)}if(e.symlink){var u=process.platform==="win32";var c=u?"file":null;var l=o?a:r.resolve(process.cwd(),r.dirname(i),t);if(!n.existsSync(l)){s.error("Source file does not exist",{continue:true})}else if(u&&s.statFollowLinks(l).isDirectory()){c="junction"}try{n.symlinkSync(c==="junction"?l:t,i,c)}catch(e){s.error(e.message)}}else{if(!n.existsSync(t)){s.error("Source file does not exist",{continue:true})}try{n.linkSync(t,i)}catch(e){s.error(e.message)}}return""}e.exports=_ln},35561:(e,t,i)=>{var n=i(85622);var r=i(35747);var s=i(53687);var a=i(91957);var o=n.sep+"**";s.register("ls",_ls,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}});function _ls(e,t){if(e.all_deprecated){s.log("ls: Option -a is deprecated. Use -A instead");e.all=true}if(!t){t=["."]}else{t=[].slice.call(arguments,1)}var i=[];function pushFile(t,n,r){if(process.platform==="win32"){n=n.replace(/\\/g,"/")}if(e.long){r=r||(e.link?s.statFollowLinks(t):s.statNoFollowLinks(t));i.push(addLsAttributes(n,r))}else{i.push(n)}}t.forEach(function(t){var i;try{i=e.link?s.statFollowLinks(t):s.statNoFollowLinks(t);if(i.isSymbolicLink()){try{var u=s.statFollowLinks(t);if(u.isDirectory()){i=u}}catch(e){}}}catch(e){s.error("no such file or directory: "+t,2,{continue:true});return}if(i.isDirectory()&&!e.directory){if(e.recursive){a.sync(t+o,{dot:e.all,follow:e.link}).forEach(function(e){if(n.relative(t,e)){pushFile(e,n.relative(t,e))}})}else if(e.all){r.readdirSync(t).forEach(function(e){pushFile(n.join(t,e),e)})}else{r.readdirSync(t).forEach(function(e){if(e[0]!=="."){pushFile(n.join(t,e),e)}})}}else{pushFile(t,t,i)}});return i}function addLsAttributes(e,t){t.name=e;t.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")};return t}e.exports=_ls},72695:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("mkdir",_mkdir,{cmdOptions:{p:"fullpath"}});function mkdirSyncRecursive(e){var t=s.dirname(e);if(t===e){n.error("dirname() failed: ["+e+"]")}if(r.existsSync(t)){r.mkdirSync(e,parseInt("0777",8));return}mkdirSyncRecursive(t);r.mkdirSync(e,parseInt("0777",8))}function _mkdir(e,t){if(!t)n.error("no paths given");if(typeof t==="string"){t=[].slice.call(arguments,1)}t.forEach(function(t){try{var i=n.statNoFollowLinks(t);if(!e.fullpath){n.error("path already exists: "+t,{continue:true})}else if(i.isFile()){n.error("cannot create directory "+t+": File exists",{continue:true})}return}catch(e){}var a=s.dirname(t);if(!r.existsSync(a)&&!e.fullpath){n.error("no such file or directory: "+a,{continue:true});return}try{if(e.fullpath){mkdirSyncRecursive(s.resolve(t))}else{r.mkdirSync(t,parseInt("0777",8))}}catch(e){var o;if(e.code==="EACCES"){o="Permission denied"}else if(e.code==="ENOTDIR"||e.code==="ENOENT"){o="Not a directory"}else{throw e}n.error("cannot create directory "+t+": "+o,{continue:true})}});return""}e.exports=_mkdir},39849:(e,t,i)=>{var n=i(35747);var r=i(85622);var s=i(53687);var a=i(34932);var o=i(22830);s.register("mv",_mv,{cmdOptions:{f:"!no_force",n:"no_force"}});function checkRecentCreated(e,t){var i=e[t];return e.slice(0,t).some(function(e){return r.basename(e)===r.basename(i)})}function _mv(e,t,i){if(arguments.length<3){s.error("missing and/or ")}else if(arguments.length>3){t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}else if(typeof t==="string"){t=[t]}else{s.error("invalid arguments")}var u=n.existsSync(i);var c=u&&s.statFollowLinks(i);if((!u||!c.isDirectory())&&t.length>1){s.error("dest is not a directory (too many sources)")}if(u&&c.isFile()&&e.no_force){s.error("dest file already exists: "+i)}t.forEach(function(u,c){if(!n.existsSync(u)){s.error("no such file or directory: "+u,{continue:true});return}var l=i;if(n.existsSync(i)&&s.statFollowLinks(i).isDirectory()){l=r.normalize(i+"/"+r.basename(u))}var p=n.existsSync(l);if(p&&checkRecentCreated(t,c)){if(!e.no_force){s.error("will not overwrite just-created '"+l+"' with '"+u+"'",{continue:true})}return}if(n.existsSync(l)&&e.no_force){s.error("dest file already exists: "+l,{continue:true});return}if(r.resolve(u)===r.dirname(r.resolve(l))){s.error("cannot move to self: "+u,{continue:true});return}try{n.renameSync(u,l)}catch(e){if(e.code==="EXDEV"){a("-r",u,l);o("-rf",u)}}});return""}e.exports=_mv},50227:()=>{},44177:()=>{},58553:(e,t,i)=>{var n=i(85622);var r=i(53687);r.register("pwd",_pwd,{allowGlobbing:false});function _pwd(){var e=n.resolve(process.cwd());return e}e.exports=_pwd},22830:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("rm",_rm,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}});function rmdirSyncRecursive(e,t,i){var s;s=r.readdirSync(e);for(var a=0;a1e3)throw e}else if(e.code==="ENOENT"){break}else{throw e}}}}catch(t){n.error("could not remove directory (code "+t.code+"): "+e,{continue:true})}return c}function isWriteable(e){var t=true;try{var i=r.openSync(e,"a");r.closeSync(i)}catch(e){t=false}return t}function handleFile(e,t){if(t.force||isWriteable(e)){n.unlinkSync(e)}else{n.error("permission denied: "+e,{continue:true})}}function handleDirectory(e,t){if(t.recursive){rmdirSyncRecursive(e,t.force)}else{n.error("path is a directory",{continue:true})}}function handleSymbolicLink(e,t){var i;try{i=n.statFollowLinks(e)}catch(t){n.unlinkSync(e);return}if(i.isFile()){n.unlinkSync(e)}else if(i.isDirectory()){if(e[e.length-1]==="/"){if(t.recursive){var r=true;rmdirSyncRecursive(e,t.force,r)}else{n.error("path is a directory",{continue:true})}}else{n.unlinkSync(e)}}}function handleFIFO(e){n.unlinkSync(e)}function _rm(e,t){if(!t)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(t){var i;try{var r=t[t.length-1]==="/"?t.slice(0,-1):t;i=n.statNoFollowLinks(r)}catch(i){if(!e.force){n.error("no such file or directory: "+t,{continue:true})}return}if(i.isFile()){handleFile(t,e)}else if(i.isDirectory()){handleDirectory(t,e)}else if(i.isSymbolicLink()){handleSymbolicLink(t,e)}else if(i.isFIFO()){handleFIFO(t)}});return""}e.exports=_rm},25899:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("sed",_sed,{globStart:3,canReceivePipe:true,cmdOptions:{i:"inplace"}});function _sed(e,t,i,s){var a=n.readFromPipe();if(typeof i!=="string"&&typeof i!=="function"){if(typeof i==="number"){i=i.toString()}else{n.error("invalid replacement string")}}if(typeof t==="string"){t=RegExp(t)}if(!s&&!a){n.error("no files given")}s=[].slice.call(arguments,3);if(a){s.unshift("-")}var o=[];s.forEach(function(s){if(!r.existsSync(s)&&s!=="-"){n.error("no such file or directory: "+s,2,{continue:true});return}var u=s==="-"?a:r.readFileSync(s,"utf8");var c=u.split("\n");var l=c.map(function(e){return e.replace(t,i)}).join("\n");o.push(l);if(e.inplace){r.writeFileSync(s,l,"utf8")}});return o.join("\n")}e.exports=_sed},11411:(e,t,i)=>{var n=i(53687);n.register("set",_set,{allowGlobbing:false,wrapOutput:false});function _set(e){if(!e){var t=[].slice.call(arguments,0);if(t.length<2)n.error("must provide an argument");e=t[1]}var i=e[0]==="+";if(i){e="-"+e.slice(1)}e=n.parseOptions(e,{e:"fatal",v:"verbose",f:"noglob"});if(i){Object.keys(e).forEach(function(t){e[t]=!e[t]})}Object.keys(e).forEach(function(t){if(i!==e[t]){n.config[t]=e[t]}});return}e.exports=_set},72116:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("sort",_sort,{canReceivePipe:true,cmdOptions:{r:"reverse",n:"numerical"}});function parseNumber(e){var t=e.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(t[1]),value:t[2]}}function unixCmp(e,t){var i=e.toLowerCase();var n=t.toLowerCase();return i===n?-1*e.localeCompare(t):i.localeCompare(n)}function numericalCmp(e,t){var i=parseNumber(e);var n=parseNumber(t);if(i.hasOwnProperty("num")&&n.hasOwnProperty("num")){return i.num!==n.num?i.num-n.num:unixCmp(i.value,n.value)}else{return unixCmp(i.value,n.value)}}function _sort(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no files given");t=[].slice.call(arguments,1);if(i){t.unshift("-")}var s=t.reduce(function(e,t){if(t!=="-"){if(!r.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return e}else if(n.statFollowLinks(t).isDirectory()){n.error("read failed: "+t+": Is a directory",{continue:true});return e}}var s=t==="-"?i:r.readFileSync(t,"utf8");return e.concat(s.trimRight().split("\n"))},[]);var a=s.sort(e.numerical?numericalCmp:unixCmp);if(e.reverse){a=a.reverse()}return a.join("\n")+"\n"}e.exports=_sort},42284:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("tail",_tail,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function _tail(e,t){var i=[];var s=n.readFromPipe();if(!t&&!s)n.error("no paths given");var a=1;if(e.numLines===true){a=2;e.numLines=Number(arguments[1])}else if(e.numLines===false){e.numLines=10}e.numLines=-1*Math.abs(e.numLines);t=[].slice.call(arguments,a);if(s){t.unshift("-")}var o=false;t.forEach(function(t){if(t!=="-"){if(!r.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return}else if(n.statFollowLinks(t).isDirectory()){n.error("error reading '"+t+"': Is a directory",{continue:true});return}}var a=t==="-"?s:r.readFileSync(t,"utf8");var u=a.split("\n");if(u[u.length-1]===""){u.pop();o=true}else{o=false}i=i.concat(u.slice(e.numLines))});if(o){i.push("")}return i.join("\n")}e.exports=_tail},76150:(e,t,i)=>{var n=i(53687);var r=i(12087);var s=i(35747);n.register("tempdir",_tempDir,{allowGlobbing:false,wrapOutput:false});function writeableDir(e){if(!e||!s.existsSync(e))return false;if(!n.statFollowLinks(e).isDirectory())return false;var t=e+"/"+n.randomFileName();try{s.writeFileSync(t," ");n.unlinkSync(t);return e}catch(e){return false}}var a;function _tempDir(){if(a)return a;a=writeableDir(r.tmpdir())||writeableDir(process.env.TMPDIR)||writeableDir(process.env.TEMP)||writeableDir(process.env.TMP)||writeableDir(process.env.Wimp$ScrapDir)||writeableDir("C:\\TEMP")||writeableDir("C:\\TMP")||writeableDir("\\TEMP")||writeableDir("\\TMP")||writeableDir("/tmp")||writeableDir("/var/tmp")||writeableDir("/usr/tmp")||writeableDir(".");return a}function isCached(){return a}function clearCache(){a=undefined}e.exports.tempDir=_tempDir;e.exports.isCached=isCached;e.exports.clearCache=clearCache},79723:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("test",_test,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:false,allowGlobbing:false});function _test(e,t){if(!t)n.error("no path given");var i=false;Object.keys(e).forEach(function(t){if(e[t]===true){i=true}});if(!i)n.error("could not interpret expression");if(e.link){try{return n.statNoFollowLinks(t).isSymbolicLink()}catch(e){return false}}if(!r.existsSync(t))return false;if(e.exists)return true;var s=n.statFollowLinks(t);if(e.block)return s.isBlockDevice();if(e.character)return s.isCharacterDevice();if(e.directory)return s.isDirectory();if(e.file)return s.isFile();if(e.pipe)return s.isFIFO();if(e.socket)return s.isSocket();return false}e.exports=_test},71961:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("to",_to,{pipeOnly:true,wrapOutput:false});function _to(e,t){if(!t)n.error("wrong arguments");if(!r.existsSync(s.dirname(t))){n.error("no such file or directory: "+s.dirname(t))}try{r.writeFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not write to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_to},33736:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("toEnd",_toEnd,{pipeOnly:true,wrapOutput:false});function _toEnd(e,t){if(!t)n.error("wrong arguments");if(!r.existsSync(s.dirname(t))){n.error("no such file or directory: "+s.dirname(t))}try{r.appendFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not append to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_toEnd},28358:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("touch",_touch,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}});function _touch(e,t){if(!t){n.error("no files given")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}else{n.error("file arg should be a string file path or an Array of string file paths")}t.forEach(function(t){touchFile(e,t)});return""}function touchFile(e,t){var i=tryStatFile(t);if(i&&i.isDirectory()){return}if(!i&&e.no_create){return}r.closeSync(r.openSync(t,"a"));var s=new Date;var a=e.date||s;var o=e.date||s;if(e.reference){var u=tryStatFile(e.reference);if(!u){n.error("failed to get attributess of "+e.reference)}a=u.mtime;o=u.atime}else if(e.date){a=e.date;o=e.date}if(e.atime_only&&e.mtime_only){}else if(e.atime_only){a=i.mtime}else if(e.mtime_only){o=i.atime}r.utimesSync(t,o,a)}e.exports=_touch;function tryStatFile(e){try{return n.statFollowLinks(e)}catch(e){return null}}},77286:(e,t,i)=>{var n=i(53687);var r=i(35747);function lpad(e,t){var i=""+t;if(i.length1:true}).map(function(t){return(e.count?lpad(7,t.count)+" ":"")+t.ln}).join("\n")+"\n";if(i){new n.ShellString(u).to(i);return""}else{return u}}e.exports=_uniq},64766:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("which",_which,{allowGlobbing:false,cmdOptions:{a:"all"}});var a=".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh";var o=1;function isWindowsPlatform(){return process.platform==="win32"}function splitPath(e){return e?e.split(s.delimiter):[]}function isExecutable(e){try{r.accessSync(e,o)}catch(e){return false}return true}function checkPath(e){return r.existsSync(e)&&!n.statFollowLinks(e).isDirectory()&&(isWindowsPlatform()||isExecutable(e))}function _which(e,t){if(!t)n.error("must specify command");var i=isWindowsPlatform();var r=splitPath(process.env.PATH);var o=[];if(t.indexOf("/")===-1){var u=[""];if(i){var c=process.env.PATHEXT||a;u=splitPath(c.toUpperCase())}for(var l=0;l0&&!e.all)break;var p=s.resolve(r[l],t);if(i){p=p.toUpperCase()}var d=p.match(/\.[^<>:"/\|?*.]+$/);if(d&&u.indexOf(d[0])>=0){if(checkPath(p)){o.push(p);break}}else{for(var f=0;f0){return e.all?o:o[0]}return e.all?[]:null}e.exports=_which},24931:(e,t,i)=>{var n=i(42357);var r=i(63710);var s=/^win/i.test(process.platform);var a=i(28614);if(typeof a!=="function"){a=a.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new a;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){n.equal(typeof e,"function","a callback must be provided for exit handler");if(c===false){load()}var i="exit";if(t&&t.alwaysLast){i="afterexit"}var r=function(){o.removeListener(i,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(i,e);return r};e.exports.unload=unload;function unload(){if(!c){return}c=false;r.forEach(function(e){try{process.removeListener(e,u[e])}catch(e){}});process.emit=p;process.reallyExit=l;o.count-=1}function emit(e,t,i){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,i)}var u={};r.forEach(function(e){u[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);if(s&&e==="SIGHUP"){e="SIGINT"}process.kill(process.pid,e)}}});e.exports.signals=function(){return r};e.exports.load=load;var c=false;function load(){if(c){return}c=true;o.count+=1;r=r.filter(function(e){try{process.on(e,u[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var l=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);l.call(process,process.exitCode)}var p=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var i=p.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return p.apply(this,arguments)}}},63710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},66126:(e,t,i)=>{var n=i(15118).Buffer;var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};r["curve25519"]=r["ed25519"];var s={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};s["curve25519"]=s["ed25519"];var a={md5:true,sha1:true,sha256:true,sha384:true,sha512:true};var o={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:n.from(("00"+"ffffffff 00000001 00000000 00000000"+"00000000 ffffffff ffffffff ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF 00000001 00000000 00000000"+"00000000 FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("5ac635d8 aa3a93e7 b3ebbd55 769886bc"+"651d06b0 cc53b0f6 3bce3c3e 27d2604b").replace(/ /g,""),"hex"),s:n.from(("00"+"c49d3608 86e70493 6a6678e1 139d26b7"+"819f7e90").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff 00000000 ffffffff ffffffff"+"bce6faad a7179e84 f3b9cac2 fc632551").replace(/ /g,""),"hex"),G:n.from(("04"+"6b17d1f2 e12c4247 f8bce6e5 63a440f2"+"77037d81 2deb33a0 f4a13945 d898c296"+"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16"+"2bce3357 6b315ece cbb64068 37bf51f5").replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffe"+"ffffffff 00000000 00000000 ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE"+"FFFFFFFF 00000000 00000000 FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("b3312fa7 e23ee7e4 988e056b e3f82d19"+"181d9c6e fe814112 0314088f 5013875a"+"c656398d 8a2ed19d 2a85c8ed d3ec2aef").replace(/ /g,""),"hex"),s:n.from(("00"+"a335926a a319a27a 1d00896a 6773a482"+"7acdac73").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff c7634d81 f4372ddf"+"581a0db2 48b0a77a ecec196a ccc52973").replace(/ /g,""),"hex"),G:n.from(("04"+"aa87ca22 be8b0537 8eb1c71e f320ad74"+"6e1d3b62 8ba79b98 59f741e0 82542a38"+"5502f25d bf55296c 3a545e38 72760ab7"+"3617de4a 96262c6f 5d9e98bf 9292dc29"+"f8f41dbd 289a147c e9da3113 b5f0b8c0"+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f").replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:n.from(("01ffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffff").replace(/ /g,""),"hex"),a:n.from(("01FF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("51"+"953eb961 8e1c9a1f 929a21a0 b68540ee"+"a2da725b 99b315f3 b8b48991 8ef109e1"+"56193951 ec7e937b 1652c0bd 3bb1bf07"+"3573df88 3d2c34f1 ef451fd4 6b503f00").replace(/ /g,""),"hex"),s:n.from(("00"+"d09e8800 291cb853 96cc6717 393284aa"+"a0da64ba").replace(/ /g,""),"hex"),n:n.from(("01ff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffa"+"51868783 bf2f966b 7fcc0148 f709a5d0"+"3bb5c9b8 899c47ae bb6fb71e 91386409").replace(/ /g,""),"hex"),G:n.from(("04"+"00c6 858e06b7 0404e9cd 9e3ecb66 2395b442"+"9c648139 053fb521 f828af60 6b4d3dba"+"a14b5e77 efe75928 fe1dc127 a2ffa8de"+"3348b3c1 856a429b f97e7e31 c2e5bd66"+"0118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9"+"98f54449 579b4468 17afbd17 273e662c"+"97ee7299 5ef42640 c550b901 3fad0761"+"353c7086 a272c240 88be9476 9fd16650").replace(/ /g,""),"hex")}};e.exports={info:r,privInfo:s,hashAlgs:a,curves:o}},7406:(e,t,i)=>{e.exports=Certificate;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(13079);var u=i(91394);var c=i(27979);var l=i(31669);var p=i(80575);var d=i(36814);var f=i(29602);var h=i(70508);var m={};m["openssh"]=i(94033);m["x509"]=i(10267);m["pem"]=i(30217);var b=c.CertificateParseError;var g=c.InvalidAlgorithmError;function Certificate(e){n.object(e,"options");n.arrayOfObject(e.subjects,"options.subjects");p.assertCompatible(e.subjects[0],h,[1,0],"options.subjects");p.assertCompatible(e.subjectKey,d,[1,0],"options.subjectKey");p.assertCompatible(e.issuer,h,[1,0],"options.issuer");if(e.issuerKey!==undefined){p.assertCompatible(e.issuerKey,d,[1,0],"options.issuerKey")}n.object(e.signatures,"options.signatures");n.buffer(e.serial,"options.serial");n.date(e.validFrom,"options.validFrom");n.date(e.validUntil,"optons.validUntil");n.optionalArrayOfString(e.purposes,"options.purposes");this._hashCache={};this.subjects=e.subjects;this.issuer=e.issuer;this.subjectKey=e.subjectKey;this.issuerKey=e.issuerKey;this.signatures=e.signatures;this.serial=e.serial;this.validFrom=e.validFrom;this.validUntil=e.validUntil;this.purposes=e.purposes}Certificate.formats=m;Certificate.prototype.toBuffer=function(e,t){if(e===undefined)e="x509";n.string(e,"format");n.object(m[e],"formats[format]");n.optionalObject(t,"options");return m[e].write(this,t)};Certificate.prototype.toString=function(e,t){if(e===undefined)e="pem";return this.toBuffer(e,t).toString()};Certificate.prototype.fingerprint=function(e){if(e===undefined)e="sha256";n.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new o(t)};Certificate.prototype.hash=function(e){n.string(e,"algorithm");e=e.toLowerCase();if(s.hashAlgs[e]===undefined)throw new g(e);if(this._hashCache[e])return this._hashCache[e];var t=a.createHash(e).update(this.toBuffer("x509")).digest();this._hashCache[e]=t;return t};Certificate.prototype.isExpired=function(e){if(e===undefined)e=new Date;return!(e.getTime()>=this.validFrom.getTime()&&e.getTime()0&&this.issuer.purposes.indexOf("ca")===-1){return false}return this.isSignedByKey(e.subjectKey)};Certificate.prototype.getExtension=function(e){n.string(e,"keyOrOid");var t=this.getExtensions().filter(function(t){if(t.format==="x509")return t.oid===e;if(t.format==="openssh")return t.name===e;return false})[0];return t};Certificate.prototype.getExtensions=function(){var e=[];var t=this.signatures.x509;if(t&&t.extras&&t.extras.exts){t.extras.exts.forEach(function(t){t.format="x509";e.push(t)})}var i=this.signatures.openssh;if(i&&i.exts){i.exts.forEach(function(t){t.format="openssh";e.push(t)})}return e};Certificate.prototype.isSignedByKey=function(e){p.assertCompatible(e,d,[1,2],"issuerKey");if(this.issuerKey!==undefined){return this.issuerKey.fingerprint("sha512").matches(e)}var t=Object.keys(this.signatures)[0];var i=m[t].verify(this,e);if(i)this.issuerKey=e;return i};Certificate.prototype.signWith=function(e){p.assertCompatible(e,f,[1,2],"key");var t=Object.keys(m);var i=false;for(var n=0;n0){if(l.indexOf("serverAuth")===-1)l.push("serverAuth")}if(m.length>0){if(l.indexOf("clientAuth")===-1)l.push("clientAuth")}if(m.length>0||d.length>0){if(l.indexOf("keyAgreement")===-1)l.push("keyAgreement");if(t.type==="rsa"&&l.indexOf("encryption")===-1)l.push("encryption")}}var b=new Certificate({subjects:s,issuer:s[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:c,validFrom:a,validUntil:o,purposes:l});b.signWith(t);return b};Certificate.create=function(e,t,i,s,a){var o;if(Array.isArray(e))o=e;else o=[e];n.arrayOfObject(o);o.forEach(function(e){p.assertCompatible(e,h,[1,0],"subject")});p.assertCompatible(t,d,[1,0],"key");if(f.isPrivateKey(t))t=t.toPublic();p.assertCompatible(i,h,[1,0],"issuer");p.assertCompatible(s,f,[1,2],"issuer key");n.optionalObject(a,"options");if(a===undefined)a={};n.optionalObject(a.validFrom,"options.validFrom");n.optionalObject(a.validUntil,"options.validUntil");var u=a.validFrom;var c=a.validUntil;if(u===undefined)u=new Date;if(c===undefined){n.optionalNumber(a.lifetime,"options.lifetime");var l=a.lifetime;if(l===undefined)l=10*365*24*3600;c=new Date;c.setTime(c.getTime()+l*1e3)}n.optionalBuffer(a.serial,"options.serial");var m=a.serial;if(m===undefined)m=r.from("0000000000000001","hex");var b=a.purposes;if(b===undefined)b=[];if(b.indexOf("signature")===-1)b.push("signature");if(a.ca===true){if(b.indexOf("ca")===-1)b.push("ca");if(b.indexOf("crl")===-1)b.push("crl")}var g=o.filter(function(e){return e.type==="host"});var y=o.filter(function(e){return e.type==="user"});if(g.length>0){if(b.indexOf("serverAuth")===-1)b.push("serverAuth")}if(y.length>0){if(b.indexOf("clientAuth")===-1)b.push("clientAuth")}if(y.length>0||g.length>0){if(b.indexOf("keyAgreement")===-1)b.push("keyAgreement");if(t.type==="rsa"&&b.indexOf("encryption")===-1)b.push("encryption")}var S=new Certificate({subjects:o,issuer:i,subjectKey:t,issuerKey:s.toPublic(),signatures:{},serial:m,validFrom:u,validUntil:c,purposes:b});S.signWith(s);return S};Certificate.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var r=m[t].read(e,i);return r}catch(e){throw new b(i.filename,t,e)}};Certificate.isCertificate=function(e,t){return p.isCompatible(e,Certificate,t)};Certificate.prototype._sshpkApiVersion=[1,1];Certificate._oldVersionDetect=function(e){return[1,0]}},57602:(e,t,i)=>{e.exports={DiffieHellman:DiffieHellman,generateECDSA:generateECDSA,generateED25519:generateED25519};var n=i(66631);var r=i(76417);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(68729);var c=i(36814);var l=i(29602);var p=r.createECDH!==undefined;var d=i(49865);var f=i(3943);var h=i(85587).BigInteger;function DiffieHellman(e){o.assertCompatible(e,c,[1,4],"key");this._isPriv=l.isPrivateKey(e,[1,3]);this._algo=e.type;this._curve=e.curve;this._key=e;if(e.type==="dsa"){if(!p){throw new Error("Due to bugs in the node 0.10 "+"crypto API, node 0.12.x or later is required "+"to use DH")}this._dh=r.createDiffieHellman(e.part.p.data,undefined,e.part.g.data,undefined);this._p=e.part.p;this._g=e.part.g;if(this._isPriv)this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(!p){this._ecParams=new X9ECParameters(this._curve);if(this._isPriv){this._priv=new ECPrivate(this._ecParams,e.part.d.data)}return}var t={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];this._dh=r.createECDH(t);if(typeof this._dh!=="object"||typeof this._dh.setPrivateKey!=="function"){p=false;DiffieHellman.call(this,e);return}if(this._isPriv)this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else if(e.type==="curve25519"){if(this._isPriv){o.assertCompatible(e,l,[1,5],"key");this._priv=e.part.k.data}}else{throw new Error("DH not supported for "+e.type+" keys")}}DiffieHellman.prototype.getPublicKey=function(){if(this._isPriv)return this._key.toPublic();return this._key};DiffieHellman.prototype.getPrivateKey=function(){if(this._isPriv)return this._key;else return undefined};DiffieHellman.prototype.getKey=DiffieHellman.prototype.getPrivateKey;DiffieHellman.prototype._keyCheck=function(e,t){n.object(e,"key");if(!t)o.assertCompatible(e,l,[1,3],"key");o.assertCompatible(e,c,[1,4],"key");if(e.type!==this._algo){throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman")}if(e.curve!==this._curve){throw new Error("A key from the "+e.curve+" curve "+"cannot be used with a "+this._curve+" Diffie-Hellman")}if(e.type==="dsa"){n.deepEqual(e.part.p,this._p,"DSA key prime does not match");n.deepEqual(e.part.g,this._g,"DSA key generator does not match")}};DiffieHellman.prototype.setKey=function(e){this._keyCheck(e);if(e.type==="dsa"){this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(p){this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else{this._priv=new ECPrivate(this._ecParams,e.part.d.data)}}else if(e.type==="curve25519"){var t=e.part.k;if(!e.part.k)t=e.part.r;this._priv=t.data;if(this._priv[0]===0)this._priv=this._priv.slice(1);this._priv=this._priv.slice(0,32)}this._key=e;this._isPriv=true};DiffieHellman.prototype.setPrivateKey=DiffieHellman.prototype.setKey;DiffieHellman.prototype.computeSecret=function(e){this._keyCheck(e,true);if(!this._isPriv)throw new Error("DH exchange has not been initialized with "+"a private key yet");var t;if(this._algo==="dsa"){return this._dh.computeSecret(e.part.y.data)}else if(this._algo==="ecdsa"){if(p){return this._dh.computeSecret(e.part.Q.data)}else{t=new ECPublic(this._ecParams,e.part.Q.data);return this._priv.deriveSharedSecret(t)}}else if(this._algo==="curve25519"){t=e.part.A.data;while(t[0]===0&&t.length>32)t=t.slice(1);var i=this._priv;n.strictEqual(t.length,32);n.strictEqual(i.length,32);var r=u.box.before(new Uint8Array(t),new Uint8Array(i));return s.from(r)}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKey=function(){var e=[];var t,i;if(this._algo==="dsa"){this._dh.generateKeys();e.push({name:"p",data:this._p.data});e.push({name:"q",data:this._key.part.q.data});e.push({name:"g",data:this._g.data});e.push({name:"y",data:this._dh.getPublicKey()});e.push({name:"x",data:this._dh.getPrivateKey()});this._key=new l({type:"dsa",parts:e});this._isPriv=true;return this._key}else if(this._algo==="ecdsa"){if(p){this._dh.generateKeys();e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:this._dh.getPublicKey()});e.push({name:"d",data:this._dh.getPrivateKey()});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}else{var a=this._ecParams.getN();var o=new h(r.randomBytes(a.bitLength()));var c=a.subtract(h.ONE);t=o.mod(c).add(h.ONE);i=this._ecParams.getG().multiply(t);t=s.from(t.toByteArray());i=s.from(this._ecParams.getCurve().encodePointHex(i),"hex");this._priv=new ECPrivate(this._ecParams,t);e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:i});e.push({name:"d",data:t});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}}else if(this._algo==="curve25519"){var d=u.box.keyPair();t=s.from(d.secretKey);i=s.from(d.publicKey);t=s.concat([t,i]);n.strictEqual(t.length,64);n.strictEqual(i.length,32);e.push({name:"A",data:i});e.push({name:"k",data:t});this._key=new l({type:"curve25519",parts:e});this._isPriv=true;return this._key}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKeys=DiffieHellman.prototype.generateKey;function X9ECParameters(e){var t=a.curves[e];n.object(t);var i=new h(t.p);var r=new h(t.a);var s=new h(t.b);var o=new h(t.n);var u=h.ONE;var c=new f.ECCurveFp(i,r,s);var l=c.decodePointHex(t.G.toString("hex"));this.curve=c;this.g=l;this.n=o;this.h=u}X9ECParameters.prototype.getCurve=function(){return this.curve};X9ECParameters.prototype.getG=function(){return this.g};X9ECParameters.prototype.getN=function(){return this.n};X9ECParameters.prototype.getH=function(){return this.h};function ECPublic(e,t){this._params=e;if(t[0]===0)t=t.slice(1);this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function ECPrivate(e,t){this._params=e;this._priv=new h(o.mpNormalize(t))}ECPrivate.prototype.deriveSharedSecret=function(e){n.ok(e instanceof ECPublic);var t=e._pub.multiply(this._priv);return s.from(t.getX().toBigInteger().toByteArray())};function generateED25519(){var e=u.sign.keyPair();var t=s.from(e.secretKey);var i=s.from(e.publicKey);n.strictEqual(t.length,64);n.strictEqual(i.length,32);var r=[];r.push({name:"A",data:i});r.push({name:"k",data:t.slice(0,32)});var a=new l({type:"ed25519",parts:r});return a}function generateECDSA(e){var t=[];var i;if(p){var n={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e];var a=r.createECDH(n);a.generateKeys();t.push({name:"curve",data:s.from(e)});t.push({name:"Q",data:a.getPublicKey()});t.push({name:"d",data:a.getPrivateKey()});i=new l({type:"ecdsa",curve:e,parts:t});return i}else{var o=new X9ECParameters(e);var u=o.getN();var c=Math.ceil((u.bitLength()+64)/8);var d=new h(r.randomBytes(c));var f=u.subtract(h.ONE);var m=d.mod(f).add(h.ONE);var b=o.getG().multiply(m);m=s.from(m.toByteArray());b=s.from(o.getCurve().encodePointHex(b),"hex");t.push({name:"curve",data:s.from(e)});t.push({name:"Q",data:b});t.push({name:"d",data:m});i=new l({type:"ecdsa",curve:e,parts:t});return i}}},14694:(e,t,i)=>{e.exports={Verifier:Verifier,Signer:Signer};var n=i(68729);var r=i(92413);var s=i(31669);var a=i(66631);var o=i(15118).Buffer;var u=i(91394);function Verifier(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Verifier,r.Writable);Verifier.prototype._write=function(e,t,i){this.chunks.push(e);i()};Verifier.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Verifier.prototype.verify=function(e,t){var i;if(u.isSignature(e,[2,0])){if(e.type!=="ed25519")return false;i=e.toBuffer("raw")}else if(typeof e==="string"){i=o.from(e,"base64")}else if(u.isSignature(e,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}a.buffer(i);return n.sign.detached.verify(new Uint8Array(o.concat(this.chunks)),new Uint8Array(i),new Uint8Array(this.key.part.A.data))};function Signer(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Signer,r.Writable);Signer.prototype._write=function(e,t,i){this.chunks.push(e);i()};Signer.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Signer.prototype.sign=function(){var e=n.sign.detached(new Uint8Array(o.concat(this.chunks)),new Uint8Array(o.concat([this.key.part.k.data,this.key.part.A.data])));var t=o.from(e);var i=u.parse(t,"ed25519","raw");i.hashAlgorithm="sha512";return i}},27979:(e,t,i)=>{var n=i(66631);var r=i(31669);function FingerprintFormatError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,FingerprintFormatError);this.name="FingerprintFormatError";this.fingerprint=e;this.format=t;this.message="Fingerprint format is not supported, or is invalid: ";if(e!==undefined)this.message+=" fingerprint = "+e;if(t!==undefined)this.message+=" format = "+t}r.inherits(FingerprintFormatError,Error);function InvalidAlgorithmError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,InvalidAlgorithmError);this.name="InvalidAlgorithmError";this.algorithm=e;this.message='Algorithm "'+e+'" is not supported'}r.inherits(InvalidAlgorithmError,Error);function KeyParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyParseError);this.name="KeyParseError";this.format=t;this.keyName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format key: "+i.message}r.inherits(KeyParseError,Error);function SignatureParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,SignatureParseError);this.name="SignatureParseError";this.type=e;this.format=t;this.innerErr=i;this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+i.message}r.inherits(SignatureParseError,Error);function CertificateParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,CertificateParseError);this.name="CertificateParseError";this.format=t;this.certName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+i.message}r.inherits(CertificateParseError,Error);function KeyEncryptedError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyEncryptedError);this.name="KeyEncryptedError";this.format=t;this.keyName=e;this.message="The "+t+" format key "+e+" is "+"encrypted (password-protected), and no passphrase was "+"provided in `options`"}r.inherits(KeyEncryptedError,Error);e.exports={FingerprintFormatError:FingerprintFormatError,InvalidAlgorithmError:InvalidAlgorithmError,KeyParseError:KeyParseError,SignatureParseError:SignatureParseError,KeyEncryptedError:KeyEncryptedError,CertificateParseError:CertificateParseError}},13079:(e,t,i)=>{e.exports=Fingerprint;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(27979);var u=i(36814);var c=i(29602);var l=i(7406);var p=i(80575);var d=o.FingerprintFormatError;var f=o.InvalidAlgorithmError;function Fingerprint(e){n.object(e,"options");n.string(e.type,"options.type");n.buffer(e.hash,"options.hash");n.string(e.algorithm,"options.algorithm");this.algorithm=e.algorithm.toLowerCase();if(s.hashAlgs[this.algorithm]!==true)throw new f(this.algorithm);this.hash=e.hash;this.type=e.type;this.hashType=e.hashType}Fingerprint.prototype.toString=function(e){if(e===undefined){if(this.algorithm==="md5"||this.hashType==="spki")e="hex";else e="base64"}n.string(e);switch(e){case"hex":if(this.hashType==="spki")return this.hash.toString("hex");return addColons(this.hash.toString("hex"));case"base64":if(this.hashType==="spki")return this.hash.toString("base64");return sshBase64Format(this.algorithm,this.hash.toString("base64"));default:throw new d(undefined,e)}};Fingerprint.prototype.matches=function(e){n.object(e,"key or certificate");if(this.type==="key"&&this.hashType!=="ssh"){p.assertCompatible(e,u,[1,7],"key with spki");if(c.isPrivateKey(e)){p.assertCompatible(e,c,[1,6],"privatekey with spki support")}}else if(this.type==="key"){p.assertCompatible(e,u,[1,0],"key")}else{p.assertCompatible(e,l,[1,0],"certificate")}var t=e.hash(this.algorithm,this.hashType);var i=a.createHash(this.algorithm).update(t).digest("base64");if(this.hash2===undefined)this.hash2=a.createHash(this.algorithm).update(this.hash).digest("base64");return this.hash2===i};var h=/^[A-Za-z0-9+\/=]+$/;var m=/^[a-fA-F0-9]+$/;Fingerprint.parse=function(e,t){n.string(e,"fingerprint");var i,a,o;if(Array.isArray(t)){o=t;t={}}n.optionalObject(t,"options");if(t===undefined)t={};if(t.enAlgs!==undefined)o=t.enAlgs;if(t.algorithms!==undefined)o=t.algorithms;n.optionalArrayOfString(o,"algorithms");var u="ssh";if(t.hashType!==undefined)u=t.hashType;n.string(u,"options.hashType");var c=e.split(":");if(c.length==2){i=c[0].toLowerCase();if(!h.test(c[1]))throw new d(e);try{a=r.from(c[1],"base64")}catch(t){throw new d(e)}}else if(c.length>2){i="md5";if(c[0].toLowerCase()==="md5")c=c.slice(1);c=c.map(function(t){while(t.length<2)t="0"+t;if(t.length>2)throw new d(e);return t});c=c.join("");if(!m.test(c)||c.length%2!==0)throw new d(e);try{a=r.from(c,"hex")}catch(t){throw new d(e)}}else{if(m.test(e)){a=r.from(e,"hex")}else if(h.test(e)){a=r.from(e,"base64")}else{throw new d(e)}switch(a.length){case 32:i="sha256";break;case 16:i="md5";break;case 20:i="sha1";break;case 64:i="sha512";break;default:throw new d(e)}if(t.hashType===undefined)u="spki"}if(i===undefined)throw new d(e);if(s.hashAlgs[i]===undefined)throw new f(i);if(o!==undefined){o=o.map(function(e){return e.toLowerCase()});if(o.indexOf(i)===-1)throw new f(i)}return new Fingerprint({algorithm:i,hash:a,type:t.type||"key",hashType:u})};function addColons(e){return e.replace(/(.{2})(?=.)/g,"$1:")}function base64Strip(e){return e.replace(/=*$/,"")}function sshBase64Format(e,t){return e.toUpperCase()+":"+base64Strip(t)}Fingerprint.isFingerprint=function(e,t){return p.isCompatible(e,Fingerprint,t)};Fingerprint.prototype._sshpkApiVersion=[1,2];Fingerprint._oldVersionDetect=function(e){n.func(e.toString);n.func(e.matches);return[1,0]}},8243:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(80575);var a=i(36814);var o=i(29602);var u=i(14324);var c=i(68927);var l=i(88688);var p=i(63561);var d=i(80974);var f="Private-key-format: v1";function read(e,t){if(typeof e==="string"){if(e.trim().match(/^[-]+[ ]*BEGIN/))return u.read(e,t);if(e.match(/^\s*ssh-[a-z]/))return c.read(e,t);if(e.match(/^\s*ecdsa-/))return c.read(e,t);if(e.match(/^putty-user-key-file-2:/i))return d.read(e,t);if(findDNSSECHeader(e))return p.read(e,t);e=r.from(e,"binary")}else{n.buffer(e);if(findPEMHeader(e))return u.read(e,t);if(findSSHHeader(e))return c.read(e,t);if(findPuTTYHeader(e))return d.read(e,t);if(findDNSSECHeader(e))return p.read(e,t)}if(e.readUInt32BE(0)e.length||e.slice(t,t+5).toString("ascii")!=="BEGIN")return false;return true}function findDNSSECHeader(e){if(e.length<=f.length)return false;var t=e.slice(0,f.length);if(t.toString("ascii")===f)return true;if(typeof e!=="string"){e=e.toString("ascii")}var i=e.split("\n");var n=0;while(i[n].match(/^\;/))n++;if(i[n].toString("ascii").match(/\. IN KEY /))return true;if(i[n].toString("ascii").match(/\. IN DNSKEY /))return true;return false}function write(e,t){throw new Error('"auto" format cannot be used for writing')}},63561:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(36814);var a=i(29602);var o=i(80575);var u=i(25621);var c=i(57602);var l={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14};var p={};Object.keys(l).forEach(function(e){p[l[e]]=e.toUpperCase()});function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.split("\n");if(i[0].match(/^Private-key-format\: v1/)){var r=i[1].split(" ");var s=parseInt(r[1],10);var a=r[2];if(!p[s])throw new Error("Unsupported algorithm: "+a);return readDNSSECPrivateKey(s,i.slice(2))}var o=0;while(i[o].match(/^\;/))o++;if((i[o].match(/\. IN KEY /)||i[o].match(/\. IN DNSKEY /))&&i[o+1].length===0){return readRFC3110(i[o])}throw new Error("Cannot parse dnssec key")}function readRFC3110(e){var t=e.split(" ");var i=parseInt(t[5],10);if(!p[i])throw new Error("Unsupported algorithm: "+i);var n=t.slice(6,t.length).join();var a=r.from(n,"base64");if(p[i].match(/^RSA-/)){var u=a.readUInt8(0);if(u!=3&&u!=1)throw new Error("Cannot parse dnssec key: "+"unsupported exponent length");var c=a.slice(1,u+1);c=o.mpNormalize(c);var l=a.slice(1+u);l=o.mpNormalize(l);var d={type:"rsa",parts:[]};d.parts.push({name:"e",data:c});d.parts.push({name:"n",data:l});return new s(d)}if(p[i]==="ECDSA-P384-SHA384"||p[i]==="ECDSA-P256-SHA256"){var f="nistp384";var h=384;if(p[i].match(/^ECDSA-P256-SHA256/)){f="nistp256";h=256}var m={type:"ecdsa",curve:f,size:h,parts:[{name:"curve",data:r.from(f)},{name:"Q",data:o.ecNormalize(a)}]};return new s(m)}throw new Error("Unsupported algorithm: "+p[i])}function elementToBuf(e){return r.from(e.split(" ")[1],"base64")}function readDNSSECRSAPrivateKey(e){var t={};e.forEach(function(e){if(e.split(" ")[0]==="Modulus:")t["n"]=elementToBuf(e);else if(e.split(" ")[0]==="PublicExponent:")t["e"]=elementToBuf(e);else if(e.split(" ")[0]==="PrivateExponent:")t["d"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime1:")t["p"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime2:")t["q"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent1:")t["dmodp"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent2:")t["dmodq"]=elementToBuf(e);else if(e.split(" ")[0]==="Coefficient:")t["iqmp"]=elementToBuf(e)});var i={type:"rsa",parts:[{name:"e",data:o.mpNormalize(t["e"])},{name:"n",data:o.mpNormalize(t["n"])},{name:"d",data:o.mpNormalize(t["d"])},{name:"p",data:o.mpNormalize(t["p"])},{name:"q",data:o.mpNormalize(t["q"])},{name:"dmodp",data:o.mpNormalize(t["dmodp"])},{name:"dmodq",data:o.mpNormalize(t["dmodq"])},{name:"iqmp",data:o.mpNormalize(t["iqmp"])}]};return new a(i)}function readDNSSECPrivateKey(e,t){if(p[e].match(/^RSA-/)){return readDNSSECRSAPrivateKey(t)}if(p[e]==="ECDSA-P384-SHA384"||p[e]==="ECDSA-P256-SHA256"){var i=r.from(t[0].split(" ")[1],"base64");var n="nistp384";var s=384;if(p[e]==="ECDSA-P256-SHA256"){n="nistp256";s=256}var u=o.publicFromPrivateECDSA(n,i);var c=u.part["Q"].data;var l={type:"ecdsa",curve:n,size:s,parts:[{name:"curve",data:r.from(n)},{name:"d",data:i},{name:"Q",data:c}]};return new a(l)}throw new Error("Unsupported algorithm: "+p[e])}function dnssecTimestamp(e){var t=e.getFullYear()+"";var i=e.getMonth()+1;var n=t+i+e.getUTCDate();n+=""+e.getUTCHours()+e.getUTCMinutes();n+=e.getUTCSeconds();return n}function rsaAlgFromOptions(e){if(!e||!e.hashAlgo||e.hashAlgo==="sha1")return"5 (RSASHA1)";else if(e.hashAlgo==="sha256")return"8 (RSASHA256)";else if(e.hashAlgo==="sha512")return"10 (RSASHA512)";else throw new Error("Unknown or unsupported hash: "+e.hashAlgo)}function writeRSA(e,t){if(!e.part.dmodp||!e.part.dmodq){o.addRSAMissing(e)}var i="";i+="Private-key-format: v1.3\n";i+="Algorithm: "+rsaAlgFromOptions(t)+"\n";var n=o.mpDenormalize(e.part["n"].data);i+="Modulus: "+n.toString("base64")+"\n";var s=o.mpDenormalize(e.part["e"].data);i+="PublicExponent: "+s.toString("base64")+"\n";var a=o.mpDenormalize(e.part["d"].data);i+="PrivateExponent: "+a.toString("base64")+"\n";var u=o.mpDenormalize(e.part["p"].data);i+="Prime1: "+u.toString("base64")+"\n";var c=o.mpDenormalize(e.part["q"].data);i+="Prime2: "+c.toString("base64")+"\n";var l=o.mpDenormalize(e.part["dmodp"].data);i+="Exponent1: "+l.toString("base64")+"\n";var p=o.mpDenormalize(e.part["dmodq"].data);i+="Exponent2: "+p.toString("base64")+"\n";var d=o.mpDenormalize(e.part["iqmp"].data);i+="Coefficient: "+d.toString("base64")+"\n";var f=new Date;i+="Created: "+dnssecTimestamp(f)+"\n";i+="Publish: "+dnssecTimestamp(f)+"\n";i+="Activate: "+dnssecTimestamp(f)+"\n";return r.from(i,"ascii")}function writeECDSA(e,t){var i="";i+="Private-key-format: v1.3\n";if(e.curve==="nistp256"){i+="Algorithm: 13 (ECDSAP256SHA256)\n"}else if(e.curve==="nistp384"){i+="Algorithm: 14 (ECDSAP384SHA384)\n"}else{throw new Error("Unsupported curve")}var n=e.part["d"].data.toString("base64");i+="PrivateKey: "+n+"\n";var s=new Date;i+="Created: "+dnssecTimestamp(s)+"\n";i+="Publish: "+dnssecTimestamp(s)+"\n";i+="Activate: "+dnssecTimestamp(s)+"\n";return r.from(i,"ascii")}function write(e,t){if(a.isPrivateKey(e)){if(e.type==="rsa"){return writeRSA(e,t)}else if(e.type==="ecdsa"){return writeECDSA(e,t)}else{throw new Error("Unsupported algorithm: "+e.type)}}else if(s.isKey(e)){throw new Error('Format "dnssec" only supports '+"writing private keys")}else{throw new Error("key is not a Key or PrivateKey")}}},94033:(e,t,i)=>{e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write,fromBuffer:fromBuffer,toBuffer:toBuffer};var n=i(66631);var r=i(25621);var s=i(76417);var a=i(15118).Buffer;var o=i(66126);var u=i(36814);var c=i(29602);var l=i(70508);var p=i(88688);var d=i(91394);var f=i(80575);var h=i(7406);function verify(e,t){return false}var m={user:1,host:2};Object.keys(m).forEach(function(e){m[m[e]]=e});var b=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function read(e,t){if(a.isBuffer(e))e=e.toString("ascii");var i=e.trim().split(/[ \t\n]+/g);if(i.length<2||i.length>3)throw new Error("Not a valid SSH certificate line");var n=i[0];var r=i[1];r=a.from(r,"base64");return fromBuffer(r,n)}function fromBuffer(e,t,i){var s=new r({buffer:e});var a=s.readString();if(t!==undefined&&a!==t)throw new Error("SSH certificate algorithm mismatch");if(t===undefined)t=a;var c={};c.signatures={};c.signatures.openssh={};c.signatures.openssh.nonce=s.readBuffer();var g={};var y=g.parts=[];g.type=getAlg(t);var S=o.info[g.type].parts.length;while(y.length=1,"key must have at least one part");var v=o.info[g.type];if(g.type==="ecdsa"){var w=b.exec(t);n.ok(w!==null);n.strictEqual(w[1],y[0].data.toString())}for(var j=0;j{e.exports={read:read,write:write};var n=i(66631);var r=i(80970);var s=i(76417);var a=i(15118).Buffer;var o=i(66126);var u=i(80575);var c=i(36814);var l=i(29602);var p=i(69367);var d=i(4173);var f=i(3923);var h=i(88688);var m=i(27979);var b="1.2.840.113549.1.5.13";var g="1.2.840.113549.1.5.12";var y={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var v={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};var w={};Object.keys(v).forEach(function(e){w[v[e]]=e});function read(e,t,i){var o=e;if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var c=e.trim().split(/[\r\n]+/g);var l;var S=-1;while(!l&&S0){w=c[--j].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}n.ok(w,"invalid PEM footer");n.equal(l[2],w[2]);var z=l[2].toLowerCase();var O;if(l[1]){n.equal(l[1],w[1],"PEM header and footer mismatch");O=l[1].trim()}c=c.slice(S,j+1);var k={};while(true){c=c.slice(1);l=c[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!l)break;k[l[1].toLowerCase()]=l[2]}c=c.slice(0,-1).join("");e=a.from(c,"base64");var C,T,_;if(k["proc-type"]){var A=k["proc-type"].split(",");if(A[0]==="4"&&A[1]==="ENCRYPTED"){if(typeof t.passphrase==="string"){t.passphrase=a.from(t.passphrase,"utf-8")}if(!a.isBuffer(t.passphrase)){throw new m.KeyEncryptedError(t.filename,"PEM")}else{A=k["dek-info"].split(",");n.ok(A.length===2);C=A[0].toLowerCase();_=a.from(A[1],"hex");T=u.opensslKeyDeriv(C,_,t.passphrase,1).key}}}if(O&&O.toLowerCase()==="encrypted"){var E=new r.BerReader(e);var R;E.readSequence();E.readSequence();R=E.offset+E.length;var x=E.readOID();if(x!==b){throw new Error("Unsupported PEM/PKCS8 encryption "+"scheme: "+x)}E.readSequence();E.readSequence();var N=E.offset+E.length;var V=E.readOID();if(V!==g)throw new Error("Unsupported PBES2 KDF: "+V);E.readSequence();var P=E.readString(r.Ber.OctetString,true);var M=E.readInt();var B="sha1";if(E.offsetf.length)y=f.length;b+=m.write(f.slice(g,y),b);m[b++]=10;g=y}b+=m.write("-----END "+o+"-----\n",b);return m.slice(0,b)}},69367:(e,t,i)=>{e.exports={read:read,readPkcs1:readPkcs1,write:write,writePkcs1:writePkcs1};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);var p=i(4173);var d=p.readECDSACurve;function read(e,t){return l.read(e,t,"pkcs1")}function write(e,t){return l.write(e,t,"pkcs1")}function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function readPkcs1(e,t,i){switch(e){case"RSA":if(t==="public")return readPkcs1RSAPublic(i);else if(t==="private")return readPkcs1RSAPrivate(i);throw new Error("Unknown key type: "+t);case"DSA":if(t==="public")return readPkcs1DSAPublic(i);else if(t==="private")return readPkcs1DSAPrivate(i);throw new Error("Unknown key type: "+t);case"EC":case"ECDSA":if(t==="private")return readPkcs1ECDSAPrivate(i);else if(t==="public")return readPkcs1ECDSAPublic(i);throw new Error("Unknown key type: "+t);case"EDDSA":case"EdDSA":if(t==="private")return readPkcs1EdDSAPrivate(i);throw new Error(t+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+e)}}function readPkcs1RSAPublic(e){var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs1RSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t[0],0);var i=readMPInt(e,"modulus");var r=readMPInt(e,"public exponent");var s=readMPInt(e,"private exponent");var a=readMPInt(e,"prime1");var o=readMPInt(e,"prime2");var u=readMPInt(e,"exponent1");var l=readMPInt(e,"exponent2");var p=readMPInt(e,"iqmp");var d={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:r},{name:"d",data:s},{name:"iqmp",data:p},{name:"p",data:a},{name:"q",data:o},{name:"dmodp",data:u},{name:"dmodq",data:l}]};return new c(d)}function readPkcs1DSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),0);var i=readMPInt(e,"p");var r=readMPInt(e,"q");var s=readMPInt(e,"g");var a=readMPInt(e,"y");var o=readMPInt(e,"x");var u={type:"dsa",parts:[{name:"p",data:i},{name:"q",data:r},{name:"g",data:s},{name:"y",data:a},{name:"x",data:o}]};return new c(u)}function readPkcs1EdDSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),1);var i=e.readString(r.Ber.OctetString,true);e.readSequence(160);var s=e.readOID();n.strictEqual(s,"1.3.101.112","the ed25519 curve identifier");e.readSequence(161);var a=o.readBitString(e);var u={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(a,32)},{name:"k",data:i}]};return new c(u)}function readPkcs1DSAPublic(e){var t=readMPInt(e,"y");var i=readMPInt(e,"p");var n=readMPInt(e,"q");var r=readMPInt(e,"g");var s={type:"dsa",parts:[{name:"y",data:t},{name:"p",data:i},{name:"q",data:n},{name:"g",data:r}]};return new u(s)}function readPkcs1ECDSAPublic(e){e.readSequence();var t=e.readOID();n.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");var i=e.readOID();var c;var l=Object.keys(a.curves);for(var p=0;p{e.exports={read:read,readPkcs8:readPkcs8,write:write,writePkcs8:writePkcs8,pkcs8ToBuffer:pkcs8ToBuffer,readECDSACurve:readECDSACurve,writeECDSACurve:writeECDSACurve};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);function read(e,t){return l.read(e,t,"pkcs8")}function write(e,t){return l.write(e,t,"pkcs8")}function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function readPkcs8(e,t,i){if(i.peek()===r.Ber.Integer){n.strictEqual(t,"private","unexpected Integer at start of public key");i.readString(r.Ber.Integer,true)}i.readSequence();var s=i.offset+i.length;var a=i.readOID();switch(a){case"1.2.840.113549.1.1.1":i._offset=s;if(t==="public")return readPkcs8RSAPublic(i);else return readPkcs8RSAPrivate(i);case"1.2.840.10040.4.1":if(t==="public")return readPkcs8DSAPublic(i);else return readPkcs8DSAPrivate(i);case"1.2.840.10045.2.1":if(t==="public")return readPkcs8ECDSAPublic(i);else return readPkcs8ECDSAPrivate(i);case"1.3.101.112":if(t==="public"){return readPkcs8EdDSAPublic(i)}else{return readPkcs8EdDSAPrivate(i)}case"1.3.101.110":if(t==="public"){return readPkcs8X25519Public(i)}else{return readPkcs8X25519Private(i)}default:throw new Error("Unknown key type OID "+a)}}function readPkcs8RSAPublic(e){e.readSequence(r.Ber.BitString);e.readByte();e.readSequence();var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",source:e.originalInput,parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs8RSAPrivate(e){e.readSequence(r.Ber.OctetString);e.readSequence();var t=readMPInt(e,"version");n.equal(t[0],0,"unknown RSA private key version");var i=readMPInt(e,"modulus");var s=readMPInt(e,"public exponent");var a=readMPInt(e,"private exponent");var o=readMPInt(e,"prime1");var u=readMPInt(e,"prime2");var l=readMPInt(e,"exponent1");var p=readMPInt(e,"exponent2");var d=readMPInt(e,"iqmp");var f={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:s},{name:"d",data:a},{name:"iqmp",data:d},{name:"p",data:o},{name:"q",data:u},{name:"dmodp",data:l},{name:"dmodq",data:p}]};return new c(f)}function readPkcs8DSAPublic(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(r.Ber.BitString);e.readByte();var s=readMPInt(e,"y");var a={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:s}]};return new u(a)}function readPkcs8DSAPrivate(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(r.Ber.OctetString);var s=readMPInt(e,"x");var a=o.calculateDSAPublic(n,t,s);var u={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:a},{name:"x",data:s}]};return new c(u)}function readECDSACurve(e){var t,i;var u,c,l;if(e.peek()===r.Ber.OID){var p=e.readOID();i=Object.keys(a.curves);for(u=0;u{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(88688);var a=i(36814);var o=i(27979);function read(e,t){var i=e.toString("ascii").split(/[\r\n]+/);var a=false;var o;var u=0;while(ui.length){throw new Error("Invalid public-lines count")}var d=r.from(i.slice(u,u+p).join(""),"base64");var f=s.algToKeyType(c);var h=s.read(d);if(h.type!==f){throw new Error("Outer key algorithm mismatch")}h.comment=l;return h}function splitHeader(e){var t=e.indexOf(":");if(t===-1)return null;var i=e.slice(0,t);++t;while(e[t]===" ")++t;var n=e.slice(t);return[i,n]}function write(e,t){n.object(e);if(!a.isKey(e))throw new Error("Must be a public key");var i=s.keyTypeToAlg(e);var o=s.write(e);var u=e.comment||"";var c=o.toString("base64");var l=wrap(c,64);l.unshift("Public-Lines: "+l.length);l.unshift("Comment: "+u);l.unshift("Encryption: none");l.unshift("PuTTY-User-Key-File-2: "+i);return r.from(l.join("\n")+"\n")}function wrap(e,t){var i=[];var n=0;while(n{e.exports={read:read.bind(undefined,false,undefined),readType:read.bind(undefined,false),write:write,readPartial:read.bind(undefined,true),readInternal:read,keyTypeToAlg:keyTypeToAlg,algToKeyType:algToKeyType};var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(80575);var o=i(36814);var u=i(29602);var c=i(25621);function algToKeyType(e){n.string(e);if(e==="ssh-dss")return"dsa";else if(e==="ssh-rsa")return"rsa";else if(e==="ssh-ed25519")return"ed25519";else if(e==="ssh-curve25519")return"curve25519";else if(e.match(/^ecdsa-sha2-/))return"ecdsa";else throw new Error("Unknown algorithm "+e)}function keyTypeToAlg(e){n.object(e);if(e.type==="dsa")return"ssh-dss";else if(e.type==="rsa")return"ssh-rsa";else if(e.type==="ed25519")return"ssh-ed25519";else if(e.type==="curve25519")return"ssh-curve25519";else if(e.type==="ecdsa")return"ecdsa-sha2-"+e.part.curve.data.toString();else throw new Error("Unknown key type "+e.type)}function read(e,t,i,l){if(typeof i==="string")i=r.from(i);n.buffer(i,"buf");var p={};var d=p.parts=[];var f=new c({buffer:i});var h=f.readString();n.ok(!f.atEnd(),"key must have at least one part");p.type=algToKeyType(h);var m=s.info[p.type].parts.length;if(t&&t==="private")m=s.privInfo[p.type].parts.length;while(!f.atEnd()&&d.length=1,"key must have at least one part");n.ok(e||f.atEnd(),"leftover bytes at end of key");var b=o;var g=s.info[p.type];if(t==="private"||g.parts.length!==d.length){g=s.privInfo[p.type];b=u}n.strictEqual(g.parts.length,d.length);if(p.type==="ecdsa"){var y=/^ecdsa-sha2-(.+)$/.exec(h);n.ok(y!==null);n.strictEqual(y[1],d[0].data.toString())}var S=true;for(var v=0;v{e.exports={read:read,readSSHPrivate:readSSHPrivate,write:write};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(76417);var c=i(36814);var l=i(29602);var p=i(14324);var d=i(88688);var f=i(25621);var h=i(27979);var m;function read(e,t){return p.read(e,t)}var b="openssh-key-v1";function readSSHPrivate(e,t,r){t=new f({buffer:t});var a=t.readCString();n.strictEqual(a,b,"bad magic string");var c=t.readString();var l=t.readString();var p=t.readBuffer();var g=t.readInt();if(g!==1){throw new Error("OpenSSH-format key file contains "+"multiple keys: this is unsupported.")}var y=t.readBuffer();if(e==="public"){n.ok(t.atEnd(),"excess bytes left after key");return d.read(y)}var S=t.readBuffer();n.ok(t.atEnd(),"excess bytes left after key");var v=new f({buffer:p});switch(l){case"none":if(c!=="none"){throw new Error('OpenSSH-format key uses KDF "none" '+'but specifies a cipher other than "none"')}break;case"bcrypt":var w=v.readBuffer();var j=v.readInt();var z=o.opensshCipherInfo(c);if(m===undefined){m=i(45447)}if(typeof r.passphrase==="string"){r.passphrase=s.from(r.passphrase,"utf-8")}if(!s.isBuffer(r.passphrase)){throw new h.KeyEncryptedError(r.filename,"OpenSSH")}var O=new Uint8Array(r.passphrase);var k=new Uint8Array(w);var C=new Uint8Array(z.keySize+z.blockSize);var T=m.pbkdf(O,O.length,k,k.length,C,C.length,j);if(T!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}C=s.from(C);var _=C.slice(0,z.keySize);var A=C.slice(z.keySize,z.keySize+z.blockSize);var E=u.createDecipheriv(z.opensslName,_,A);E.setAutoPadding(false);var R,x=[];E.once("error",function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e});E.write(S);E.end();while((R=E.read())!==null)x.push(R);S=s.concat(x);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+l+'"')}t=new f({buffer:S});var N=t.readInt();var V=t.readInt();if(N!==V){throw new Error("Incorrect passphrase supplied, could not "+"decrypt key")}var P={};var M=d.readInternal(P,"private",t.remainder());t.skip(P.consumed);var B=t.readString();M.comment=B;return M}function write(e,t){var r;if(l.isPrivateKey(e))r=e.toPublic();else r=e;var a="none";var c="none";var p=s.alloc(0);var d={blockSize:8};var h;if(t!==undefined){h=t.passphrase;if(typeof h==="string")h=s.from(h,"utf-8");if(h!==undefined){n.buffer(h,"options.passphrase");n.optionalString(t.cipher,"options.cipher");a=t.cipher;if(a===undefined)a="aes128-ctr";d=o.opensshCipherInfo(a);c="bcrypt"}}var g;if(l.isPrivateKey(e)){g=new f({});var y=u.randomBytes(4).readUInt32BE(0);g.writeInt(y);g.writeInt(y);g.write(e.toBuffer("rfc4253"));g.writeString(e.comment||"");var S=1;while(g._offset%d.blockSize!==0)g.writeChar(S++);g=g.toBuffer()}switch(c){case"none":break;case"bcrypt":var v=u.randomBytes(16);var w=16;var j=new f({});j.writeBuffer(v);j.writeInt(w);p=j.toBuffer();if(m===undefined){m=i(45447)}var z=new Uint8Array(h);var O=new Uint8Array(v);var k=new Uint8Array(d.keySize+d.blockSize);var C=m.pbkdf(z,z.length,O,O.length,k,k.length,w);if(C!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}k=s.from(k);var T=k.slice(0,d.keySize);var _=k.slice(d.keySize,d.keySize+d.blockSize);var A=u.createCipheriv(d.opensslName,T,_);A.setAutoPadding(false);var E,R=[];A.once("error",function(e){throw e});A.write(g);A.end();while((E=A.read())!==null)R.push(E);g=s.concat(R);break;default:throw new Error("Unsupported kdf "+c)}var x=new f({});x.writeCString(b);x.writeString(a);x.writeString(c);x.writeBuffer(p);x.writeInt(1);x.writeBuffer(r.toBuffer("rfc4253"));if(g)x.writeBuffer(g);x=x.toBuffer();var N;if(l.isPrivateKey(e))N="OPENSSH PRIVATE KEY";else N="OPENSSH PUBLIC KEY";var V=x.toString("base64");var P=V.length+V.length/70+18+16+N.length*2+10;x=s.alloc(P);var M=0;M+=x.write("-----BEGIN "+N+"-----\n",M);for(var B=0;BV.length)I=V.length;M+=x.write(V.slice(B,I),M);x[M++]=10;B=I}M+=x.write("-----END "+N+"-----\n",M);return x.slice(0,M)}},68927:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(88688);var a=i(80575);var o=i(36814);var u=i(29602);var c=i(3923);var l=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/;var p=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().replace(/[\\\r]/g,"");var a=i.match(l);if(!a)a=i.match(p);n.ok(a,"key must match regex");var o=s.algToKeyType(a[1]);var u=r.from(a[2],"base64");var c;var d={};if(a[4]){try{c=s.read(u)}catch(e){a=i.match(p);n.ok(a,"key must match regex");u=r.from(a[2],"base64");c=s.readInternal(d,"public",u)}}else{c=s.readInternal(d,"public",u)}n.strictEqual(o,c.type);if(a[4]&&a[4].length>0){c.comment=a[4]}else if(d.consumed){var f=a[2]+(a[3]?a[3]:"");var h=Math.ceil(d.consumed/3)*4;f=f.slice(0,h-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+f.slice(h-2);var m=d.consumed%3;if(m>0&&f.slice(h-1,h)!=="=")h--;while(f.slice(h,h+1)==="=")h++;var b=f.slice(h);b=b.replace(/[\r\n]/g," ").replace(/^\s+/,"");if(b.match(/^[a-zA-Z0-9]/))c.comment=b}return c}function write(e,t){n.object(e);if(!o.isKey(e))throw new Error("Must be a public key");var i=[];var a=s.keyTypeToAlg(e);i.push(a);var u=s.write(e);i.push(u.toString("base64"));if(e.comment)i.push(e.comment);return r.from(i.join(" "))}},30217:(e,t,i)=>{var n=i(10267);e.exports={read:read,verify:n.verify,sign:n.sign,write:write};var r=i(66631);var s=i(80970);var a=i(15118).Buffer;var o=i(66126);var u=i(80575);var c=i(36814);var l=i(29602);var p=i(14324);var d=i(70508);var f=i(91394);var h=i(7406);function read(e,t){if(typeof e!=="string"){r.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().split(/[\r\n]+/g);var s;var o=-1;while(!s&&o0){u=i[--c].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/)}r.ok(u,"invalid PEM footer");i=i.slice(o,c+1);var l={};while(true){i=i.slice(1);s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!s)break;l[s[1].toLowerCase()]=s[2]}i=i.slice(0,-1).join("");e=a.from(i,"base64");return n.read(e,t)}function write(e,t){var i=n.write(e,t);var r="CERTIFICATE";var s=i.toString("base64");var o=s.length+s.length/64+18+16+r.length*2+10;var u=a.alloc(o);var c=0;c+=u.write("-----BEGIN "+r+"-----\n",c);for(var l=0;ls.length)p=s.length;c+=u.write(s.slice(l,p),c);u[c++]=10;l=p}c+=u.write("-----END "+r+"-----\n",c);return u.slice(0,c)}},10267:(e,t,i)=>{e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);var p=i(70508);var d=i(91394);var f=i(7406);var h=i(4173);function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function verify(e,t){var i=e.signatures.x509;n.object(i,"x509 signature");var s=i.algo.split("-");if(s[0]!==t.type)return false;var a=i.cache;if(a===undefined){var o=new r.BerWriter;writeTBSCert(e,o);a=o.buffer}var u=t.createVerify(s[1]);u.write(a);return u.verify(i.signature)}function Local(e){return r.Ber.Context|r.Ber.Constructor|e}function Context(e){return r.Ber.Context|e}var m={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(m).forEach(function(e){m[m[e]]=e});m["1.3.14.3.2.3"]="rsa-md5";m["1.3.14.3.2.29"]="rsa-sha1";var b={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function read(e,t){if(typeof e==="string"){e=s.from(e,"binary")}n.buffer(e,"buf");var i=new r.BerReader(e);i.readSequence();if(Math.abs(i.length-i.remain)>1){throw new Error("DER sequence does not contain whole byte "+"stream")}var a=i.offset;i.readSequence();var o=i.offset+i.length;var u=o;if(i.peek()===Local(0)){i.readSequence(Local(0));var c=i.readInt();n.ok(c<=3,"only x.509 versions up to v3 supported")}var l={};l.signatures={};var b=l.signatures.x509={};b.extras={};l.serial=readMPInt(i,"serial");i.readSequence();var g=i.offset+i.length;var y=i.readOID();var S=m[y];if(S===undefined)throw new Error("unknown signature algorithm "+y);i._offset=g;l.issuer=p.parseAsn1(i);i.readSequence();l.validFrom=readDate(i);l.validUntil=readDate(i);l.subjects=[p.parseAsn1(i)];i.readSequence();g=i.offset+i.length;l.subjectKey=h.readPkcs8(undefined,"public",i);i._offset=g;if(i.peek()===Local(1)){i.readSequence(Local(1));b.extras.issuerUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(2)){i.readSequence(Local(2));b.extras.subjectUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(3)){i.readSequence(Local(3));var v=i.offset+i.length;i.readSequence();while(i.offset=2050||t.getUTCFullYear()<1950){e.writeString(dateToGTime(t),r.Ber.GeneralizedTime)}else{e.writeString(dateToUTCTime(t),r.Ber.UTCTime)}}var g={OtherName:Local(0),RFC822Name:Context(1),DNSName:Context(2),X400Address:Local(3),DirectoryName:Local(4),EDIPartyName:Local(5),URI:Context(6),IPAddress:Context(7),OID:Context(8)};var y={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var v=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function readExtension(e,t,i){i.readSequence();var n=i.offset+i.length;var s=i.readOID();var a;var o=e.signatures.x509;if(!o.extras.exts)o.extras.exts=[];var u;if(i.peek()===r.Ber.Boolean)u=i.readBoolean();switch(s){case b.basicConstraints:i.readSequence(r.Ber.OctetString);i.readSequence();var c=i.offset+i.length;var l=false;if(i.peek()===r.Ber.Boolean)l=i.readBoolean();if(e.purposes===undefined)e.purposes=[];if(l===true)e.purposes.push("ca");var d={oid:s,critical:u};if(i.offset=60)a+=s-1;else a+=s;i.setUTCFullYear(a,parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}var j=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function gTimeToDate(e){var t=e.match(j);n.ok(t);var i=new Date;i.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}function zeroPad(e,t){if(t===undefined)t=2;var i=""+e;while(i.length0||s.type==="host"||e.purposes!==undefined&&e.purposes.length>0||i.extras&&i.extras.exts){t.startSequence(Local(3));t.startSequence();var u=[];if(e.purposes!==undefined&&e.purposes.length>0){u.push({oid:b.basicConstraints,critical:true});u.push({oid:b.keyUsage,critical:true});u.push({oid:b.extKeyUsage,critical:true})}u.push({oid:b.altName});if(i.extras&&i.extras.exts)u=i.extras.exts;for(var c=0;c{e.exports=Identity;var n=i(66631);var r=i(66126);var s=i(76417);var a=i(13079);var o=i(91394);var u=i(27979);var c=i(31669);var l=i(80575);var p=i(80970);var d=i(15118).Buffer;var f=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i;var h={};h.cn="2.5.4.3";h.o="2.5.4.10";h.ou="2.5.4.11";h.l="2.5.4.7";h.s="2.5.4.8";h.c="2.5.4.6";h.sn="2.5.4.4";h.postalCode="2.5.4.17";h.serialNumber="2.5.4.5";h.street="2.5.4.9";h.x500UniqueIdentifier="2.5.4.45";h.role="2.5.4.72";h.telephoneNumber="2.5.4.20";h.description="2.5.4.13";h.dc="0.9.2342.19200300.100.1.25";h.uid="0.9.2342.19200300.100.1.1";h.mail="0.9.2342.19200300.100.1.3";h.title="2.5.4.12";h.gn="2.5.4.42";h.initials="2.5.4.43";h.pseudonym="2.5.4.65";h.emailAddress="1.2.840.113549.1.9.1";var m={};Object.keys(h).forEach(function(e){m[h[e]]=e});function Identity(e){var t=this;n.object(e,"options");n.arrayOfObject(e.components,"options.components");this.components=e.components;this.componentLookup={};this.components.forEach(function(e){if(e.name&&!e.oid)e.oid=h[e.name];if(e.oid&&!e.name)e.name=m[e.oid];if(t.componentLookup[e.name]===undefined)t.componentLookup[e.name]=[];t.componentLookup[e.name].push(e)});if(this.componentLookup.cn&&this.componentLookup.cn.length>0){this.cn=this.componentLookup.cn[0].value}n.optionalString(e.type,"options.type");if(e.type===undefined){if(this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length){this.type="host";this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")}else if(this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.uid&&this.componentLookup.uid.length===1){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.mail&&this.componentLookup.mail.length===1){this.type="email";this.email=this.componentLookup.mail[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1){this.type="user";this.uid=this.componentLookup.cn[0].value}else{this.type="unknown"}}else{this.type=e.type;if(this.type==="host")this.hostname=e.hostname;else if(this.type==="user")this.uid=e.uid;else if(this.type==="email")this.email=e.email;else throw new Error("Unknown type "+this.type)}}Identity.prototype.toString=function(){return this.components.map(function(e){var t=e.name.toUpperCase();t=t.replace(/=/g,"\\=");var i=e.value;i=i.replace(/,/g,"\\,");return t+"="+i}).join(", ")};Identity.prototype.get=function(e,t){n.string(e,"name");var i=this.componentLookup[e];if(i===undefined||i.length===0)return undefined;if(!t&&i.length>1)throw new Error("Multiple values for attribute "+e);if(!t)return i[0].value;return i.map(function(e){return e.value})};Identity.prototype.toArray=function(e){return this.components.map(function(e){return{name:e.name,value:e.value}})};var b=/[^a-zA-Z0-9 '(),+.\/:=?-]/;var g=/[^\x00-\x7f]/;Identity.prototype.toAsn1=function(e,t){e.startSequence(t);this.components.forEach(function(t){e.startSequence(p.Ber.Constructor|p.Ber.Set);e.startSequence();e.writeOID(t.oid);if(t.asn1type===p.Ber.Utf8String||t.value.match(g)){var i=d.from(t.value,"utf8");e.writeBuffer(i,p.Ber.Utf8String)}else if(t.asn1type===p.Ber.IA5String||t.value.match(b)){e.writeString(t.value,p.Ber.IA5String)}else{var n=p.Ber.PrintableString;if(t.asn1type!==undefined)n=t.asn1type;e.writeString(t.value,n)}e.endSequence();e.endSequence()});e.endSequence()};function globMatch(e,t){if(e==="**"||t==="**")return true;var i=e.split(".");var n=t.split(".");if(i.length!==n.length)return false;for(var r=0;r0){var s;if((s=/^,/.exec(r))!==null){t[++i]="";r=r.slice(s[0].length)}else if((s=/^\\,/.exec(r))!==null){t[i]+=",";r=r.slice(s[0].length)}else if((s=/^\\./.exec(r))!==null){t[i]+=s[0];r=r.slice(s[0].length)}else if((s=/^[^\\,]+/.exec(r))!==null){t[i]+=s[0];r=r.slice(s[0].length)}else{throw new Error("Failed to parse DN")}}var a=t.map(function(e){e=e.trim();var t=e.indexOf("=");while(t>0&&e.charAt(t-1)==="\\")t=e.indexOf("=",t+1);if(t===-1){throw new Error("Failed to parse DN")}var i=e.slice(0,t).toLowerCase().replace(/\\=/g,"=");var n=e.slice(t+1);return{name:i,value:n}});return new Identity({components:a})};Identity.fromArray=function(e){n.arrayOfObject(e,"components");e.forEach(function(e){n.object(e,"component");n.string(e.name,"component.name");if(!d.isBuffer(e.value)&&!(typeof e.value==="string")){throw new Error("Invalid component value")}});return new Identity({components:e})};Identity.parseAsn1=function(e,t){var i=[];e.readSequence(t);var n=e.offset+e.length;while(e.offset{var n=i(36814);var r=i(13079);var s=i(91394);var a=i(29602);var o=i(7406);var u=i(70508);var c=i(27979);e.exports={Key:n,parseKey:n.parse,Fingerprint:r,parseFingerprint:r.parse,Signature:s,parseSignature:s.parse,PrivateKey:a,parsePrivateKey:a.parse,generatePrivateKey:a.generate,Certificate:o,parseCertificate:o.parse,createSelfSignedCertificate:o.createSelfSigned,createCertificate:o.create,Identity:u,identityFromDN:u.parseDN,identityForHost:u.forHost,identityForUser:u.forUser,identityForEmail:u.forEmail,identityFromArray:u.fromArray,FingerprintFormatError:c.FingerprintFormatError,InvalidAlgorithmError:c.InvalidAlgorithmError,KeyParseError:c.KeyParseError,SignatureParseError:c.SignatureParseError,KeyEncryptedError:c.KeyEncryptedError,CertificateParseError:c.CertificateParseError}},36814:(e,t,i)=>{e.exports=Key;var n=i(66631);var r=i(66126);var s=i(76417);var a=i(13079);var o=i(91394);var u=i(57602).DiffieHellman;var c=i(27979);var l=i(80575);var p=i(29602);var d;try{d=i(14694)}catch(e){}var f=c.InvalidAlgorithmError;var h=c.KeyParseError;var m={};m["auto"]=i(8243);m["pem"]=i(14324);m["pkcs1"]=i(69367);m["pkcs8"]=i(4173);m["rfc4253"]=i(88688);m["ssh"]=i(68927);m["ssh-private"]=i(3923);m["openssh"]=m["ssh-private"];m["dnssec"]=i(63561);m["putty"]=i(80974);m["ppk"]=m["putty"];function Key(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");n.optionalString(e.comment,"options.comment");var t=r.info[e.type];if(typeof t!=="object")throw new f(e.type);var i={};for(var s=0;s1024)e="sha256";if(this.type==="ed25519")e="sha512";if(this.type==="ecdsa"){if(this.size<=256)e="sha256";else if(this.size<=384)e="sha384";else e="sha512"}return e};Key.prototype.createVerify=function(e){if(e===undefined)e=this.defaultHashAlgorithm();n.string(e,"hash algorithm");if(this.type==="ed25519"&&d!==undefined)return new d.Verifier(this,e);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var t,i,r;try{i=e.toUpperCase();t=s.createVerify(i)}catch(e){r=e}if(t===undefined||r instanceof Error&&r.message.match(/Unknown message digest/)){i="RSA-";i+=e.toUpperCase();t=s.createVerify(i)}n.ok(t,"failed to create verifier");var a=t.verify.bind(t);var u=this.toBuffer("pkcs8");var c=this.curve;var l=this;t.verify=function(t,i){if(o.isSignature(t,[2,0])){if(t.type!==l.type)return false;if(t.hashAlgorithm&&t.hashAlgorithm!==e)return false;if(t.curve&&l.type==="ecdsa"&&t.curve!==c)return false;return a(u,t.toBuffer("asn1"))}else if(typeof t==="string"||Buffer.isBuffer(t)){return a(u,t,i)}else if(o.isSignature(t,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}else{throw new TypeError("signature must be a string, "+"Buffer, or Signature object")}};return t};Key.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)};Key.prototype.createDH=Key.prototype.createDiffieHellman;Key.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var r=m[t].read(e,i);if(r instanceof p)r=r.toPublic();if(!r.comment)r.comment=i.filename;return r}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new h(i.filename,t,e)}};Key.isKey=function(e,t){return l.isCompatible(e,Key,t)};Key.prototype._sshpkApiVersion=[1,7];Key._oldVersionDetect=function(e){n.func(e.toBuffer);n.func(e.fingerprint);if(e.createDH)return[1,4];if(e.defaultHashAlgorithm)return[1,3];if(e.formats["auto"])return[1,2];if(e.formats["pkcs1"])return[1,1];return[1,0]}},29602:(e,t,i)=>{e.exports=PrivateKey;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(13079);var u=i(91394);var c=i(27979);var l=i(31669);var p=i(80575);var d=i(57602);var f=d.generateECDSA;var h=d.generateED25519;var m=i(14694);var b=i(68729);var g=i(36814);var y=c.InvalidAlgorithmError;var S=c.KeyParseError;var v=c.KeyEncryptedError;var w={};w["auto"]=i(8243);w["pem"]=i(14324);w["pkcs1"]=i(69367);w["pkcs8"]=i(4173);w["rfc4253"]=i(88688);w["ssh-private"]=i(3923);w["openssh"]=w["ssh-private"];w["ssh"]=w["ssh-private"];w["dnssec"]=i(63561);function PrivateKey(e){n.object(e,"options");g.call(this,e);this._pubCache=undefined}l.inherits(PrivateKey,g);PrivateKey.formats=w;PrivateKey.prototype.toBuffer=function(e,t){if(e===undefined)e="pkcs1";n.string(e,"format");n.object(w[e],"formats[format]");n.optionalObject(t,"options");return w[e].write(this,t)};PrivateKey.prototype.hash=function(e,t){return this.toPublic().hash(e,t)};PrivateKey.prototype.fingerprint=function(e,t){return this.toPublic().fingerprint(e,t)};PrivateKey.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;var e=s.info[this.type];var t=[];for(var i=0;i{e.exports=Signature;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(27979);var u=i(80575);var c=i(80970);var l=i(25621);var p=o.InvalidAlgorithmError;var d=o.SignatureParseError;function Signature(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");var t={};for(var i=0;i20&&s[0]===0)s=s.slice(1);a=this.part.s.data;if(a.length>20&&a[0]===0)a=a.slice(1);if(this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||s.length+a.length!==40){throw new Error("OpenSSH only supports "+"DSA signatures with SHA1 hash")}t.writeBuffer(r.concat([s,a]));return t.toBuffer()}else if(e==="ssh"&&this.type==="ecdsa"){var p=new l({});s=this.part.r.data;p.writeBuffer(s);p.writePart(this.part.s);t=new l({});var d;if(s[0]===0)s=s.slice(1);var f=s.length*8;if(f===256)d="nistp256";else if(f===384)d="nistp384";else if(f===528)d="nistp521";t.writeString("ecdsa-sha2-"+d);t.writeBuffer(p.toBuffer());return t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}};Signature.prototype.toString=function(e){n.optionalString(e,"format");return this.toBuffer(e).toString("base64")};Signature.parse=function(e,t,i){if(typeof e==="string")e=r.from(e,"base64");n.buffer(e,"data");n.string(i,"format");n.string(t,"type");var s={};s.type=t.toLowerCase();s.parts=[];try{n.ok(e.length>0,"signature must not be empty");switch(s.type){case"rsa":return parseOneNum(e,t,i,s);case"ed25519":return parseOneNum(e,t,i,s);case"dsa":case"ecdsa":if(i==="asn1")return parseDSAasn1(e,t,i,s);else if(s.type==="dsa")return parseDSA(e,t,i,s);else return parseECDSA(e,t,i,s);default:throw new p(t)}}catch(e){if(e instanceof p)throw e;throw new d(t,i,e)}};function parseOneNum(e,t,i,r){if(i==="ssh"){try{var s=new l({buffer:e});var a=s.readString()}catch(e){}if(s!==undefined){var o="SSH signature does not match expected "+"type (expected "+t+", got "+a+")";switch(a){case"ssh-rsa":n.strictEqual(t,"rsa",o);r.hashAlgo="sha1";break;case"rsa-sha2-256":n.strictEqual(t,"rsa",o);r.hashAlgo="sha256";break;case"rsa-sha2-512":n.strictEqual(t,"rsa",o);r.hashAlgo="sha512";break;case"ssh-ed25519":n.strictEqual(t,"ed25519",o);r.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature "+"type: "+a)}var u=s.readPart();n.ok(s.atEnd(),"extra trailing bytes");u.name="sig";r.parts.push(u);return new Signature(r)}}r.parts.push({name:"sig",data:e});return new Signature(r)}function parseDSAasn1(e,t,i,n){var r=new c.BerReader(e);r.readSequence();var s=r.readString(c.Ber.Integer,true);var a=r.readString(c.Ber.Integer,true);n.parts.push({name:"r",data:u.mpNormalize(s)});n.parts.push({name:"s",data:u.mpNormalize(a)});return new Signature(n)}function parseDSA(e,t,i,r){if(e.length!=40){var s=new l({buffer:e});var a=s.readBuffer();if(a.toString("ascii")==="ssh-dss")a=s.readBuffer();n.ok(s.atEnd(),"extra trailing bytes");n.strictEqual(a.length,40,"invalid inner length");e=a}r.parts.push({name:"r",data:e.slice(0,20)});r.parts.push({name:"s",data:e.slice(20,40)});return new Signature(r)}function parseECDSA(e,t,i,r){var s=new l({buffer:e});var a,o;var u=s.readBuffer();var c=u.toString("ascii");if(c.slice(0,6)==="ecdsa-"){var p=c.split("-");n.strictEqual(p[0],"ecdsa");n.strictEqual(p[1],"sha2");r.curve=p[2];switch(r.curve){case"nistp256":r.hashAlgo="sha256";break;case"nistp384":r.hashAlgo="sha384";break;case"nistp521":r.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+r.curve)}u=s.readBuffer();n.ok(s.atEnd(),"extra trailing bytes on outer");s=new l({buffer:u});a=s.readPart()}else{a={data:u}}o=s.readPart();n.ok(s.atEnd(),"extra trailing bytes");a.name="r";o.name="s";r.parts.push(a);r.parts.push(o);return new Signature(r)}Signature.isSignature=function(e,t){return u.isCompatible(e,Signature,t)};Signature.prototype._sshpkApiVersion=[2,1];Signature._oldVersionDetect=function(e){n.func(e.toBuffer);if(e.hasOwnProperty("hashAlgorithm"))return[2,0];return[1,0]}},25621:(e,t,i)=>{e.exports=SSHBuffer;var n=i(66631);var r=i(15118).Buffer;function SSHBuffer(e){n.object(e,"options");if(e.buffer!==undefined)n.buffer(e.buffer,"options.buffer");this._size=e.buffer?e.buffer.length:1024;this._buffer=e.buffer||r.alloc(this._size);this._offset=0}SSHBuffer.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)};SSHBuffer.prototype.atEnd=function(){return this._offset>=this._buffer.length};SSHBuffer.prototype.remainder=function(){return this._buffer.slice(this._offset)};SSHBuffer.prototype.skip=function(e){this._offset+=e};SSHBuffer.prototype.expand=function(){this._size*=2;var e=r.alloc(this._size);this._buffer.copy(e,0);this._buffer=e};SSHBuffer.prototype.readPart=function(){return{data:this.readBuffer()}};SSHBuffer.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4;n.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);this._offset+=e;return t};SSHBuffer.prototype.readString=function(){return this.readBuffer().toString()};SSHBuffer.prototype.readCString=function(){var e=this._offset;while(ethis._size)this.expand();this._buffer.writeUInt32BE(e.length,this._offset);this._offset+=4;e.copy(this._buffer,this._offset);this._offset+=e.length};SSHBuffer.prototype.writeString=function(e){this.writeBuffer(r.from(e,"utf8"))};SSHBuffer.prototype.writeCString=function(e){while(this._offset+1+e.length>this._size)this.expand();this._buffer.write(e,this._offset);this._offset+=e.length;this._buffer[this._offset++]=0};SSHBuffer.prototype.writeInt=function(e){while(this._offset+4>this._size)this.expand();this._buffer.writeUInt32BE(e,this._offset);this._offset+=4};SSHBuffer.prototype.writeInt64=function(e){n.buffer(e,"value");if(e.length>8){var t=e.slice(0,e.length-8);for(var i=0;ithis._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=8};SSHBuffer.prototype.writeChar=function(e){while(this._offset+1>this._size)this.expand();this._buffer[this._offset++]=e};SSHBuffer.prototype.writePart=function(e){this.writeBuffer(e.data)};SSHBuffer.prototype.write=function(e){while(this._offset+e.length>this._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=e.length}},80575:(e,t,i)=>{e.exports={bufferSplit:bufferSplit,addRSAMissing:addRSAMissing,calculateDSAPublic:calculateDSAPublic,calculateED25519Public:calculateED25519Public,calculateX25519Public:calculateX25519Public,mpNormalize:mpNormalize,mpDenormalize:mpDenormalize,ecNormalize:ecNormalize,countZeros:countZeros,assertCompatible:assertCompatible,isCompatible:isCompatible,opensslKeyDeriv:opensslKeyDeriv,opensshCipherInfo:opensshCipherInfo,publicFromPrivateECDSA:publicFromPrivateECDSA,zeroPadToLength:zeroPadToLength,writeBitString:writeBitString,readBitString:readBitString,pbkdf2:pbkdf2};var n=i(66631);var r=i(15118).Buffer;var s=i(29602);var a=i(36814);var o=i(76417);var u=i(66126);var c=i(80970);var l=i(3943);var p=i(85587).BigInteger;var d=i(68729);var f=3;function isCompatible(e,t,i){if(e===null||typeof e!=="object")return false;if(i===undefined)i=t.prototype._sshpkApiVersion;if(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])return true;var n=Object.getPrototypeOf(e);var r=0;while(n.constructor.name!==t.name){n=Object.getPrototypeOf(n);if(!n||++r>f)return false}if(n.constructor.name!==t.name)return false;var s=n._sshpkApiVersion;if(s===undefined)s=t._oldVersionDetect(e);if(s[0]!=i[0]||s[1]=i[1],r+" must be compatible with "+t.name+" klass "+"version "+i[0]+"."+i[1])}var h={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};var m=8;function opensslKeyDeriv(e,t,i,s){n.buffer(t,"salt");n.buffer(i,"passphrase");n.number(s,"iteration count");var a=h[e];n.object(a,"supported cipher");t=t.slice(0,m);var u,c,l;var p=r.alloc(0);while(p.length=t.length){var o=a+1;i.push(e.slice(r,o-s));r=o;s=0}}if(r<=e.length)i.push(e.slice(r,e.length));return i}function ecNormalize(e,t){n.buffer(e);if(e[0]===0&&e[1]===4){if(t)return e;return e.slice(1)}else if(e[0]===4){if(!t)return e}else{while(e[0]===0)e=e.slice(1);if(e[0]===2||e[0]===3)throw new Error("Compressed elliptic curve points "+"are not supported");if(e[0]!==4)throw new Error("Not a valid elliptic curve point");if(!t)return e}var i=r.alloc(e.length+1);i[0]=0;e.copy(i,1);return i}function readBitString(e,t){if(t===undefined)t=c.Ber.BitString;var i=e.readString(t,true);n.strictEqual(i[0],0,"bit strings with unused bits are "+"not supported (0x"+i[0].toString(16)+")");return i.slice(1)}function writeBitString(e,t,i){if(i===undefined)i=c.Ber.BitString;var n=r.alloc(t.length+1);n[0]=0;t.copy(n,1);e.writeBuffer(n,i)}function mpNormalize(e){n.buffer(e);while(e.length>1&&e[0]===0&&(e[1]&128)===0)e=e.slice(1);if((e[0]&128)===128){var t=r.alloc(e.length+1);t[0]=0;e.copy(t,1);e=t}return e}function mpDenormalize(e){n.buffer(e);while(e.length>1&&e[0]===0)e=e.slice(1);return e}function zeroPadToLength(e,t){n.buffer(e);n.number(t);while(e.length>t){n.equal(e[0],0);e=e.slice(1)}while(e.length{"use strict";e.exports={DEFAULT_INITIAL_SIZE:8*1024,DEFAULT_INCREMENT_AMOUNT:8*1024,DEFAULT_FREQUENCY:1,DEFAULT_CHUNK_SIZE:1024}},18838:(e,t,i)=>{"use strict";var n=i(92413);var r=i(2619);var s=i(31669);var a=e.exports=function(e){var t=this;e=e||{};n.Readable.call(this,e);this.stopped=false;var i=e.hasOwnProperty("frequency")?e.frequency:r.DEFAULT_FREQUENCY;var s=e.chunkSize||r.DEFAULT_CHUNK_SIZE;var a=e.initialSize||r.DEFAULT_INITIAL_SIZE;var o=e.incrementAmount||r.DEFAULT_INCREMENT_AMOUNT;var u=0;var c=new Buffer(a);var l=false;var p=function(){var e=Math.min(s,u);var n=false;if(e>0){var r=null;r=new Buffer(e);c.copy(r,0,0,e);n=t.push(r)!==false;l=n;c.copy(c,0,e,u);u-=e}if(u===0&&t.stopped){t.push(null)}if(n){p.timeout=setTimeout(p,i)}else{p.timeout=null}};this.stop=function(){if(this.stopped){throw new Error("stop() called on already stopped ReadableStreamBuffer")}this.stopped=true;if(u===0){this.push(null)}};this.size=function(){return u};this.maxSize=function(){return c.length};var d=function(e){if(c.length-u{"use strict";e.exports=i(2619);e.exports.ReadableStreamBuffer=i(18838);e.exports.WritableStreamBuffer=i(86055)},86055:(e,t,i)=>{"use strict";var n=i(31669);var r=i(92413);var s=i(2619);var a=e.exports=function(e){e=e||{};e.decodeStrings=true;r.Writable.call(this,e);var t=e.initialSize||s.DEFAULT_INITIAL_SIZE;var i=e.incrementAmount||s.DEFAULT_INCREMENT_AMOUNT;var n=new Buffer(t);var a=0;this.size=function(){return a};this.maxSize=function(){return n.length};this.getContents=function(e){if(!a)return false;var t=new Buffer(Math.min(e||a,a));n.copy(t,0,0,t.length);if(t.length{"use strict";e.exports=function(e){var t=typeof e==="string"?"\n":"\n".charCodeAt();var i=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===t){e=e.slice(0,e.length-1)}if(e[e.length-1]===i){e=e.slice(0,e.length-1)}return e}},74674:(e,t,i)=>{"use strict";t.c=t.create=i(44016);t.r=t.replace=i(45923);t.t=t.list=i(51525);t.u=t.update=i(94404);t.x=t.extract=i(75317);t.Pack=i(7900);t.Unpack=i(17628);t.Parse=i(68917);t.ReadEntry=i(38116);t.WriteEntry=i(55450);t.Header=i(66043);t.Pax=i(77996);t.types=i(24173)},44016:(e,t,i)=>{"use strict";const n=i(95274);const r=i(7900);const s=i(27714);const a=i(51525);const o=i(85622);e.exports=((e,t,i)=>{if(typeof t==="function")i=t;if(Array.isArray(e))t=e,e={};if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");return r.file&&r.sync?u(r,t):r.file?c(r,t,i):r.sync?d(r,t):f(r,t)});const u=(e,t)=>{const i=new r.Sync(e);const n=new s.WriteStreamSync(e.file,{mode:e.mode||438});i.pipe(n);l(i,t)};const c=(e,t,i)=>{const n=new r(e);const a=new s.WriteStream(e.file,{mode:e.mode||438});n.pipe(a);const o=new Promise((e,t)=>{a.on("error",t);a.on("close",e);n.on("error",t)});p(n,t);return i?o.then(i,i):o};const l=(e,t)=>{t.forEach(t=>{if(t.charAt(0)==="@"){a({file:o.resolve(e.cwd,t.substr(1)),sync:true,noResume:true,onentry:t=>e.add(t)})}else e.add(t)});e.end()};const p=(e,t)=>{while(t.length){const i=t.shift();if(i.charAt(0)==="@"){return a({file:o.resolve(e.cwd,i.substr(1)),noResume:true,onentry:t=>e.add(t)}).then(i=>p(e,t))}else e.add(i)}e.end()};const d=(e,t)=>{const i=new r.Sync(e);l(i,t);return i};const f=(e,t)=>{const i=new r(e);p(i,t);return i}},75317:(e,t,i)=>{"use strict";const n=i(95274);const r=i(17628);const s=i(35747);const a=i(27714);const o=i(85622);e.exports=((e,t,i)=>{if(typeof e==="function")i=e,t=null,e={};else if(Array.isArray(e))t=e,e={};if(typeof t==="function")i=t,t=null;if(!t)t=[];else t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");if(t.length)u(r,t);return r.file&&r.sync?c(r):r.file?l(r,i):r.sync?p(r):d(r)});const u=(e,t)=>{const i=new Map(t.map(e=>[e.replace(/\/+$/,""),true]));const n=e.filter;const r=(e,t)=>{const n=t||o.parse(e).root||".";const s=e===n?false:i.has(e)?i.get(e):r(o.dirname(e),n);i.set(e,s);return s};e.filter=n?(e,t)=>n(e,t)&&r(e.replace(/\/+$/,"")):e=>r(e.replace(/\/+$/,""))};const c=e=>{const t=new r.Sync(e);const i=e.file;const n=s.statSync(i);const o=e.maxReadSize||16*1024*1024;const u=new a.ReadStreamSync(i,{readSize:o,size:n.size});u.pipe(t)};const l=(e,t)=>{const i=new r(e);const n=e.maxReadSize||16*1024*1024;const o=e.file;const u=new Promise((e,t)=>{i.on("error",t);i.on("close",e);s.stat(o,(e,r)=>{if(e)t(e);else{const e=new a.ReadStream(o,{readSize:n,size:r.size});e.on("error",t);e.pipe(i)}})});return t?u.then(t,t):u};const p=e=>new r.Sync(e);const d=e=>new r(e)},91172:(e,t,i)=>{const n=process.env.__FAKE_PLATFORM__||process.platform;const r=n==="win32";const s=global.__FAKE_TESTING_FS__||i(35747);const{O_CREAT:a,O_TRUNC:o,O_WRONLY:u,UV_FS_O_FILEMAP:c=0}=s.constants;const l=r&&!!c;const p=512*1024;const d=c|o|a|u;e.exports=!l?()=>"w":e=>e{"use strict";const n=i(24173);const r=i(85622).posix;const s=i(52370);const a=Symbol("slurp");const o=Symbol("type");class Header{constructor(e,t,i,n){this.cksumValid=false;this.needPax=false;this.nullBlock=false;this.block=null;this.path=null;this.mode=null;this.uid=null;this.gid=null;this.size=null;this.mtime=null;this.cksum=null;this[o]="0";this.linkpath=null;this.uname=null;this.gname=null;this.devmaj=0;this.devmin=0;this.atime=null;this.ctime=null;if(Buffer.isBuffer(e))this.decode(e,t||0,i,n);else if(e)this.set(e)}decode(e,t,i,n){if(!t)t=0;if(!e||!(e.length>=t+512))throw new Error("need 512 bytes for header");this.path=c(e,t,100);this.mode=d(e,t+100,8);this.uid=d(e,t+108,8);this.gid=d(e,t+116,8);this.size=d(e,t+124,12);this.mtime=l(e,t+136,12);this.cksum=d(e,t+148,12);this[a](i);this[a](n,true);this[o]=c(e,t+156,1);if(this[o]==="")this[o]="0";if(this[o]==="0"&&this.path.substr(-1)==="/")this[o]="5";if(this[o]==="5")this.size=0;this.linkpath=c(e,t+157,100);if(e.slice(t+257,t+265).toString()==="ustar\x0000"){this.uname=c(e,t+265,32);this.gname=c(e,t+297,32);this.devmaj=d(e,t+329,8);this.devmin=d(e,t+337,8);if(e[t+475]!==0){const i=c(e,t+345,155);this.path=i+"/"+this.path}else{const i=c(e,t+345,130);if(i)this.path=i+"/"+this.path;this.atime=l(e,t+476,12);this.ctime=l(e,t+488,12)}}let r=8*32;for(let i=t;i=t+512))throw new Error("need 512 bytes for header");const i=this.ctime||this.atime?130:155;const n=u(this.path||"",i);const r=n[0];const s=n[1];this.needPax=n[2];this.needPax=j(e,t,100,r)||this.needPax;this.needPax=b(e,t+100,8,this.mode)||this.needPax;this.needPax=b(e,t+108,8,this.uid)||this.needPax;this.needPax=b(e,t+116,8,this.gid)||this.needPax;this.needPax=b(e,t+124,12,this.size)||this.needPax;this.needPax=v(e,t+136,12,this.mtime)||this.needPax;e[t+156]=this[o].charCodeAt(0);this.needPax=j(e,t+157,100,this.linkpath)||this.needPax;e.write("ustar\x0000",t+257,8);this.needPax=j(e,t+265,32,this.uname)||this.needPax;this.needPax=j(e,t+297,32,this.gname)||this.needPax;this.needPax=b(e,t+329,8,this.devmaj)||this.needPax;this.needPax=b(e,t+337,8,this.devmin)||this.needPax;this.needPax=j(e,t+345,i,s)||this.needPax;if(e[t+475]!==0)this.needPax=j(e,t+345,155,s)||this.needPax;else{this.needPax=j(e,t+345,130,s)||this.needPax;this.needPax=v(e,t+476,12,this.atime)||this.needPax;this.needPax=v(e,t+488,12,this.ctime)||this.needPax}let a=8*32;for(let i=t;i{const i=100;let n=e;let s="";let a;const o=r.parse(e).root||".";if(Buffer.byteLength(n)i&&Buffer.byteLength(s)<=t)a=[n.substr(0,i-1),s,true];else{n=r.join(r.basename(s),n);s=r.dirname(s)}}while(s!==o&&!a);if(!a)a=[e.substr(0,i-1),"",true]}return a};const c=(e,t,i)=>e.slice(t,t+i).toString("utf8").replace(/\0.*/,"");const l=(e,t,i)=>p(d(e,t,i));const p=e=>e===null?null:new Date(e*1e3);const d=(e,t,i)=>e[t]&128?s.parse(e.slice(t,t+i)):h(e,t,i);const f=e=>isNaN(e)?null:e;const h=(e,t,i)=>f(parseInt(e.slice(t,t+i).toString("utf8").replace(/\0.*$/,"").trim(),8));const m={12:8589934591,8:2097151};const b=(e,t,i,n)=>n===null?false:n>m[i]||n<0?(s.encode(n,e.slice(t,t+i)),true):(g(e,t,i,n),false);const g=(e,t,i,n)=>e.write(y(n,i),t,i,"ascii");const y=(e,t)=>S(Math.floor(e).toString(8),t);const S=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0";const v=(e,t,i,n)=>n===null?false:b(e,t,i,n.getTime()/1e3);const w=new Array(156).join("\0");const j=(e,t,i,n)=>n===null?false:(e.write(n+w,t,i,"utf8"),n.length!==Buffer.byteLength(n)||n.length>i);e.exports=Header},95274:e=>{"use strict";const t=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);e.exports=(e=>e?Object.keys(e).map(i=>[t.has(i)?t.get(i):i,e[i]]).reduce((e,t)=>(e[t[0]]=t[1],e),Object.create(null)):{})},52370:e=>{"use strict";const t=(e,t)=>{if(!Number.isSafeInteger(e))throw Error("cannot encode number outside of javascript safe integer range");else if(e<0)n(e,t);else i(e,t);return t};const i=(e,t)=>{t[0]=128;for(var i=t.length;i>1;i--){t[i-1]=e&255;e=Math.floor(e/256)}};const n=(e,t)=>{t[0]=255;var i=false;e=e*-1;for(var n=t.length;n>1;n--){var r=e&255;e=Math.floor(e/256);if(i)t[n-1]=o(r);else if(r===0)t[n-1]=0;else{i=true;t[n-1]=u(r)}}};const r=e=>{const t=e[0];const i=t===128?a(e.slice(1,e.length)):t===255?s(e):null;if(i===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(i))throw Error("parsed number outside of javascript safe integer range");return i};const s=e=>{var t=e.length;var i=0;var n=false;for(var r=t-1;r>-1;r--){var s=e[r];var a;if(n)a=o(s);else if(s===0)a=s;else{n=true;a=u(s)}if(a!==0)i-=a*Math.pow(256,t-r-1)}return i};const a=e=>{var t=e.length;var i=0;for(var n=t-1;n>-1;n--){var r=e[n];if(r!==0)i+=r*Math.pow(256,t-n-1)}return i};const o=e=>(255^e)&255;const u=e=>(255^e)+1&255;e.exports={encode:t,parse:r}},51525:(e,t,i)=>{"use strict";const n=i(95274);const r=i(68917);const s=i(35747);const a=i(27714);const o=i(85622);e.exports=((e,t,i)=>{if(typeof e==="function")i=e,t=null,e={};else if(Array.isArray(e))t=e,e={};if(typeof t==="function")i=t,t=null;if(!t)t=[];else t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");if(t.length)c(r,t);if(!r.noResume)u(r);return r.file&&r.sync?l(r):r.file?p(r,i):d(r)});const u=e=>{const t=e.onentry;e.onentry=t?e=>{t(e);e.resume()}:e=>e.resume()};const c=(e,t)=>{const i=new Map(t.map(e=>[e.replace(/\/+$/,""),true]));const n=e.filter;const r=(e,t)=>{const n=t||o.parse(e).root||".";const s=e===n?false:i.has(e)?i.get(e):r(o.dirname(e),n);i.set(e,s);return s};e.filter=n?(e,t)=>n(e,t)&&r(e.replace(/\/+$/,"")):e=>r(e.replace(/\/+$/,""))};const l=e=>{const t=d(e);const i=e.file;let n=true;let r;try{const a=s.statSync(i);const o=e.maxReadSize||16*1024*1024;if(a.size{const i=new r(e);const n=e.maxReadSize||16*1024*1024;const o=e.file;const u=new Promise((e,t)=>{i.on("error",t);i.on("end",e);s.stat(o,(e,r)=>{if(e)t(e);else{const e=new a.ReadStream(o,{readSize:n,size:r.size});e.on("error",t);e.pipe(i)}})});return t?u.then(t,t):u};const d=e=>new r(e)},69624:(e,t,i)=>{"use strict";const n=i(66186);const r=i(35747);const s=i(85622);const a=i(59051);class SymlinkError extends Error{constructor(e,t){super("Cannot extract through symbolic link");this.path=t;this.symlink=e}get name(){return"SylinkError"}}class CwdError extends Error{constructor(e,t){super(t+": Cannot cd into '"+e+"'");this.path=e;this.code=t}get name(){return"CwdError"}}e.exports=((e,t,i)=>{const u=t.umask;const c=t.mode|448;const l=(c&u)!==0;const p=t.uid;const d=t.gid;const f=typeof p==="number"&&typeof d==="number"&&(p!==t.processUid||d!==t.processGid);const h=t.preserve;const m=t.unlink;const b=t.cache;const g=t.cwd;const y=(t,n)=>{if(t)i(t);else{b.set(e,true);if(n&&f)a(n,p,d,e=>y(e));else if(l)r.chmod(e,c,i);else i()}};if(b&&b.get(e)===true)return y();if(e===g){return r.stat(e,(t,i)=>{if(t||!i.isDirectory())t=new CwdError(e,t&&t.code||"ENOTDIR");y(t)})}if(h)return n(e,{mode:c}).then(e=>y(null,e),y);const S=s.relative(g,e);const v=S.split(/\/|\\/);o(g,v,c,b,m,g,null,y)});const o=(e,t,i,n,s,a,c,l)=>{if(!t.length)return l(null,c);const p=t.shift();const d=e+"/"+p;if(n.get(d))return o(d,t,i,n,s,a,c,l);r.mkdir(d,i,u(d,t,i,n,s,a,c,l))};const u=(e,t,i,n,a,c,l,p)=>d=>{if(d){if(d.path&&s.dirname(d.path)===c&&(d.code==="ENOTDIR"||d.code==="ENOENT"))return p(new CwdError(c,d.code));r.lstat(e,(s,f)=>{if(s)p(s);else if(f.isDirectory())o(e,t,i,n,a,c,l,p);else if(a){r.unlink(e,s=>{if(s)return p(s);r.mkdir(e,i,u(e,t,i,n,a,c,l,p))})}else if(f.isSymbolicLink())return p(new SymlinkError(e,e+"/"+t.join("/")));else p(d)})}else{l=l||e;o(e,t,i,n,a,c,l,p)}};e.exports.sync=((e,t)=>{const i=t.umask;const o=t.mode|448;const u=(o&i)!==0;const c=t.uid;const l=t.gid;const p=typeof c==="number"&&typeof l==="number"&&(c!==t.processUid||l!==t.processGid);const d=t.preserve;const f=t.unlink;const h=t.cache;const m=t.cwd;const b=t=>{h.set(e,true);if(t&&p)a.sync(t,c,l);if(u)r.chmodSync(e,o)};if(h&&h.get(e)===true)return b();if(e===m){let t=false;let i="ENOTDIR";try{t=r.statSync(e).isDirectory()}catch(e){i=e.code}finally{if(!t)throw new CwdError(e,i)}b();return}if(d)return b(n.sync(e,o));const g=s.relative(m,e);const y=g.split(/\/|\\/);let S=null;for(let e=y.shift(),t=m;e&&(t+="/"+e);e=y.shift()){if(h.get(t))continue;try{r.mkdirSync(t,o);S=S||t;h.set(t,true)}catch(e){if(e.path&&s.dirname(e.path)===m&&(e.code==="ENOTDIR"||e.code==="ENOENT"))return new CwdError(m,e.code);const i=r.lstatSync(t);if(i.isDirectory()){h.set(t,true);continue}else if(f){r.unlinkSync(t);r.mkdirSync(t,o);S=S||t;h.set(t,true);continue}else if(i.isSymbolicLink())return new SymlinkError(t,t+"/"+y.join("/"))}}return b(S)})},88371:e=>{"use strict";e.exports=((e,t,i)=>{e&=4095;if(i)e=(e|384)&~18;if(t){if(e&256)e|=64;if(e&32)e|=8;if(e&4)e|=1}return e})},7900:(e,t,i)=>{"use strict";class PackJob{constructor(e,t){this.path=e||"./";this.absolute=t;this.entry=null;this.stat=null;this.readdir=null;this.pending=false;this.ignore=false;this.piped=false}}const n=i(41077);const r=i(33486);const s=i(38116);const a=i(55450);const o=a.Sync;const u=a.Tar;const c=i(40665);const l=Buffer.alloc(1024);const p=Symbol("onStat");const d=Symbol("ended");const f=Symbol("queue");const h=Symbol("current");const m=Symbol("process");const b=Symbol("processing");const g=Symbol("processJob");const y=Symbol("jobs");const S=Symbol("jobDone");const v=Symbol("addFSEntry");const w=Symbol("addTarEntry");const j=Symbol("stat");const z=Symbol("readdir");const O=Symbol("onreaddir");const k=Symbol("pipe");const C=Symbol("entry");const T=Symbol("entryOpt");const _=Symbol("writeEntryClass");const A=Symbol("write");const E=Symbol("ondrain");const R=i(35747);const x=i(85622);const N=i(85899);const V=N(class Pack extends n{constructor(e){super(e);e=e||Object.create(null);this.opt=e;this.file=e.file||"";this.cwd=e.cwd||process.cwd();this.maxReadSize=e.maxReadSize;this.preservePaths=!!e.preservePaths;this.strict=!!e.strict;this.noPax=!!e.noPax;this.prefix=(e.prefix||"").replace(/(\\|\/)+$/,"");this.linkCache=e.linkCache||new Map;this.statCache=e.statCache||new Map;this.readdirCache=e.readdirCache||new Map;this[_]=a;if(typeof e.onwarn==="function")this.on("warn",e.onwarn);this.portable=!!e.portable;this.zip=null;if(e.gzip){if(typeof e.gzip!=="object")e.gzip={};if(this.portable)e.gzip.portable=true;this.zip=new r.Gzip(e.gzip);this.zip.on("data",e=>super.write(e));this.zip.on("end",e=>super.end());this.zip.on("drain",e=>this[E]());this.on("resume",e=>this.zip.resume())}else this.on("drain",this[E]);this.noDirRecurse=!!e.noDirRecurse;this.follow=!!e.follow;this.noMtime=!!e.noMtime;this.mtime=e.mtime||null;this.filter=typeof e.filter==="function"?e.filter:e=>true;this[f]=new c;this[y]=0;this.jobs=+e.jobs||4;this[b]=false;this[d]=false}[A](e){return super.write(e)}add(e){this.write(e);return this}end(e){if(e)this.write(e);this[d]=true;this[m]();return this}write(e){if(this[d])throw new Error("write after end");if(e instanceof s)this[w](e);else this[v](e);return this.flowing}[w](e){const t=x.resolve(this.cwd,e.path);if(this.prefix)e.path=this.prefix+"/"+e.path.replace(/^\.(\/+|$)/,"");if(!this.filter(e.path,e))e.resume();else{const i=new PackJob(e.path,t,false);i.entry=new u(e,this[T](i));i.entry.on("end",e=>this[S](i));this[y]+=1;this[f].push(i)}this[m]()}[v](e){const t=x.resolve(this.cwd,e);if(this.prefix)e=this.prefix+"/"+e.replace(/^\.(\/+|$)/,"");this[f].push(new PackJob(e,t));this[m]()}[j](e){e.pending=true;this[y]+=1;const t=this.follow?"stat":"lstat";R[t](e.absolute,(t,i)=>{e.pending=false;this[y]-=1;if(t)this.emit("error",t);else this[p](e,i)})}[p](e,t){this.statCache.set(e.absolute,t);e.stat=t;if(!this.filter(e.path,t))e.ignore=true;this[m]()}[z](e){e.pending=true;this[y]+=1;R.readdir(e.absolute,(t,i)=>{e.pending=false;this[y]-=1;if(t)return this.emit("error",t);this[O](e,i)})}[O](e,t){this.readdirCache.set(e.absolute,t);e.readdir=t;this[m]()}[m](){if(this[b])return;this[b]=true;for(let e=this[f].head;e!==null&&this[y]this.warn(e,t,i),noPax:this.noPax,cwd:this.cwd,absolute:e.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime}}[C](e){this[y]+=1;try{return new this[_](e.path,this[T](e)).on("end",()=>this[S](e)).on("error",e=>this.emit("error",e))}catch(e){this.emit("error",e)}}[E](){if(this[h]&&this[h].entry)this[h].entry.resume()}[k](e){e.piped=true;if(e.readdir){e.readdir.forEach(t=>{const i=this.prefix?e.path.slice(this.prefix.length+1)||"./":e.path;const n=i==="./"?"":i.replace(/\/*$/,"/");this[v](n+t)})}const t=e.entry;const i=this.zip;if(i){t.on("data",e=>{if(!i.write(e))t.pause()})}else{t.on("data",e=>{if(!super.write(e))t.pause()})}}pause(){if(this.zip)this.zip.pause();return super.pause()}});class PackSync extends V{constructor(e){super(e);this[_]=o}pause(){}resume(){}[j](e){const t=this.follow?"statSync":"lstatSync";this[p](e,R[t](e.absolute))}[z](e,t){this[O](e,R.readdirSync(e.absolute))}[k](e){const t=e.entry;const i=this.zip;if(e.readdir){e.readdir.forEach(t=>{const i=this.prefix?e.path.slice(this.prefix.length+1)||"./":e.path;const n=i==="./"?"":i.replace(/\/*$/,"/");this[v](n+t)})}if(i){t.on("data",e=>{i.write(e)})}else{t.on("data",e=>{super[A](e)})}}}V.Sync=PackSync;e.exports=V},68917:(e,t,i)=>{"use strict";const n=i(85899);const r=i(66043);const s=i(28614);const a=i(40665);const o=1024*1024;const u=i(38116);const c=i(77996);const l=i(33486);const p=Buffer.from([31,139]);const d=Symbol("state");const f=Symbol("writeEntry");const h=Symbol("readEntry");const m=Symbol("nextEntry");const b=Symbol("processEntry");const g=Symbol("extendedHeader");const y=Symbol("globalExtendedHeader");const S=Symbol("meta");const v=Symbol("emitMeta");const w=Symbol("buffer");const j=Symbol("queue");const z=Symbol("ended");const O=Symbol("emittedEnd");const k=Symbol("emit");const C=Symbol("unzip");const T=Symbol("consumeChunk");const _=Symbol("consumeChunkSub");const A=Symbol("consumeBody");const E=Symbol("consumeMeta");const R=Symbol("consumeHeader");const x=Symbol("consuming");const N=Symbol("bufferConcat");const V=Symbol("maybeEnd");const P=Symbol("writing");const M=Symbol("aborted");const B=Symbol("onDone");const I=Symbol("sawValidEntry");const D=Symbol("sawNullBlock");const q=Symbol("sawEOF");const L=e=>true;e.exports=n(class Parser extends s{constructor(e){e=e||{};super(e);this.file=e.file||"";this[I]=null;this.on(B,e=>{if(this[d]==="begin"||this[I]===false){this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}});if(e.ondone)this.on(B,e.ondone);else{this.on(B,e=>{this.emit("prefinish");this.emit("finish");this.emit("end");this.emit("close")})}this.strict=!!e.strict;this.maxMetaEntrySize=e.maxMetaEntrySize||o;this.filter=typeof e.filter==="function"?e.filter:L;this.writable=true;this.readable=false;this[j]=new a;this[w]=null;this[h]=null;this[f]=null;this[d]="begin";this[S]="";this[g]=null;this[y]=null;this[z]=false;this[C]=null;this[M]=false;this[D]=false;this[q]=false;if(typeof e.onwarn==="function")this.on("warn",e.onwarn);if(typeof e.onentry==="function")this.on("entry",e.onentry)}[R](e,t){if(this[I]===null)this[I]=false;let i;try{i=new r(e,t,this[g],this[y])}catch(e){return this.warn("TAR_ENTRY_INVALID",e)}if(i.nullBlock){if(this[D]){this[q]=true;if(this[d]==="begin")this[d]="header";this[k]("eof")}else{this[D]=true;this[k]("nullBlock")}}else{this[D]=false;if(!i.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:i});else if(!i.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:i});else{const e=i.type;if(/^(Symbolic)?Link$/.test(e)&&!i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:i});else if(!/^(Symbolic)?Link$/.test(e)&&i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:i});else{const e=this[f]=new u(i,this[g],this[y]);if(!this[I]){if(e.remain){const t=()=>{if(!e.invalid)this[I]=true};e.on("end",t)}else this[I]=true}if(e.meta){if(e.size>this.maxMetaEntrySize){e.ignore=true;this[k]("ignoredEntry",e);this[d]="ignore";e.resume()}else if(e.size>0){this[S]="";e.on("data",e=>this[S]+=e);this[d]="meta"}}else{this[g]=null;e.ignore=e.ignore||!this.filter(e.path,e);if(e.ignore){this[k]("ignoredEntry",e);this[d]=e.remain?"ignore":"header";e.resume()}else{if(e.remain)this[d]="body";else{this[d]="header";e.end()}if(!this[h]){this[j].push(e);this[m]()}else this[j].push(e)}}}}}}[b](e){let t=true;if(!e){this[h]=null;t=false}else if(Array.isArray(e))this.emit.apply(this,e);else{this[h]=e;this.emit("entry",e);if(!e.emittedEnd){e.on("end",e=>this[m]());t=false}}return t}[m](){do{}while(this[b](this[j].shift()));if(!this[j].length){const e=this[h];const t=!e||e.flowing||e.size===e.remain;if(t){if(!this[P])this.emit("drain")}else e.once("drain",e=>this.emit("drain"))}}[A](e,t){const i=this[f];const n=i.blockRemain;const r=n>=e.length&&t===0?e:e.slice(t,t+n);i.write(r);if(!i.blockRemain){this[d]="header";this[f]=null;i.end()}return r.length}[E](e,t){const i=this[f];const n=this[A](e,t);if(!this[f])this[v](i);return n}[k](e,t,i){if(!this[j].length&&!this[h])this.emit(e,t,i);else this[j].push([e,t,i])}[v](e){this[k]("meta",this[S]);switch(e.type){case"ExtendedHeader":case"OldExtendedHeader":this[g]=c.parse(this[S],this[g],false);break;case"GlobalExtendedHeader":this[y]=c.parse(this[S],this[y],true);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[g]=this[g]||Object.create(null);this[g].path=this[S].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[g]=this[g]||Object.create(null);this[g].linkpath=this[S].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+e.type)}}abort(e){this[M]=true;this.emit("abort",e);this.warn("TAR_ABORT",e,{recoverable:false})}write(e){if(this[M])return;if(this[C]===null&&e){if(this[w]){e=Buffer.concat([this[w],e]);this[w]=null}if(e.lengththis[T](e));this[C].on("error",e=>this.abort(e));this[C].on("end",e=>{this[z]=true;this[T]()});this[P]=true;const i=this[C][t?"end":"write"](e);this[P]=false;return i}}this[P]=true;if(this[C])this[C].write(e);else this[T](e);this[P]=false;const t=this[j].length?false:this[h]?this[h].flowing:true;if(!t&&!this[j].length)this[h].once("drain",e=>this.emit("drain"));return t}[N](e){if(e&&!this[M])this[w]=this[w]?Buffer.concat([this[w],e]):e}[V](){if(this[z]&&!this[O]&&!this[M]&&!this[x]){this[O]=true;const e=this[f];if(e&&e.blockRemain){const t=this[w]?this[w].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${e.blockRemain} more bytes, only ${t} available)`,{entry:e});if(this[w])e.write(this[w]);e.end()}this[k](B)}}[T](e){if(this[x])this[N](e);else if(!e&&!this[w])this[V]();else{this[x]=true;if(this[w]){this[N](e);const t=this[w];this[w]=null;this[_](t)}else this[_](e);while(this[w]&&this[w].length>=512&&!this[M]&&!this[q]){const e=this[w];this[w]=null;this[_](e)}this[x]=false}if(!this[w]||this[z])this[V]()}[_](e){let t=0;const i=e.length;while(t+512<=i&&!this[M]&&!this[q]){switch(this[d]){case"begin":case"header":this[R](e,t);t+=512;break;case"ignore":case"body":t+=this[A](e,t);break;case"meta":t+=this[E](e,t);break;default:throw new Error("invalid state: "+this[d])}}if(t{const n=i(42357);e.exports=(()=>{const e=new Map;const t=new Map;const{join:r}=i(85622);const s=e=>r(e).split(/[\\/]/).slice(0,-1).reduce((e,t)=>e.length?e.concat(r(e[e.length-1],t)):[t],[]);const a=new Set;const o=i=>{const n=t.get(i);if(!n)throw new Error("function does not have any path reservations");return{paths:n.paths.map(t=>e.get(t)),dirs:[...n.dirs].map(t=>e.get(t))}};const u=e=>{const{paths:t,dirs:i}=o(e);return t.every(t=>t[0]===e)&&i.every(t=>t[0]instanceof Set&&t[0].has(e))};const c=e=>{if(a.has(e)||!u(e))return false;a.add(e);e(()=>l(e));return true};const l=i=>{if(!a.has(i))return false;const{paths:r,dirs:s}=t.get(i);const o=new Set;r.forEach(t=>{const r=e.get(t);n.equal(r[0],i);if(r.length===1)e.delete(t);else{r.shift();if(typeof r[0]==="function")o.add(r[0]);else r[0].forEach(e=>o.add(e))}});s.forEach(t=>{const r=e.get(t);n(r[0]instanceof Set);if(r[0].size===1&&r.length===1)e.delete(t);else if(r[0].size===1){r.shift();o.add(r[0])}else r[0].delete(i)});a.delete(i);o.forEach(e=>c(e));return true};const p=(i,n)=>{const r=new Set(i.map(e=>s(e)).reduce((e,t)=>e.concat(t)));t.set(n,{dirs:r,paths:i});i.forEach(t=>{const i=e.get(t);if(!i)e.set(t,[n]);else i.push(n)});r.forEach(t=>{const i=e.get(t);if(!i)e.set(t,[new Set([n])]);else if(i[i.length-1]instanceof Set)i[i.length-1].add(n);else i.push(new Set([n]))});return c(n)};return{check:u,reserve:p}})},77996:(e,t,i)=>{"use strict";const n=i(66043);const r=i(85622);class Pax{constructor(e,t){this.atime=e.atime||null;this.charset=e.charset||null;this.comment=e.comment||null;this.ctime=e.ctime||null;this.gid=e.gid||null;this.gname=e.gname||null;this.linkpath=e.linkpath||null;this.mtime=e.mtime||null;this.path=e.path||null;this.size=e.size||null;this.uid=e.uid||null;this.uname=e.uname||null;this.dev=e.dev||null;this.ino=e.ino||null;this.nlink=e.nlink||null;this.global=t||false}encode(){const e=this.encodeBody();if(e==="")return null;const t=Buffer.byteLength(e);const i=512*Math.ceil(1+t/512);const s=Buffer.allocUnsafe(i);for(let e=0;e<512;e++)s[e]=0;new n({path:("PaxHeader/"+r.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:t,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(s);s.write(e,512,t,"utf8");for(let e=t+512;e=Math.pow(10,r))r+=1;const s=r+n;return s+i}}Pax.parse=((e,t,i)=>new Pax(s(a(e),t),i));const s=(e,t)=>t?Object.keys(e).reduce((t,i)=>(t[i]=e[i],t),t):e;const a=e=>e.replace(/\n$/,"").split("\n").reduce(o,Object.create(null));const o=(e,t)=>{const i=parseInt(t,10);if(i!==Buffer.byteLength(t)+1)return e;t=t.substr((i+" ").length);const n=t.split("=");const r=n.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!r)return e;const s=n.join("=");e[r]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(r)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s;return e};e.exports=Pax},38116:(e,t,i)=>{"use strict";const n=i(41077);const r=Symbol("slurp");e.exports=class ReadEntry extends n{constructor(e,t,i){super();this.pause();this.extended=t;this.globalExtended=i;this.header=e;this.startBlockSize=512*Math.ceil(e.size/512);this.blockRemain=this.startBlockSize;this.remain=e.size;this.type=e.type;this.meta=false;this.ignore=false;switch(this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=true;break;default:this.ignore=true}this.path=e.path;this.mode=e.mode;if(this.mode)this.mode=this.mode&4095;this.uid=e.uid;this.gid=e.gid;this.uname=e.uname;this.gname=e.gname;this.size=e.size;this.mtime=e.mtime;this.atime=e.atime;this.ctime=e.ctime;this.linkpath=e.linkpath;this.uname=e.uname;this.gname=e.gname;if(t)this[r](t);if(i)this[r](i,true)}write(e){const t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");const i=this.remain;const n=this.blockRemain;this.remain=Math.max(0,i-t);this.blockRemain=Math.max(0,n-t);if(this.ignore)return true;if(i>=t)return super.write(e);return super.write(e.slice(0,i))}[r](e,t){for(const i in e){if(e[i]!==null&&e[i]!==undefined&&!(t&&i==="path"))this[i]=e[i]}}}},45923:(e,t,i)=>{"use strict";const n=i(95274);const r=i(7900);const s=i(35747);const a=i(27714);const o=i(51525);const u=i(85622);const c=i(66043);e.exports=((e,t,i)=>{const r=n(e);if(!r.file)throw new TypeError("file is required");if(r.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);return r.sync?l(r,t):d(r,t,i)});const l=(e,t)=>{const i=new r.Sync(e);let n=true;let a;let o;try{try{a=s.openSync(e.file,"r+")}catch(t){if(t.code==="ENOENT")a=s.openSync(e.file,"w+");else throw t}const r=s.fstatSync(a);const u=Buffer.alloc(512);e:for(o=0;or.size)break;o+=i;if(e.mtimeCache)e.mtimeCache.set(t.path,t.mtime)}n=false;p(e,i,o,a,t)}finally{if(n){try{s.closeSync(a)}catch(e){}}}};const p=(e,t,i,n,r)=>{const s=new a.WriteStreamSync(e.file,{fd:n,start:i});t.pipe(s);f(t,r)};const d=(e,t,i)=>{t=Array.from(t);const n=new r(e);const o=(t,i,n)=>{const r=(e,i)=>{if(e)s.close(t,t=>n(e));else n(null,i)};let a=0;if(i===0)return r(null,0);let o=0;const u=Buffer.alloc(512);const l=(n,p)=>{if(n)return r(n);o+=p;if(o<512&&p){return s.read(t,u,o,u.length-o,a+o,l)}if(a===0&&u[0]===31&&u[1]===139)return r(new Error("cannot append to compressed archives"));if(o<512)return r(null,a);const d=new c(u);if(!d.cksumValid)return r(null,a);const f=512*Math.ceil(d.size/512);if(a+f+512>i)return r(null,a);a+=f+512;if(a>=i)return r(null,a);if(e.mtimeCache)e.mtimeCache.set(d.path,d.mtime);o=0;s.read(t,u,0,512,a,l)};s.read(t,u,0,512,a,l)};const u=new Promise((i,r)=>{n.on("error",r);let u="r+";const c=(l,p)=>{if(l&&l.code==="ENOENT"&&u==="r+"){u="w+";return s.open(e.file,u,c)}if(l)return r(l);s.fstat(p,(s,u)=>{if(s)return r(s);o(p,u.size,(s,o)=>{if(s)return r(s);const u=new a.WriteStream(e.file,{fd:p,start:o});n.pipe(u);u.on("error",r);u.on("close",i);h(n,t)})})};s.open(e.file,u,c)});return i?u.then(i,i):u};const f=(e,t)=>{t.forEach(t=>{if(t.charAt(0)==="@"){o({file:u.resolve(e.cwd,t.substr(1)),sync:true,noResume:true,onentry:t=>e.add(t)})}else e.add(t)});e.end()};const h=(e,t)=>{while(t.length){const i=t.shift();if(i.charAt(0)==="@"){return o({file:u.resolve(e.cwd,i.substr(1)),noResume:true,onentry:t=>e.add(t)}).then(i=>h(e,t))}else e.add(i)}e.end()}},24173:(e,t)=>{"use strict";t.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);t.code=new Map(Array.from(t.name).map(e=>[e[1],e[0]]))},17628:(e,t,i)=>{"use strict";const n=i(42357);const r=i(68917);const s=i(35747);const a=i(27714);const o=i(85622);const u=i(69624);const c=i(44808);const l=i(99587);const p=Symbol("onEntry");const d=Symbol("checkFs");const f=Symbol("checkFs2");const h=Symbol("isReusable");const m=Symbol("makeFs");const b=Symbol("file");const g=Symbol("directory");const y=Symbol("link");const S=Symbol("symlink");const v=Symbol("hardlink");const w=Symbol("unsupported");const j=Symbol("checkPath");const z=Symbol("mkdir");const O=Symbol("onError");const k=Symbol("pending");const C=Symbol("pend");const T=Symbol("unpend");const _=Symbol("ended");const A=Symbol("maybeClose");const E=Symbol("skip");const R=Symbol("doChown");const x=Symbol("uid");const N=Symbol("gid");const V=i(76417);const P=i(91172);const M=()=>{throw new Error("sync function called cb somehow?!?")};const B=(e,t)=>{if(process.platform!=="win32")return s.unlink(e,t);const i=e+".DELETE."+V.randomBytes(16).toString("hex");s.rename(e,i,e=>{if(e)return t(e);s.unlink(i,t)})};const I=e=>{if(process.platform!=="win32")return s.unlinkSync(e);const t=e+".DELETE."+V.randomBytes(16).toString("hex");s.renameSync(e,t);s.unlinkSync(t)};const D=(e,t,i)=>e===e>>>0?e:t===t>>>0?t:i;class Unpack extends r{constructor(e){if(!e)e={};e.ondone=(e=>{this[_]=true;this[A]()});super(e);this.reservations=l();this.transform=typeof e.transform==="function"?e.transform:null;this.writable=true;this.readable=false;this[k]=0;this[_]=false;this.dirCache=e.dirCache||new Map;if(typeof e.uid==="number"||typeof e.gid==="number"){if(typeof e.uid!=="number"||typeof e.gid!=="number")throw new TypeError("cannot set owner without number uid and gid");if(e.preserveOwner){throw new TypeError("cannot preserve owner in archive and also set owner explicitly")}this.uid=e.uid;this.gid=e.gid;this.setOwner=true}else{this.uid=null;this.gid=null;this.setOwner=false}if(e.preserveOwner===undefined&&typeof e.uid!=="number")this.preserveOwner=process.getuid&&process.getuid()===0;else this.preserveOwner=!!e.preserveOwner;this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null;this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null;this.forceChown=e.forceChown===true;this.win32=!!e.win32||process.platform==="win32";this.newer=!!e.newer;this.keep=!!e.keep;this.noMtime=!!e.noMtime;this.preservePaths=!!e.preservePaths;this.unlink=!!e.unlink;this.cwd=o.resolve(e.cwd||process.cwd());this.strip=+e.strip||0;this.processUmask=e.noChmod?0:process.umask();this.umask=typeof e.umask==="number"?e.umask:this.processUmask;this.dmode=e.dmode||511&~this.umask;this.fmode=e.fmode||438&~this.umask;this.on("entry",e=>this[p](e))}warn(e,t,i={}){if(e==="TAR_BAD_ARCHIVE"||e==="TAR_ABORT")i.recoverable=false;return super.warn(e,t,i)}[A](){if(this[_]&&this[k]===0){this.emit("prefinish");this.emit("finish");this.emit("end");this.emit("close")}}[j](e){if(this.strip){const t=e.path.split(/\/|\\/);if(t.length=this.strip)e.linkpath=t.slice(this.strip).join("/")}}if(!this.preservePaths){const t=e.path;if(t.match(/(^|\/|\\)\.\.(\\|\/|$)/)){this.warn("TAR_ENTRY_ERROR",`path contains '..'`,{entry:e,path:t});return false}if(o.win32.isAbsolute(t)){const i=o.win32.parse(t);e.path=t.substr(i.root.length);const n=i.root;this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:e,path:t})}}if(this.win32){const t=o.win32.parse(e.path);e.path=t.root===""?c.encode(e.path):t.root+c.encode(e.path.substr(t.root.length))}if(o.isAbsolute(e.path))e.absolute=e.path;else e.absolute=o.resolve(this.cwd,e.path);return true}[p](e){if(!this[j](e))return e.resume();n.equal(typeof e.absolute,"string");switch(e.type){case"Directory":case"GNUDumpDir":if(e.mode)e.mode=e.mode|448;case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[d](e);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[w](e)}}[O](e,t){if(e.name==="CwdError")this.emit("error",e);else{this.warn("TAR_ENTRY_ERROR",e,{entry:t});this[T]();t.resume()}}[z](e,t,i){u(e,{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t,noChmod:this.noChmod},i)}[R](e){return this.forceChown||this.preserveOwner&&(typeof e.uid==="number"&&e.uid!==this.processUid||typeof e.gid==="number"&&e.gid!==this.processGid)||(typeof this.uid==="number"&&this.uid!==this.processUid||typeof this.gid==="number"&&this.gid!==this.processGid)}[x](e){return D(this.uid,e.uid,this.processUid)}[N](e){return D(this.gid,e.gid,this.processGid)}[b](e,t){const i=e.mode&4095||this.fmode;const n=new a.WriteStream(e.absolute,{flags:P(e.size),mode:i,autoClose:false});n.on("error",t=>this[O](t,e));let r=1;const o=i=>{if(i)return this[O](i,e);if(--r===0){s.close(n.fd,i=>{t();i?this[O](i,e):this[T]()})}};n.on("finish",t=>{const i=e.absolute;const a=n.fd;if(e.mtime&&!this.noMtime){r++;const t=e.atime||new Date;const n=e.mtime;s.futimes(a,t,n,e=>e?s.utimes(i,t,n,t=>o(t&&e)):o())}if(this[R](e)){r++;const t=this[x](e);const n=this[N](e);s.fchown(a,t,n,e=>e?s.chown(i,t,n,t=>o(t&&e)):o())}o()});const u=this.transform?this.transform(e)||e:e;if(u!==e){u.on("error",t=>this[O](t,e));e.pipe(u)}u.pipe(n)}[g](e,t){const i=e.mode&4095||this.dmode;this[z](e.absolute,i,i=>{if(i){t();return this[O](i,e)}let n=1;const r=i=>{if(--n===0){t();this[T]();e.resume()}};if(e.mtime&&!this.noMtime){n++;s.utimes(e.absolute,e.atime||new Date,e.mtime,r)}if(this[R](e)){n++;s.chown(e.absolute,this[x](e),this[N](e),r)}r()})}[w](e){e.unsupported=true;this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${e.type}`,{entry:e});e.resume()}[S](e,t){this[y](e,e.linkpath,"symlink",t)}[v](e,t){this[y](e,o.resolve(this.cwd,e.linkpath),"link",t)}[C](){this[k]++}[T](){this[k]--;this[A]()}[E](e){this[T]();e.resume()}[h](e,t){return e.type==="File"&&!this.unlink&&t.isFile()&&t.nlink<=1&&process.platform!=="win32"}[d](e){this[C]();const t=[e.path];if(e.linkpath)t.push(e.linkpath);this.reservations.reserve(t,t=>this[f](e,t))}[f](e,t){this[z](o.dirname(e.absolute),this.dmode,i=>{if(i){t();return this[O](i,e)}s.lstat(e.absolute,(i,n)=>{if(n&&(this.keep||this.newer&&n.mtime>e.mtime)){this[E](e);t()}else if(i||this[h](e,n))this[m](null,e,t);else if(n.isDirectory()){if(e.type==="Directory"){if(!this.noChmod&&(!e.mode||(n.mode&4095)===e.mode))this[m](null,e,t);else{s.chmod(e.absolute,e.mode,i=>this[m](i,e,t))}}else s.rmdir(e.absolute,i=>this[m](i,e,t))}else B(e.absolute,i=>this[m](i,e,t))})})}[m](e,t,i){if(e)return this[O](e,t);switch(t.type){case"File":case"OldFile":case"ContiguousFile":return this[b](t,i);case"Link":return this[v](t,i);case"SymbolicLink":return this[S](t,i);case"Directory":case"GNUDumpDir":return this[g](t,i)}}[y](e,t,i,n){s[i](t,e.absolute,t=>{if(t)return this[O](t,e);n();this[T]();e.resume()})}}class UnpackSync extends Unpack{[d](e){const t=this[z](o.dirname(e.absolute),this.dmode,M);if(t)return this[O](t,e);try{const i=s.lstatSync(e.absolute);if(this.keep||this.newer&&i.mtime>e.mtime)return this[E](e);else if(this[h](e,i))return this[m](null,e,M);else{try{if(i.isDirectory()){if(e.type==="Directory"){if(!this.noChmod&&e.mode&&(i.mode&4095)!==e.mode)s.chmodSync(e.absolute,e.mode)}else s.rmdirSync(e.absolute)}else I(e.absolute);return this[m](null,e,M)}catch(t){return this[O](t,e)}}}catch(t){return this[m](null,e,M)}}[b](e,t){const i=e.mode&4095||this.fmode;const n=t=>{let i;try{s.closeSync(r)}catch(e){i=e}if(t||i)this[O](t||i,e)};let r;try{r=s.openSync(e.absolute,P(e.size),i)}catch(e){return n(e)}const a=this.transform?this.transform(e)||e:e;if(a!==e){a.on("error",t=>this[O](t,e));e.pipe(a)}a.on("data",e=>{try{s.writeSync(r,e,0,e.length)}catch(e){n(e)}});a.on("end",t=>{let i=null;if(e.mtime&&!this.noMtime){const t=e.atime||new Date;const n=e.mtime;try{s.futimesSync(r,t,n)}catch(r){try{s.utimesSync(e.absolute,t,n)}catch(e){i=r}}}if(this[R](e)){const t=this[x](e);const n=this[N](e);try{s.fchownSync(r,t,n)}catch(r){try{s.chownSync(e.absolute,t,n)}catch(e){i=i||r}}}n(i)})}[g](e,t){const i=e.mode&4095||this.dmode;const n=this[z](e.absolute,i);if(n)return this[O](n,e);if(e.mtime&&!this.noMtime){try{s.utimesSync(e.absolute,e.atime||new Date,e.mtime)}catch(n){}}if(this[R](e)){try{s.chownSync(e.absolute,this[x](e),this[N](e))}catch(n){}}e.resume()}[z](e,t){try{return u.sync(e,{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t})}catch(e){return e}}[y](e,t,i,n){try{s[i+"Sync"](t,e.absolute);e.resume()}catch(t){return this[O](t,e)}}}Unpack.Sync=UnpackSync;e.exports=Unpack},94404:(e,t,i)=>{"use strict";const n=i(95274);const r=i(45923);e.exports=((e,t,i)=>{const a=n(e);if(!a.file)throw new TypeError("file is required");if(a.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);s(a);return r(a,t,i)});const s=e=>{const t=e.filter;if(!e.mtimeCache)e.mtimeCache=new Map;e.filter=t?(i,n)=>t(i,n)&&!(e.mtimeCache.get(i)>n.mtime):(t,i)=>!(e.mtimeCache.get(t)>i.mtime)}},85899:e=>{"use strict";e.exports=(e=>(class extends e{warn(e,t,i={}){if(this.file)i.file=this.file;if(this.cwd)i.cwd=this.cwd;i.code=t instanceof Error&&t.code||e;i.tarCode=e;if(!this.strict&&i.recoverable!==false){if(t instanceof Error){i=Object.assign(t,i);t=t.message}this.emit("warn",i.tarCode,t,i)}else if(t instanceof Error)this.emit("error",Object.assign(t,i));else this.emit("error",Object.assign(new Error(`${e}: ${t}`),i))}}))},44808:e=>{"use strict";const t=["|","<",">","?",":"];const i=t.map(e=>String.fromCharCode(61440+e.charCodeAt(0)));const n=new Map(t.map((e,t)=>[e,i[t]]));const r=new Map(i.map((e,i)=>[e,t[i]]));e.exports={encode:e=>t.reduce((e,t)=>e.split(t).join(n.get(t)),e),decode:e=>i.reduce((e,t)=>e.split(t).join(r.get(t)),e)}},55450:(e,t,i)=>{"use strict";const n=i(41077);const r=i(77996);const s=i(66043);const a=i(35747);const o=i(85622);const u=16*1024*1024;const c=Symbol("process");const l=Symbol("file");const p=Symbol("directory");const d=Symbol("symlink");const f=Symbol("hardlink");const h=Symbol("header");const m=Symbol("read");const b=Symbol("lstat");const g=Symbol("onlstat");const y=Symbol("onread");const S=Symbol("onreadlink");const v=Symbol("openfile");const w=Symbol("onopenfile");const j=Symbol("close");const z=Symbol("mode");const O=i(85899);const k=i(44808);const C=i(88371);const T=O(class WriteEntry extends n{constructor(e,t){t=t||{};super(t);if(typeof e!=="string")throw new TypeError("path is required");this.path=e;this.portable=!!t.portable;this.myuid=process.getuid&&process.getuid();this.myuser=process.env.USER||"";this.maxReadSize=t.maxReadSize||u;this.linkCache=t.linkCache||new Map;this.statCache=t.statCache||new Map;this.preservePaths=!!t.preservePaths;this.cwd=t.cwd||process.cwd();this.strict=!!t.strict;this.noPax=!!t.noPax;this.noMtime=!!t.noMtime;this.mtime=t.mtime||null;if(typeof t.onwarn==="function")this.on("warn",t.onwarn);let i=false;if(!this.preservePaths&&o.win32.isAbsolute(e)){const t=o.win32.parse(e);this.path=e.substr(t.root.length);i=t.root}this.win32=!!t.win32||process.platform==="win32";if(this.win32){this.path=k.decode(this.path.replace(/\\/g,"/"));e=e.replace(/\\/g,"/")}this.absolute=t.absolute||o.resolve(this.cwd,e);if(this.path==="")this.path="./";if(i){this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path})}if(this.statCache.has(this.absolute))this[g](this.statCache.get(this.absolute));else this[b]()}[b](){a.lstat(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[g](t)})}[g](e){this.statCache.set(this.absolute,e);this.stat=e;if(!e.isFile())e.size=0;this.type=A(e);this.emit("stat",e);this[c]()}[c](){switch(this.type){case"File":return this[l]();case"Directory":return this[p]();case"SymbolicLink":return this[d]();default:return this.end()}}[z](e){return C(e,this.type==="Directory",this.portable)}[h](){if(this.type==="Directory"&&this.portable)this.noMtime=true;this.header=new s({path:this.path,linkpath:this.linkpath,mode:this[z](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime});if(this.header.encode()&&!this.noPax){this.write(new r({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this.path,linkpath:this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode())}this.write(this.header.block)}[p](){if(this.path.substr(-1)!=="/")this.path+="/";this.stat.size=0;this[h]();this.end()}[d](){a.readlink(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[S](t)})}[S](e){this.linkpath=e.replace(/\\/g,"/");this[h]();this.end()}[f](e){this.type="Link";this.linkpath=o.relative(this.cwd,e).replace(/\\/g,"/");this.stat.size=0;this[h]();this.end()}[l](){if(this.stat.nlink>1){const e=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(e)){const t=this.linkCache.get(e);if(t.indexOf(this.cwd)===0)return this[f](t)}this.linkCache.set(e,this.absolute)}this[h]();if(this.stat.size===0)return this.end();this[v]()}[v](){a.open(this.absolute,"r",(e,t)=>{if(e)return this.emit("error",e);this[w](t)})}[w](e){const t=512*Math.ceil(this.stat.size/512);const i=Math.min(t,this.maxReadSize);const n=Buffer.allocUnsafe(i);this[m](e,n,0,n.length,0,this.stat.size,t)}[m](e,t,i,n,r,s,o){a.read(e,t,i,n,r,(a,u)=>{if(a){return this[j](e,()=>this.emit("error",a))}this[y](e,t,i,n,r,s,o,u)})}[j](e,t){a.close(e,t)}[y](e,t,i,n,r,s,a,o){if(o<=0&&s>0){const t=new Error("encountered unexpected EOF");t.path=this.absolute;t.syscall="read";t.code="EOF";return this[j](e,()=>this.emit("error",t))}if(o>s){const t=new Error("did not encounter expected EOF");t.path=this.absolute;t.syscall="read";t.code="EOF";return this[j](e,()=>this.emit("error",t))}if(o===s){for(let e=o;ee?this.emit("error",e):this.end())}if(i>=n){t=Buffer.allocUnsafe(n);i=0}n=t.length-i;this[m](e,t,i,n,r,s,a)}});class WriteEntrySync extends T{[b](){this[g](a.lstatSync(this.absolute))}[d](){this[S](a.readlinkSync(this.absolute))}[v](){this[w](a.openSync(this.absolute,"r"))}[m](e,t,i,n,r,s,o){let u=true;try{const c=a.readSync(e,t,i,n,r);this[y](e,t,i,n,r,s,o,c);u=false}finally{if(u){try{this[j](e,()=>{})}catch(e){}}}}[j](e,t){a.closeSync(e);t()}}const _=O(class WriteEntryTar extends n{constructor(e,t){t=t||{};super(t);this.preservePaths=!!t.preservePaths;this.portable=!!t.portable;this.strict=!!t.strict;this.noPax=!!t.noPax;this.noMtime=!!t.noMtime;this.readEntry=e;this.type=e.type;if(this.type==="Directory"&&this.portable)this.noMtime=true;this.path=e.path;this.mode=this[z](e.mode);this.uid=this.portable?null:e.uid;this.gid=this.portable?null:e.gid;this.uname=this.portable?null:e.uname;this.gname=this.portable?null:e.gname;this.size=e.size;this.mtime=this.noMtime?null:t.mtime||e.mtime;this.atime=this.portable?null:e.atime;this.ctime=this.portable?null:e.ctime;this.linkpath=e.linkpath;if(typeof t.onwarn==="function")this.on("warn",t.onwarn);let i=false;if(o.isAbsolute(this.path)&&!this.preservePaths){const e=o.parse(this.path);i=e.root;this.path=this.path.substr(e.root.length)}this.remain=e.size;this.blockRemain=e.startBlockSize;this.header=new s({path:this.path,linkpath:this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime});if(i){this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path})}if(this.header.encode()&&!this.noPax){super.write(new r({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this.path,linkpath:this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode())}super.write(this.header.block);e.pipe(this)}[z](e){return C(e,this.type==="Directory",this.portable)}write(e){const t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");this.blockRemain-=t;return super.write(e)}end(){if(this.blockRemain)this.write(Buffer.alloc(this.blockRemain));return super.end()}});T.Sync=WriteEntrySync;T.Tar=_;const A=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";e.exports=T},68065:(e,t,i)=>{"use strict";const{promisify:n}=i(31669);const r=i(8517);e.exports.fileSync=r.fileSync;const s=n((e,t)=>r.file(e,(e,i,r,s)=>e?t(e):t(undefined,{path:i,fd:r,cleanup:n(s)})));e.exports.file=(async e=>s(e));e.exports.withFile=async function withFile(t,i){const{path:n,fd:r,cleanup:s}=await e.exports.file(i);try{return await t({path:n,fd:r})}finally{await s()}};e.exports.dirSync=r.dirSync;const a=n((e,t)=>r.dir(e,(e,i,r)=>e?t(e):t(undefined,{path:i,cleanup:n(r)})));e.exports.dir=(async e=>a(e));e.exports.withDir=async function withDir(t,i){const{path:n,cleanup:r}=await e.exports.dir(i);try{return await t({path:n})}finally{await r()}};e.exports.tmpNameSync=r.tmpNameSync;e.exports.tmpName=n(r.tmpName);e.exports.tmpdir=r.tmpdir;e.exports.setGracefulCleanup=r.setGracefulCleanup},8517:(e,t,i)=>{const n=i(35747);const r=i(12087);const s=i(85622);const a=i(76417);const o={fs:n.constants,os:r.constants};const u=i(14959);const c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",l=/XXXXXX/,p=3,d=(o.O_CREAT||o.fs.O_CREAT)|(o.O_EXCL||o.fs.O_EXCL)|(o.O_RDWR||o.fs.O_RDWR),f=r.platform()==="win32",h=o.EBADF||o.os.errno.EBADF,m=o.ENOENT||o.os.errno.ENOENT,b=448,g=384,y="exit",S=[],v=n.rmdirSync.bind(n),w=u.sync;let j=false;function tmpName(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];try{_assertAndSanitizeOptions(r)}catch(e){return s(e)}let a=r.tries;(function _getUniqueName(){try{const e=_generateTmpName(r);n.stat(e,function(t){if(!t){if(a-- >0)return _getUniqueName();return s(new Error("Could not get a unique tmp filename, max tries reached "+e))}s(null,e)})}catch(e){s(e)}})()}function tmpNameSync(e){const t=_parseArguments(e),i=t[0];_assertAndSanitizeOptions(i);let r=i.tries;do{const e=_generateTmpName(i);try{n.statSync(e)}catch(t){return e}}while(r-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];tmpName(r,function _tmpNameCreated(e,t){if(e)return s(e);n.open(t,d,r.mode||g,function _fileCreated(e,i){if(e)return s(e);if(r.discardDescriptor){return n.close(i,function _discardCallback(e){return s(e,t,undefined,_prepareTmpFileRemoveCallback(t,-1,r,false))})}else{const e=r.discardDescriptor||r.detachDescriptor;s(null,t,i,_prepareTmpFileRemoveCallback(t,e?-1:i,r,false))}})})}function fileSync(e){const t=_parseArguments(e),i=t[0];const r=i.discardDescriptor||i.detachDescriptor;const s=tmpNameSync(i);var a=n.openSync(s,d,i.mode||g);if(i.discardDescriptor){n.closeSync(a);a=undefined}return{name:s,fd:a,removeCallback:_prepareTmpFileRemoveCallback(s,r?-1:a,i,true)}}function dir(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];tmpName(r,function _tmpNameCreated(e,t){if(e)return s(e);n.mkdir(t,r.mode||b,function _dirCreated(e){if(e)return s(e);s(null,t,_prepareTmpDirRemoveCallback(t,r,false))})})}function dirSync(e){const t=_parseArguments(e),i=t[0];const r=tmpNameSync(i);n.mkdirSync(r,i.mode||b);return{name:r,removeCallback:_prepareTmpDirRemoveCallback(r,i,true)}}function _removeFileAsync(e,t){const i=function(e){if(e&&!_isENOENT(e)){return t(e)}t()};if(0<=e[0])n.close(e[0],function(){n.unlink(e[1],i)});else n.unlink(e[1],i)}function _removeFileSync(e){let t=null;try{if(0<=e[0])n.closeSync(e[0])}catch(e){if(!_isEBADF(e)&&!_isENOENT(e))throw e}finally{try{n.unlinkSync(e[1])}catch(e){if(!_isENOENT(e))t=e}}if(t!==null){throw t}}function _prepareTmpFileRemoveCallback(e,t,i,n){const r=_prepareRemoveCallback(_removeFileSync,[t,e],n);const s=_prepareRemoveCallback(_removeFileAsync,[t,e],n,r);if(!i.keep)S.unshift(r);return n?r:s}function _prepareTmpDirRemoveCallback(e,t,i){const r=t.unsafeCleanup?u:n.rmdir.bind(n);const s=t.unsafeCleanup?w:v;const a=_prepareRemoveCallback(s,e,i);const o=_prepareRemoveCallback(r,e,i,a);if(!t.keep)S.unshift(a);return i?a:o}function _prepareRemoveCallback(e,t,i,n){let r=false;return function _cleanupCallback(s){if(!r){const a=n||_cleanupCallback;const o=S.indexOf(a);if(o>=0)S.splice(o,1);r=true;if(i||e===v||e===w){return e(t)}else{return e(t,s||function(){})}}}}function _garbageCollector(){if(!j)return;while(S.length){try{S[0]()}catch(e){}}}function _randomChars(e){let t=[],i=null;try{i=a.randomBytes(e)}catch(t){i=a.pseudoRandomBytes(e)}for(var n=0;n{"use strict";var n=i(11631);var r=i(78835).parse;var s=i(31669);var a=i(94401);var o=i(460).y;var u=i(52640).m;var c=i(54336).U;var l=i(93199);var p;try{p=i(94213)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var d=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var f=/[\x00-\x1F]/;var h=["\n","\r","\0"];var m=/[\x20-\x3A\x3C-\x7E]+/;var b=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var g={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var S=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var v=2147483647e3;var w=0;function parseDigits(e,t,i,n){var r=0;while(r=58){break}r++}if(ri){return null}if(!n&&r!=e.length){return null}return parseInt(e.substr(0,r),10)}function parseTime(e){var t=e.split(":");var i=[0,0,0];if(t.length!==3){return null}for(var n=0;n<3;n++){var r=n==2;var s=parseDigits(t[n],1,2,r);if(s===null){return null}i[n]=s}return i}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();var t=g[e];return t>=0?t:null}function parseDate(e){if(!e){return}var t=e.split(b);if(!t){return}var i=null;var n=null;var r=null;var s=null;var a=null;var o=null;for(var u=0;u=70&&o<=99){o+=1900}else if(o>=0&&o<=69){o+=2e3}}}}if(s===null||a===null||o===null||r===null||s<1||s>31||o<1601||i>23||n>59||r>59){return}return new Date(Date.UTC(o,a,s,i,n,r))}function formatDate(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var i=e.getUTCHours();i=i>=10?i:"0"+i;var n=e.getUTCMinutes();n=n>=10?n:"0"+n;var r=e.getUTCSeconds();r=r>=10?r:"0"+r;return S[e.getUTCDay()]+", "+t+" "+y[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+i+":"+n+":"+r+" GMT"}function canonicalDomain(e){if(e==null){return null}e=e.trim().replace(/^\./,"");if(p&&/[^\u0001-\u007f]/.test(e)){e=p.toASCII(e)}return e.toLowerCase()}function domainMatch(e,t,i){if(e==null||t==null){return null}if(i!==false){e=canonicalDomain(e);t=canonicalDomain(t)}if(e==t){return true}if(n.isIP(e)){return false}var r=e.indexOf(t);if(r<=0){return false}if(e.length!==t.length+r){return false}if(e.substr(r-1,1)!=="."){return false}return true}function defaultPath(e){if(!e||e.substr(0,1)!=="/"){return"/"}if(e==="/"){return e}var t=e.lastIndexOf("/");if(t===0){return"/"}return e.slice(0,t)}function trimTerminator(e){for(var t=0;t1){var i=e.lastIndexOf("/");if(i===0){break}e=e.substr(0,i);t.push(e)}t.push("/");return t}function getCookieContext(e){if(e instanceof Object){return e}try{e=decodeURI(e)}catch(e){}return r(e)}function Cookie(e){e=e||{};Object.keys(e).forEach(function(t){if(Cookie.prototype.hasOwnProperty(t)&&Cookie.prototype[t]!==e[t]&&t.substr(0,1)!=="_"){this[t]=e[t]}},this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter(function(e){return!(Cookie.prototype[e]instanceof Function||e==="creationIndex"||e.substr(0,1)==="_")});Cookie.prototype.inspect=function inspect(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'};if(s.inspect.custom){Cookie.prototype[s.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var e={};var t=Cookie.serializableProperties;for(var i=0;i{"use strict";var n=i(460).y;var r=i(55986).permuteDomain;var s=i(54336).U;var a=i(31669);function MemoryCookieStore(){n.call(this);this.idx={}}a.inherits(MemoryCookieStore,n);t.m=MemoryCookieStore;MemoryCookieStore.prototype.idx=null;MemoryCookieStore.prototype.synchronous=true;MemoryCookieStore.prototype.inspect=function(){return"{ idx: "+a.inspect(this.idx,false,2)+" }"};if(a.inspect.custom){MemoryCookieStore.prototype[a.inspect.custom]=MemoryCookieStore.prototype.inspect}MemoryCookieStore.prototype.findCookie=function(e,t,i,n){if(!this.idx[e]){return n(null,undefined)}if(!this.idx[e][t]){return n(null,undefined)}return n(null,this.idx[e][t][i]||null)};MemoryCookieStore.prototype.findCookies=function(e,t,i){var n=[];if(!e){return i(null,[])}var a;if(!t){a=function matchAll(e){for(var t in e){var i=e[t];for(var r in i){n.push(i[r])}}}}else{a=function matchRFC(e){Object.keys(e).forEach(function(i){if(s(t,i)){var r=e[i];for(var a in r){n.push(r[a])}}})}}var o=r(e)||[e];var u=this.idx;o.forEach(function(e){var t=u[e];if(!t){return}a(t)});i(null,n)};MemoryCookieStore.prototype.putCookie=function(e,t){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;t(null)};MemoryCookieStore.prototype.updateCookie=function(e,t,i){this.putCookie(t,i)};MemoryCookieStore.prototype.removeCookie=function(e,t,i,n){if(this.idx[e]&&this.idx[e][t]&&this.idx[e][t][i]){delete this.idx[e][t][i]}n(null)};MemoryCookieStore.prototype.removeCookies=function(e,t,i){if(this.idx[e]){if(t){delete this.idx[e][t]}else{delete this.idx[e]}}return i(null)};MemoryCookieStore.prototype.removeAllCookies=function(e){this.idx={};return e(null)};MemoryCookieStore.prototype.getAllCookies=function(e){var t=[];var i=this.idx;var n=Object.keys(i);n.forEach(function(e){var n=Object.keys(i[e]);n.forEach(function(n){var r=Object.keys(i[e][n]);r.forEach(function(r){if(r!==null){t.push(i[e][n][r])}})})});t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)});e(null,t)}},54336:(e,t)=>{"use strict";function pathMatch(e,t){if(t===e){return true}var i=e.indexOf(t);if(i===0){if(t.substr(-1)==="/"){return true}if(e.substr(t.length,1)==="/"){return true}}return false}t.U=pathMatch},55986:(e,t,i)=>{"use strict";var n=i(94401);function permuteDomain(e){var t=n.getPublicSuffix(e);if(!t){return null}if(t==e){return[e]}var i=e.slice(0,-(t.length+1));var r=i.split(".").reverse();var s=t;var a=[s];while(r.length){s=r.shift()+"."+s;a.push(s)}return a}t.permuteDomain=permuteDomain},94401:(e,t,i)=>{"use strict";var n=i(29975);function getPublicSuffix(e){return n.get(e)}t.getPublicSuffix=getPublicSuffix},460:(e,t)=>{"use strict";function Store(){}t.y=Store;Store.prototype.synchronous=false;Store.prototype.findCookie=function(e,t,i,n){throw new Error("findCookie is not implemented")};Store.prototype.findCookies=function(e,t,i){throw new Error("findCookies is not implemented")};Store.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")};Store.prototype.updateCookie=function(e,t,i){throw new Error("updateCookie is not implemented")};Store.prototype.removeCookie=function(e,t,i,n){throw new Error("removeCookie is not implemented")};Store.prototype.removeCookies=function(e,t,i){throw new Error("removeCookies is not implemented")};Store.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")};Store.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},93199:e=>{e.exports="2.5.0"},75636:(e,t,i)=>{"use strict";i.r(t);i.d(t,{__extends:()=>__extends,__assign:()=>r,__rest:()=>__rest,__decorate:()=>__decorate,__param:()=>__param,__metadata:()=>__metadata,__awaiter:()=>__awaiter,__generator:()=>__generator,__createBinding:()=>__createBinding,__exportStar:()=>__exportStar,__values:()=>__values,__read:()=>__read,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__await:()=>__await,__asyncGenerator:()=>__asyncGenerator,__asyncDelegator:()=>__asyncDelegator,__asyncValues:()=>__asyncValues,__makeTemplateObject:()=>__makeTemplateObject,__importStar:()=>__importStar,__importDefault:()=>__importDefault,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet});var n=function(e,t){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)if(t.hasOwnProperty(i))e[i]=t[i]};return n(e,t)};function __extends(e,t){n(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)}var r=function(){r=Object.assign||function __assign(e){for(var t,i=1,n=arguments.length;i=0;o--)if(a=e[o])s=(r<3?a(s):r>3?a(t,i,s):a(t,i))||s;return r>3&&s&&Object.defineProperty(t,i,s),s}function __param(e,t){return function(i,n){t(i,n,e)}}function __metadata(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)}function __awaiter(e,t,i,n){function adopt(e){return e instanceof i?e:new i(function(t){t(e)})}return new(i||(i=Promise))(function(i,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})}function __generator(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,a;return a={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function verb(e){return function(t){return step([e,t])}}function step(a){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,t){var i=typeof Symbol==="function"&&e[Symbol.iterator];if(!i)return e;var n=i.call(e),r,s=[],a;try{while((t===void 0||t-- >0)&&!(r=n.next()).done)s.push(r.value)}catch(e){a={error:e}}finally{try{if(r&&!r.done&&(i=n["return"]))i.call(n)}finally{if(a)throw a.error}}return s}function __spread(){for(var e=[],t=0;t1||resume(e,t)})}}function resume(e,t){try{step(n[e](t))}catch(e){settle(s[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(s[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),s.shift(),s.length)resume(s[0][0],s[0][1])}}function __asyncDelegator(e){var t,i;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,r){t[n]=e[n]?function(t){return(i=!i)?{value:__await(e[n](t)),done:n==="return"}:r?r(t):t}:r}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(t){i[t]=e[t]&&function(i){return new Promise(function(n,r){i=e[t](i),settle(n,r,i.done,i.value)})}}function settle(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}}function __makeTemplateObject(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e}function __importStar(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t.default=e;return t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)}function __classPrivateFieldSet(e,t,i){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,i);return i}},11137:(e,t,i)=>{"use strict";var n=i(11631),r=i(4016),s=i(98605),a=i(57211),o=i(28614),u=i(42357),c=i(31669),l=i(21867).Buffer;t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||s.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,i,n){for(var r=0,s=t.requests.length;r=this.maxSockets){i.requests.push({host:t.host,port:t.port,request:e});return}i.createConnection({host:t.host,port:t.port,request:e})};TunnelingAgent.prototype.createConnection=function createConnection(e){var t=this;t.createSocket(e,function(i){i.on("free",onFree);i.on("close",onCloseOrRemove);i.on("agentRemove",onCloseOrRemove);e.request.onSocket(i);function onFree(){t.emit("free",i,e.host,e.port)}function onCloseOrRemove(e){t.removeSocket(i);i.removeListener("free",onFree);i.removeListener("close",onCloseOrRemove);i.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var i=this;var n={};i.sockets.push(n);var r=mergeOptions({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false});if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+l.from(r.proxyAuth).toString("base64")}p("making CONNECT request");var s=i.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,i){process.nextTick(function(){onConnect(e,t,i)})}function onConnect(r,a,o){s.removeAllListeners();a.removeAllListeners();if(r.statusCode===200){u.equal(o.length,0);p("tunneling connection has established");i.sockets[i.sockets.indexOf(n)]=a;t(a)}else{p("tunneling socket could not be established, statusCode=%d",r.statusCode);var c=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);c.code="ECONNRESET";e.request.emit("error",c);i.removeSocket(n)}}function onError(t){s.removeAllListeners();p("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, "+"cause="+t.message);r.code="ECONNRESET";e.request.emit("error",r);i.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1)return;this.sockets.splice(t,1);var i=this.requests.shift();if(i){this.createConnection(i)}};function createSecureSocket(e,t){var i=this;TunnelingAgent.prototype.createSocket.call(i,e,function(n){var s=r.connect(0,mergeOptions({},i.options,{servername:e.host,socket:n}));i.sockets[i.sockets.indexOf(n)]=s;t(s)})}function mergeOptions(e){for(var t=1,i=arguments.length;t{e.exports=i(54219)},54219:(e,t,i)=>{"use strict";var n=i(11631);var r=i(4016);var s=i(98605);var a=i(57211);var o=i(28614);var u=i(42357);var c=i(31669);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||s.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,i,n,r){var s=toOptions(i,n,r);for(var a=0,o=t.requests.length;a=this.maxSockets){r.requests.push(s);return}r.createSocket(s,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){r.emit("free",t,s)}function onCloseOrRemove(e){r.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var i=this;var n={};i.sockets.push(n);var r=mergeOptions({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){r.localAddress=e.localAddress}if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+new Buffer(r.proxyAuth).toString("base64")}l("making CONNECT request");var s=i.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,i){process.nextTick(function(){onConnect(e,t,i)})}function onConnect(r,a,o){s.removeAllListeners();a.removeAllListeners();if(r.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",r.statusCode);a.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);u.code="ECONNRESET";e.request.emit("error",u);i.removeSocket(n);return}if(o.length>0){l("got illegal response body from proxy");a.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);i.removeSocket(n);return}l("tunneling connection has established");i.sockets[i.sockets.indexOf(n)]=a;return t(a)}function onError(t){s.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, "+"cause="+t.message);r.code="ECONNRESET";e.request.emit("error",r);i.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var i=this.requests.shift();if(i){this.createSocket(i,function(e){i.request.onSocket(e)})}};function createSecureSocket(e,t){var i=this;TunnelingAgent.prototype.createSocket.call(i,e,function(n){var s=e.request.getHeader("host");var a=mergeOptions({},i.options,{socket:n,servername:s?s.replace(/:.*$/,""):e.host});var o=r.connect(0,a);i.sockets[i.sockets.indexOf(n)]=o;t(o)})}function toOptions(e,t,i){if(typeof e==="string"){return{host:e,port:t,localAddress:i}}return e}function mergeOptions(e){for(var t=1,i=arguments.length;t{(function(e){"use strict";var t=function(e){var t,i=new Float64Array(16);if(e)for(t=0;t>24&255;e[t+1]=i>>16&255;e[t+2]=i>>8&255;e[t+3]=i&255;e[t+4]=n>>24&255;e[t+5]=n>>16&255;e[t+6]=n>>8&255;e[t+7]=n&255}function vn(e,t,i,n,r){var s,a=0;for(s=0;s>>8)-1}function crypto_verify_16(e,t,i,n){return vn(e,t,i,n,16)}function crypto_verify_32(e,t,i,n){return vn(e,t,i,n,32)}function core_salsa20(e,t,i,n){var r=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,s=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,a=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,c=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,l=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,p=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,d=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var v=r,w=s,j=a,z=o,O=u,k=c,C=l,T=p,_=d,A=f,E=h,R=m,x=b,N=g,V=y,P=S,M;for(var B=0;B<20;B+=2){M=v+x|0;O^=M<<7|M>>>32-7;M=O+v|0;_^=M<<9|M>>>32-9;M=_+O|0;x^=M<<13|M>>>32-13;M=x+_|0;v^=M<<18|M>>>32-18;M=k+w|0;A^=M<<7|M>>>32-7;M=A+k|0;N^=M<<9|M>>>32-9;M=N+A|0;w^=M<<13|M>>>32-13;M=w+N|0;k^=M<<18|M>>>32-18;M=E+C|0;V^=M<<7|M>>>32-7;M=V+E|0;j^=M<<9|M>>>32-9;M=j+V|0;C^=M<<13|M>>>32-13;M=C+j|0;E^=M<<18|M>>>32-18;M=P+R|0;z^=M<<7|M>>>32-7;M=z+P|0;T^=M<<9|M>>>32-9;M=T+z|0;R^=M<<13|M>>>32-13;M=R+T|0;P^=M<<18|M>>>32-18;M=v+z|0;w^=M<<7|M>>>32-7;M=w+v|0;j^=M<<9|M>>>32-9;M=j+w|0;z^=M<<13|M>>>32-13;M=z+j|0;v^=M<<18|M>>>32-18;M=k+O|0;C^=M<<7|M>>>32-7;M=C+k|0;T^=M<<9|M>>>32-9;M=T+C|0;O^=M<<13|M>>>32-13;M=O+T|0;k^=M<<18|M>>>32-18;M=E+A|0;R^=M<<7|M>>>32-7;M=R+E|0;_^=M<<9|M>>>32-9;M=_+R|0;A^=M<<13|M>>>32-13;M=A+_|0;E^=M<<18|M>>>32-18;M=P+V|0;x^=M<<7|M>>>32-7;M=x+P|0;N^=M<<9|M>>>32-9;M=N+x|0;V^=M<<13|M>>>32-13;M=V+N|0;P^=M<<18|M>>>32-18}v=v+r|0;w=w+s|0;j=j+a|0;z=z+o|0;O=O+u|0;k=k+c|0;C=C+l|0;T=T+p|0;_=_+d|0;A=A+f|0;E=E+h|0;R=R+m|0;x=x+b|0;N=N+g|0;V=V+y|0;P=P+S|0;e[0]=v>>>0&255;e[1]=v>>>8&255;e[2]=v>>>16&255;e[3]=v>>>24&255;e[4]=w>>>0&255;e[5]=w>>>8&255;e[6]=w>>>16&255;e[7]=w>>>24&255;e[8]=j>>>0&255;e[9]=j>>>8&255;e[10]=j>>>16&255;e[11]=j>>>24&255;e[12]=z>>>0&255;e[13]=z>>>8&255;e[14]=z>>>16&255;e[15]=z>>>24&255;e[16]=O>>>0&255;e[17]=O>>>8&255;e[18]=O>>>16&255;e[19]=O>>>24&255;e[20]=k>>>0&255;e[21]=k>>>8&255;e[22]=k>>>16&255;e[23]=k>>>24&255;e[24]=C>>>0&255;e[25]=C>>>8&255;e[26]=C>>>16&255;e[27]=C>>>24&255;e[28]=T>>>0&255;e[29]=T>>>8&255;e[30]=T>>>16&255;e[31]=T>>>24&255;e[32]=_>>>0&255;e[33]=_>>>8&255;e[34]=_>>>16&255;e[35]=_>>>24&255;e[36]=A>>>0&255;e[37]=A>>>8&255;e[38]=A>>>16&255;e[39]=A>>>24&255;e[40]=E>>>0&255;e[41]=E>>>8&255;e[42]=E>>>16&255;e[43]=E>>>24&255;e[44]=R>>>0&255;e[45]=R>>>8&255;e[46]=R>>>16&255;e[47]=R>>>24&255;e[48]=x>>>0&255;e[49]=x>>>8&255;e[50]=x>>>16&255;e[51]=x>>>24&255;e[52]=N>>>0&255;e[53]=N>>>8&255;e[54]=N>>>16&255;e[55]=N>>>24&255;e[56]=V>>>0&255;e[57]=V>>>8&255;e[58]=V>>>16&255;e[59]=V>>>24&255;e[60]=P>>>0&255;e[61]=P>>>8&255;e[62]=P>>>16&255;e[63]=P>>>24&255}function core_hsalsa20(e,t,i,n){var r=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,s=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,a=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,c=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,l=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,p=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,d=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var v=r,w=s,j=a,z=o,O=u,k=c,C=l,T=p,_=d,A=f,E=h,R=m,x=b,N=g,V=y,P=S,M;for(var B=0;B<20;B+=2){M=v+x|0;O^=M<<7|M>>>32-7;M=O+v|0;_^=M<<9|M>>>32-9;M=_+O|0;x^=M<<13|M>>>32-13;M=x+_|0;v^=M<<18|M>>>32-18;M=k+w|0;A^=M<<7|M>>>32-7;M=A+k|0;N^=M<<9|M>>>32-9;M=N+A|0;w^=M<<13|M>>>32-13;M=w+N|0;k^=M<<18|M>>>32-18;M=E+C|0;V^=M<<7|M>>>32-7;M=V+E|0;j^=M<<9|M>>>32-9;M=j+V|0;C^=M<<13|M>>>32-13;M=C+j|0;E^=M<<18|M>>>32-18;M=P+R|0;z^=M<<7|M>>>32-7;M=z+P|0;T^=M<<9|M>>>32-9;M=T+z|0;R^=M<<13|M>>>32-13;M=R+T|0;P^=M<<18|M>>>32-18;M=v+z|0;w^=M<<7|M>>>32-7;M=w+v|0;j^=M<<9|M>>>32-9;M=j+w|0;z^=M<<13|M>>>32-13;M=z+j|0;v^=M<<18|M>>>32-18;M=k+O|0;C^=M<<7|M>>>32-7;M=C+k|0;T^=M<<9|M>>>32-9;M=T+C|0;O^=M<<13|M>>>32-13;M=O+T|0;k^=M<<18|M>>>32-18;M=E+A|0;R^=M<<7|M>>>32-7;M=R+E|0;_^=M<<9|M>>>32-9;M=_+R|0;A^=M<<13|M>>>32-13;M=A+_|0;E^=M<<18|M>>>32-18;M=P+V|0;x^=M<<7|M>>>32-7;M=x+P|0;N^=M<<9|M>>>32-9;M=N+x|0;V^=M<<13|M>>>32-13;M=V+N|0;P^=M<<18|M>>>32-18}e[0]=v>>>0&255;e[1]=v>>>8&255;e[2]=v>>>16&255;e[3]=v>>>24&255;e[4]=k>>>0&255;e[5]=k>>>8&255;e[6]=k>>>16&255;e[7]=k>>>24&255;e[8]=E>>>0&255;e[9]=E>>>8&255;e[10]=E>>>16&255;e[11]=E>>>24&255;e[12]=P>>>0&255;e[13]=P>>>8&255;e[14]=P>>>16&255;e[15]=P>>>24&255;e[16]=C>>>0&255;e[17]=C>>>8&255;e[18]=C>>>16&255;e[19]=C>>>24&255;e[20]=T>>>0&255;e[21]=T>>>8&255;e[22]=T>>>16&255;e[23]=T>>>24&255;e[24]=_>>>0&255;e[25]=_>>>8&255;e[26]=_>>>16&255;e[27]=_>>>24&255;e[28]=A>>>0&255;e[29]=A>>>8&255;e[30]=A>>>16&255;e[31]=A>>>24&255}function crypto_core_salsa20(e,t,i,n){core_salsa20(e,t,i,n)}function crypto_core_hsalsa20(e,t,i,n){core_hsalsa20(e,t,i,n)}var h=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function crypto_stream_salsa20_xor(e,t,i,n,r,s,a){var o=new Uint8Array(16),u=new Uint8Array(64);var c,l;for(l=0;l<16;l++)o[l]=0;for(l=0;l<8;l++)o[l]=s[l];while(r>=64){crypto_core_salsa20(u,o,a,h);for(l=0;l<64;l++)e[t+l]=i[n+l]^u[l];c=1;for(l=8;l<16;l++){c=c+(o[l]&255)|0;o[l]=c&255;c>>>=8}r-=64;t+=64;n+=64}if(r>0){crypto_core_salsa20(u,o,a,h);for(l=0;l=64){crypto_core_salsa20(a,s,r,h);for(u=0;u<64;u++)e[t+u]=a[u];o=1;for(u=8;u<16;u++){o=o+(s[u]&255)|0;s[u]=o&255;o>>>=8}i-=64;t+=64}if(i>0){crypto_core_salsa20(a,s,r,h);for(u=0;u>>13|i<<3)&8191;n=e[4]&255|(e[5]&255)<<8;this.r[2]=(i>>>10|n<<6)&7939;r=e[6]&255|(e[7]&255)<<8;this.r[3]=(n>>>7|r<<9)&8191;s=e[8]&255|(e[9]&255)<<8;this.r[4]=(r>>>4|s<<12)&255;this.r[5]=s>>>1&8190;a=e[10]&255|(e[11]&255)<<8;this.r[6]=(s>>>14|a<<2)&8191;o=e[12]&255|(e[13]&255)<<8;this.r[7]=(a>>>11|o<<5)&8065;u=e[14]&255|(e[15]&255)<<8;this.r[8]=(o>>>8|u<<8)&8191;this.r[9]=u>>>5&127;this.pad[0]=e[16]&255|(e[17]&255)<<8;this.pad[1]=e[18]&255|(e[19]&255)<<8;this.pad[2]=e[20]&255|(e[21]&255)<<8;this.pad[3]=e[22]&255|(e[23]&255)<<8;this.pad[4]=e[24]&255|(e[25]&255)<<8;this.pad[5]=e[26]&255|(e[27]&255)<<8;this.pad[6]=e[28]&255|(e[29]&255)<<8;this.pad[7]=e[30]&255|(e[31]&255)<<8};m.prototype.blocks=function(e,t,i){var n=this.fin?0:1<<11;var r,s,a,o,u,c,l,p,d;var f,h,m,b,g,y,S,v,w,j;var z=this.h[0],O=this.h[1],k=this.h[2],C=this.h[3],T=this.h[4],_=this.h[5],A=this.h[6],E=this.h[7],R=this.h[8],x=this.h[9];var N=this.r[0],V=this.r[1],P=this.r[2],M=this.r[3],B=this.r[4],I=this.r[5],D=this.r[6],q=this.r[7],L=this.r[8],U=this.r[9];while(i>=16){r=e[t+0]&255|(e[t+1]&255)<<8;z+=r&8191;s=e[t+2]&255|(e[t+3]&255)<<8;O+=(r>>>13|s<<3)&8191;a=e[t+4]&255|(e[t+5]&255)<<8;k+=(s>>>10|a<<6)&8191;o=e[t+6]&255|(e[t+7]&255)<<8;C+=(a>>>7|o<<9)&8191;u=e[t+8]&255|(e[t+9]&255)<<8;T+=(o>>>4|u<<12)&8191;_+=u>>>1&8191;c=e[t+10]&255|(e[t+11]&255)<<8;A+=(u>>>14|c<<2)&8191;l=e[t+12]&255|(e[t+13]&255)<<8;E+=(c>>>11|l<<5)&8191;p=e[t+14]&255|(e[t+15]&255)<<8;R+=(l>>>8|p<<8)&8191;x+=p>>>5|n;d=0;f=d;f+=z*N;f+=O*(5*U);f+=k*(5*L);f+=C*(5*q);f+=T*(5*D);d=f>>>13;f&=8191;f+=_*(5*I);f+=A*(5*B);f+=E*(5*M);f+=R*(5*P);f+=x*(5*V);d+=f>>>13;f&=8191;h=d;h+=z*V;h+=O*N;h+=k*(5*U);h+=C*(5*L);h+=T*(5*q);d=h>>>13;h&=8191;h+=_*(5*D);h+=A*(5*I);h+=E*(5*B);h+=R*(5*M);h+=x*(5*P);d+=h>>>13;h&=8191;m=d;m+=z*P;m+=O*V;m+=k*N;m+=C*(5*U);m+=T*(5*L);d=m>>>13;m&=8191;m+=_*(5*q);m+=A*(5*D);m+=E*(5*I);m+=R*(5*B);m+=x*(5*M);d+=m>>>13;m&=8191;b=d;b+=z*M;b+=O*P;b+=k*V;b+=C*N;b+=T*(5*U);d=b>>>13;b&=8191;b+=_*(5*L);b+=A*(5*q);b+=E*(5*D);b+=R*(5*I);b+=x*(5*B);d+=b>>>13;b&=8191;g=d;g+=z*B;g+=O*M;g+=k*P;g+=C*V;g+=T*N;d=g>>>13;g&=8191;g+=_*(5*U);g+=A*(5*L);g+=E*(5*q);g+=R*(5*D);g+=x*(5*I);d+=g>>>13;g&=8191;y=d;y+=z*I;y+=O*B;y+=k*M;y+=C*P;y+=T*V;d=y>>>13;y&=8191;y+=_*N;y+=A*(5*U);y+=E*(5*L);y+=R*(5*q);y+=x*(5*D);d+=y>>>13;y&=8191;S=d;S+=z*D;S+=O*I;S+=k*B;S+=C*M;S+=T*P;d=S>>>13;S&=8191;S+=_*V;S+=A*N;S+=E*(5*U);S+=R*(5*L);S+=x*(5*q);d+=S>>>13;S&=8191;v=d;v+=z*q;v+=O*D;v+=k*I;v+=C*B;v+=T*M;d=v>>>13;v&=8191;v+=_*P;v+=A*V;v+=E*N;v+=R*(5*U);v+=x*(5*L);d+=v>>>13;v&=8191;w=d;w+=z*L;w+=O*q;w+=k*D;w+=C*I;w+=T*B;d=w>>>13;w&=8191;w+=_*M;w+=A*P;w+=E*V;w+=R*N;w+=x*(5*U);d+=w>>>13;w&=8191;j=d;j+=z*U;j+=O*L;j+=k*q;j+=C*D;j+=T*I;d=j>>>13;j&=8191;j+=_*B;j+=A*M;j+=E*P;j+=R*V;j+=x*N;d+=j>>>13;j&=8191;d=(d<<2)+d|0;d=d+f|0;f=d&8191;d=d>>>13;h+=d;z=f;O=h;k=m;C=b;T=g;_=y;A=S;E=v;R=w;x=j;t+=16;i-=16}this.h[0]=z;this.h[1]=O;this.h[2]=k;this.h[3]=C;this.h[4]=T;this.h[5]=_;this.h[6]=A;this.h[7]=E;this.h[8]=R;this.h[9]=x};m.prototype.finish=function(e,t){var i=new Uint16Array(10);var n,r,s,a;if(this.leftover){a=this.leftover;this.buffer[a++]=1;for(;a<16;a++)this.buffer[a]=0;this.fin=1;this.blocks(this.buffer,0,16)}n=this.h[1]>>>13;this.h[1]&=8191;for(a=2;a<10;a++){this.h[a]+=n;n=this.h[a]>>>13;this.h[a]&=8191}this.h[0]+=n*5;n=this.h[0]>>>13;this.h[0]&=8191;this.h[1]+=n;n=this.h[1]>>>13;this.h[1]&=8191;this.h[2]+=n;i[0]=this.h[0]+5;n=i[0]>>>13;i[0]&=8191;for(a=1;a<10;a++){i[a]=this.h[a]+n;n=i[a]>>>13;i[a]&=8191}i[9]-=1<<13;r=(n^1)-1;for(a=0;a<10;a++)i[a]&=r;r=~r;for(a=0;a<10;a++)this.h[a]=this.h[a]&r|i[a];this.h[0]=(this.h[0]|this.h[1]<<13)&65535;this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535;this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535;this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535;this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535;this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535;this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535;this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535;s=this.h[0]+this.pad[0];this.h[0]=s&65535;for(a=1;a<8;a++){s=(this.h[a]+this.pad[a]|0)+(s>>>16)|0;this.h[a]=s&65535}e[t+0]=this.h[0]>>>0&255;e[t+1]=this.h[0]>>>8&255;e[t+2]=this.h[1]>>>0&255;e[t+3]=this.h[1]>>>8&255;e[t+4]=this.h[2]>>>0&255;e[t+5]=this.h[2]>>>8&255;e[t+6]=this.h[3]>>>0&255;e[t+7]=this.h[3]>>>8&255;e[t+8]=this.h[4]>>>0&255;e[t+9]=this.h[4]>>>8&255;e[t+10]=this.h[5]>>>0&255;e[t+11]=this.h[5]>>>8&255;e[t+12]=this.h[6]>>>0&255;e[t+13]=this.h[6]>>>8&255;e[t+14]=this.h[7]>>>0&255;e[t+15]=this.h[7]>>>8&255};m.prototype.update=function(e,t,i){var n,r;if(this.leftover){r=16-this.leftover;if(r>i)r=i;for(n=0;n=16){r=i-i%16;this.blocks(e,t,r);t+=r;i-=r}if(i){for(n=0;n>16&1);a[n-1]&=65535}a[15]=o[15]-32767-(a[14]>>16&1);s=a[15]>>16&1;a[14]&=65535;sel25519(o,a,1-s)}for(n=0;n<16;n++){e[2*n]=o[n]&255;e[2*n+1]=o[n]>>8}}function neq25519(e,t){var i=new Uint8Array(32),n=new Uint8Array(32);pack25519(i,e);pack25519(n,t);return crypto_verify_32(i,0,n,0)}function par25519(e){var t=new Uint8Array(32);pack25519(t,e);return t[0]&1}function unpack25519(e,t){var i;for(i=0;i<16;i++)e[i]=t[2*i]+(t[2*i+1]<<8);e[15]&=32767}function A(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]+i[n]}function Z(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]-i[n]}function M(e,t,i){var n,r,s=0,a=0,o=0,u=0,c=0,l=0,p=0,d=0,f=0,h=0,m=0,b=0,g=0,y=0,S=0,v=0,w=0,j=0,z=0,O=0,k=0,C=0,T=0,_=0,A=0,E=0,R=0,x=0,N=0,V=0,P=0,M=i[0],B=i[1],I=i[2],D=i[3],q=i[4],L=i[5],U=i[6],Q=i[7],H=i[8],K=i[9],G=i[10],W=i[11],F=i[12],J=i[13],Y=i[14],X=i[15];n=t[0];s+=n*M;a+=n*B;o+=n*I;u+=n*D;c+=n*q;l+=n*L;p+=n*U;d+=n*Q;f+=n*H;h+=n*K;m+=n*G;b+=n*W;g+=n*F;y+=n*J;S+=n*Y;v+=n*X;n=t[1];a+=n*M;o+=n*B;u+=n*I;c+=n*D;l+=n*q;p+=n*L;d+=n*U;f+=n*Q;h+=n*H;m+=n*K;b+=n*G;g+=n*W;y+=n*F;S+=n*J;v+=n*Y;w+=n*X;n=t[2];o+=n*M;u+=n*B;c+=n*I;l+=n*D;p+=n*q;d+=n*L;f+=n*U;h+=n*Q;m+=n*H;b+=n*K;g+=n*G;y+=n*W;S+=n*F;v+=n*J;w+=n*Y;j+=n*X;n=t[3];u+=n*M;c+=n*B;l+=n*I;p+=n*D;d+=n*q;f+=n*L;h+=n*U;m+=n*Q;b+=n*H;g+=n*K;y+=n*G;S+=n*W;v+=n*F;w+=n*J;j+=n*Y;z+=n*X;n=t[4];c+=n*M;l+=n*B;p+=n*I;d+=n*D;f+=n*q;h+=n*L;m+=n*U;b+=n*Q;g+=n*H;y+=n*K;S+=n*G;v+=n*W;w+=n*F;j+=n*J;z+=n*Y;O+=n*X;n=t[5];l+=n*M;p+=n*B;d+=n*I;f+=n*D;h+=n*q;m+=n*L;b+=n*U;g+=n*Q;y+=n*H;S+=n*K;v+=n*G;w+=n*W;j+=n*F;z+=n*J;O+=n*Y;k+=n*X;n=t[6];p+=n*M;d+=n*B;f+=n*I;h+=n*D;m+=n*q;b+=n*L;g+=n*U;y+=n*Q;S+=n*H;v+=n*K;w+=n*G;j+=n*W;z+=n*F;O+=n*J;k+=n*Y;C+=n*X;n=t[7];d+=n*M;f+=n*B;h+=n*I;m+=n*D;b+=n*q;g+=n*L;y+=n*U;S+=n*Q;v+=n*H;w+=n*K;j+=n*G;z+=n*W;O+=n*F;k+=n*J;C+=n*Y;T+=n*X;n=t[8];f+=n*M;h+=n*B;m+=n*I;b+=n*D;g+=n*q;y+=n*L;S+=n*U;v+=n*Q;w+=n*H;j+=n*K;z+=n*G;O+=n*W;k+=n*F;C+=n*J;T+=n*Y;_+=n*X;n=t[9];h+=n*M;m+=n*B;b+=n*I;g+=n*D;y+=n*q;S+=n*L;v+=n*U;w+=n*Q;j+=n*H;z+=n*K;O+=n*G;k+=n*W;C+=n*F;T+=n*J;_+=n*Y;A+=n*X;n=t[10];m+=n*M;b+=n*B;g+=n*I;y+=n*D;S+=n*q;v+=n*L;w+=n*U;j+=n*Q;z+=n*H;O+=n*K;k+=n*G;C+=n*W;T+=n*F;_+=n*J;A+=n*Y;E+=n*X;n=t[11];b+=n*M;g+=n*B;y+=n*I;S+=n*D;v+=n*q;w+=n*L;j+=n*U;z+=n*Q;O+=n*H;k+=n*K;C+=n*G;T+=n*W;_+=n*F;A+=n*J;E+=n*Y;R+=n*X;n=t[12];g+=n*M;y+=n*B;S+=n*I;v+=n*D;w+=n*q;j+=n*L;z+=n*U;O+=n*Q;k+=n*H;C+=n*K;T+=n*G;_+=n*W;A+=n*F;E+=n*J;R+=n*Y;x+=n*X;n=t[13];y+=n*M;S+=n*B;v+=n*I;w+=n*D;j+=n*q;z+=n*L;O+=n*U;k+=n*Q;C+=n*H;T+=n*K;_+=n*G;A+=n*W;E+=n*F;R+=n*J;x+=n*Y;N+=n*X;n=t[14];S+=n*M;v+=n*B;w+=n*I;j+=n*D;z+=n*q;O+=n*L;k+=n*U;C+=n*Q;T+=n*H;_+=n*K;A+=n*G;E+=n*W;R+=n*F;x+=n*J;N+=n*Y;V+=n*X;n=t[15];v+=n*M;w+=n*B;j+=n*I;z+=n*D;O+=n*q;k+=n*L;C+=n*U;T+=n*Q;_+=n*H;A+=n*K;E+=n*G;R+=n*W;x+=n*F;N+=n*J;V+=n*Y;P+=n*X;s+=38*w;a+=38*j;o+=38*z;u+=38*O;c+=38*k;l+=38*C;p+=38*T;d+=38*_;f+=38*A;h+=38*E;m+=38*R;b+=38*x;g+=38*N;y+=38*V;S+=38*P;r=1;n=s+r+65535;r=Math.floor(n/65536);s=n-r*65536;n=a+r+65535;r=Math.floor(n/65536);a=n-r*65536;n=o+r+65535;r=Math.floor(n/65536);o=n-r*65536;n=u+r+65535;r=Math.floor(n/65536);u=n-r*65536;n=c+r+65535;r=Math.floor(n/65536);c=n-r*65536;n=l+r+65535;r=Math.floor(n/65536);l=n-r*65536;n=p+r+65535;r=Math.floor(n/65536);p=n-r*65536;n=d+r+65535;r=Math.floor(n/65536);d=n-r*65536;n=f+r+65535;r=Math.floor(n/65536);f=n-r*65536;n=h+r+65535;r=Math.floor(n/65536);h=n-r*65536;n=m+r+65535;r=Math.floor(n/65536);m=n-r*65536;n=b+r+65535;r=Math.floor(n/65536);b=n-r*65536;n=g+r+65535;r=Math.floor(n/65536);g=n-r*65536;n=y+r+65535;r=Math.floor(n/65536);y=n-r*65536;n=S+r+65535;r=Math.floor(n/65536);S=n-r*65536;n=v+r+65535;r=Math.floor(n/65536);v=n-r*65536;s+=r-1+37*(r-1);r=1;n=s+r+65535;r=Math.floor(n/65536);s=n-r*65536;n=a+r+65535;r=Math.floor(n/65536);a=n-r*65536;n=o+r+65535;r=Math.floor(n/65536);o=n-r*65536;n=u+r+65535;r=Math.floor(n/65536);u=n-r*65536;n=c+r+65535;r=Math.floor(n/65536);c=n-r*65536;n=l+r+65535;r=Math.floor(n/65536);l=n-r*65536;n=p+r+65535;r=Math.floor(n/65536);p=n-r*65536;n=d+r+65535;r=Math.floor(n/65536);d=n-r*65536;n=f+r+65535;r=Math.floor(n/65536);f=n-r*65536;n=h+r+65535;r=Math.floor(n/65536);h=n-r*65536;n=m+r+65535;r=Math.floor(n/65536);m=n-r*65536;n=b+r+65535;r=Math.floor(n/65536);b=n-r*65536;n=g+r+65535;r=Math.floor(n/65536);g=n-r*65536;n=y+r+65535;r=Math.floor(n/65536);y=n-r*65536;n=S+r+65535;r=Math.floor(n/65536);S=n-r*65536;n=v+r+65535;r=Math.floor(n/65536);v=n-r*65536;s+=r-1+37*(r-1);e[0]=s;e[1]=a;e[2]=o;e[3]=u;e[4]=c;e[5]=l;e[6]=p;e[7]=d;e[8]=f;e[9]=h;e[10]=m;e[11]=b;e[12]=g;e[13]=y;e[14]=S;e[15]=v}function S(e,t){M(e,t,t)}function inv25519(e,i){var n=t();var r;for(r=0;r<16;r++)n[r]=i[r];for(r=253;r>=0;r--){S(n,n);if(r!==2&&r!==4)M(n,n,i)}for(r=0;r<16;r++)e[r]=n[r]}function pow2523(e,i){var n=t();var r;for(r=0;r<16;r++)n[r]=i[r];for(r=250;r>=0;r--){S(n,n);if(r!==1)M(n,n,i)}for(r=0;r<16;r++)e[r]=n[r]}function crypto_scalarmult(e,i,n){var r=new Uint8Array(32);var s=new Float64Array(80),a,o;var c=t(),l=t(),p=t(),d=t(),f=t(),h=t();for(o=0;o<31;o++)r[o]=i[o];r[31]=i[31]&127|64;r[0]&=248;unpack25519(s,n);for(o=0;o<16;o++){l[o]=s[o];d[o]=c[o]=p[o]=0}c[0]=d[0]=1;for(o=254;o>=0;--o){a=r[o>>>3]>>>(o&7)&1;sel25519(c,l,a);sel25519(p,d,a);A(f,c,p);Z(c,c,p);A(p,l,d);Z(l,l,d);S(d,f);S(h,c);M(c,p,c);M(p,l,f);A(f,c,p);Z(c,c,p);S(l,c);Z(p,d,h);M(c,p,u);A(c,c,d);M(p,p,c);M(c,d,h);M(d,l,s);S(l,f);sel25519(c,l,a);sel25519(p,d,a)}for(o=0;o<16;o++){s[o+16]=c[o];s[o+32]=p[o];s[o+48]=l[o];s[o+64]=d[o]}var m=s.subarray(32);var b=s.subarray(16);inv25519(m,m);M(b,b,m);pack25519(e,b);return 0}function crypto_scalarmult_base(e,t){return crypto_scalarmult(e,t,s)}function crypto_box_keypair(e,t){n(t,32);return crypto_scalarmult_base(e,t)}function crypto_box_beforenm(e,t,i){var n=new Uint8Array(32);crypto_scalarmult(n,i,t);return crypto_core_hsalsa20(e,r,n,h)}var b=crypto_secretbox;var g=crypto_secretbox_open;function crypto_box(e,t,i,n,r,s){var a=new Uint8Array(32);crypto_box_beforenm(a,r,s);return b(e,t,i,n,a)}function crypto_box_open(e,t,i,n,r,s){var a=new Uint8Array(32);crypto_box_beforenm(a,r,s);return g(e,t,i,n,a)}var y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function crypto_hashblocks_hl(e,t,i,n){var r=new Int32Array(16),s=new Int32Array(16),a,o,u,c,l,p,d,f,h,m,b,g,S,v,w,j,z,O,k,C,T,_,A,E,R,x;var N=e[0],V=e[1],P=e[2],M=e[3],B=e[4],I=e[5],D=e[6],q=e[7],L=t[0],U=t[1],Q=t[2],H=t[3],K=t[4],G=t[5],W=t[6],F=t[7];var J=0;while(n>=128){for(k=0;k<16;k++){C=8*k+J;r[k]=i[C+0]<<24|i[C+1]<<16|i[C+2]<<8|i[C+3];s[k]=i[C+4]<<24|i[C+5]<<16|i[C+6]<<8|i[C+7]}for(k=0;k<80;k++){a=N;o=V;u=P;c=M;l=B;p=I;d=D;f=q;h=L;m=U;b=Q;g=H;S=K;v=G;w=W;j=F;T=q;_=F;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=(B>>>14|K<<32-14)^(B>>>18|K<<32-18)^(K>>>41-32|B<<32-(41-32));_=(K>>>14|B<<32-14)^(K>>>18|B<<32-18)^(B>>>41-32|K<<32-(41-32));A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=B&I^~B&D;_=K&G^~K&W;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=y[k*2];_=y[k*2+1];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=r[k%16];_=s[k%16];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;z=R&65535|x<<16;O=A&65535|E<<16;T=z;_=O;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=(N>>>28|L<<32-28)^(L>>>34-32|N<<32-(34-32))^(L>>>39-32|N<<32-(39-32));_=(L>>>28|N<<32-28)^(N>>>34-32|L<<32-(34-32))^(N>>>39-32|L<<32-(39-32));A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=N&V^N&P^V&P;_=L&U^L&Q^U&Q;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;f=R&65535|x<<16;j=A&65535|E<<16;T=c;_=g;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=z;_=O;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;c=R&65535|x<<16;g=A&65535|E<<16;V=a;P=o;M=u;B=c;I=l;D=p;q=d;N=f;U=h;Q=m;H=b;K=g;G=S;W=v;F=w;L=j;if(k%16===15){for(C=0;C<16;C++){T=r[C];_=s[C];A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=r[(C+9)%16];_=s[(C+9)%16];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;z=r[(C+1)%16];O=s[(C+1)%16];T=(z>>>1|O<<32-1)^(z>>>8|O<<32-8)^z>>>7;_=(O>>>1|z<<32-1)^(O>>>8|z<<32-8)^(O>>>7|z<<32-7);A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;z=r[(C+14)%16];O=s[(C+14)%16];T=(z>>>19|O<<32-19)^(O>>>61-32|z<<32-(61-32))^z>>>6;_=(O>>>19|z<<32-19)^(z>>>61-32|O<<32-(61-32))^(O>>>6|z<<32-6);A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;r[C]=R&65535|x<<16;s[C]=A&65535|E<<16}}}T=N;_=L;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[0];_=t[0];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[0]=N=R&65535|x<<16;t[0]=L=A&65535|E<<16;T=V;_=U;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[1];_=t[1];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[1]=V=R&65535|x<<16;t[1]=U=A&65535|E<<16;T=P;_=Q;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[2];_=t[2];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[2]=P=R&65535|x<<16;t[2]=Q=A&65535|E<<16;T=M;_=H;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[3];_=t[3];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[3]=M=R&65535|x<<16;t[3]=H=A&65535|E<<16;T=B;_=K;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[4];_=t[4];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[4]=B=R&65535|x<<16;t[4]=K=A&65535|E<<16;T=I;_=G;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[5];_=t[5];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[5]=I=R&65535|x<<16;t[5]=G=A&65535|E<<16;T=D;_=W;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[6];_=t[6];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[6]=D=R&65535|x<<16;t[6]=W=A&65535|E<<16;T=q;_=F;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[7];_=t[7];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[7]=q=R&65535|x<<16;t[7]=F=A&65535|E<<16;J+=128;n-=128}return n}function crypto_hash(e,t,i){var n=new Int32Array(8),r=new Int32Array(8),s=new Uint8Array(256),a,o=i;n[0]=1779033703;n[1]=3144134277;n[2]=1013904242;n[3]=2773480762;n[4]=1359893119;n[5]=2600822924;n[6]=528734635;n[7]=1541459225;r[0]=4089235720;r[1]=2227873595;r[2]=4271175723;r[3]=1595750129;r[4]=2917565137;r[5]=725511199;r[6]=4215389547;r[7]=327033209;crypto_hashblocks_hl(n,r,t,i);i%=128;for(a=0;a=0;--r){n=i[r/8|0]>>(r&7)&1;cswap(e,t,n);add(t,e);add(e,e);cswap(e,t,n)}}function scalarbase(e,i){var n=[t(),t(),t(),t()];set25519(n[0],p);set25519(n[1],d);set25519(n[2],o);M(n[3],p,d);scalarmult(e,n,i)}function crypto_sign_keypair(e,i,r){var s=new Uint8Array(64);var a=[t(),t(),t(),t()];var o;if(!r)n(i,32);crypto_hash(s,i,32);s[0]&=248;s[31]&=127;s[31]|=64;scalarbase(a,s);pack(e,a);for(o=0;o<32;o++)i[o+32]=e[o];return 0}var v=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function modL(e,t){var i,n,r,s;for(n=63;n>=32;--n){i=0;for(r=n-32,s=n-12;r>8;t[r]-=i*256}t[r]+=i;t[n]=0}i=0;for(r=0;r<32;r++){t[r]+=i-(t[31]>>4)*v[r];i=t[r]>>8;t[r]&=255}for(r=0;r<32;r++)t[r]-=i*v[r];for(n=0;n<32;n++){t[n+1]+=t[n]>>8;e[n]=t[n]&255}}function reduce(e){var t=new Float64Array(64),i;for(i=0;i<64;i++)t[i]=e[i];for(i=0;i<64;i++)e[i]=0;modL(e,t)}function crypto_sign(e,i,n,r){var s=new Uint8Array(64),a=new Uint8Array(64),o=new Uint8Array(64);var u,c,l=new Float64Array(64);var p=[t(),t(),t(),t()];crypto_hash(s,r,32);s[0]&=248;s[31]&=127;s[31]|=64;var d=n+64;for(u=0;u>7)Z(e[0],a,e[0]);M(e[3],e[0],e[1]);return 0}function crypto_sign_open(e,i,n,r){var s,a;var o=new Uint8Array(32),u=new Uint8Array(64);var c=[t(),t(),t(),t()],l=[t(),t(),t(),t()];a=-1;if(n<64)return-1;if(unpackneg(l,r))return-1;for(s=0;s=0};e.sign.keyPair=function(){var e=new Uint8Array(P);var t=new Uint8Array(B);crypto_sign_keypair(e,t);return{publicKey:e,secretKey:t}};e.sign.keyPair.fromSecretKey=function(e){checkArrayTypes(e);if(e.length!==B)throw new Error("bad secret key size");var t=new Uint8Array(P);for(var i=0;i=0&&i<=S}}function shallowProperty(e){return function(t){return t==null?void 0:t[e]}}var D=shallowProperty("byteLength");var q=createSizePropertyCheck(D);var L=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function isTypedArray(e){return h?h(e)&&!P(e):q(e)&&L.test(o.call(e))}var U=c?isTypedArray:constant(false);var Q=shallowProperty("length");function emulatedSet(e){var t={};for(var i=e.length,n=0;n":">",'"':""","'":"'","`":"`"};var oe=createEscaper(ae);var ue=invert(ae);var ce=createEscaper(ue);var le=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var pe=/(.)^/;var de={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"};var fe=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(e){return"\\"+de[e]}var he=/^\s*(\w|\$)+\s*$/;function template(e,t,i){if(!t&&i)t=i;t=re({},t,_.templateSettings);var n=RegExp([(t.escape||pe).source,(t.interpolate||pe).source,(t.evaluate||pe).source].join("|")+"|$","g");var r=0;var s="__p+='";e.replace(n,function(t,i,n,a,o){s+=e.slice(r,o).replace(fe,escapeChar);r=o+t.length;if(i){s+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'"}else if(n){s+="'+\n((__t=("+n+"))==null?'':__t)+\n'"}else if(a){s+="';\n"+a+"\n__p+='"}return t});s+="';\n";var a=t.variable;if(a){if(!he.test(a))throw new Error(a)}else{s="with(obj||{}){\n"+s+"}\n";a="obj"}s="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";var o;try{o=new Function(a,"_",s)}catch(e){e.source=s;throw e}var u=function(e){return o.call(this,e,_)};u.source="function("+a+"){\n"+s+"}";return u}function result(e,t,i){t=toPath$1(t);var n=t.length;if(!n){return E(i)?i.call(e):i}for(var r=0;r1){flatten(o,t-1,i,n);r=n.length}else{var u=0,c=o.length;while(ut){if(n){clearTimeout(n);n=null}o=c;a=e.apply(r,s);if(!n)r=s=null}else if(!n&&i.trailing!==false){n=setTimeout(u,l)}return a};c.cancel=function(){clearTimeout(n);o=0;n=r=s=null};return c}function debounce(e,t,i){var n,r,s,a,o;var u=function(){var c=se()-r;if(t>c){n=setTimeout(u,t-c)}else{n=null;if(!i)a=e.apply(o,s);if(!n)s=o=null}};var c=restArguments(function(c){o=this;s=c;r=se();if(!n){n=setTimeout(u,t);if(i)a=e.apply(o,s)}return a});c.cancel=function(){clearTimeout(n);n=s=o=null};return c}function wrap(e,t){return be(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){var e=arguments;var t=e.length-1;return function(){var i=t;var n=e[t].apply(this,arguments);while(i--)n=e[i].call(this,n);return n}}function after(e,t){return function(){if(--e<1){return t.apply(this,arguments)}}}function before(e,t){var i;return function(){if(--e>0){i=t.apply(this,arguments)}if(e<=1)t=null;return i}}var je=be(before,2);function findKey(e,t,i){t=cb(t,i);var n=keys(e),r;for(var s=0,a=n.length;s0?0:r-1;for(;s>=0&&s0){o=s>=0?s:Math.max(s+u,o)}else{u=s>=0?Math.min(s+1,u):s+u+1}}else if(i&&s&&u){s=i(n,r);return n[s]===r?s:-1}if(r!==r){s=t(a.call(n,o,u),isNaN$1);return s>=0?s+o:-1}for(s=e>0?o:u-1;s>=0&&s0?0:a-1;if(!r){n=t[s?s[o]:o];o+=e}for(;o>=0&&o=3;return t(e,optimizeCb(i,r,4),n,s)}}var Te=createReduce(1);var _e=createReduce(-1);function filter(e,t,i){var n=[];t=cb(t,i);each(e,function(e,i,r){if(t(e,i,r))n.push(e)});return n}function reject(e,t,i){return filter(e,negate(cb(t)),i)}function every(e,t,i){t=cb(t,i);var n=!ye(e)&&keys(e),r=(n||e).length;for(var s=0;s=0}var Ae=restArguments(function(e,t,i){var n,r;if(E(t)){r=t}else{t=toPath$1(t);n=t.slice(0,-1);t=t[t.length-1]}return map(e,function(e){var s=r;if(!s){if(n&&n.length){e=deepGet(e,n)}if(e==null)return void 0;s=e[t]}return s==null?s:s.apply(e,i)})});function pluck(e,t){return map(e,property(t))}function where(e,t){return filter(e,matcher(t))}function max(e,t,i){var n=-Infinity,r=-Infinity,s,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ye(e)?e:values(e);for(var o=0,u=e.length;on){n=s}}}else{t=cb(t,i);each(e,function(e,i,s){a=t(e,i,s);if(a>r||a===-Infinity&&n===-Infinity){n=e;r=a}})}return n}function min(e,t,i){var n=Infinity,r=Infinity,s,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ye(e)?e:values(e);for(var o=0,u=e.length;on||i===void 0)return 1;if(i1)n=optimizeCb(n,t[1]);t=allKeys(e)}else{n=keyInObj;t=flatten(t,false,false);e=Object(e)}for(var r=0,s=t.length;r1)n=t[1]}else{t=map(flatten(t,false,false),String);i=function(e,i){return!contains(t,i)}}return Pe(e,i,n)});function initial(e,t,i){return a.call(e,0,Math.max(0,e.length-(t==null||i?1:t)))}function first(e,t,i){if(e==null||e.length<1)return t==null||i?void 0:[];if(t==null||i)return e[0];return initial(e,e.length-t)}function rest(e,t,i){return a.call(e,t==null||i?1:t)}function last(e,t,i){if(e==null||e.length<1)return t==null||i?void 0:[];if(t==null||i)return e[e.length-1];return rest(e,Math.max(0,e.length-t))}function compact(e){return filter(e,Boolean)}function flatten$1(e,t){return flatten(e,t,false)}var Be=restArguments(function(e,t){t=flatten(t,true,true);return filter(e,function(e){return!contains(t,e)})});var Ie=restArguments(function(e,t){return Be(e,t)});function uniq(e,t,i,n){if(!isBoolean(t)){n=i;i=t;t=false}if(i!=null)i=cb(i,n);var r=[];var s=[];for(var a=0,o=Q(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},70020:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),i=0;i1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var r=1;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=a-o;var S=Math.floor;var v=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var i=[];var n=e.length;while(n--){i[n]=t(e[n])}return i}function mapDomain(e,t){var i=e.split("@");var n="";if(i.length>1){n=i[0]+"@";e=i[1]}e=e.replace(b,".");var r=e.split(".");var s=map(r,t).join(".");return n+s}function ucs2decode(e){var t=[];var i=0;var n=e.length;while(i=55296&&r<=56319&&i>1;e+=S(e/t);for(;e>y*u>>1;n+=a){e=S(e/y)}return S(n+(y+1)*e/(e+c))};var k=function decode(e){var t=[];var i=e.length;var n=0;var r=d;var c=p;var l=e.lastIndexOf(f);if(l<0){l=0}for(var h=0;h=128){error$1("not-basic")}t.push(e.charCodeAt(h))}for(var m=l>0?l+1:0;m=i){error$1("invalid-input")}var v=j(e.charCodeAt(m++));if(v>=a||v>S((s-n)/g)){error$1("overflow")}n+=v*g;var w=y<=c?o:y>=c+u?u:y-c;if(vS(s/z)){error$1("overflow")}g*=z}var k=t.length+1;c=O(n-b,k,b==0);if(S(n/k)>s-r){error$1("overflow")}r+=S(n/k);n%=k;t.splice(n++,0,r)}return String.fromCodePoint.apply(String,t)};var C=function encode(e){var t=[];e=ucs2decode(e);var i=e.length;var n=d;var r=0;var c=p;var l=true;var h=false;var m=undefined;try{for(var b=e[Symbol.iterator](),g;!(l=(g=b.next()).done);l=true){var y=g.value;if(y<128){t.push(v(y))}}}catch(e){h=true;m=e}finally{try{if(!l&&b.return){b.return()}}finally{if(h){throw m}}}var w=t.length;var j=w;if(w){t.push(f)}while(j=n&&RS((s-r)/x)){error$1("overflow")}r+=(k-n)*x;n=k;var N=true;var V=false;var P=undefined;try{for(var M=e[Symbol.iterator](),B;!(N=(B=M.next()).done);N=true){var I=B.value;if(Is){error$1("overflow")}if(I==n){var D=r;for(var q=a;;q+=a){var L=q<=c?o:q>=c+u?u:q-c;if(D>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else i="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return i}function pctDecChars(e){var t="";var i=0;var n=e.length;while(i=194&&r<224){if(n-i>=6){var s=parseInt(e.substr(i+4,2),16);t+=String.fromCharCode((r&31)<<6|s&63)}else{t+=e.substr(i,6)}i+=6}else if(r>=224){if(n-i>=9){var a=parseInt(e.substr(i+4,2),16);var o=parseInt(e.substr(i+7,2),16);t+=String.fromCharCode((r&15)<<12|(a&63)<<6|o&63)}else{t+=e.substr(i,9)}i+=9}else{t+=e.substr(i,3);i+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var i=pctDecChars(e);return!i.match(t.UNRESERVED)?e:i}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var i=e.match(t.IPV4ADDRESS)||[];var r=n(i,2),s=r[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var i=e.match(t.IPV6ADDRESS)||[];var r=n(i,3),s=r[1],a=r[2];if(s){var o=s.toLowerCase().split("::").reverse(),u=n(o,2),c=u[0],l=u[1];var p=l?l.split(":").map(_stripLeadingZeros):[];var d=c.split(":").map(_stripLeadingZeros);var f=t.IPV4ADDRESS.test(d[d.length-1]);var h=f?7:8;var m=d.length-h;var b=Array(h);for(var g=0;g1){var w=b.slice(0,S.index);var j=b.slice(S.index+S.length);v=w.join(":")+"::"+j.join(":")}else{v=b.join(":")}if(a){v+="%"+a}return v}else{return e}}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var x="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r={};var s=n.iri!==false?i:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var a=e.match(R);if(a){if(x){r.scheme=a[1];r.userinfo=a[3];r.host=a[4];r.port=parseInt(a[5],10);r.path=a[6]||"";r.query=a[7];r.fragment=a[8];if(isNaN(r.port)){r.port=a[5]}}else{r.scheme=a[1]||undefined;r.userinfo=e.indexOf("@")!==-1?a[3]:undefined;r.host=e.indexOf("//")!==-1?a[4]:undefined;r.port=parseInt(a[5],10);r.path=a[6]||"";r.query=e.indexOf("?")!==-1?a[7]:undefined;r.fragment=e.indexOf("#")!==-1?a[8]:undefined;if(isNaN(r.port)){r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:undefined}}if(r.host){r.host=_normalizeIPv6(_normalizeIPv4(r.host,s),s)}if(r.scheme===undefined&&r.userinfo===undefined&&r.host===undefined&&r.port===undefined&&!r.path&&r.query===undefined){r.reference="same-document"}else if(r.scheme===undefined){r.reference="relative"}else if(r.fragment===undefined){r.reference="absolute"}else{r.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==r.reference){r.error=r.error||"URI is not a "+n.reference+" reference."}var o=E[(n.scheme||r.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!o||!o.unicodeSupport)){if(r.host&&(n.domainHost||o&&o.domainHost)){try{r.host=A.toASCII(r.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(r,t)}else{_normalizeComponentEncoding(r,s)}if(o&&o.parse){o.parse(r,n)}}else{r.error=r.error||"URI can not be parsed."}return r}function _recomposeAuthority(e,n){var r=n.iri!==false?i:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),r),r).replace(r.IPV6ADDRESS,function(e,t,i){return"["+t+(i?"%25"+i:"")+"]"}))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var N=/^\.\.?\//;var V=/^\/\.(\/|$)/;var P=/^\/\.\.(\/|$)/;var M=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(N)){e=e.replace(N,"")}else if(e.match(V)){e=e.replace(V,"/")}else if(e.match(P)){e=e.replace(P,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var i=e.match(M);if(i){var n=i[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=n.iri?i:t;var s=[];var a=E[(n.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize)a.serialize(e,n);if(e.host){if(r.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||a&&a.domainHost){try{e.host=!n.iri?A.toASCII(e.host.replace(r.PCT_ENCODED,pctDecChars).toLowerCase()):A.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,r);if(n.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var o=_recomposeAuthority(e,n);if(o!==undefined){if(n.reference!=="suffix"){s.push("//")}s.push(o);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var u=e.path;if(!n.absolutePath&&(!a||!a.absolutePath)){u=removeDotSegments(u)}if(o===undefined){u=u.replace(/^\/\//,"/%2F")}s.push(u)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var r={};if(!n){e=parse(serialize(e,i),i);t=parse(serialize(t,i),i)}i=i||{};if(!i.tolerant&&t.scheme){r.scheme=t.scheme;r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=removeDotSegments(t.path||"");r.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=removeDotSegments(t.path||"");r.query=t.query}else{if(!t.path){r.path=e.path;if(t.query!==undefined){r.query=t.query}else{r.query=e.query}}else{if(t.path.charAt(0)==="/"){r.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){r.path="/"+t.path}else if(!e.path){r.path=t.path}else{r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}r.path=removeDotSegments(r.path)}r.query=t.query}r.userinfo=e.userinfo;r.host=e.host;r.port=e.port}r.scheme=e.scheme}r.fragment=t.fragment;return r}function resolve(e,t,i){var n=assign({scheme:"null"},i);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,i){if(typeof e==="string"){e=serialize(parse(e,i),i)}else if(typeOf(e)==="object"){e=serialize(e,i)}if(typeof t==="string"){t=serialize(parse(t,i),i)}else if(typeOf(t)==="object"){t=serialize(t,i)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:i.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:i.PCT_ENCODED,pctDecChars)}var B={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var i=String(e.scheme).toLowerCase()==="https";if(e.port===(i?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var I={scheme:"https",domainHost:B.domainHost,parse:B.parse,serialize:B.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var D={scheme:"ws",domainHost:true,parse:function parse(e,t){var i=e;i.secure=isSecure(i);i.resourceName=(i.path||"/")+(i.query?"?"+i.query:"");i.path=undefined;i.query=undefined;return i},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var i=e.resourceName.split("?"),r=n(i,2),s=r[0],a=r[1];e.path=s&&s!=="/"?s:undefined;e.query=a;e.resourceName=undefined}e.fragment=undefined;return e}};var q={scheme:"wss",domainHost:D.domainHost,parse:D.parse,serialize:D.serialize};var L={};var U=true;var Q="[A-Za-z0-9\\-\\.\\_\\~"+(U?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var H="[0-9A-Fa-f]";var K=subexp(subexp("%[EFef]"+H+"%"+H+H+"%"+H+H)+"|"+subexp("%[89A-Fa-f]"+H+"%"+H+H)+"|"+subexp("%"+H+H));var G="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var W="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var F=merge(W,'[\\"\\\\]');var J="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Y=new RegExp(Q,"g");var X=new RegExp(K,"g");var Z=new RegExp(merge("[^]",G,"[\\.]",'[\\"]',F),"g");var $=new RegExp(merge("[^]",Q,J),"g");var ee=$;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Y)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var i=e;var n=i.to=i.path?i.path.split(","):[];i.path=undefined;if(i.query){var r=false;var s={};var a=i.query.split("&");for(var o=0,u=a.length;o{var t=[];for(var i=0;i<256;++i){t[i]=(i+256).toString(16).substr(1)}function bytesToUuid(e,i){var n=i||0;var r=t;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}e.exports=bytesToUuid},15859:(e,t,i)=>{var n=i(76417);e.exports=function nodeRNG(){return n.randomBytes(16)}},80824:(e,t,i)=>{var n=i(15859);var r=i(92707);function v4(e,t,i){var s=t&&i||0;if(typeof e=="string"){t=e==="binary"?new Array(16):null;e=null}e=e||{};var a=e.random||(e.rng||n)();a[6]=a[6]&15|64;a[8]=a[8]&63|128;if(t){for(var o=0;o<16;++o){t[s+o]=a[o]}}return t||r(a)}e.exports=v4},81692:(e,t,i)=>{var n=i(66631);var r=i(31669);var s=i(41508);var a=i(95898).VZ;var o=s.sprintf;e.exports=VError;VError.VError=VError;VError.SError=SError;VError.WError=WError;VError.MultiError=MultiError;function parseConstructorArguments(e){var t,i,r,s,u;n.object(e,"args");n.bool(e.strict,"args.strict");n.array(e.argv,"args.argv");t=e.argv;if(t.length===0){i={};r=[]}else if(a(t[0])){i={cause:t[0]};r=t.slice(1)}else if(typeof t[0]==="object"){i={};for(u in t[0]){i[u]=t[0][u]}r=t.slice(1)}else{n.string(t[0],"first argument to VError, SError, or WError "+"constructor must be a string, object, or Error");i={};r=t}n.object(i);if(!i.strict&&!e.strict){r=r.map(function(e){return e===null?"null":e===undefined?"undefined":e})}if(r.length===0){s=""}else{s=o.apply(null,r)}return{options:i,shortmessage:s}}function VError(){var e,t,i,r,s,o,u;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof VError)){t=Object.create(VError.prototype);VError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:false});if(i.options.name){n.string(i.options.name,'error\'s "name" must be a string');this.name=i.options.name}this.jse_shortmsg=i.shortmessage;o=i.shortmessage;r=i.options.cause;if(r){n.ok(a(r),"cause is not an Error");this.jse_cause=r;if(!i.options.skipCauseMessage){o+=": "+r.message}}this.jse_info={};if(i.options.info){for(u in i.options.info){this.jse_info[u]=i.options.info[u]}}this.message=o;Error.call(this,o);if(Error.captureStackTrace){s=i.options.constructorOpt||this.constructor;Error.captureStackTrace(this,s)}return this}r.inherits(VError,Error);VError.prototype.name="VError";VError.prototype.toString=function ve_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;return e};VError.prototype.cause=function ve_cause(){var e=VError.cause(this);return e===null?undefined:e};VError.cause=function(e){n.ok(a(e),"err must be an Error");return a(e.jse_cause)?e.jse_cause:null};VError.info=function(e){var t,i,r;n.ok(a(e),"err must be an Error");i=VError.cause(e);if(i!==null){t=VError.info(i)}else{t={}}if(typeof e.jse_info=="object"&&e.jse_info!==null){for(r in e.jse_info){t[r]=e.jse_info[r]}}return t};VError.findCauseByName=function(e,t){var i;n.ok(a(e),"err must be an Error");n.string(t,"name");n.ok(t.length>0,"name cannot be empty");for(i=e;i!==null;i=VError.cause(i)){n.ok(a(i));if(i.name==t){return i}}return null};VError.hasCauseWithName=function(e,t){return VError.findCauseByName(e,t)!==null};VError.fullStack=function(e){n.ok(a(e),"err must be an Error");var t=VError.cause(e);if(t){return e.stack+"\ncaused by: "+VError.fullStack(t)}return e.stack};VError.errorFromList=function(e){n.arrayOfObject(e,"errors");if(e.length===0){return null}e.forEach(function(e){n.ok(a(e))});if(e.length==1){return e[0]}return new MultiError(e)};VError.errorForEach=function(e,t){n.ok(a(e),"err must be an Error");n.func(t,"func");if(e instanceof MultiError){e.errors().forEach(function iterError(e){t(e)})}else{t(e)}};function SError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof SError)){t=Object.create(SError.prototype);SError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:true});n=i.options;VError.call(this,n,"%s",i.shortmessage);return this}r.inherits(SError,VError);function MultiError(e){n.array(e,"list of errors");n.ok(e.length>0,"must be at least one error");this.ase_errors=e;VError.call(this,{cause:e[0]},"first of %d error%s",e.length,e.length==1?"":"s")}r.inherits(MultiError,VError);MultiError.prototype.name="MultiError";MultiError.prototype.errors=function me_errors(){return this.ase_errors.slice(0)};function WError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof WError)){t=Object.create(WError.prototype);WError.apply(t,e);return t}i=parseConstructorArguments({argv:e,strict:false});n=i.options;n["skipCauseMessage"]=true;VError.call(this,n,"%s",i.shortmessage);return this}r.inherits(WError,VError);WError.prototype.name="WError";WError.prototype.toString=function we_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;if(this.jse_cause&&this.jse_cause.message)e+="; caused by "+this.jse_cause.toString();return e};WError.prototype.cause=function we_cause(e){if(a(e))this.jse_cause=e;return this.jse_cause}},41508:(e,t,i)=>{var n=i(42357);var r=i(31669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var s=Array.prototype.slice.call(arguments,1);var a=e;var o,u,c,l;var p,d,f,h,m;var b="";var g=1;var y=0;var S;var v;n.equal("string",typeof a,"first argument must be a format string");while((m=i.exec(a))!==null){b+=m[1];a=a.substring(m[0].length);v=m[0].substring(m[1].length);S=y+m[1].length+1;y+=m[0].length;o=m[2]||"";u=m[3]||0;c=m[4]||"";l=m[6];p=false;f=false;d=" ";if(l=="%"){b+="%";continue}if(s.length===0){throw jsError(e,S,v,"has no matching argument "+"(too few arguments passed)")}h=s.shift();g++;if(o.match(/[\' #]/)){throw jsError(e,S,v,"uses unsupported flags")}if(c.length>0){throw jsError(e,S,v,"uses non-zero precision (not supported)")}if(o.match(/-/))p=true;if(o.match(/0/))d="0";if(o.match(/\+/))f=true;switch(l){case"s":if(h===undefined||h===null){throw jsError(e,S,v,"attempted to print undefined or null "+"as a string (argument "+g+" to "+"sprintf)")}b+=doPad(d,u,p,h.toString());break;case"d":h=Math.floor(h);case"f":f=f&&h>0?"+":"";b+=f+doPad(d,u,p,h.toString());break;case"x":b+=doPad(d,u,p,h.toString(16));break;case"j":if(u===0)u=10;b+=r.inspect(h,false,u);break;case"r":b+=dumpException(h);break;default:throw jsError(e,S,v,"is not supported")}}b+=a;return b}function jsError(e,t,i,r){n.equal(typeof e,"string");n.equal(typeof i,"string");n.equal(typeof t,"number");n.equal(typeof r,"string");return new Error('format string "'+e+'": conversion specifier "'+i+'" at character '+t+" "+r)}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var r=n;while(r.length{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var i=0;i{"use strict";const n=i(91518);n.createWebSocketStream=i(41658);n.Server=i(58887);n.Receiver=i(25066);n.Sender=i(36947);e.exports=n},9436:(e,t,i)=>{"use strict";const{EMPTY_BUFFER:n}=i(15949);function concat(e,t){if(e.length===0)return n;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);let r=0;for(let t=0;t{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},64561:e=>{"use strict";class Event{constructor(e,t){this.target=t;this.type=e}}class MessageEvent extends Event{constructor(e,t){super("message",t);this.data=e}}class CloseEvent extends Event{constructor(e,t,i){super("close",i);this.wasClean=i._closeFrameReceived&&i._closeFrameSent;this.reason=t;this.code=e}}class OpenEvent extends Event{constructor(e){super("open",e)}}class ErrorEvent extends Event{constructor(e,t){super("error",t);this.message=e.message;this.error=e}}const t={addEventListener(e,t,i){if(typeof t!=="function")return;function onMessage(e){t.call(this,new MessageEvent(e,this))}function onClose(e,i){t.call(this,new CloseEvent(e,i,this))}function onError(e){t.call(this,new ErrorEvent(e,this))}function onOpen(){t.call(this,new OpenEvent(this))}const n=i&&i.once?"once":"on";if(e==="message"){onMessage._listener=t;this[n](e,onMessage)}else if(e==="close"){onClose._listener=t;this[n](e,onClose)}else if(e==="error"){onError._listener=t;this[n](e,onError)}else if(e==="open"){onOpen._listener=t;this[n](e,onOpen)}else{this[n](e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(let n=0;n{"use strict";const t=[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 push(e,t,i){if(e[t]===undefined)e[t]=[i];else e[t].push(i)}function parse(e){const i=Object.create(null);if(e===undefined||e==="")return i;let n=Object.create(null);let r=false;let s=false;let a=false;let o;let u;let c=-1;let l=-1;let p=0;for(;p{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>{return[t].concat(Object.keys(e).map(t=>{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>e===true?t:`${t}=${e}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}e.exports={format:format,parse:parse}},41356:e=>{"use strict";const t=Symbol("kDone");const i=Symbol("kRun");class Limiter{constructor(e){this[t]=(()=>{this.pending--;this[i]()});this.concurrency=e||Infinity;this.jobs=[];this.pending=0}add(e){this.jobs.push(e);this[i]()}[i](){if(this.pending===this.concurrency)return;if(this.jobs.length){const e=this.jobs.shift();this.pending++;e(this[t])}}}e.exports=Limiter},56684:(e,t,i)=>{"use strict";const n=i(78761);const r=i(9436);const s=i(41356);const{kStatusCode:a,NOOP:o}=i(15949);const u=Buffer.from([0,0,255,255]);const c=Symbol("permessage-deflate");const l=Symbol("total-length");const p=Symbol("callback");const d=Symbol("buffers");const f=Symbol("error");let h;class PerMessageDeflate{constructor(e,t,i){this._maxPayload=i|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!t;this._deflate=null;this._inflate=null;this.params=null;if(!h){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;h=new s(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[p];this._deflate.close();this._deflate=null;if(e){e(new Error("The deflate stream was closed while data was being processed"))}}}acceptAsServer(e){const t=this._options;const i=e.find(e=>{if(t.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(t.serverMaxWindowBits===false||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>e.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true});if(!i){throw new Error("None of the extension offers can be accepted")}if(t.serverNoContextTakeover){i.server_no_context_takeover=true}if(t.clientNoContextTakeover){i.client_no_context_takeover=true}if(typeof t.serverMaxWindowBits==="number"){i.server_max_window_bits=t.serverMaxWindowBits}if(typeof t.clientMaxWindowBits==="number"){i.client_max_window_bits=t.clientMaxWindowBits}else if(i.client_max_window_bits===true||t.clientMaxWindowBits===false){delete i.client_max_window_bits}return i}acceptAsClient(e){const t=e[0];if(this._options.clientNoContextTakeover===false&&t.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){t.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return t}normalizeParams(e){e.forEach(e=>{Object.keys(e).forEach(t=>{let i=e[t];if(i.length>1){throw new Error(`Parameter "${t}" must have only a single value`)}i=i[0];if(t==="client_max_window_bits"){if(i!==true){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else if(t==="server_max_window_bits"){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(t==="client_no_context_takeover"||t==="server_no_context_takeover"){if(i!==true){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else{throw new Error(`Unknown parameter "${t}"`)}e[t]=i})});return e}decompress(e,t,i){h.add(n=>{this._decompress(e,t,(e,t)=>{n();i(e,t)})})}compress(e,t,i){h.add(n=>{this._compress(e,t,(e,t)=>{n();i(e,t)})})}_decompress(e,t,i){const s=this._isServer?"client":"server";if(!this._inflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t});this._inflate[c]=this;this._inflate[l]=0;this._inflate[d]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[p]=i;this._inflate.write(e);if(t)this._inflate.write(u);this._inflate.flush(()=>{const e=this._inflate[f];if(e){this._inflate.close();this._inflate=null;i(e);return}const n=r.concat(this._inflate[d],this._inflate[l]);if(this._inflate._readableState.endEmitted){this._inflate.close();this._inflate=null}else{this._inflate[l]=0;this._inflate[d]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._inflate.reset()}}i(null,n)})}_compress(e,t,i){const s=this._isServer?"server":"client";if(!this._deflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t});this._deflate[l]=0;this._deflate[d]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate[p]=i;this._deflate.write(e);this._deflate.flush(n.Z_SYNC_FLUSH,()=>{if(!this._deflate){return}let e=r.concat(this._deflate[d],this._deflate[l]);if(t)e=e.slice(0,e.length-4);this._deflate[p]=null;this._deflate[l]=0;this._deflate[d]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._deflate.reset()}i(null,e)})}}e.exports=PerMessageDeflate;function deflateOnData(e){this[d].push(e);this[l]+=e.length}function inflateOnData(e){this[l]+=e.length;if(this[c]._maxPayload<1||this[l]<=this[c]._maxPayload){this[d].push(e);return}this[f]=new RangeError("Max payload size exceeded");this[f][a]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[c]._inflate=null;e[a]=1007;this[p](e)}},25066:(e,t,i)=>{"use strict";const{Writable:n}=i(92413);const r=i(56684);const{BINARY_TYPES:s,EMPTY_BUFFER:a,kStatusCode:o,kWebSocket:u}=i(15949);const{concat:c,toArrayBuffer:l,unmask:p}=i(9436);const{isValidStatusCode:d,isValidUTF8:f}=i(86279);const h=0;const m=1;const b=2;const g=3;const y=4;const S=5;class Receiver extends n{constructor(e,t,i,n){super();this._binaryType=e||s[0];this[u]=undefined;this._extensions=t||{};this._isServer=!!i;this._maxPayload=n|0;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._state=h;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==h)return i();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(i)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e=i.length){t.set(this._buffers.shift(),n)}else{t.set(new Uint8Array(i.buffer,i.byteOffset,e),n);this._buffers[0]=i.slice(e)}e-=i.length}while(e>0);return t}startLoop(e){let t;this._loop=true;do{switch(this._state){case h:t=this.getInfo();break;case m:t=this.getPayloadLength16();break;case b:t=this.getPayloadLength64();break;case g:this.getMask();break;case y:t=this.getData(e);break;default:this._loop=false;return}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=false;return}const e=this.consume(2);if((e[0]&48)!==0){this._loop=false;return error(RangeError,"RSV2 and RSV3 must be clear",true,1002)}const t=(e[0]&64)===64;if(t&&!this._extensions[r.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}this._fin=(e[0]&128)===128;this._opcode=e[0]&15;this._payloadLength=e[1]&127;if(this._opcode===0){if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002)}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}this._compressed=t}else if(this._opcode>7&&this._opcode<11){if(!this._fin){this._loop=false;return error(RangeError,"FIN must be set",true,1002)}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002)}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(e[1]&128)===128;if(this._isServer){if(!this._masked){this._loop=false;return error(RangeError,"MASK must be set",true,1002)}}else if(this._masked){this._loop=false;return error(RangeError,"MASK must be clear",true,1002)}if(this._payloadLength===126)this._state=m;else if(this._payloadLength===127)this._state=b;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);return this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=false;return}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>Math.pow(2,53-32)-1){this._loop=false;return error(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009)}this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4);return this.haveLength()}haveLength(){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){this._loop=false;return error(RangeError,"Max payload size exceeded",false,1009)}}if(this._masked)this._state=g;else this._state=y}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=y}getData(e){let t=a;if(this._payloadLength){if(this._bufferedBytes7)return this.controlMessage(t);if(this._compressed){this._state=S;this.decompress(t,e);return}if(t.length){this._messageLength=this._totalPayloadLength;this._fragments.push(t)}return this.dataMessage()}decompress(e,t){const i=this._extensions[r.extensionName];i.decompress(e,this._fin,(e,i)=>{if(e)return t(e);if(i.length){this._messageLength+=i.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){return t(error(RangeError,"Max payload size exceeded",false,1009))}this._fragments.push(i)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)})}dataMessage(){if(this._fin){const e=this._messageLength;const t=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){let i;if(this._binaryType==="nodebuffer"){i=c(t,e)}else if(this._binaryType==="arraybuffer"){i=l(c(t,e))}else{i=t}this.emit("message",i)}else{const i=c(t,e);if(!f(i)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("message",i.toString())}}this._state=h}controlMessage(e){if(this._opcode===8){this._loop=false;if(e.length===0){this.emit("conclude",1005,"");this.end()}else if(e.length===1){return error(RangeError,"invalid payload length 1",true,1002)}else{const t=e.readUInt16BE(0);if(!d(t)){return error(RangeError,`invalid status code ${t}`,true,1002)}const i=e.slice(2);if(!f(i)){return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=h}}e.exports=Receiver;function error(e,t,i,n){const r=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(r,error);r[o]=n;return r}},36947:(e,t,i)=>{"use strict";const{randomFillSync:n}=i(76417);const r=i(56684);const{EMPTY_BUFFER:s}=i(15949);const{isValidStatusCode:a}=i(86279);const{mask:o,toBuffer:u}=i(9436);const c=Buffer.alloc(4);class Sender{constructor(e,t){this._extensions=t||{};this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._deflating=false;this._queue=[]}static frame(e,t){const i=t.mask&&t.readOnly;let r=t.mask?6:2;let s=e.length;if(e.length>=65536){r+=8;s=127}else if(e.length>125){r+=2;s=126}const a=Buffer.allocUnsafe(i?e.length+r:r);a[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)a[0]|=64;a[1]=s;if(s===126){a.writeUInt16BE(e.length,2)}else if(s===127){a.writeUInt32BE(0,2);a.writeUInt32BE(e.length,6)}if(!t.mask)return[a,e];n(c,0,4);a[1]|=128;a[r-4]=c[0];a[r-3]=c[1];a[r-2]=c[2];a[r-1]=c[3];if(i){o(e,c,a,r,e.length);return[a]}o(e,c,e,0,e.length);return[a,e]}close(e,t,i,n){let r;if(e===undefined){r=s}else if(typeof e!=="number"||!a(e)){throw new TypeError("First argument must be a valid error code number")}else if(t===undefined||t===""){r=Buffer.allocUnsafe(2);r.writeUInt16BE(e,0)}else{const i=Buffer.byteLength(t);if(i>123){throw new RangeError("The message must not be greater than 123 bytes")}r=Buffer.allocUnsafe(2+i);r.writeUInt16BE(e,0);r.write(t,2)}if(this._deflating){this.enqueue([this.doClose,r,i,n])}else{this.doClose(r,i,n)}}doClose(e,t,i){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:8,mask:t,readOnly:false}),i)}ping(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPing,n,t,u.readOnly,i])}else{this.doPing(n,t,u.readOnly,i)}}doPing(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),n)}pong(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPong,n,t,u.readOnly,i])}else{this.doPong(n,t,u.readOnly,i)}}doPong(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),n)}send(e,t,i){const n=u(e);const s=this._extensions[r.extensionName];let a=t.binary?2:1;let o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&s){o=n.length>=s._threshold}this._compress=o}else{o=false;a=0}if(t.fin)this._firstFragment=true;if(s){const e={fin:t.fin,rsv1:o,opcode:a,mask:t.mask,readOnly:u.readOnly};if(this._deflating){this.enqueue([this.dispatch,n,this._compress,e,i])}else{this.dispatch(n,this._compress,e,i)}}else{this.sendFrame(Sender.frame(n,{fin:t.fin,rsv1:false,opcode:a,mask:t.mask,readOnly:u.readOnly}),i)}}dispatch(e,t,i,n){if(!t){this.sendFrame(Sender.frame(e,i),n);return}const s=this._extensions[r.extensionName];this._bufferedBytes+=e.length;this._deflating=true;s.compress(e,i.fin,(t,r)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");if(typeof n==="function")n(e);for(let t=0;t{"use strict";const{Duplex:n}=i(92413);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,t){let i=true;function receiverOnDrain(){if(i)e._socket.resume()}if(e.readyState===e.CONNECTING){e.once("open",function open(){e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)})}else{e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)}const r=new n({...t,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",function message(t){if(!r.push(t)){i=false;e._socket.pause()}});e.once("error",function error(e){if(r.destroyed)return;r.destroy(e)});e.once("close",function close(){if(r.destroyed)return;r.push(null)});r._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t);process.nextTick(emitClose,r);return}let n=false;e.once("error",function error(e){n=true;i(e)});e.once("close",function close(){if(!n)i(t);process.nextTick(emitClose,r)});e.terminate()};r._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._final(t)});return}if(e._socket===null)return;if(e._socket._writableState.finished){t();if(r._readableState.endEmitted)r.destroy()}else{e._socket.once("finish",function finish(){t()});e.close()}};r._read=function(){if(e.readyState===e.OPEN&&!i){i=true;if(!e._receiver._writableState.needDrain)e._socket.resume()}};r._write=function(t,i,n){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._write(t,i,n)});return}e.send(t,n)};r.on("end",duplexOnEnd);r.on("error",duplexOnError);return r}e.exports=createWebSocketStream},86279:(e,t,i)=>{"use strict";try{const e=i(24592);t.isValidUTF8=typeof e==="object"?e.Validation.isValidUTF8:e}catch(e){t.isValidUTF8=(()=>true)}t.isValidStatusCode=(e=>{return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999})},58887:(e,t,i)=>{"use strict";const n=i(28614);const{createHash:r}=i(76417);const{createServer:s,STATUS_CODES:a}=i(98605);const o=i(56684);const u=i(91518);const{format:c,parse:l}=i(92035);const{GUID:p,kWebSocket:d}=i(15949);const f=/^[+/0-9A-Za-z]{22}==$/;class WebSocketServer extends n{constructor(e,t){super();e={maxPayload:100*1024*1024,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null,...e};if(e.port==null&&!e.server&&!e.noServer){throw new TypeError('One of the "port", "server", or "noServer" options must be specified')}if(e.port!=null){this._server=s((e,t)=>{const i=a[426];t.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"});t.end(i)});this._server.listen(e.port,e.host,e.backlog,t)}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:(t,i,n)=>{this.handleUpgrade(t,i,n,e)}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=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(e)this.once("close",e);if(this.clients){for(const e of this.clients)e.terminate()}const t=this._server;if(t){this._removeListeners();this._removeListeners=this._server=null;if(this.options.port!=null){t.close(()=>this.emit("close"));return}}process.nextTick(emitClose,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");const i=t!==-1?e.url.slice(0,t):e.url;if(i!==this.options.path)return false}return true}handleUpgrade(e,t,i,n){t.on("error",socketOnError);const r=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const s=+e.headers["sec-websocket-version"];const a={};if(e.method!=="GET"||e.headers.upgrade.toLowerCase()!=="websocket"||!r||!f.test(r)||s!==8&&s!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new o(this.options.perMessageDeflate,true,this.options.maxPayload);try{const n=l(e.headers["sec-websocket-extensions"]);if(n[o.extensionName]){i.accept(n[o.extensionName]);a[o.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[`${s===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(o,(s,o,u,c)=>{if(!s){return abortHandshake(t,o||401,u,c)}this.completeUpgrade(r,a,e,t,i,n)});return}if(!this.options.verifyClient(o))return abortHandshake(t,401)}this.completeUpgrade(r,a,e,t,i,n)}completeUpgrade(e,t,i,n,s,a){if(!n.readable||!n.writable)return n.destroy();if(n[d]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}const l=r("sha1").update(e+p).digest("base64");const f=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${l}`];const h=new u(null);let m=i.headers["sec-websocket-protocol"];if(m){m=m.trim().split(/ *, */);if(this.options.handleProtocols){m=this.options.handleProtocols(m,i)}else{m=m[0]}if(m){f.push(`Sec-WebSocket-Protocol: ${m}`);h._protocol=m}}if(t[o.extensionName]){const e=t[o.extensionName].params;const i=c({[o.extensionName]:[e]});f.push(`Sec-WebSocket-Extensions: ${i}`);h._extensions=t}this.emit("headers",f,i);n.write(f.concat("\r\n").join("\r\n"));n.removeListener("error",socketOnError);h.setSocket(n,s,this.options.maxPayload);if(this.clients){this.clients.add(h);h.on("close",()=>this.clients.delete(h))}a(h,i)}}e.exports=WebSocketServer;function addListeners(e,t){for(const i of Object.keys(t))e.on(i,t[i]);return function removeListeners(){for(const i of Object.keys(t)){e.removeListener(i,t[i])}}}function emitClose(e){e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,n){if(e.writable){i=i||a[t];n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(i),...n};e.write(`HTTP/1.1 ${t} ${a[t]}\r\n`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}},91518:(e,t,i)=>{"use strict";const n=i(28614);const r=i(57211);const s=i(98605);const a=i(11631);const o=i(4016);const{randomBytes:u,createHash:c}=i(76417);const{URL:l}=i(78835);const p=i(56684);const d=i(25066);const f=i(36947);const{BINARY_TYPES:h,EMPTY_BUFFER:m,GUID:b,kStatusCode:g,kWebSocket:y,NOOP:S}=i(15949);const{addEventListener:v,removeEventListener:w}=i(64561);const{format:j,parse:z}=i(92035);const{toBuffer:O}=i(9436);const k=["CONNECTING","OPEN","CLOSING","CLOSED"];const C=[8,13];const T=30*1e3;class WebSocket extends n{constructor(e,t,i){super();this._binaryType=h[0];this._closeCode=1006;this._closeFrameReceived=false;this._closeFrameSent=false;this._closeMessage="";this._closeTimer=null;this._extensions={};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(Array.isArray(t)){t=t.join(", ")}else if(typeof t==="object"&&t!==null){i=t;t=undefined}initAsClient(this,e,t,i)}else{this._isServer=true}}get binaryType(){return this._binaryType}set binaryType(e){if(!h.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 protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,i){const n=new d(this.binaryType,this._extensions,this._isServer,i);this._sender=new f(e,this._extensions);this._receiver=n;this._socket=e;n[y]=this;e[y]=this;n.on("conclude",receiverOnConclude);n.on("drain",receiverOnDrain);n.on("error",receiverOnError);n.on("message",receiverOnMessage);n.on("ping",receiverOnPing);n.on("pong",receiverOnPong);e.setTimeout(0);e.setNoDelay();if(t.length>0)e.unshift(t);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[p.extensionName]){this._extensions[p.extensionName].cleanup()}this._receiver.removeAllListeners();this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this.readyState===WebSocket.CLOSING){if(this._closeFrameSent&&this._closeFrameReceived)this._socket.end();return}this._readyState=WebSocket.CLOSING;this._sender.close(e,t,!this._isServer,e=>{if(e)return;this._closeFrameSent=true;if(this._closeFrameReceived)this._socket.end()});this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),T)}ping(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.ping(e||m,t,i)}pong(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.pong(e||m,t,i)}send(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof t==="function"){i=t;t={}}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}const n={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...t};if(!this._extensions[p.extensionName]){n.compress=false}this._sender.send(e||m,n,i)}terminate(){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this._socket){this._readyState=WebSocket.CLOSING;this._socket.destroy()}}}k.forEach((e,t)=>{const i={enumerable:true,value:t};Object.defineProperty(WebSocket.prototype,e,i);Object.defineProperty(WebSocket,e,i)});["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(e=>{Object.defineProperty(WebSocket.prototype,e,{enumerable:true})});["open","error","close","message"].forEach(e=>{Object.defineProperty(WebSocket.prototype,`on${e}`,{configurable:true,enumerable:true,get(){const t=this.listeners(e);for(let e=0;e{abortHandshake(e,S,"Opening handshake has timed out")})}S.on("error",t=>{if(S===null||S.aborted)return;S=e._req=null;e._readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()});S.on("response",r=>{const s=r.headers.location;const o=r.statusCode;if(s&&a.followRedirects&&o>=300&&o<400){if(++e._redirects>a.maxRedirects){abortHandshake(e,S,"Maximum redirects exceeded");return}S.abort();const r=new l(s,t);initAsClient(e,r,i,n)}else if(!e.emit("unexpected-response",S,r)){abortHandshake(e,S,`Unexpected server response: ${r.statusCode}`)}});S.on("upgrade",(t,n,r)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;S=e._req=null;const s=c("sha1").update(m+b).digest("base64");if(t.headers["sec-websocket-accept"]!==s){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const o=t.headers["sec-websocket-protocol"];const u=(i||"").split(/, */);let l;if(!i&&o){l="Server sent a subprotocol but none was requested"}else if(i&&!o){l="Server sent no subprotocol"}else if(o&&!u.includes(o)){l="Server sent an invalid subprotocol"}if(l){abortHandshake(e,n,l);return}if(o)e._protocol=o;if(y){try{const i=z(t.headers["sec-websocket-extensions"]);if(i[p.extensionName]){y.accept(i[p.extensionName]);e._extensions[p.extensionName]=y}}catch(t){abortHandshake(e,n,"Invalid Sec-WebSocket-Extensions header");return}}e.setSocket(n,r,a.maxPayload)})}function netConnect(e){e.path=e.socketPath;return a.connect(e)}function tlsConnect(e){e.path=undefined;if(!e.servername&&e.servername!==""){e.servername=a.isIP(e.host)?"":e.host}return o.connect(e)}function abortHandshake(e,t,i){e._readyState=WebSocket.CLOSING;const n=new Error(i);Error.captureStackTrace(n,abortHandshake);if(t.setHeader){t.abort();t.once("abort",e.emitClose.bind(e));e.emit("error",n)}else{t.destroy(n);t.once("error",e.emit.bind(e,"error"));t.once("close",e.emitClose.bind(e))}}function sendAfterClose(e,t,i){if(t){const i=O(t).length;if(e._socket)e._sender._bufferedBytes+=i;else e._bufferedAmount+=i}if(i){const t=new Error(`WebSocket is not open: readyState ${e.readyState} `+`(${k[e.readyState]})`);i(t)}}function receiverOnConclude(e,t){const i=this[y];i._socket.removeListener("data",socketOnData);i._socket.resume();i._closeFrameReceived=true;i._closeMessage=t;i._closeCode=e;if(e===1005)i.close();else i.close(e,t)}function receiverOnDrain(){this[y]._socket.resume()}function receiverOnError(e){const t=this[y];t._socket.removeListener("data",socketOnData);t._readyState=WebSocket.CLOSING;t._closeCode=e[g];t.emit("error",e);t._socket.destroy()}function receiverOnFinish(){this[y].emitClose()}function receiverOnMessage(e){this[y].emit("message",e)}function receiverOnPing(e){const t=this[y];t.pong(e,!t._isServer,S);t.emit("ping",e)}function receiverOnPong(e){this[y].emit("pong",e)}function socketOnClose(){const e=this[y];this.removeListener("close",socketOnClose);this.removeListener("end",socketOnEnd);e._readyState=WebSocket.CLOSING;e._socket.read();e._receiver.end();this.removeListener("data",socketOnData);this[y]=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[y]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[y];e._readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[y];this.removeListener("error",socketOnError);this.on("error",S);if(e){e._readyState=WebSocket.CLOSING;this.destroy()}}},4091:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},40665:(e,t,i)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.push(e)})}else if(arguments.length>0){for(var i=0,n=arguments.length;i1){i=t}else if(this.head){n=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var r=0;n!==null;r++){i=e(i,n.value,r);n=n.next}return i};Yallist.prototype.reduceReverse=function(e,t){var i;var n=this.tail;if(arguments.length>1){i=t}else if(this.tail){n=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var r=this.length-1;n!==null;r--){i=e(i,n.value,r);n=n.prev}return i};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,i=this.head;i!==null;t++){e[t]=i.value;i=i.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,i=this.tail;i!==null;t++){e[t]=i.value;i=i.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(tthis.length){t=this.length}for(var n=0,r=this.head;r!==null&&nthis.length){t=this.length}for(var n=this.length,r=this.tail;r!==null&&n>t;n--){r=r.prev}for(;r!==null&&n>e;n--,r=r.prev){i.push(r.value)}return i};Yallist.prototype.splice=function(e,t,...i){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,r=this.head;r!==null&&n{const{isLoadBalancer:n,hasExternalAddress:r,createComment:s}=i(2831);const a=i(54742);const o=i(89679);const u=i(42186);const{context:c}=i(95438);const{getOctokit:l}=i(95438);async function fetchServiceStatus(){const e=new o.KubeConfig;e.loadFromDefault();const t=e.makeApiClient(o.CoreV1Api);const i=await t.readNamespacedServiceStatus(u.getInput("loadbalancer"),u.getInput("namespace"));if(!n(i.body)){throw Error("Given service is not a load balancer.")}if(!r(i.body)){throw Error("Given load balancer has no external ip assigned yet.")}return i.body}const p=async()=>{if(c.payload.pull_request==null){throw Error("No pull request found.")}const e=await a(function(e,t){if(t>1){console.log(`Retry Attempt: ${t}.`)}return fetchServiceStatus().catch(e)});const t=s(e);const i=l(u.getInput("token"));i.issues.createComment({...c.repo,issue_number:c.payload.pull_request.number,body:t})};p().then().catch(e=>u.setFailed(e.message))},2831:e=>{const t=e=>e.spec.type==="LoadBalancer";const i=e=>Object.prototype.hasOwnProperty.call(e.status.loadBalancer,"ingress");const n=e=>{const t=e.status.loadBalancer.ingress[0].ip;const i=e.metadata.name;return`${i} is now available at ${t} :sunglasses:`};e.exports={isLoadBalancer:t,hasExternalAddress:i,createComment:n}},71269:module=>{module.exports=eval("require")("bufferutil")},22877:module=>{module.exports=eval("require")("encoding")},24592:module=>{module.exports=eval("require")("utf-8-validate")},66835:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},81030:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},40038:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},24391:e=>{"use strict";e.exports=JSON.parse('{"$id":"afterRequest.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["lastAccess","eTag","hitCount"],"properties":{"expires":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"lastAccess":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"eTag":{"type":"string"},"hitCount":{"type":"integer"},"comment":{"type":"string"}}}')},94440:e=>{"use strict";e.exports=JSON.parse('{"$id":"beforeRequest.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["lastAccess","eTag","hitCount"],"properties":{"expires":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"lastAccess":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"eTag":{"type":"string"},"hitCount":{"type":"integer"},"comment":{"type":"string"}}}')},99850:e=>{"use strict";e.exports=JSON.parse('{"$id":"browser.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"string"},"comment":{"type":"string"}}}')},77654:e=>{"use strict";e.exports=JSON.parse('{"$id":"cache.json#","$schema":"http://json-schema.org/draft-06/schema#","properties":{"beforeRequest":{"oneOf":[{"type":"null"},{"$ref":"beforeRequest.json#"}]},"afterRequest":{"oneOf":[{"type":"null"},{"$ref":"afterRequest.json#"}]},"comment":{"type":"string"}}}')},73656:e=>{"use strict";e.exports=JSON.parse('{"$id":"content.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["size","mimeType"],"properties":{"size":{"type":"integer"},"compression":{"type":"integer"},"mimeType":{"type":"string"},"text":{"type":"string"},"encoding":{"type":"string"},"comment":{"type":"string"}}}')},67948:e=>{"use strict";e.exports=JSON.parse('{"$id":"cookie.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"path":{"type":"string"},"domain":{"type":"string"},"expires":{"type":["string","null"],"format":"date-time"},"httpOnly":{"type":"boolean"},"secure":{"type":"boolean"},"comment":{"type":"string"}}}')},33412:e=>{"use strict";e.exports=JSON.parse('{"$id":"creator.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"string"},"comment":{"type":"string"}}}')},32525:e=>{"use strict";e.exports=JSON.parse('{"$id":"entry.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["startedDateTime","time","request","response","cache","timings"],"properties":{"pageref":{"type":"string"},"startedDateTime":{"type":"string","format":"date-time","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))"},"time":{"type":"number","min":0},"request":{"$ref":"request.json#"},"response":{"$ref":"response.json#"},"cache":{"$ref":"cache.json#"},"timings":{"$ref":"timings.json#"},"serverIPAddress":{"type":"string","oneOf":[{"format":"ipv4"},{"format":"ipv6"}]},"connection":{"type":"string"},"comment":{"type":"string"}}}')},84943:e=>{"use strict";e.exports=JSON.parse('{"$id":"har.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["log"],"properties":{"log":{"$ref":"log.json#"}}}')},68344:e=>{"use strict";e.exports=JSON.parse('{"$id":"header.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"comment":{"type":"string"}}}')},69142:e=>{"use strict";e.exports=JSON.parse('{"$id":"log.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["version","creator","entries"],"properties":{"version":{"type":"string"},"creator":{"$ref":"creator.json#"},"browser":{"$ref":"browser.json#"},"pages":{"type":"array","items":{"$ref":"page.json#"}},"entries":{"type":"array","items":{"$ref":"entry.json#"}},"comment":{"type":"string"}}}')},29075:e=>{"use strict";e.exports=JSON.parse('{"$id":"page.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["startedDateTime","id","title","pageTimings"],"properties":{"startedDateTime":{"type":"string","format":"date-time","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))"},"id":{"type":"string","unique":true},"title":{"type":"string"},"pageTimings":{"$ref":"pageTimings.json#"},"comment":{"type":"string"}}}')},15096:e=>{"use strict";e.exports=JSON.parse('{"$id":"pageTimings.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","properties":{"onContentLoad":{"type":"number","min":-1},"onLoad":{"type":"number","min":-1},"comment":{"type":"string"}}}')},73697:e=>{"use strict";e.exports=JSON.parse('{"$id":"postData.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["mimeType"],"properties":{"mimeType":{"type":"string"},"text":{"type":"string"},"params":{"type":"array","required":["name"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"fileName":{"type":"string"},"contentType":{"type":"string"},"comment":{"type":"string"}}},"comment":{"type":"string"}}}')},70877:e=>{"use strict";e.exports=JSON.parse('{"$id":"query.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"comment":{"type":"string"}}}')},92084:e=>{"use strict";e.exports=JSON.parse('{"$id":"request.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],"properties":{"method":{"type":"string"},"url":{"type":"string","format":"uri"},"httpVersion":{"type":"string"},"cookies":{"type":"array","items":{"$ref":"cookie.json#"}},"headers":{"type":"array","items":{"$ref":"header.json#"}},"queryString":{"type":"array","items":{"$ref":"query.json#"}},"postData":{"$ref":"postData.json#"},"headersSize":{"type":"integer"},"bodySize":{"type":"integer"},"comment":{"type":"string"}}}')},20702:e=>{"use strict";e.exports=JSON.parse('{"$id":"response.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],"properties":{"status":{"type":"integer"},"statusText":{"type":"string"},"httpVersion":{"type":"string"},"cookies":{"type":"array","items":{"$ref":"cookie.json#"}},"headers":{"type":"array","items":{"$ref":"header.json#"}},"content":{"$ref":"content.json#"},"redirectURL":{"type":"string"},"headersSize":{"type":"integer"},"bodySize":{"type":"integer"},"comment":{"type":"string"}}}')},36941:e=>{"use strict";e.exports=JSON.parse('{"$id":"timings.json#","$schema":"http://json-schema.org/draft-06/schema#","required":["send","wait","receive"],"properties":{"dns":{"type":"number","min":-1},"connect":{"type":"number","min":-1},"blocked":{"type":"number","min":-1},"send":{"type":"number","min":-1},"wait":{"type":"number","min":-1},"receive":{"type":"number","min":-1},"ssl":{"type":"number","min":-1},"comment":{"type":"string"}}}')},73313:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["keynote"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana"},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana"},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana"},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76710:e=>{"use strict";e.exports=JSON.parse('{"name":"openid-client","version":"4.5.1","description":"OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs","keywords":["auth","authentication","basic","certified","client","connect","dynamic","electron","hybrid","identity","implicit","oauth","oauth2","oidc","openid","passport","relying party","strategy"],"homepage":"https://github.com/panva/node-openid-client","repository":"panva/node-openid-client","funding":{"url":"https://github.com/sponsors/panva"},"license":"MIT","author":"Filip Skokan ","exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"main":"lib/index.js","types":"types/index.d.ts","files":["lib","types/index.d.ts"],"scripts":{"coverage":"nyc mocha test/**/*.test.js","lint":"eslint lib test","lint-fix":"eslint lib test --fix","lint-ts":"npx typescript@~3.6.0 --build types","test":"mocha test/**/*.test.js"},"nyc":{"reporter":["lcov","text-summary"]},"dependencies":{"aggregate-error":"^3.1.0","got":"^11.8.0","jose":"^2.0.4","lru-cache":"^6.0.0","make-error":"^1.3.6","object-hash":"^2.0.1","oidc-token-hash":"^5.0.1"},"devDependencies":{"@types/passport":"^1.0.4","base64url":"^3.0.1","chai":"^4.2.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","mocha":"^8.2.0","nock":"^13.0.2","nyc":"^15.1.0","readable-mock-req":"^0.2.2","sinon":"^9.2.0","timekeeper":"^2.2.0"},"engines":{"node":"^10.19.0 || >=12.0.0 < 13 || >=13.7.0 < 14 || >= 14.2.0"},"standard-version":{"scripts":{"postchangelog":"sed -i \'\' -e \'s/### \\\\[/## [/g\' CHANGELOG.md"},"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","section":"Refactor","hidden":true},{"type":"perf","section":"Performance","hidden":false},{"type":"test","hidden":true}]}}')},2156:e=>{"use strict";e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')},42357:e=>{"use strict";e.exports=require("assert")},64293:e=>{"use strict";e.exports=require("buffer")},63129:e=>{"use strict";e.exports=require("child_process")},76417:e=>{"use strict";e.exports=require("crypto")},40881:e=>{"use strict";e.exports=require("dns")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},98605:e=>{"use strict";e.exports=require("http")},97565:e=>{"use strict";e.exports=require("http2")},57211:e=>{"use strict";e.exports=require("https")},11631:e=>{"use strict";e.exports=require("net")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},94213:e=>{"use strict";e.exports=require("punycode")},71191:e=>{"use strict";e.exports=require("querystring")},92413:e=>{"use strict";e.exports=require("stream")},24304:e=>{"use strict";e.exports=require("string_decoder")},78213:e=>{"use strict";e.exports=require("timers")},4016:e=>{"use strict";e.exports=require("tls")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},92184:e=>{"use strict";e.exports=require("vm")},78761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var i=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}t.loaded=true;return t.exports}(()=>{__webpack_require__.d=((e,t)=>{for(var i in t){if(__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)){Object.defineProperty(e,i,{enumerable:true,get:t[i]})}}})})();(()=>{__webpack_require__.o=((e,t)=>Object.prototype.hasOwnProperty.call(e,t))})();(()=>{__webpack_require__.r=(e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})})})();(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(4351)})(); \ No newline at end of file +module.exports=(()=>{var __webpack_modules__={87351:function(e,t,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const r=n(i(12087));const s=i(5278);function issueCommand(e,t,i){const n=new Command(e,t,i);process.stdout.write(n.toString()+r.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const a="::";class Command{constructor(e,t,i){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=i}toString(){let e=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const i in this.properties){if(this.properties.hasOwnProperty(i)){const n=this.properties[i];if(n){if(t){t=false}else{e+=","}e+=`${i}=${escapeProperty(n)}`}}}}e+=`${a}${escapeData(this.message)}`;return e}}function escapeData(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},42186:function(e,t,i){"use strict";var n=this&&this.__awaiter||function(e,t,i,n){function adopt(e){return e instanceof i?e:new i(function(t){t(e)})}return new(i||(i=Promise))(function(i,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})};var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const s=i(87351);const a=i(717);const o=i(5278);const u=r(i(12087));const c=r(i(85622));var l;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(l=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const i=o.toCommandValue(t);process.env[e]=i;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${u.EOL}${i}${u.EOL}${t}`;a.issueCommand("ENV",n)}else{s.issueCommand("set-env",{name:e},i)}}t.exportVariable=exportVariable;function setSecret(e){s.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){a.issueCommand("PATH",e)}else{s.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${c.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const i=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!i){throw new Error(`Input required and not supplied: ${e}`)}return i.trim()}t.getInput=getInput;function setOutput(e,t){s.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){s.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=l.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){s.issueCommand("debug",{},e)}t.debug=debug;function error(e){s.issue("error",e instanceof Error?e.toString():e)}t.error=error;function warning(e){s.issue("warning",e instanceof Error?e.toString():e)}t.warning=warning;function info(e){process.stdout.write(e+u.EOL)}t.info=info;function startGroup(e){s.issue("group",e)}t.startGroup=startGroup;function endGroup(){s.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return n(this,void 0,void 0,function*(){startGroup(e);let i;try{i=yield t()}finally{endGroup()}return i})}t.group=group;function saveState(e,t){s.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState},717:function(e,t,i){"use strict";var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const r=n(i(35747));const s=n(i(12087));const a=i(5278);function issueCommand(e,t){const i=process.env[`GITHUB_${e}`];if(!i){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!r.existsSync(i)){throw new Error(`Missing file at path: ${i}`)}r.appendFileSync(i,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue},74087:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Context=void 0;const n=i(35747);const r=i(12087);class Context{constructor(){this.payload={};if(process.env.GITHUB_EVENT_PATH){if(n.existsSync(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse(n.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${r.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)}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,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}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'")}}t.Context=Context},95438:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokit=t.context=void 0;const a=s(i(74087));const o=i(73030);t.context=new a.Context;function getOctokit(e,t){return new o.GitHub(o.getOctokitOptions(e,t))}t.getOctokit=getOctokit},47914:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getApiBaseUrl=t.getProxyAgent=t.getAuthString=void 0;const a=s(i(39925));function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}t.getAuthString=getAuthString;function getProxyAgent(e){const t=new a.HttpClient;return t.getAgent(e)}t.getProxyAgent=getProxyAgent;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}t.getApiBaseUrl=getApiBaseUrl},73030:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))n(t,e,i);r(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.getOctokitOptions=t.GitHub=t.context=void 0;const a=s(i(74087));const o=s(i(47914));const u=i(76762);const c=i(83044);const l=i(64193);t.context=new a.Context;const p=o.getApiBaseUrl();const d={baseUrl:p,request:{agent:o.getProxyAgent(p)}};t.GitHub=u.Octokit.plugin(c.restEndpointMethods,l.paginateRest).defaults(d);function getOctokitOptions(e,t){const i=Object.assign({},t||{});const n=o.getAuthString(e,i);if(n){i.auth=n}return i}t.getOctokitOptions=getOctokitOptions},39925:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(98605);const r=i(57211);const s=i(16443);let a;var o;(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"})(o=t.HttpCodes||(t.HttpCodes={}));var u;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(u=t.Headers||(t.Headers={}));var c;(function(e){e["ApplicationJson"]="application/json"})(c=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){let t=s.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const l=[o.MovedPermanently,o.ResourceMoved,o.SeeOther,o.TemporaryRedirect,o.PermanentRedirect];const p=[o.BadGateway,o.ServiceUnavailable,o.GatewayTimeout];const d=["OPTIONS","GET","DELETE","HEAD"];const f=10;const h=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise(async(e,t)=>{let i=Buffer.alloc(0);this.message.on("data",e=>{i=Buffer.concat([i,e])});this.message.on("end",()=>{e(i.toString())})})}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){let t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,i){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=t||[];this.requestOptions=i;if(i){if(i.ignoreSslError!=null){this._ignoreSslError=i.ignoreSslError}this._socketTimeout=i.socketTimeout;if(i.allowRedirects!=null){this._allowRedirects=i.allowRedirects}if(i.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=i.allowRedirectDowngrade}if(i.maxRedirects!=null){this._maxRedirects=Math.max(i.maxRedirects,0)}if(i.keepAlive!=null){this._keepAlive=i.keepAlive}if(i.allowRetries!=null){this._allowRetries=i.allowRetries}if(i.maxRetries!=null){this._maxRetries=i.maxRetries}}}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,i){return this.request("POST",e,t,i||{})}patch(e,t,i){return this.request("PATCH",e,t,i||{})}put(e,t,i){return this.request("PUT",e,t,i||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,i,n){return this.request(e,t,i,n)}async getJson(e,t={}){t[u.Accept]=this._getExistingOrDefaultHeader(t,u.Accept,c.ApplicationJson);let i=await this.get(e,t);return this._processResponse(i,this.requestOptions)}async postJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.post(e,n,i);return this._processResponse(r,this.requestOptions)}async putJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.put(e,n,i);return this._processResponse(r,this.requestOptions)}async patchJson(e,t,i={}){let n=JSON.stringify(t,null,2);i[u.Accept]=this._getExistingOrDefaultHeader(i,u.Accept,c.ApplicationJson);i[u.ContentType]=this._getExistingOrDefaultHeader(i,u.ContentType,c.ApplicationJson);let r=await this.patch(e,n,i);return this._processResponse(r,this.requestOptions)}async request(e,t,i,n){if(this._disposed){throw new Error("Client has already been disposed.")}let r=new URL(t);let s=this._prepareRequest(e,r,n);let a=this._allowRetries&&d.indexOf(e)!=-1?this._maxRetries+1:1;let u=0;let c;while(u0){const a=c.message.headers["location"];if(!a){break}let o=new URL(a);if(r.protocol=="https:"&&r.protocol!=o.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.")}await c.readBody();if(o.hostname!==r.hostname){for(let e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}s=this._prepareRequest(e,o,n);c=await this.requestRaw(s,i);t--}if(p.indexOf(c.message.statusCode)==-1){return c}u+=1;if(u{let r=function(e,t){if(e){n(e)}i(t)};this.requestRawWithCallback(e,t,r)})}requestRawWithCallback(e,t,i){let n;if(typeof t==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let r=false;let s=(e,t)=>{if(!r){r=true;i(e,t)}};let a=e.httpModule.request(e.options,e=>{let t=new HttpClientResponse(e);s(null,t)});a.on("socket",e=>{n=e});a.setTimeout(this._socketTimeout||3*6e4,()=>{if(n){n.end()}s(new Error("Request timeout: "+e.options.path),null)});a.on("error",function(e){s(e,null)});if(t&&typeof t==="string"){a.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",function(){a.end()});t.pipe(a)}else{a.end()}}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,i){const s={};s.parsedUrl=t;const a=s.parsedUrl.protocol==="https:";s.httpModule=a?r:n;const o=a?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(i);if(this.userAgent!=null){s.options.headers["user-agent"]=this.userAgent}s.options.agent=this._getAgent(s.parsedUrl);if(this.handlers){this.handlers.forEach(e=>{e.prepareRequest(s.options)})}return s}_mergeHeaders(e){const t=e=>Object.keys(e).reduce((t,i)=>(t[i.toLowerCase()]=e[i],t),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},t(this.requestOptions.headers),t(e))}return t(e||{})}_getExistingOrDefaultHeader(e,t,i){const n=e=>Object.keys(e).reduce((t,i)=>(t[i.toLowerCase()]=e[i],t),{});let r;if(this.requestOptions&&this.requestOptions.headers){r=n(this.requestOptions.headers)[t]}return e[t]||r||i}_getAgent(e){let t;let o=s.getProxyUrl(e);let u=o&&o.hostname;if(this._keepAlive&&u){t=this._proxyAgent}if(this._keepAlive&&!u){t=this._agent}if(!!t){return t}const c=e.protocol==="https:";let l=100;if(!!this.requestOptions){l=this.requestOptions.maxSockets||n.globalAgent.maxSockets}if(u){if(!a){a=i(74294)}const e={maxSockets:l,keepAlive:this._keepAlive,proxy:{proxyAuth:`${o.username}:${o.password}`,host:o.hostname,port:o.port}};let n;const r=o.protocol==="https:";if(c){n=r?a.httpsOverHttps:a.httpsOverHttp}else{n=r?a.httpOverHttps:a.httpOverHttp}t=n(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:l};t=c?new r.Agent(e):new n.Agent(e);this._agent=t}if(!t){t=c?r.globalAgent:n.globalAgent}if(c&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){e=Math.min(f,e);const t=h*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t))}static dateTimeDeserializer(e,t){if(typeof t==="string"){let e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}async _processResponse(e,t){return new Promise(async(i,n)=>{const r=e.message.statusCode;const s={statusCode:r,result:null,headers:{}};if(r==o.NotFound){i(s)}let a;let u;try{u=await e.readBody();if(u&&u.length>0){if(t&&t.deserializeDates){a=JSON.parse(u,HttpClient.dateTimeDeserializer)}else{a=JSON.parse(u)}s.result=a}s.headers=e.message.headers}catch(e){}if(r>299){let e;if(a&&a.message){e=a.message}else if(u&&u.length>0){e=u}else{e="Failed request: ("+r+")"}let t=new HttpClientError(e,r);t.result=s.result;n(t)}else{i(s)}})}}t.HttpClient=HttpClient},16443:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getProxyUrl(e){let t=e.protocol==="https:";let i;if(checkBypass(e)){return i}let n;if(t){n=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{n=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(n){i=new URL(n)}return i}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let i;if(e.port){i=Number(e.port)}else if(e.protocol==="http:"){i=80}else if(e.protocol==="https:"){i=443}let n=[e.hostname.toUpperCase()];if(typeof i==="number"){n.push(`${n[0]}:${i}`)}for(let e of t.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)){if(n.some(t=>t===e)){return true}}return false}t.checkBypass=checkBypass},56664:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(37233),t)},48698:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Attach=void 0;const n=i(75636);const r=i(71191);const s=i(76023);const a=i(47581);class Attach{constructor(e,t){this.handler=t||new a.WebSocketHandler(e)}attach(e,t,i,o,u,c,l){return n.__awaiter(this,void 0,void 0,function*(){const n={container:i,stderr:u!=null,stdin:c!=null,stdout:o!=null,tty:l};const p=r.stringify(n);const d=`/api/v1/namespaces/${e}/pods/${t}/attach?${p}`;const f=yield this.handler.connect(d,null,(e,t)=>{a.WebSocketHandler.handleStandardStreams(e,t,o,u);return true});if(c!=null){a.WebSocketHandler.handleStandardInput(f,c,a.WebSocketHandler.StdinStream)}if(s.isResizable(o)){this.terminalSizeQueue=new s.TerminalSizeQueue;a.WebSocketHandler.handleStandardInput(f,this.terminalSizeQueue,a.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(o)}return f})}}t.Attach=Attach},5434:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.deleteObject=t.addOrUpdateObject=t.deleteItems=t.ListWatch=void 0;const n=i(75636);const r=i(88029);class ListWatch{constructor(e,t,i,n=true){this.path=e;this.watch=t;this.listFn=i;this.objects=[];this.indexCache={};this.callbackCache={};this.callbackCache[r.ADD]=[];this.callbackCache[r.UPDATE]=[];this.callbackCache[r.DELETE]=[];this.callbackCache[r.ERROR]=[];this.resourceVersion="";if(n){this.doneHandler(null)}}start(){return n.__awaiter(this,void 0,void 0,function*(){yield this.doneHandler(null)})}stop(){if(this.request){this.request.abort();this.request=undefined}}on(e,t){if(this.callbackCache[e]===undefined){throw new Error(`Unknown verb: ${e}`)}this.callbackCache[e].push(t)}off(e,t){if(this.callbackCache[e]===undefined){throw new Error(`Unknown verb: ${e}`)}const i=this.callbackCache[e].findIndex(e=>e===t);if(i===-1){return}this.callbackCache[e].splice(i,1)}get(e,t){return this.objects.find(i=>{return i.metadata.name===e&&(!t||i.metadata.namespace===t)})}list(e){if(!e){return this.objects}return this.indexCache[e]}latestResourceVersion(){return this.resourceVersion}doneHandler(e){return n.__awaiter(this,void 0,void 0,function*(){this.stop();if(e){this.callbackCache[r.ERROR].forEach(t=>t(e));return}const t=this.listFn();const i=yield t;const n=i.body;this.objects=deleteItems(this.objects,n.items,this.callbackCache[r.DELETE].slice());Object.keys(this.indexCache).forEach(e=>{const t=deleteItems(this.indexCache[e],n.items);if(t.length!==0){this.indexCache[e]=t}else{delete this.indexCache[e]}});this.addOrUpdateItems(n.items);this.request=yield this.watch.watch(this.path,{resourceVersion:n.metadata.resourceVersion},this.watchHandler.bind(this),this.doneHandler.bind(this))})}addOrUpdateItems(e){e.forEach(e=>{addOrUpdateObject(this.objects,e,this.callbackCache[r.ADD].slice(),this.callbackCache[r.UPDATE].slice());if(e.metadata.namespace){this.indexObj(e)}})}indexObj(e){let t=this.indexCache[e.metadata.namespace];if(!t){t=[];this.indexCache[e.metadata.namespace]=t}addOrUpdateObject(t,e)}watchHandler(e,t,i){switch(e){case"ADDED":case"MODIFIED":addOrUpdateObject(this.objects,t,this.callbackCache[r.ADD].slice(),this.callbackCache[r.UPDATE].slice());if(t.metadata.namespace){this.indexObj(t)}break;case"DELETED":deleteObject(this.objects,t,this.callbackCache[r.DELETE].slice());if(t.metadata.namespace){const e=this.indexCache[t.metadata.namespace];if(e){deleteObject(e,t)}}break;case"BOOKMARK":break}if(i&&i.metadata){this.resourceVersion=i.metadata.resourceVersion}}}t.ListWatch=ListWatch;function deleteItems(e,t,i){return e.filter(e=>{if(findKubernetesObject(t,e)===-1){if(i){i.forEach(t=>t(e))}return false}return true})}t.deleteItems=deleteItems;function addOrUpdateObject(e,t,i,n){const r=findKubernetesObject(e,t);if(r===-1){e.push(t);if(i){i.forEach(e=>e(t))}}else{e[r]=t;if(n){n.forEach(e=>e(t))}}}t.addOrUpdateObject=addOrUpdateObject;function isSameObject(e,t){return e.metadata.name===t.metadata.name&&e.metadata.namespace===t.metadata.namespace}function findKubernetesObject(e,t){return e.findIndex(e=>{return isSameObject(e,t)})}function deleteObject(e,t,i){const n=findKubernetesObject(e,t);if(n!==-1){e.splice(n,1);if(i){i.forEach(e=>e(t))}}}t.deleteObject=deleteObject},10032:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CloudAuth=void 0;const n=i(75636);const r=i(63129);const s=i(63269);class CloudAuth{isAuthProvider(e){if(!e||!e.authProvider){return false}return e.authProvider.name==="azure"||e.authProvider.name==="gcp"}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=this.getToken(e);if(i){t.headers.Authorization=`Bearer ${i}`}})}getToken(e){const t=e.authProvider.config;if(this.isExpired(t)){this.updateAccessToken(t)}return t["access-token"]}isExpired(e){const t=e["access-token"];const i=e.expiry;if(!t){return true}if(!i){return false}const n=Date.parse(i);if(n{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findObject=t.findHomeDir=t.bufferFromFileOrString=t.makeAbsolutePath=t.Config=t.KubeConfig=void 0;const n=i(75636);const r=i(55447);const s=i(35747);const a=i(11631);const o=i(85622);const u=i(21917);const c=i(33516);const l=i(56664);const p=i(10032);const d=i(86218);const f=i(18325);const h=i(38572);const m=i(41691);function fileExists(e){try{s.accessSync(e);return true}catch(e){return false}}class KubeConfig{constructor(){this.contexts=[];this.clusters=[];this.users=[]}getContexts(){return this.contexts}getClusters(){return this.clusters}getUsers(){return this.users}getCurrentContext(){return this.currentContext}setCurrentContext(e){this.currentContext=e}getContextObject(e){if(!this.contexts){return null}return findObject(this.contexts,e,"context")}getCurrentCluster(){const e=this.getCurrentContextObject();if(!e){return null}return this.getCluster(e.cluster)}getCluster(e){return findObject(this.clusters,e,"cluster")}getCurrentUser(){const e=this.getCurrentContextObject();if(!e){return null}return this.getUser(e.user)}getUser(e){return findObject(this.users,e,"user")}loadFromFile(e,t){const i=o.dirname(e);this.loadFromString(s.readFileSync(e,"utf8"),t);this.makePathsAbsolute(i)}applytoHTTPSOptions(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentUser();yield this.applyOptions(e);if(t&&t.username){e.auth=`${t.username}:${t.password}`}})}applyToRequest(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentCluster();const i=this.getCurrentUser();yield this.applyOptions(e);if(t&&t.skipTLSVerify){e.strictSSL=false}if(i&&i.username){e.auth={password:i.password,username:i.username}}})}loadFromString(e,t){const i=u.safeLoad(e);this.clusters=d.newClusters(i.clusters,t);this.contexts=d.newContexts(i.contexts,t);this.users=d.newUsers(i.users,t);this.currentContext=i["current-context"]}loadFromOptions(e){this.clusters=e.clusters;this.contexts=e.contexts;this.users=e.users;this.currentContext=e.currentContext}loadFromClusterAndUser(e,t){this.clusters=[e];this.users=[t];this.currentContext="loaded-context";this.contexts=[{cluster:e.name,user:t.name,name:this.currentContext}]}loadFromCluster(e=""){const t=process.env.KUBERNETES_SERVICE_HOST;const i=process.env.KUBERNETES_SERVICE_PORT;const n="inCluster";const r="inClusterUser";const s="inClusterContext";let o="https";if(i==="80"||i==="8080"||i==="8001"){o="http"}let u=t;if(t&&a.isIPv6(t)){u=`[${t}]`}this.clusters=[{name:n,caFile:`${e}${Config.SERVICEACCOUNT_CA_PATH}`,server:`${o}://${u}:${i}`,skipTLSVerify:false}];this.users=[{name:r,authProvider:{name:"tokenFile",config:{tokenFile:`${e}${Config.SERVICEACCOUNT_TOKEN_PATH}`}}}];this.contexts=[{cluster:n,name:s,user:r}];this.currentContext=s}mergeConfig(e,t=false){if(!t){this.currentContext=e.currentContext}e.clusters.forEach(e=>{this.addCluster(e)});e.users.forEach(e=>{this.addUser(e)});e.contexts.forEach(e=>{this.addContext(e)})}addCluster(e){if(!this.clusters){this.clusters=[]}this.clusters.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate cluster: ${t.name}`)}});this.clusters.push(e)}addUser(e){if(!this.users){this.users=[]}this.users.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate user: ${t.name}`)}});this.users.push(e)}addContext(e){if(!this.contexts){this.contexts=[]}this.contexts.forEach((t,i)=>{if(t.name===e.name){throw new Error(`Duplicate context: ${t.name}`)}});this.contexts.push(e)}loadFromDefault(e,t=false){if(process.env.KUBECONFIG&&process.env.KUBECONFIG.length>0){const i=process.env.KUBECONFIG.split(o.delimiter);this.loadFromFile(i[0],e);for(let n=1;n{if(t.caFile){t.caFile=makeAbsolutePath(e,t.caFile)}});this.users.forEach(t=>{if(t.certFile){t.certFile=makeAbsolutePath(e,t.certFile)}if(t.keyFile){t.keyFile=makeAbsolutePath(e,t.keyFile)}})}exportConfig(){const e={apiVersion:"v1",kind:"Config",clusters:this.clusters.map(d.exportCluster),users:this.users.map(d.exportUser),contexts:this.contexts.map(d.exportContext),preferences:{},"current-context":this.getCurrentContext()};return JSON.stringify(e)}getCurrentContextObject(){return this.getContextObject(this.currentContext)}applyHTTPSOptions(e){const t=this.getCurrentCluster();const i=this.getCurrentUser();if(!i){return}if(t!=null&&t.skipTLSVerify){e.rejectUnauthorized=false}const n=t!=null?bufferFromFileOrString(t.caFile,t.caData):null;if(n){e.ca=n}const r=bufferFromFileOrString(i.certFile,i.certData);if(r){e.cert=r}const s=bufferFromFileOrString(i.keyFile,i.keyData);if(s){e.key=s}}applyAuthorizationHeader(e){return n.__awaiter(this,void 0,void 0,function*(){const t=this.getCurrentUser();if(!t){return}const i=KubeConfig.authenticators.find(e=>{return e.isAuthProvider(t)});if(!e.headers){e.headers={}}if(i){yield i.applyAuthentication(t,e)}if(t.token){e.headers.Authorization=`Bearer ${t.token}`}})}applyOptions(e){return n.__awaiter(this,void 0,void 0,function*(){this.applyHTTPSOptions(e);yield this.applyAuthorizationHeader(e)})}}t.KubeConfig=KubeConfig;KubeConfig.authenticators=[new p.CloudAuth,new f.ExecAuth,new h.FileAuth,new m.OpenIDConnectAuth];class Config{static fromFile(e){return Config.apiFromFile(e,l.CoreV1Api)}static fromCluster(){return Config.apiFromCluster(l.CoreV1Api)}static defaultClient(){return Config.apiFromDefaultClient(l.CoreV1Api)}static apiFromFile(e,t){const i=new KubeConfig;i.loadFromFile(e);return i.makeApiClient(t)}static apiFromCluster(e){const t=new KubeConfig;t.loadFromCluster();const i=t.getCurrentCluster();if(!i){throw new Error("No active cluster!")}const n=new e(i.server);n.setDefaultAuthentication(t);return n}static apiFromDefaultClient(e){const t=new KubeConfig;t.loadFromDefault();return t.makeApiClient(e)}}t.Config=Config;Config.SERVICEACCOUNT_ROOT="/var/run/secrets/kubernetes.io/serviceaccount";Config.SERVICEACCOUNT_CA_PATH=Config.SERVICEACCOUNT_ROOT+"/ca.crt";Config.SERVICEACCOUNT_TOKEN_PATH=Config.SERVICEACCOUNT_ROOT+"/token";function makeAbsolutePath(e,t){if(!e||o.isAbsolute(t)){return t}return o.join(e,t)}t.makeAbsolutePath=makeAbsolutePath;function bufferFromFileOrString(e,t){if(e){return s.readFileSync(e)}if(t){return Buffer.from(t,"base64")}return null}t.bufferFromFileOrString=bufferFromFileOrString;function findHomeDir(){if(process.env.HOME){try{s.accessSync(process.env.HOME);return process.env.HOME}catch(e){}}if(process.platform!=="win32"){return null}if(process.env.HOMEDRIVE&&process.env.HOMEPATH){const e=o.join(process.env.HOMEDRIVE,process.env.HOMEPATH);try{s.accessSync(e);return e}catch(e){}}if(process.env.USERPROFILE){try{s.accessSync(process.env.USERPROFILE);return process.env.USERPROFILE}catch(e){}}return null}t.findHomeDir=findHomeDir;function findObject(e,t,i){if(!e){return null}for(const n of e){if(n.name===t){if(n[i]){n[i].name=t;return n[i]}return n}}return null}t.findObject=findObject},86218:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.exportContext=t.newContexts=t.exportUser=t.newUsers=t.exportCluster=t.newClusters=t.ActionOnInvalid=void 0;const n=i(35747);const r=i(4987);var s;(function(e){e["THROW"]="throw";e["FILTER"]="filter"})(s=t.ActionOnInvalid||(t.ActionOnInvalid={}));function defaultNewConfigOptions(){return{onInvalidEntry:s.THROW}}function newClusters(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,clusterIterator(i.onInvalidEntry)))}t.newClusters=newClusters;function exportCluster(e){return{name:e.name,cluster:{server:e.server,"certificate-authority-data":e.caData,"certificate-authority":e.caFile,"insecure-skip-tls-verify":e.skipTLSVerify}}}t.exportCluster=exportCluster;function clusterIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`clusters[${i}].name is missing`)}if(!t.cluster){throw new Error(`clusters[${i}].cluster is missing`)}if(!t.cluster.server){throw new Error(`clusters[${i}].cluster.server is missing`)}return{caData:t.cluster["certificate-authority-data"],caFile:t.cluster["certificate-authority"],name:t.name,server:t.cluster.server,skipTLSVerify:t.cluster["insecure-skip-tls-verify"]===true}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}function newUsers(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,userIterator(i.onInvalidEntry)))}t.newUsers=newUsers;function exportUser(e){return{name:e.name,user:{"auth-provider":e.authProvider,"client-certificate-data":e.certData,"client-certificate":e.certFile,exec:e.exec,"client-key-data":e.keyData,"client-key":e.keyFile,token:e.token,password:e.password,username:e.username}}}t.exportUser=exportUser;function userIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`users[${i}].name is missing`)}return{authProvider:t.user?t.user["auth-provider"]:null,certData:t.user?t.user["client-certificate-data"]:null,certFile:t.user?t.user["client-certificate"]:null,exec:t.user?t.user.exec:null,keyData:t.user?t.user["client-key-data"]:null,keyFile:t.user?t.user["client-key"]:null,name:t.name,token:findToken(t.user),password:t.user?t.user.password:null,username:t.user?t.user.username:null}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}function findToken(e){if(e){if(e.token){return e.token}if(e["token-file"]){return n.readFileSync(e["token-file"]).toString()}}}function newContexts(e,t){const i=Object.assign(defaultNewConfigOptions(),t||{});return r.compact(r.map(e,contextIterator(i.onInvalidEntry)))}t.newContexts=newContexts;function exportContext(e){return{name:e.name,context:e}}t.exportContext=exportContext;function contextIterator(e){return(t,i,n)=>{try{if(!t.name){throw new Error(`contexts[${i}].name is missing`)}if(!t.context){throw new Error(`contexts[${i}].context is missing`)}if(!t.context.cluster){throw new Error(`contexts[${i}].context.cluster is missing`)}return{cluster:t.context.cluster,name:t.name,user:t.context.user||undefined,namespace:t.context.namespace||undefined}}catch(t){switch(e){case s.FILTER:return null;default:case s.THROW:throw t}}}}},54815:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Cp=void 0;const n=i(75636);const r=i(35747);const s=i(48168);const a=i(74674);const o=i(68065);const u=i(62864);class Cp{constructor(e,t){this.execInstance=t||new u.Exec(e)}cpFromPod(e,t,i,u,c){return n.__awaiter(this,void 0,void 0,function*(){const l=o.fileSync();const p=l.name;const d=["tar","zcf","-",u];const f=r.createWriteStream(p);const h=new s.WritableStreamBuffer;this.execInstance.exec(e,t,i,d,f,h,null,false,()=>n.__awaiter(this,void 0,void 0,function*(){if(h.size()){throw new Error(`Error from cpFromPod - details: \n ${h.getContentsAsString()}`)}yield a.x({file:p,cwd:c})}))})}cpToPod(e,t,i,u,c){return n.__awaiter(this,void 0,void 0,function*(){const l=o.fileSync();const p=l.name;const d=["tar","xf","-","-C",c];yield a.c({file:l.name},[u]);const f=r.createReadStream(p);const h=new s.WritableStreamBuffer;this.execInstance.exec(e,t,i,d,null,h,f,false,()=>n.__awaiter(this,void 0,void 0,function*(){if(h.size()){throw new Error(`Error from cpToPod - details: \n ${h.getContentsAsString()}`)}}))})}}t.Cp=Cp},62864:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Exec=void 0;const n=i(75636);const r=i(71191);const s=i(76023);const a=i(47581);class Exec{constructor(e,t){this.handler=t||new a.WebSocketHandler(e)}exec(e,t,i,o,u,c,l,p,d){return n.__awaiter(this,void 0,void 0,function*(){const n={stdout:u!=null,stderr:c!=null,stdin:l!=null,tty:p,command:o,container:i};const f=r.stringify(n);const h=`/api/v1/namespaces/${e}/pods/${t}/exec?${f}`;const m=yield this.handler.connect(h,null,(e,t)=>{const i=a.WebSocketHandler.handleStandardStreams(e,t,u,c);if(i!=null){if(d){d(i)}return false}return true});if(l!=null){a.WebSocketHandler.handleStandardInput(m,l,a.WebSocketHandler.StdinStream)}if(s.isResizable(u)){this.terminalSizeQueue=new s.TerminalSizeQueue;a.WebSocketHandler.handleStandardInput(m,this.terminalSizeQueue,a.WebSocketHandler.ResizeStream);this.terminalSizeQueue.handleResizes(u)}return m})}}t.Exec=Exec},18325:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExecAuth=void 0;const n=i(75636);const r=i(55447);class ExecAuth{constructor(){this.tokenCache={};this.execFn=r.sync}isAuthProvider(e){if(!e){return false}if(e.exec){return true}if(!e.authProvider){return false}return e.authProvider.name==="exec"||!!(e.authProvider.config&&e.authProvider.config.exec)}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=this.getCredential(e);if(!i){return}if(i.status.clientCertificateData){t.cert=i.status.clientCertificateData}if(i.status.clientKeyData){t.key=i.status.clientKeyData}const n=this.getToken(i);if(n){if(!t.headers){t.headers=[]}t.headers.Authorization=`Bearer ${n}`}})}getToken(e){if(!e){return null}if(e.status.token){return e.status.token}return null}getCredential(e){const t=this.tokenCache[e.name];if(t){const i=Date.parse(t.status.expirationTimestamp);if(i>Date.now()){return t}this.tokenCache[e.name]=null}let i=null;if(e.authProvider&&e.authProvider.config){i=e.authProvider.config.exec}if(e.exec){i=e.exec}if(!i){return null}if(!i.command){throw new Error("No command was specified for exec authProvider!")}let n={};if(i.env){const e=process.env;i.env.forEach(t=>e[t.name]=t.value);n=Object.assign(Object.assign({},n),{env:e})}const r=this.execFn(i.command,i.args,n);if(r.code===0){const t=JSON.parse(r.stdout);this.tokenCache[e.name]=t;return t}throw new Error(r.stderr)}}t.ExecAuth=ExecAuth},38572:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FileAuth=void 0;const n=i(75636);const r=i(35747);class FileAuth{constructor(){this.token=null;this.lastRead=null}isAuthProvider(e){return e.authProvider&&e.authProvider.config&&e.authProvider.config.tokenFile}applyAuthentication(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(this.token==null){this.refreshToken(e.authProvider.config.tokenFile)}if(this.isTokenExpired()){this.refreshToken(e.authProvider.config.tokenFile)}if(this.token){t.headers.Authorization=`Bearer ${this.token}`}})}refreshToken(e){this.token=r.readFileSync(e).toString("UTF-8");this.lastRead=new Date}isTokenExpired(){if(this.lastRead===null){return true}const e=new Date;const t=(e.getTime()-this.lastRead.getTime())/1e3;return t>60}}t.FileAuth=FileAuth},37233:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(25997),t);n.__exportStar(i(15158),t)},79893:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationApi=t.AdmissionregistrationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationApiApiKeys||(t.AdmissionregistrationApiApiKeys={}));class AdmissionregistrationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationApi=AdmissionregistrationApi},69218:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1Api=t.AdmissionregistrationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationV1ApiApiKeys||(t.AdmissionregistrationV1ApiApiKeys={}));class AdmissionregistrationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1MutatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ValidatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteMutatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteMutatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteValidatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteValidatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchMutatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchMutatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchValidatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchValidatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceMutatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1MutatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceValidatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ValidatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationV1Api=AdmissionregistrationV1Api},62794:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1Api=t.AdmissionregistrationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AdmissionregistrationV1beta1ApiApiKeys||(t.AdmissionregistrationV1beta1ApiApiKeys={}));class AdmissionregistrationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1MutatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ValidatingWebhookConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteMutatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteMutatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteValidatingWebhookConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteValidatingWebhookConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listMutatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listValidatingWebhookConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchMutatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchMutatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchValidatingWebhookConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchValidatingWebhookConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readMutatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readMutatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readValidatingWebhookConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readValidatingWebhookConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceMutatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceMutatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1MutatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1MutatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceValidatingWebhookConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceValidatingWebhookConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ValidatingWebhookConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ValidatingWebhookConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AdmissionregistrationV1beta1Api=AdmissionregistrationV1beta1Api},67758:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsApi=t.ApiextensionsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsApiApiKeys||(t.ApiextensionsApiApiKeys={}));class ApiextensionsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsApi=ApiextensionsApi},91294:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1Api=t.ApiextensionsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsV1ApiApiKeys||(t.ApiextensionsV1ApiApiKeys={}));class ApiextensionsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CustomResourceDefinition")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCustomResourceDefinition(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCustomResourceDefinition.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinitionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinition(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinition.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinitionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinitionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinitionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinition(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinition.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinitionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsV1Api=ApiextensionsV1Api},7074:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1Api=t.ApiextensionsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiextensionsV1beta1ApiApiKeys||(t.ApiextensionsV1beta1ApiApiKeys={}));class ApiextensionsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CustomResourceDefinition")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCustomResourceDefinition(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCustomResourceDefinition.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCustomResourceDefinition(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinitionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinition(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinition.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCustomResourceDefinitionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCustomResourceDefinitionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinition(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinition.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCustomResourceDefinitionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCustomResourceDefinitionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinition(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinition.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinition.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCustomResourceDefinitionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCustomResourceDefinitionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CustomResourceDefinition")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CustomResourceDefinition");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiextensionsV1beta1Api=ApiextensionsV1beta1Api},99722:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationApi=t.ApiregistrationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationApiApiKeys||(t.ApiregistrationApiApiKeys={}));class ApiregistrationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationApi=ApiregistrationApi},99365:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1Api=t.ApiregistrationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationV1ApiApiKeys||(t.ApiregistrationV1ApiApiKeys={}));class ApiregistrationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1APIService")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteAPIService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionAPIService(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listAPIService(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIServiceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIServiceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationV1Api=ApiregistrationV1Api},48244:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1beta1Api=t.ApiregistrationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApiregistrationV1beta1ApiApiKeys||(t.ApiregistrationV1beta1ApiApiKeys={}));class ApiregistrationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1APIService")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteAPIService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteAPIService.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionAPIService(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listAPIService(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIService.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchAPIServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchAPIServiceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIService(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIService.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readAPIServiceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readAPIServiceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceAPIServiceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceAPIServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceAPIServiceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1APIService")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1APIService");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApiregistrationV1beta1Api=ApiregistrationV1beta1Api},25997:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.APIS=t.HttpError=void 0;const n=i(75636);n.__exportStar(i(79893),t);const r=i(79893);n.__exportStar(i(69218),t);const s=i(69218);n.__exportStar(i(62794),t);const a=i(62794);n.__exportStar(i(67758),t);const o=i(67758);n.__exportStar(i(91294),t);const u=i(91294);n.__exportStar(i(7074),t);const c=i(7074);n.__exportStar(i(99722),t);const l=i(99722);n.__exportStar(i(99365),t);const p=i(99365);n.__exportStar(i(48244),t);const d=i(48244);n.__exportStar(i(59536),t);const f=i(59536);n.__exportStar(i(99869),t);const h=i(99869);n.__exportStar(i(10588),t);const m=i(10588);n.__exportStar(i(61226),t);const b=i(61226);n.__exportStar(i(17421),t);const g=i(17421);n.__exportStar(i(53150),t);const y=i(53150);n.__exportStar(i(75154),t);const S=i(75154);n.__exportStar(i(97999),t);const v=i(97999);n.__exportStar(i(87078),t);const w=i(87078);n.__exportStar(i(94692),t);const j=i(94692);n.__exportStar(i(47098),t);const z=i(47098);n.__exportStar(i(15872),t);const O=i(15872);n.__exportStar(i(76982),t);const k=i(76982);n.__exportStar(i(91445),t);const C=i(91445);n.__exportStar(i(78246),t);const T=i(78246);n.__exportStar(i(71101),t);const _=i(71101);n.__exportStar(i(23668),t);const A=i(23668);n.__exportStar(i(92076),t);const E=i(92076);n.__exportStar(i(32593),t);const R=i(32593);n.__exportStar(i(23732),t);const x=i(23732);n.__exportStar(i(69209),t);const N=i(69209);n.__exportStar(i(52653),t);const V=i(52653);n.__exportStar(i(82017),t);const P=i(82017);n.__exportStar(i(51489),t);const M=i(51489);n.__exportStar(i(4738),t);const B=i(4738);n.__exportStar(i(36522),t);const I=i(36522);n.__exportStar(i(44310),t);const D=i(44310);n.__exportStar(i(10420),t);const q=i(10420);n.__exportStar(i(89829),t);const L=i(89829);n.__exportStar(i(15621),t);const U=i(15621);n.__exportStar(i(5821),t);const Q=i(5821);n.__exportStar(i(71817),t);const H=i(71817);n.__exportStar(i(63382),t);const K=i(63382);n.__exportStar(i(16001),t);const G=i(16001);n.__exportStar(i(95091),t);const W=i(95091);n.__exportStar(i(58365),t);const F=i(58365);n.__exportStar(i(31857),t);const J=i(31857);n.__exportStar(i(76012),t);const Y=i(76012);n.__exportStar(i(88382),t);const X=i(88382);n.__exportStar(i(48169),t);const Z=i(48169);n.__exportStar(i(97534),t);const $=i(97534);n.__exportStar(i(71097),t);const ee=i(71097);n.__exportStar(i(31466),t);const te=i(31466);n.__exportStar(i(9090),t);const ie=i(9090);n.__exportStar(i(17374),t);const ne=i(17374);n.__exportStar(i(78504),t);const re=i(78504);n.__exportStar(i(5381),t);const se=i(5381);n.__exportStar(i(37284),t);const ae=i(37284);n.__exportStar(i(80228),t);const oe=i(80228);n.__exportStar(i(73316),t);const ue=i(73316);n.__exportStar(i(93149),t);const ce=i(93149);n.__exportStar(i(44056),t);const le=i(44056);n.__exportStar(i(81543),t);const pe=i(81543);n.__exportStar(i(29389),t);const de=i(29389);n.__exportStar(i(26757),t);const fe=i(26757);n.__exportStar(i(91655),t);const he=i(91655);n.__exportStar(i(49324),t);const me=i(49324);n.__exportStar(i(91143),t);const be=i(91143);n.__exportStar(i(922),t);const ge=i(922);n.__exportStar(i(30769),t);const ye=i(30769);n.__exportStar(i(15325),t);const Se=i(15325);n.__exportStar(i(4441),t);const ve=i(4441);n.__exportStar(i(19868),t);const we=i(19868);class HttpError extends Error{constructor(e,t,i){super("HTTP request failed");this.response=e;this.body=t;this.statusCode=i;this.name="HttpError"}}t.HttpError=HttpError;t.APIS=[r.AdmissionregistrationApi,s.AdmissionregistrationV1Api,a.AdmissionregistrationV1beta1Api,o.ApiextensionsApi,u.ApiextensionsV1Api,c.ApiextensionsV1beta1Api,l.ApiregistrationApi,p.ApiregistrationV1Api,d.ApiregistrationV1beta1Api,f.ApisApi,h.AppsApi,m.AppsV1Api,b.AuthenticationApi,g.AuthenticationV1Api,y.AuthenticationV1beta1Api,S.AuthorizationApi,v.AuthorizationV1Api,w.AuthorizationV1beta1Api,j.AutoscalingApi,z.AutoscalingV1Api,O.AutoscalingV2beta1Api,k.AutoscalingV2beta2Api,C.BatchApi,T.BatchV1Api,_.BatchV1beta1Api,A.BatchV2alpha1Api,E.CertificatesApi,R.CertificatesV1Api,x.CertificatesV1beta1Api,N.CoordinationApi,V.CoordinationV1Api,P.CoordinationV1beta1Api,M.CoreApi,B.CoreV1Api,I.CustomObjectsApi,D.DiscoveryApi,q.DiscoveryV1beta1Api,L.EventsApi,U.EventsV1Api,Q.EventsV1beta1Api,H.ExtensionsApi,K.ExtensionsV1beta1Api,G.FlowcontrolApiserverApi,W.FlowcontrolApiserverV1alpha1Api,F.FlowcontrolApiserverV1beta1Api,J.InternalApiserverApi,Y.InternalApiserverV1alpha1Api,X.LogsApi,Z.NetworkingApi,$.NetworkingV1Api,ee.NetworkingV1beta1Api,te.NodeApi,ie.NodeV1Api,ne.NodeV1alpha1Api,re.NodeV1beta1Api,se.OpenidApi,ae.PolicyApi,oe.PolicyV1beta1Api,ue.RbacAuthorizationApi,ce.RbacAuthorizationV1Api,le.RbacAuthorizationV1alpha1Api,pe.RbacAuthorizationV1beta1Api,de.SchedulingApi,fe.SchedulingV1Api,he.SchedulingV1alpha1Api,me.SchedulingV1beta1Api,be.StorageApi,ge.StorageV1Api,ye.StorageV1alpha1Api,Se.StorageV1beta1Api,ve.VersionApi,we.WellKnownApi]},59536:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApisApi=t.ApisApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ApisApiApiKeys||(t.ApisApiApiKeys={}));class ApisApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIVersions(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroupList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ApisApi=ApisApi},99869:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AppsApi=t.AppsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AppsApiApiKeys||(t.AppsApiApiKeys={}));class AppsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apps/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AppsApi=AppsApi},10588:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AppsV1Api=t.AppsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AppsV1ApiApiKeys||(t.AppsV1ApiApiKeys={}));class AppsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedControllerRevision(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedControllerRevision.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ControllerRevision")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedDaemonSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDaemonSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1DaemonSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedDeployment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedDeployment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Deployment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedReplicaSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicaSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ReplicaSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedStatefulSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedStatefulSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1StatefulSet")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedControllerRevision(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedControllerRevision.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedDaemonSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDaemonSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedDeployment(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedDeployment.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedReplicaSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicaSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedStatefulSet(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedStatefulSet.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedControllerRevision(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedControllerRevision.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedDaemonSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDaemonSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedDeployment(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedDeployment.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedReplicaSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicaSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedStatefulSet(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedStatefulSet.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/apps/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listControllerRevisionForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/controllerrevisions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listDaemonSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/daemonsets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listDeploymentForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/deployments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedControllerRevision(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedControllerRevision.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevisionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedDaemonSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDaemonSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedDeployment(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedDeployment.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DeploymentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedReplicaSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicaSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedStatefulSet(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedStatefulSet.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listReplicaSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/replicasets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStatefulSetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/statefulsets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedControllerRevision(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedControllerRevision.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDaemonSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDaemonSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDaemonSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeployment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeployment.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeploymentScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedDeploymentStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedDeploymentStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSetScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicaSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicaSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSet(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSet.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSetScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedStatefulSetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedStatefulSetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedControllerRevision(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedControllerRevision.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDaemonSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDaemonSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDaemonSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeployment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeployment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeploymentScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedDeploymentStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedDeploymentStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSetScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicaSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicaSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSet(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSet.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSetScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedStatefulSetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedStatefulSetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedControllerRevision(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedControllerRevision.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedControllerRevision.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedControllerRevision.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ControllerRevision")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ControllerRevision");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDaemonSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1DaemonSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDaemonSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDaemonSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1DaemonSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1DaemonSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeployment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeployment.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeployment.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeployment.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Deployment")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeploymentScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedDeploymentStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedDeploymentStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Deployment")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Deployment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicaSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSetScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicaSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicaSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicaSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicaSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSet(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSet.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSet.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSet.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1StatefulSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSetScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedStatefulSetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedStatefulSetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1StatefulSet")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StatefulSet");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AppsV1Api=AppsV1Api},61226:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationApi=t.AuthenticationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationApiApiKeys||(t.AuthenticationApiApiKeys={}));class AuthenticationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationApi=AuthenticationApi},17421:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1Api=t.AuthenticationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationV1ApiApiKeys||(t.AuthenticationV1ApiApiKeys={}));class AuthenticationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createTokenReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authentication.k8s.io/v1/tokenreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1TokenReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationV1Api=AuthenticationV1Api},53150:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1beta1Api=t.AuthenticationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthenticationV1beta1ApiApiKeys||(t.AuthenticationV1beta1ApiApiKeys={}));class AuthenticationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createTokenReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authentication.k8s.io/v1beta1/tokenreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createTokenReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1TokenReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1TokenReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authentication.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthenticationV1beta1Api=AuthenticationV1beta1Api},75154:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationApi=t.AuthorizationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationApiApiKeys||(t.AuthorizationApiApiKeys={}));class AuthorizationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationApi=AuthorizationApi},97999:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationV1Api=t.AuthorizationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationV1ApiApiKeys||(t.AuthorizationV1ApiApiKeys={}));class AuthorizationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLocalSubjectAccessReview(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1LocalSubjectAccessReview")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SelfSubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectRulesReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/selfsubjectrulesreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SelfSubjectRulesReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1/subjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1SubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationV1Api=AuthorizationV1Api},87078:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthorizationV1beta1Api=t.AuthorizationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AuthorizationV1beta1ApiApiKeys||(t.AuthorizationV1beta1ApiApiKeys={}));class AuthorizationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLocalSubjectAccessReview(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLocalSubjectAccessReview.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1LocalSubjectAccessReview")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LocalSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SelfSubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SelfSubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSelfSubjectRulesReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSelfSubjectRulesReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SelfSubjectRulesReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SelfSubjectRulesReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createSubjectAccessReview(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/authorization.k8s.io/v1beta1/subjectaccessreviews";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createSubjectAccessReview.")}if(t!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["pretty"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1SubjectAccessReview")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1SubjectAccessReview");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/authorization.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AuthorizationV1beta1Api=AuthorizationV1beta1Api},94692:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingApi=t.AutoscalingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingApiApiKeys||(t.AutoscalingApiApiKeys={}));class AutoscalingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingApi=AutoscalingApi},47098:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV1Api=t.AutoscalingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV1ApiApiKeys||(t.AutoscalingV1ApiApiKeys={}));class AutoscalingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV1Api=AutoscalingV1Api},15872:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV2beta1Api=t.AutoscalingV2beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV2beta1ApiApiKeys||(t.AutoscalingV2beta1ApiApiKeys={}));class AutoscalingV2beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2beta1HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v2beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta1HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta1HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV2beta1Api=AutoscalingV2beta1Api},76982:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AutoscalingV2beta2Api=t.AutoscalingV2beta2ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.AutoscalingV2beta2ApiApiKeys||(t.AutoscalingV2beta2ApiApiKeys={}));class AutoscalingV2beta2Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2beta2HorizontalPodAutoscaler")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/autoscaling/v2beta2/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listHorizontalPodAutoscalerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/horizontalpodautoscalers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedHorizontalPodAutoscaler.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscalerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscaler.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedHorizontalPodAutoscalerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedHorizontalPodAutoscalerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscaler(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscaler.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedHorizontalPodAutoscalerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedHorizontalPodAutoscalerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2beta2HorizontalPodAutoscaler")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2beta2HorizontalPodAutoscaler");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.AutoscalingV2beta2Api=AutoscalingV2beta2Api},91445:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchApi=t.BatchApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchApiApiKeys||(t.BatchApiApiKeys={}));class BatchApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchApi=BatchApi},78246:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV1Api=t.BatchV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV1ApiApiKeys||(t.BatchV1ApiApiKeys={}));class BatchV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Job")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/jobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1JobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Job")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Job")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Job");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV1Api=BatchV1Api},71101:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV1beta1Api=t.BatchV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV1beta1ApiApiKeys||(t.BatchV1beta1ApiApiKeys={}));class BatchV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CronJob")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCronJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCronJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/cronjobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV1beta1Api=BatchV1beta1Api},23668:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BatchV2alpha1Api=t.BatchV2alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.BatchV2alpha1ApiApiKeys||(t.BatchV2alpha1ApiApiKeys={}));class BatchV2alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V2alpha1CronJob")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCronJob.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCronJob(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCronJob.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/batch/v2alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCronJobForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/cronjobs";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCronJob(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCronJob.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJobList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJob(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJob.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCronJobStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCronJobStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJob(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJob.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedCronJobStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedCronJobStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJob(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJob.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJob.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJob.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2alpha1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCronJobStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCronJobStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCronJobStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCronJobStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V2alpha1CronJob")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V2alpha1CronJob");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.BatchV2alpha1Api=BatchV2alpha1Api},92076:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesApi=t.CertificatesApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesApiApiKeys||(t.CertificatesApiApiKeys={}));class CertificatesApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesApi=CertificatesApi},32593:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesV1Api=t.CertificatesV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesV1ApiApiKeys||(t.CertificatesV1ApiApiKeys={}));class CertificatesV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CertificateSigningRequest")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCertificateSigningRequest(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCertificateSigningRequest.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequestList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequest(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequest.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestApproval(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestApproval.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestApproval(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestApproval.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequest(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequest.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestApproval(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesV1Api=CertificatesV1Api},23732:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CertificatesV1beta1Api=t.CertificatesV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CertificatesV1beta1ApiApiKeys||(t.CertificatesV1beta1ApiApiKeys={}));class CertificatesV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CertificateSigningRequest")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCertificateSigningRequest(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCertificateSigningRequest.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/certificates.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCertificateSigningRequest(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequestList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequest(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequest.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestApproval(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestApproval.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCertificateSigningRequestStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCertificateSigningRequestStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequest(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequest.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestApproval(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestApproval.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCertificateSigningRequestStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCertificateSigningRequestStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequest(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequest.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequest.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestApproval(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestApproval.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCertificateSigningRequestStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCertificateSigningRequestStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CertificateSigningRequest")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CertificateSigningRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CertificatesV1beta1Api=CertificatesV1beta1Api},69209:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationApi=t.CoordinationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationApiApiKeys||(t.CoordinationApiApiKeys={}));class CoordinationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationApi=CoordinationApi},52653:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationV1Api=t.CoordinationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationV1ApiApiKeys||(t.CoordinationV1ApiApiKeys={}));class CoordinationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Lease")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLease.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLease(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLease.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLeaseForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/leases";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLease.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLease(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLease.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLease(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLease.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Lease")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationV1Api=CoordinationV1Api},82017:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoordinationV1beta1Api=t.CoordinationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoordinationV1beta1ApiApiKeys||(t.CoordinationV1beta1ApiApiKeys={}));class CoordinationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Lease")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLease.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLease(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLease.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/coordination.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLeaseForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/leases";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLease(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLease.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1LeaseList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLease(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLease.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLease(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLease.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLease(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLease.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLease.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLease.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Lease")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Lease");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoordinationV1beta1Api=CoordinationV1beta1Api},51489:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreApi=t.CoreApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoreApiApiKeys||(t.CoreApiApiKeys={}));class CoreApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIVersions(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/api/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIVersions");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoreApi=CoreApi},4738:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1Api=t.CoreV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CoreV1ApiApiKeys||(t.CoreV1ApiApiKeys={}));class CoreV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}connectDeleteNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"DELETE",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"DELETE",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectDeleteNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectDeleteNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"DELETE",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodAttach(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["*/*"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodAttach.")}if(i!==undefined){d["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["stderr"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){d["stdin"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["stdout"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){d["tty"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"GET",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodExec(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["*/*"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodExec.")}if(i!==undefined){f["command"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["container"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["stderr"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){f["stdin"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["stdout"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){f["tty"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"GET",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodPortforward(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodPortforward.")}if(i!==undefined){u["ports"]=s.ObjectSerializer.serialize(i,"number")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectGetNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectGetNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectGetNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"HEAD",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"HEAD",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"HEAD",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectHeadNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectHeadNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectHeadNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"HEAD",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"OPTIONS",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"OPTIONS",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"OPTIONS",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectOptionsNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectOptionsNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"OPTIONS",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PATCH",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PATCH",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"PATCH",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPatchNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPatchNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPatchNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodAttach(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/attach".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["*/*"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodAttach.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodAttach.")}if(i!==undefined){d["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["stderr"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){d["stdin"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["stdout"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){d["tty"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"POST",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodExec(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/exec".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["*/*"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodExec.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodExec.")}if(i!==undefined){f["command"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["container"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["stderr"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){f["stdin"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["stdout"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){f["tty"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"POST",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodPortforward(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/portforward".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodPortforward.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodPortforward.")}if(i!==undefined){u["ports"]=s.ObjectSerializer.serialize(i,"number")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"POST",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPostNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPostNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPostNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"POST",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedPodProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedPodProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedPodProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PUT",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedServiceProxy(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxy.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNamespacedServiceProxyWithPath(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t))).replace("{"+"path"+"}",encodeURIComponent(String(i)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["*/*"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(i===null||i===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNamespacedServiceProxyWithPath.")}if(a!==undefined){c["path"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"PUT",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNodeProxy(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["*/*"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxy.")}if(t!==undefined){a["path"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"PUT",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}connectPutNodeProxyWithPath(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/proxy/{path}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"path"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["*/*"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling connectPutNodeProxyWithPath.")}if(t===null||t===undefined){throw new Error("Required parameter path was null or undefined when calling connectPutNodeProxyWithPath.")}if(i!==undefined){u["path"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"PUT",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespace(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespace.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1Namespace")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/bindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedBinding.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Binding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedConfigMap(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedConfigMap.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ConfigMap")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedEndpoints(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEndpoints.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Endpoints")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"CoreV1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedLimitRange(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedLimitRange.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1LimitRange")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPersistentVolumeClaim(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPersistentVolumeClaim.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolumeClaim")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPod(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPod.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Pod")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/binding".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodBinding.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Binding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Binding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodEviction(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/eviction".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedPodEviction.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodEviction.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodEviction.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Eviction")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Eviction");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedPodTemplate(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodTemplate.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PodTemplate")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedReplicationController(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedReplicationController.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ReplicationController")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedResourceQuota(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedResourceQuota.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ResourceQuota")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedSecret(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedSecret.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Secret")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Service")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedServiceAccount(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedServiceAccount.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ServiceAccount")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedServiceAccountToken(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling createNamespacedServiceAccountToken.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedServiceAccountToken.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedServiceAccountToken.")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["pretty"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"POST",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"AuthenticationV1TokenRequest")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"AuthenticationV1TokenRequest");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createNode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1Node")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPersistentVolume(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPersistentVolume.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1PersistentVolume")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedConfigMap(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedConfigMap.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEndpoints(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEndpoints.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedLimitRange(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedLimitRange.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPersistentVolumeClaim.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPod(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPod.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPodTemplate(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodTemplate.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedReplicationController(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedReplicationController.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedResourceQuota(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedResourceQuota.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedSecret(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedSecret.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedServiceAccount(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedServiceAccount.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPersistentVolume(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespace(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespace.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedConfigMap(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedConfigMap.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEndpoints(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEndpoints.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedLimitRange(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedLimitRange.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPersistentVolumeClaim.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPod(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPod.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPodTemplate(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodTemplate.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedReplicationController(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedReplicationController.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedResourceQuota(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedResourceQuota.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedSecret(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedSecret.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedService(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedService.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedServiceAccount(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedServiceAccount.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePersistentVolume(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePersistentVolume.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/api/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listComponentStatus(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/componentstatuses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ComponentStatusList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listConfigMapForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/configmaps";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEndpointsForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/endpoints";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listLimitRangeForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/limitranges";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespace(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NamespaceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedConfigMap(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedConfigMap.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMapList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEndpoints(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEndpoints.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1EndpointsList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedLimitRange(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedLimitRange.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRangeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPersistentVolumeClaim.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPod(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPod.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPodTemplate(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodTemplate.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedReplicationController(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedReplicationController.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedResourceQuota(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedResourceQuota.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedSecret(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedSecret.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedService(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedService.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedServiceAccount(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedServiceAccount.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPersistentVolume(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPersistentVolumeClaimForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumeclaims";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaimList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/pods";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodTemplateForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/podtemplates";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplateList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listReplicationControllerForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/replicationcontrollers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationControllerList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listResourceQuotaForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/resourcequotas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuotaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listSecretForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/secrets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1SecretList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listServiceAccountForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/serviceaccounts";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccountList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listServiceForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/services";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespace(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespace.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespaceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespaceStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedConfigMap(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedConfigMap.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEndpoints(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEndpoints.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedLimitRange(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedLimitRange.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaim.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPersistentVolumeClaimStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPod(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPod.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodTemplate(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodTemplate.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationController(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationController.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationControllerScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerScale.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedReplicationControllerStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedReplicationControllerStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedResourceQuota(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuota.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedResourceQuotaStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedResourceQuotaStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedSecret(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedSecret.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedService(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedService.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedServiceAccount(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceAccount.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedServiceStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedServiceStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNodeStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchNodeStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPersistentVolume(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolume.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPersistentVolumeStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPersistentVolumeStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readComponentStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/componentstatuses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readComponentStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ComponentStatus");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespace(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespace.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespaceStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespaceStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedConfigMap(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedConfigMap.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEndpoints(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEndpoints.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedLimitRange(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedLimitRange.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPersistentVolumeClaim(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaim.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPersistentVolumeClaimStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPersistentVolumeClaimStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPod(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPod.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodLog(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/log".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["text/plain","application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodLog.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodLog.")}if(i!==undefined){b["container"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){b["follow"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){b["insecureSkipTLSVerifyBackend"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){b["limitBytes"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){b["pretty"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){b["previous"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){b["sinceSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){b["tailLines"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["timestamps"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodTemplate(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodTemplate.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationController(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationController.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationControllerScale(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerScale.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedReplicationControllerStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedReplicationControllerStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedResourceQuota(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuota.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedResourceQuotaStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedResourceQuotaStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedSecret(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedSecret.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedService(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedService.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedServiceAccount(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceAccount.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedServiceStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedServiceStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNodeStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNodeStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPersistentVolume(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolume.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPersistentVolumeStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPersistentVolumeStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespace(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespace.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespace.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespaceFinalize(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/finalize".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceFinalize.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceFinalize.")}if(i!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["pretty"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespaceStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespaceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespaceStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Namespace")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Namespace");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedConfigMap(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/configmaps/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedConfigMap.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedConfigMap.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedConfigMap.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ConfigMap")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ConfigMap");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEndpoints(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/endpoints/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEndpoints.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEndpoints.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEndpoints.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Endpoints")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Endpoints");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"CoreV1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"CoreV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedLimitRange(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/limitranges/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedLimitRange.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedLimitRange.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedLimitRange.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1LimitRange")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1LimitRange");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPersistentVolumeClaim(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaim.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPersistentVolumeClaimStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPersistentVolumeClaimStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PersistentVolumeClaim")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolumeClaim");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPod(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPod.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPod.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPod.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Pod")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/pods/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Pod")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Pod");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodTemplate(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/podtemplates/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodTemplate.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodTemplate.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodTemplate.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1PodTemplate")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PodTemplate");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationController(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationController.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationController.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationController.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicationController")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationControllerScale(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerScale.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Scale")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Scale");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedReplicationControllerStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedReplicationControllerStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ReplicationController")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ReplicationController");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedResourceQuota(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuota.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuota.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuota.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ResourceQuota")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedResourceQuotaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/resourcequotas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedResourceQuotaStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ResourceQuota")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ResourceQuota");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedSecret(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/secrets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedSecret.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedSecret.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedSecret.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Secret")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Secret");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedService(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedService.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedService.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedService.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Service")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedServiceAccount(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/serviceaccounts/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceAccount.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceAccount.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceAccount.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1ServiceAccount")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ServiceAccount");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedServiceStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/namespaces/{namespace}/services/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedServiceStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedServiceStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedServiceStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Service")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Service");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Node")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNodeStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/nodes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNodeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNodeStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Node")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Node");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePersistentVolume(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolume.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolume.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolume")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePersistentVolumeStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/api/v1/persistentvolumes/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePersistentVolumeStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePersistentVolumeStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PersistentVolume")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PersistentVolume");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CoreV1Api=CoreV1Api},36522:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CustomObjectsApi=t.CustomObjectsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.CustomObjectsApiApiKeys||(t.CustomObjectsApiApiKeys={}));class CustomObjectsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterCustomObject(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling createClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterCustomObject.")}if(u!==undefined){d["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"POST",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(a,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling createNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling createNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling createNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedCustomObject.")}if(c!==undefined){f["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"POST",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterCustomObject.")}if(u!==undefined){h["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){h["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){h["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(m,f.headers);let y=false;let S={method:"DELETE",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(d,"V1DeleteOptions")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteCollectionClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteCollectionClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteCollectionClusterCustomObject.")}if(a!==undefined){h["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){h["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){h["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){h["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(m,f.headers);let y=false;let S={method:"DELETE",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(d,"V1DeleteOptions")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteCollectionNamespacedCustomObject.")}if(u!==undefined){m["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["orphanDependents"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){m["propagationPolicy"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["dryRun"]=s.ObjectSerializer.serialize(d,"string")}Object.assign(b,h.headers);let S=false;let v={method:"DELETE",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(f,"V1DeleteOptions")};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling deleteNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling deleteNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling deleteNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedCustomObject.")}if(c!==undefined){m["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["orphanDependents"]=s.ObjectSerializer.serialize(l,"boolean")}if(p!==undefined){m["propagationPolicy"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["dryRun"]=s.ObjectSerializer.serialize(d,"string")}Object.assign(b,h.headers);let S=false;let v={method:"DELETE",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(f,"V1DeleteOptions")};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObject(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObject.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObjectScale(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectScale.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getClusterCustomObjectStatus(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling getClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling getClusterCustomObjectStatus.")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObject(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObject.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObjectScale(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectScale.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getNamespacedCustomObjectStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling getNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling getNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling getNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling getNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling getNamespacedCustomObjectStatus.")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterCustomObject(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/json;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling listClusterCustomObject.")}if(a!==undefined){b["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["continue"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){b["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f,h,m,b={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a)));let g={};let y=Object.assign({},this._defaultHeaders);const S=["application/json","application/json;stream=watch"];if(S.indexOf("application/json")>=0){y.Accept="application/json"}else{y.Accept=S.join(",")}let v={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling listNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling listNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling listNamespacedCustomObject.")}if(u!==undefined){g["pretty"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){g["continue"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){g["fieldSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){g["labelSelector"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){g["limit"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){g["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){g["timeoutSeconds"]=s.ObjectSerializer.serialize(h,"number")}if(m!==undefined){g["watch"]=s.ObjectSerializer.serialize(m,"boolean")}Object.assign(y,b.headers);let w=false;let j={method:"GET",qs:g,headers:y,uri:n,useQuerystring:this._useQuerystring,json:true};let z=Promise.resolve();if(this.authentications.BearerToken.apiKey){z=z.then(()=>this.authentications.BearerToken.applyToRequest(j))}z=z.then(()=>this.authentications.default.applyToRequest(j));let O=z;for(const e of this.interceptors){O=O.then(()=>e(j))}return O.then(()=>{if(Object.keys(v).length){if(w){j.formData=v}else{j.form=v}}return new Promise((e,t)=>{r(j,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObject.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObjectScale(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectScale.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterCustomObjectStatus(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling patchClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterCustomObjectStatus.")}if(c!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["force"]=s.ObjectSerializer.serialize(p,"boolean")}Object.assign(h,d.headers);let g=false;let y={method:"PATCH",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObject(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObject.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObject.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObjectScale(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectScale.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectScale.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedCustomObjectStatus(e,t,i,a,u,c,l,p,d,f={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let h={};let m=Object.assign({},this._defaultHeaders);const b=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(b.indexOf("application/json")>=0){m.Accept="application/json"}else{m.Accept=b.join(",")}let g={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedCustomObjectStatus.")}if(l!==undefined){h["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){h["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){h["force"]=s.ObjectSerializer.serialize(d,"boolean")}Object.assign(m,f.headers);let y=false;let S={method:"PATCH",qs:h,headers:m,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let v=Promise.resolve();if(this.authentications.BearerToken.apiKey){v=v.then(()=>this.authentications.BearerToken.applyToRequest(S))}v=v.then(()=>this.authentications.default.applyToRequest(S));let w=v;for(const e of this.interceptors){w=w.then(()=>e(S))}return w.then(()=>{if(Object.keys(g).length){if(y){S.formData=g}else{S.form=g}}return new Promise((e,t)=>{r(S,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObject(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObject.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObjectScale(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectScale.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterCustomObjectStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"plural"+"}",encodeURIComponent(String(i))).replace("{"+"name"+"}",encodeURIComponent(String(a)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceClusterCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceClusterCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceClusterCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterCustomObjectStatus.")}if(c!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(f,p.headers);let b=false;let g={method:"PUT",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObject(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObject.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObject.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObject.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObject.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObject.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObject.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObjectScale(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectScale.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedCustomObjectStatus(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".replace("{"+"group"+"}",encodeURIComponent(String(e))).replace("{"+"version"+"}",encodeURIComponent(String(t))).replace("{"+"namespace"+"}",encodeURIComponent(String(i))).replace("{"+"plural"+"}",encodeURIComponent(String(a))).replace("{"+"name"+"}",encodeURIComponent(String(u)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter group was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(t===null||t===undefined){throw new Error("Required parameter version was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(i===null||i===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(a===null||a===undefined){throw new Error("Required parameter plural was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(u===null||u===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(c===null||c===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedCustomObjectStatus.")}if(l!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){f["fieldManager"]=s.ObjectSerializer.serialize(p,"string")}Object.assign(h,d.headers);let g=false;let y={method:"PUT",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(c,"object")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"object");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.CustomObjectsApi=CustomObjectsApi},44310:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscoveryApi=t.DiscoveryApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.DiscoveryApiApiKeys||(t.DiscoveryApiApiKeys={}));class DiscoveryApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/discovery.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.DiscoveryApi=DiscoveryApi},10420:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DiscoveryV1beta1Api=t.DiscoveryV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.DiscoveryV1beta1ApiApiKeys||(t.DiscoveryV1beta1ApiApiKeys={}));class DiscoveryV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEndpointSlice(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEndpointSlice.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1EndpointSlice")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEndpointSlice.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEndpointSlice.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/discovery.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEndpointSliceForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/endpointslices";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSliceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEndpointSlice(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEndpointSlice.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSliceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEndpointSlice(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEndpointSlice.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEndpointSlice.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEndpointSlice(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEndpointSlice.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEndpointSlice(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEndpointSlice.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEndpointSlice.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEndpointSlice.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1EndpointSlice")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EndpointSlice");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.DiscoveryV1beta1Api=DiscoveryV1beta1Api},89829:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsApi=t.EventsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsApiApiKeys||(t.EventsApiApiKeys={}));class EventsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsApi=EventsApi},15621:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1Api=t.EventsV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsV1ApiApiKeys||(t.EventsV1ApiApiKeys={}));class EventsV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"EventsV1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"EventsV1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"EventsV1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsV1Api=EventsV1Api},5821:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1beta1Api=t.EventsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.EventsV1beta1ApiApiKeys||(t.EventsV1beta1ApiApiKeys={}));class EventsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Event")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedEvent.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedEvent(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedEvent.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/events.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listEventForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/events";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedEvent(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedEvent.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1EventList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedEvent(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedEvent.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedEvent(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedEvent.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedEvent(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedEvent.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedEvent.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedEvent.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Event")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Event");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.EventsV1beta1Api=EventsV1beta1Api},71817:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsApi=t.ExtensionsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ExtensionsApiApiKeys||(t.ExtensionsApiApiKeys={}));class ExtensionsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/extensions/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ExtensionsApi=ExtensionsApi},63382:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1Api=t.ExtensionsV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.ExtensionsV1beta1ApiApiKeys||(t.ExtensionsV1beta1ApiApiKeys={}));class ExtensionsV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"ExtensionsV1beta1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/extensions/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"ExtensionsV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"ExtensionsV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"ExtensionsV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.ExtensionsV1beta1Api=ExtensionsV1beta1Api},16001:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverApi=t.FlowcontrolApiserverApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverApiApiKeys||(t.FlowcontrolApiserverApiApiKeys={}));class FlowcontrolApiserverApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverApi=FlowcontrolApiserverApi},95091:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverV1alpha1Api=t.FlowcontrolApiserverV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverV1alpha1ApiApiKeys||(t.FlowcontrolApiserverV1alpha1ApiApiKeys={}));class FlowcontrolApiserverV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1FlowSchema")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1PriorityLevelConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionFlowSchema(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteFlowSchema(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteFlowSchema.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityLevelConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityLevelConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listFlowSchema(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchemaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchema(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchema.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchemaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchemaStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfigurationStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchemaStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchemaStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfigurationStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfigurationStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchema(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchema.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchemaStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchemaStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfigurationStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverV1alpha1Api=FlowcontrolApiserverV1alpha1Api},58365:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolApiserverV1beta1Api=t.FlowcontrolApiserverV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.FlowcontrolApiserverV1beta1ApiApiKeys||(t.FlowcontrolApiserverV1beta1ApiApiKeys={}));class FlowcontrolApiserverV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1FlowSchema")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PriorityLevelConfiguration")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionFlowSchema(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteFlowSchema(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteFlowSchema.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityLevelConfiguration(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityLevelConfiguration.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listFlowSchema(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchemaList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityLevelConfiguration(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfigurationList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchema(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchema.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchFlowSchemaStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchFlowSchemaStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfiguration(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfiguration.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityLevelConfigurationStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityLevelConfigurationStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchema(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchema.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readFlowSchemaStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readFlowSchemaStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfiguration(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfiguration.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityLevelConfigurationStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityLevelConfigurationStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchema(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchema.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchema.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceFlowSchemaStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceFlowSchemaStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceFlowSchemaStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1FlowSchema")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1FlowSchema");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfiguration(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfiguration.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfiguration.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityLevelConfigurationStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityLevelConfigurationStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityLevelConfiguration")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityLevelConfiguration");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.FlowcontrolApiserverV1beta1Api=FlowcontrolApiserverV1beta1Api},31857:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InternalApiserverApi=t.InternalApiserverApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.InternalApiserverApiApiKeys||(t.InternalApiserverApiApiKeys={}));class InternalApiserverApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/internal.apiserver.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.InternalApiserverApi=InternalApiserverApi},76012:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.InternalApiserverV1alpha1Api=t.InternalApiserverV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.InternalApiserverV1alpha1ApiApiKeys||(t.InternalApiserverV1alpha1ApiApiKeys={}));class InternalApiserverV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createStorageVersion(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageVersion.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1StorageVersion")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageVersion(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageVersion(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageVersion.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageVersion(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersionList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageVersion(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageVersion.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageVersion.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageVersionStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageVersionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageVersionStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageVersion(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageVersion.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageVersionStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageVersionStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageVersion(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageVersion.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageVersion.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1StorageVersion")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageVersionStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageVersionStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageVersionStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1StorageVersion")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1StorageVersion");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.InternalApiserverV1alpha1Api=InternalApiserverV1alpha1Api},88382:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.LogsApi=t.LogsApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.LogsApiApiKeys||(t.LogsApiApiKeys={}));class LogsApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}logFileHandler(e,t={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const i=this.basePath+"/logs/{logpath}".replace("{"+"logpath"+"}",encodeURIComponent(String(e)));let n={};let s=Object.assign({},this._defaultHeaders);let a={};if(e===null||e===undefined){throw new Error("Required parameter logpath was null or undefined when calling logFileHandler.")}Object.assign(s,t.headers);let u=false;let c={method:"GET",qs:n,headers:s,uri:i,useQuerystring:this._useQuerystring,json:true};let l=Promise.resolve();if(this.authentications.BearerToken.apiKey){l=l.then(()=>this.authentications.BearerToken.applyToRequest(c))}l=l.then(()=>this.authentications.default.applyToRequest(c));let p=l;for(const e of this.interceptors){p=p.then(()=>e(c))}return p.then(()=>{if(Object.keys(a).length){if(u){c.formData=a}else{c.form=a}}return new Promise((e,t)=>{r(c,(i,n,r)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}logFileListHandler(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/logs/";let i={};let n=Object.assign({},this._defaultHeaders);let s={};Object.assign(n,e.headers);let a=false;let u={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let c=Promise.resolve();if(this.authentications.BearerToken.apiKey){c=c.then(()=>this.authentications.BearerToken.applyToRequest(u))}c=c.then(()=>this.authentications.default.applyToRequest(u));let l=c;for(const e of this.interceptors){l=l.then(()=>e(u))}return l.then(()=>{if(Object.keys(s).length){if(a){u.formData=s}else{u.form=s}}return new Promise((e,t)=>{r(u,(i,n,r)=>{if(i){t(i)}else{if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.LogsApi=LogsApi},48169:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingApi=t.NetworkingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingApiApiKeys||(t.NetworkingApiApiKeys={}));class NetworkingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingApi=NetworkingApi},97534:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1Api=t.NetworkingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingV1ApiApiKeys||(t.NetworkingV1ApiApiKeys={}));class NetworkingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1IngressClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedNetworkPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedNetworkPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1NetworkPolicy")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionIngressClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedNetworkPolicy.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteIngressClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteIngressClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedNetworkPolicy.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedNetworkPolicy(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedNetworkPolicy.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNetworkPolicyForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/networkpolicies";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchIngressClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchIngressClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedNetworkPolicy(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedNetworkPolicy.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedNetworkPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedNetworkPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceIngressClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceIngressClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1IngressClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedNetworkPolicy(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedNetworkPolicy.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1NetworkPolicy")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1NetworkPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingV1Api=NetworkingV1Api},71097:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1Api=t.NetworkingV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NetworkingV1beta1ApiApiKeys||(t.NetworkingV1beta1ApiApiKeys={}));class NetworkingV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1IngressClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"NetworkingV1beta1Ingress")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionIngressClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedIngress.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteIngressClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteIngressClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedIngress(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedIngress.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/networking.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listIngressForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingresses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedIngress(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedIngress.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1IngressList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchIngressClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchIngressClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngress(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngress.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedIngressStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedIngressStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readIngressClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readIngressClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngress(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngress.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedIngressStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedIngressStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceIngressClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/ingressclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceIngressClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceIngressClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1IngressClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1IngressClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngress(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngress.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngress.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngress.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"NetworkingV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedIngressStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/networking.k8s.io/v1beta1/namespaces/{namespace}/ingresses/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedIngressStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedIngressStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedIngressStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"NetworkingV1beta1Ingress")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"NetworkingV1beta1Ingress");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NetworkingV1beta1Api=NetworkingV1beta1Api},31466:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeApi=t.NodeApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeApiApiKeys||(t.NodeApiApiKeys={}));class NodeApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeApi=NodeApi},9090:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1Api=t.NodeV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1ApiApiKeys||(t.NodeV1ApiApiKeys={}));class NodeV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1Api=NodeV1Api},17374:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1alpha1Api=t.NodeV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1alpha1ApiApiKeys||(t.NodeV1alpha1ApiApiKeys={}));class NodeV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1alpha1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1alpha1Api=NodeV1alpha1Api},78504:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NodeV1beta1Api=t.NodeV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.NodeV1beta1ApiApiKeys||(t.NodeV1beta1ApiApiKeys={}));class NodeV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1RuntimeClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionRuntimeClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteRuntimeClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteRuntimeClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/node.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRuntimeClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchRuntimeClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchRuntimeClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readRuntimeClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readRuntimeClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceRuntimeClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/node.k8s.io/v1beta1/runtimeclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceRuntimeClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceRuntimeClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1RuntimeClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RuntimeClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.NodeV1beta1Api=NodeV1beta1Api},5381:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OpenidApi=t.OpenidApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.OpenidApiApiKeys||(t.OpenidApiApiKeys={}));class OpenidApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getServiceAccountIssuerOpenIDKeyset(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/openid/v1/jwks/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/jwk-set+json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.OpenidApi=OpenidApi},37284:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PolicyApi=t.PolicyApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.PolicyApiApiKeys||(t.PolicyApiApiKeys={}));class PolicyApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/policy/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.PolicyApi=PolicyApi},80228:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PolicyV1beta1Api=t.PolicyV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.PolicyV1beta1ApiApiKeys||(t.PolicyV1beta1ApiApiKeys={}));class PolicyV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createNamespacedPodDisruptionBudget(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedPodDisruptionBudget.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PodDisruptionBudget")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createPodSecurityPolicy(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPodSecurityPolicy.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PodSecurityPolicy")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedPodDisruptionBudget.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPodSecurityPolicy(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedPodDisruptionBudget.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePodSecurityPolicy(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePodSecurityPolicy.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/policy/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedPodDisruptionBudget.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodDisruptionBudgetForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/poddisruptionbudgets";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudgetList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPodSecurityPolicy(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicyList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodDisruptionBudget(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudget.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedPodDisruptionBudgetStatus(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPodSecurityPolicy(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPodSecurityPolicy.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodDisruptionBudget(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudget.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["exact"]=s.ObjectSerializer.serialize(a,"boolean")}if(u!==undefined){l["export"]=s.ObjectSerializer.serialize(u,"boolean")}Object.assign(p,c.headers);let h=false;let m={method:"GET",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedPodDisruptionBudgetStatus(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedPodDisruptionBudgetStatus.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPodSecurityPolicy(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPodSecurityPolicy.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodDisruptionBudget(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudget.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedPodDisruptionBudgetStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedPodDisruptionBudgetStatus.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1PodDisruptionBudget")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodDisruptionBudget");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePodSecurityPolicy(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/policy/v1beta1/podsecuritypolicies/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePodSecurityPolicy.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePodSecurityPolicy.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PodSecurityPolicy")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PodSecurityPolicy");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.PolicyV1beta1Api=PolicyV1beta1Api},73316:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationApi=t.RbacAuthorizationApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationApiApiKeys||(t.RbacAuthorizationApiApiKeys={}));class RbacAuthorizationApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationApi=RbacAuthorizationApi},93149:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1Api=t.RbacAuthorizationV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1ApiApiKeys||(t.RbacAuthorizationV1ApiApiKeys={}));class RbacAuthorizationV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1Api=RbacAuthorizationV1Api},44056:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1alpha1Api=t.RbacAuthorizationV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1alpha1ApiApiKeys||(t.RbacAuthorizationV1alpha1ApiApiKeys={}));class RbacAuthorizationV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1alpha1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1alpha1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1alpha1Api=RbacAuthorizationV1alpha1Api},81543:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacAuthorizationV1beta1Api=t.RbacAuthorizationV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.RbacAuthorizationV1beta1ApiApiKeys||(t.RbacAuthorizationV1beta1ApiApiKeys={}));class RbacAuthorizationV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createClusterRole(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRole.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ClusterRole")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createClusterRoleBinding(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createClusterRoleBinding.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1ClusterRoleBinding")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1Role")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createNamespacedRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling createNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling createNamespacedRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"POST",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1RoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRole.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteClusterRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteClusterRoleBinding.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRole.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m,b,g,y={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let S={};let v=Object.assign({},this._defaultHeaders);const w=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(w.indexOf("application/json")>=0){v.Accept="application/json"}else{v.Accept=w.join(",")}let j={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteCollectionNamespacedRoleBinding.")}if(t!==undefined){S["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){S["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){S["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){S["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){S["gracePeriodSeconds"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){S["labelSelector"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){S["limit"]=s.ObjectSerializer.serialize(p,"number")}if(d!==undefined){S["orphanDependents"]=s.ObjectSerializer.serialize(d,"boolean")}if(f!==undefined){S["propagationPolicy"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){S["resourceVersion"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){S["resourceVersionMatch"]=s.ObjectSerializer.serialize(m,"string")}if(b!==undefined){S["timeoutSeconds"]=s.ObjectSerializer.serialize(b,"number")}Object.assign(v,y.headers);let z=false;let O={method:"DELETE",qs:S,headers:v,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(g,"V1DeleteOptions")};let k=Promise.resolve();if(this.authentications.BearerToken.apiKey){k=k.then(()=>this.authentications.BearerToken.applyToRequest(O))}k=k.then(()=>this.authentications.default.applyToRequest(O));let C=k;for(const e of this.interceptors){C=C.then(()=>e(O))}return C.then(()=>{if(Object.keys(j).length){if(z){O.formData=j}else{O.form=j}}return new Promise((e,t)=>{r(O,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRole(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRole.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteNamespacedRoleBinding(e,t,i,a,u,c,l,p,d={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let f={};let h=Object.assign({},this._defaultHeaders);const m=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(m.indexOf("application/json")>=0){h.Accept="application/json"}else{h.Accept=m.join(",")}let b={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling deleteNamespacedRoleBinding.")}if(i!==undefined){f["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){f["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){f["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){f["orphanDependents"]=s.ObjectSerializer.serialize(c,"boolean")}if(l!==undefined){f["propagationPolicy"]=s.ObjectSerializer.serialize(l,"string")}Object.assign(h,d.headers);let g=false;let y={method:"DELETE",qs:f,headers:h,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(p,"V1DeleteOptions")};let S=Promise.resolve();if(this.authentications.BearerToken.apiKey){S=S.then(()=>this.authentications.BearerToken.applyToRequest(y))}S=S.then(()=>this.authentications.default.applyToRequest(y));let v=S;for(const e of this.interceptors){v=v.then(()=>e(y))}return v.then(()=>{if(Object.keys(b).length){if(g){y.formData=b}else{y.form=b}}return new Promise((e,t)=>{r(y,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRole(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listClusterRoleBinding(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRole(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRole.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listNamespacedRoleBinding(e,t,i,a,u,c,l,p,d,f,h,m={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings".replace("{"+"namespace"+"}",encodeURIComponent(String(e)));let b={};let g=Object.assign({},this._defaultHeaders);const y=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(y.indexOf("application/json")>=0){g.Accept="application/json"}else{g.Accept=y.join(",")}let S={};if(e===null||e===undefined){throw new Error("Required parameter namespace was null or undefined when calling listNamespacedRoleBinding.")}if(t!==undefined){b["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){b["allowWatchBookmarks"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){b["continue"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){b["fieldSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){b["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){b["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){b["resourceVersion"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){b["resourceVersionMatch"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){b["timeoutSeconds"]=s.ObjectSerializer.serialize(f,"number")}if(h!==undefined){b["watch"]=s.ObjectSerializer.serialize(h,"boolean")}Object.assign(g,m.headers);let v=false;let w={method:"GET",qs:b,headers:g,uri:n,useQuerystring:this._useQuerystring,json:true};let j=Promise.resolve();if(this.authentications.BearerToken.apiKey){j=j.then(()=>this.authentications.BearerToken.applyToRequest(w))}j=j.then(()=>this.authentications.default.applyToRequest(w));let z=j;for(const e of this.interceptors){z=z.then(()=>e(w))}return z.then(()=>{if(Object.keys(S).length){if(v){w.formData=S}else{w.form=S}}return new Promise((e,t)=>{r(w,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleBindingForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/rolebindings";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBindingList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listRoleForAllNamespaces(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/roles";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(e,"boolean")}if(t!==undefined){m["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["limit"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){m["pretty"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRole.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchClusterRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchClusterRoleBinding.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRole(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRole.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchNamespacedRoleBinding(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling patchNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling patchNamespacedRoleBinding.")}if(a!==undefined){d["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){d["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){d["force"]=s.ObjectSerializer.serialize(l,"boolean")}Object.assign(f,p.headers);let b=false;let g={method:"PATCH",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"object")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRole(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRole.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readClusterRoleBinding(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readClusterRoleBinding.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRole(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRole.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readNamespacedRoleBinding(e,t,i,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let u={};let c=Object.assign({},this._defaultHeaders);const l=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(l.indexOf("application/json")>=0){c.Accept="application/json"}else{c.Accept=l.join(",")}let p={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling readNamespacedRoleBinding.")}if(i!==undefined){u["pretty"]=s.ObjectSerializer.serialize(i,"string")}Object.assign(c,a.headers);let d=false;let f={method:"GET",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true};let h=Promise.resolve();if(this.authentications.BearerToken.apiKey){h=h.then(()=>this.authentications.BearerToken.applyToRequest(f))}h=h.then(()=>this.authentications.default.applyToRequest(f));let m=h;for(const e of this.interceptors){m=m.then(()=>e(f))}return m.then(()=>{if(Object.keys(p).length){if(d){f.formData=p}else{f.form=p}}return new Promise((e,t)=>{r(f,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRole(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRole.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRole.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ClusterRole")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRole");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceClusterRoleBinding(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceClusterRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceClusterRoleBinding.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1ClusterRoleBinding")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1ClusterRoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRole(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRole.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRole.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRole.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1Role")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1Role");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceNamespacedRoleBinding(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e))).replace("{"+"namespace"+"}",encodeURIComponent(String(t)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceNamespacedRoleBinding.")}if(t===null||t===undefined){throw new Error("Required parameter namespace was null or undefined when calling replaceNamespacedRoleBinding.")}if(i===null||i===undefined){throw new Error("Required parameter body was null or undefined when calling replaceNamespacedRoleBinding.")}if(a!==undefined){p["pretty"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(d,l.headers);let m=false;let b={method:"PUT",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(i,"V1beta1RoleBinding")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1RoleBinding");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.RbacAuthorizationV1beta1Api=RbacAuthorizationV1beta1Api},29389:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingApi=t.SchedulingApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingApiApiKeys||(t.SchedulingApiApiKeys={}));class SchedulingApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingApi=SchedulingApi},26757:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1Api=t.SchedulingV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1ApiApiKeys||(t.SchedulingV1ApiApiKeys={}));class SchedulingV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1Api=SchedulingV1Api},91655:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1alpha1Api=t.SchedulingV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1alpha1ApiApiKeys||(t.SchedulingV1alpha1ApiApiKeys={}));class SchedulingV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1alpha1Api=SchedulingV1alpha1Api},49324:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SchedulingV1beta1Api=t.SchedulingV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.SchedulingV1beta1ApiApiKeys||(t.SchedulingV1beta1ApiApiKeys={}));class SchedulingV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1PriorityClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionPriorityClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deletePriorityClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deletePriorityClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/scheduling.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listPriorityClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchPriorityClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchPriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchPriorityClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readPriorityClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readPriorityClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replacePriorityClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replacePriorityClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replacePriorityClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1PriorityClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1PriorityClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.SchedulingV1beta1Api=SchedulingV1beta1Api},91143:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageApi=t.StorageApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageApiApiKeys||(t.StorageApiApiKeys={}));class StorageApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getAPIGroup(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIGroup");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageApi=StorageApi},922:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1Api=t.StorageV1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1ApiApiKeys||(t.StorageV1ApiApiKeys={}));class StorageV1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CSIDriver")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1CSINode")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1StorageClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSIDriver(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSIDriver.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSINode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSINode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSIDriver(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSINode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSIDriver(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriverList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSINode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSIDriver(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSIDriver.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSINode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSINode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachmentStatus(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachmentStatus.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachmentStatus(e,t,i={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let a={};let u=Object.assign({},this._defaultHeaders);const c=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(c.indexOf("application/json")>=0){u.Accept="application/json"}else{u.Accept=c.join(",")}let l={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachmentStatus.")}if(t!==undefined){a["pretty"]=s.ObjectSerializer.serialize(t,"string")}Object.assign(u,i.headers);let p=false;let d={method:"GET",qs:a,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};let f=Promise.resolve();if(this.authentications.BearerToken.apiKey){f=f.then(()=>this.authentications.BearerToken.applyToRequest(d))}f=f.then(()=>this.authentications.default.applyToRequest(d));let h=f;for(const e of this.interceptors){h=h.then(()=>e(d))}return h.then(()=>{if(Object.keys(l).length){if(p){d.formData=l}else{d.form=l}}return new Promise((e,t)=>{r(d,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSIDriver(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSIDriver.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CSIDriver")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSINode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSINode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1CSINode")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1StorageClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachmentStatus(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1/volumeattachments/{name}/status".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachmentStatus.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachmentStatus.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1Api=StorageV1Api},30769:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1alpha1Api=t.StorageV1alpha1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1alpha1ApiApiKeys||(t.StorageV1alpha1ApiApiKeys={}));class StorageV1alpha1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1alpha1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1alpha1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1alpha1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1alpha1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1alpha1Api=StorageV1alpha1Api},15325:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1beta1Api=t.StorageV1beta1ApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.StorageV1beta1ApiApiKeys||(t.StorageV1beta1ApiApiKeys={}));class StorageV1beta1Api{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}createCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CSIDriver")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1CSINode")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1StorageClass")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}createVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter body was null or undefined when calling createVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){c["fieldManager"]=s.ObjectSerializer.serialize(a,"string")}Object.assign(l,u.headers);let f=false;let h={method:"POST",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"V1beta1VolumeAttachment")};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSIDriver(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSIDriver.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCSINode(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteCSINode.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSIDriver(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionCSINode(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionStorageClass(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteCollectionVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h,m,b,g={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let y={};let S=Object.assign({},this._defaultHeaders);const v=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(v.indexOf("application/json")>=0){S.Accept="application/json"}else{S.Accept=v.join(",")}let w={};if(e!==undefined){y["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){y["continue"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){y["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){y["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){y["gracePeriodSeconds"]=s.ObjectSerializer.serialize(u,"number")}if(c!==undefined){y["labelSelector"]=s.ObjectSerializer.serialize(c,"string")}if(l!==undefined){y["limit"]=s.ObjectSerializer.serialize(l,"number")}if(p!==undefined){y["orphanDependents"]=s.ObjectSerializer.serialize(p,"boolean")}if(d!==undefined){y["propagationPolicy"]=s.ObjectSerializer.serialize(d,"string")}if(f!==undefined){y["resourceVersion"]=s.ObjectSerializer.serialize(f,"string")}if(h!==undefined){y["resourceVersionMatch"]=s.ObjectSerializer.serialize(h,"string")}if(m!==undefined){y["timeoutSeconds"]=s.ObjectSerializer.serialize(m,"number")}Object.assign(S,g.headers);let j=false;let z={method:"DELETE",qs:y,headers:S,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(b,"V1DeleteOptions")};let O=Promise.resolve();if(this.authentications.BearerToken.apiKey){O=O.then(()=>this.authentications.BearerToken.applyToRequest(z))}O=O.then(()=>this.authentications.default.applyToRequest(z));let k=O;for(const e of this.interceptors){k=k.then(()=>e(z))}return k.then(()=>{if(Object.keys(w).length){if(j){z.formData=w}else{z.form=w}}return new Promise((e,t)=>{r(z,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1Status");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteStorageClass(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteStorageClass.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}deleteVolumeAttachment(e,t,i,a,u,c,l,p={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let d={};let f=Object.assign({},this._defaultHeaders);const h=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(h.indexOf("application/json")>=0){f.Accept="application/json"}else{f.Accept=h.join(",")}let m={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling deleteVolumeAttachment.")}if(t!==undefined){d["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){d["dryRun"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){d["gracePeriodSeconds"]=s.ObjectSerializer.serialize(a,"number")}if(u!==undefined){d["orphanDependents"]=s.ObjectSerializer.serialize(u,"boolean")}if(c!==undefined){d["propagationPolicy"]=s.ObjectSerializer.serialize(c,"string")}Object.assign(f,p.headers);let b=false;let g={method:"DELETE",qs:d,headers:f,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(l,"V1DeleteOptions")};let y=Promise.resolve();if(this.authentications.BearerToken.apiKey){y=y.then(()=>this.authentications.BearerToken.applyToRequest(g))}y=y.then(()=>this.authentications.default.applyToRequest(g));let S=y;for(const e of this.interceptors){S=S.then(()=>e(g))}return S.then(()=>{if(Object.keys(m).length){if(b){g.formData=m}else{g.form=m}}return new Promise((e,t)=>{r(g,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}getAPIResources(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/apis/storage.k8s.io/v1beta1/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1APIResourceList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSIDriver(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriverList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listCSINode(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINodeList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listStorageClass(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClassList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}listVolumeAttachment(e,t,i,a,u,c,l,p,d,f,h={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments";let m={};let b=Object.assign({},this._defaultHeaders);const g=["application/json","application/yaml","application/vnd.kubernetes.protobuf","application/json;stream=watch","application/vnd.kubernetes.protobuf;stream=watch"];if(g.indexOf("application/json")>=0){b.Accept="application/json"}else{b.Accept=g.join(",")}let y={};if(e!==undefined){m["pretty"]=s.ObjectSerializer.serialize(e,"string")}if(t!==undefined){m["allowWatchBookmarks"]=s.ObjectSerializer.serialize(t,"boolean")}if(i!==undefined){m["continue"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){m["fieldSelector"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){m["labelSelector"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){m["limit"]=s.ObjectSerializer.serialize(c,"number")}if(l!==undefined){m["resourceVersion"]=s.ObjectSerializer.serialize(l,"string")}if(p!==undefined){m["resourceVersionMatch"]=s.ObjectSerializer.serialize(p,"string")}if(d!==undefined){m["timeoutSeconds"]=s.ObjectSerializer.serialize(d,"number")}if(f!==undefined){m["watch"]=s.ObjectSerializer.serialize(f,"boolean")}Object.assign(b,h.headers);let S=false;let v={method:"GET",qs:m,headers:b,uri:n,useQuerystring:this._useQuerystring,json:true};let w=Promise.resolve();if(this.authentications.BearerToken.apiKey){w=w.then(()=>this.authentications.BearerToken.applyToRequest(v))}w=w.then(()=>this.authentications.default.applyToRequest(v));let j=w;for(const e of this.interceptors){j=j.then(()=>e(v))}return j.then(()=>{if(Object.keys(y).length){if(S){v.formData=y}else{v.form=y}}return new Promise((e,t)=>{r(v,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachmentList");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSIDriver(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSIDriver.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchCSINode(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchCSINode.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchStorageClass(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchStorageClass.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}patchVolumeAttachment(e,t,i,a,u,c,l={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let p={};let d=Object.assign({},this._defaultHeaders);const f=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(f.indexOf("application/json")>=0){d.Accept="application/json"}else{d.Accept=f.join(",")}let h={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling patchVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling patchVolumeAttachment.")}if(i!==undefined){p["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){p["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){p["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}if(c!==undefined){p["force"]=s.ObjectSerializer.serialize(c,"boolean")}Object.assign(d,l.headers);let m=false;let b={method:"PATCH",qs:p,headers:d,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"object")};let g=Promise.resolve();if(this.authentications.BearerToken.apiKey){g=g.then(()=>this.authentications.BearerToken.applyToRequest(b))}g=g.then(()=>this.authentications.default.applyToRequest(b));let y=g;for(const e of this.interceptors){y=y.then(()=>e(b))}return y.then(()=>{if(Object.keys(h).length){if(m){b.formData=h}else{b.form=h}}return new Promise((e,t)=>{r(b,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSIDriver(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSIDriver.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readCSINode(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readCSINode.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readStorageClass(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readStorageClass.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}readVolumeAttachment(e,t,i,a,u={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let c={};let l=Object.assign({},this._defaultHeaders);const p=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(p.indexOf("application/json")>=0){l.Accept="application/json"}else{l.Accept=p.join(",")}let d={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling readVolumeAttachment.")}if(t!==undefined){c["pretty"]=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){c["exact"]=s.ObjectSerializer.serialize(i,"boolean")}if(a!==undefined){c["export"]=s.ObjectSerializer.serialize(a,"boolean")}Object.assign(l,u.headers);let f=false;let h={method:"GET",qs:c,headers:l,uri:n,useQuerystring:this._useQuerystring,json:true};let m=Promise.resolve();if(this.authentications.BearerToken.apiKey){m=m.then(()=>this.authentications.BearerToken.applyToRequest(h))}m=m.then(()=>this.authentications.default.applyToRequest(h));let b=m;for(const e of this.interceptors){b=b.then(()=>e(h))}return b.then(()=>{if(Object.keys(d).length){if(f){h.formData=d}else{h.form=d}}return new Promise((e,t)=>{r(h,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSIDriver(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csidrivers/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSIDriver.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSIDriver.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CSIDriver")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSIDriver");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceCSINode(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/csinodes/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceCSINode.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceCSINode.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1CSINode")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1CSINode");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceStorageClass(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/storageclasses/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceStorageClass.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceStorageClass.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1StorageClass")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1StorageClass");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}replaceVolumeAttachment(e,t,i,a,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const n=this.basePath+"/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".replace("{"+"name"+"}",encodeURIComponent(String(e)));let l={};let p=Object.assign({},this._defaultHeaders);const d=["application/json","application/yaml","application/vnd.kubernetes.protobuf"];if(d.indexOf("application/json")>=0){p.Accept="application/json"}else{p.Accept=d.join(",")}let f={};if(e===null||e===undefined){throw new Error("Required parameter name was null or undefined when calling replaceVolumeAttachment.")}if(t===null||t===undefined){throw new Error("Required parameter body was null or undefined when calling replaceVolumeAttachment.")}if(i!==undefined){l["pretty"]=s.ObjectSerializer.serialize(i,"string")}if(a!==undefined){l["dryRun"]=s.ObjectSerializer.serialize(a,"string")}if(u!==undefined){l["fieldManager"]=s.ObjectSerializer.serialize(u,"string")}Object.assign(p,c.headers);let h=false;let m={method:"PUT",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(t,"V1beta1VolumeAttachment")};let b=Promise.resolve();if(this.authentications.BearerToken.apiKey){b=b.then(()=>this.authentications.BearerToken.applyToRequest(m))}b=b.then(()=>this.authentications.default.applyToRequest(m));let g=b;for(const e of this.interceptors){g=g.then(()=>e(m))}return g.then(()=>{if(Object.keys(f).length){if(h){m.formData=f}else{m.form=f}}return new Promise((e,t)=>{r(m,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"V1beta1VolumeAttachment");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.StorageV1beta1Api=StorageV1beta1Api},4441:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VersionApi=t.VersionApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.VersionApiApiKeys||(t.VersionApiApiKeys={}));class VersionApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getCode(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/version/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"VersionInfo");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.VersionApi=VersionApi},19868:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WellKnownApi=t.WellKnownApiApiKeys=void 0;const n=i(75636);const r=i(48699);const s=i(15158);const a=i(15158);const o=i(25997);let u="http://localhost";var c;(function(e){e[e["BearerToken"]=0]="BearerToken"})(c=t.WellKnownApiApiKeys||(t.WellKnownApiApiKeys={}));class WellKnownApi{constructor(e,t,i){this._basePath=u;this._defaultHeaders={};this._useQuerystring=false;this.authentications={default:new s.VoidAuth,BearerToken:new a.ApiKeyAuth("header","authorization")};this.interceptors=[];if(t){if(i){this.basePath=i}}else{if(e){this.basePath=e}}}set useQuerystring(e){this._useQuerystring=e}set basePath(e){this._basePath=e}set defaultHeaders(e){this._defaultHeaders=e}get defaultHeaders(){return this._defaultHeaders}get basePath(){return this._basePath}setDefaultAuthentication(e){this.authentications.default=e}setApiKey(e,t){this.authentications[c[e]].apiKey=t}addInterceptor(e){this.interceptors.push(e)}getServiceAccountIssuerOpenIDConfiguration(e={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){const t=this.basePath+"/.well-known/openid-configuration/";let i={};let n=Object.assign({},this._defaultHeaders);const a=["application/json"];if(a.indexOf("application/json")>=0){n.Accept="application/json"}else{n.Accept=a.join(",")}let u={};Object.assign(n,e.headers);let c=false;let l={method:"GET",qs:i,headers:n,uri:t,useQuerystring:this._useQuerystring,json:true};let p=Promise.resolve();if(this.authentications.BearerToken.apiKey){p=p.then(()=>this.authentications.BearerToken.applyToRequest(l))}p=p.then(()=>this.authentications.default.applyToRequest(l));let d=p;for(const e of this.interceptors){d=d.then(()=>e(l))}return d.then(()=>{if(Object.keys(u).length){if(c){l.formData=u}else{l.form=u}}return new Promise((e,t)=>{r(l,(i,n,r)=>{if(i){t(i)}else{r=s.ObjectSerializer.deserialize(r,"string");if(n.statusCode&&n.statusCode>=200&&n.statusCode<=299){e({response:n,body:r})}else{t(new o.HttpError(n,r,n.statusCode))}}})})})})}}t.WellKnownApi=WellKnownApi},21616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1ServiceReference=void 0;class AdmissionregistrationV1ServiceReference{static getAttributeTypeMap(){return AdmissionregistrationV1ServiceReference.attributeTypeMap}}t.AdmissionregistrationV1ServiceReference=AdmissionregistrationV1ServiceReference;AdmissionregistrationV1ServiceReference.discriminator=undefined;AdmissionregistrationV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},7818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1WebhookClientConfig=void 0;class AdmissionregistrationV1WebhookClientConfig{static getAttributeTypeMap(){return AdmissionregistrationV1WebhookClientConfig.attributeTypeMap}}t.AdmissionregistrationV1WebhookClientConfig=AdmissionregistrationV1WebhookClientConfig;AdmissionregistrationV1WebhookClientConfig.discriminator=undefined;AdmissionregistrationV1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"AdmissionregistrationV1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},96408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1ServiceReference=void 0;class AdmissionregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return AdmissionregistrationV1beta1ServiceReference.attributeTypeMap}}t.AdmissionregistrationV1beta1ServiceReference=AdmissionregistrationV1beta1ServiceReference;AdmissionregistrationV1beta1ServiceReference.discriminator=undefined;AdmissionregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},90959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AdmissionregistrationV1beta1WebhookClientConfig=void 0;class AdmissionregistrationV1beta1WebhookClientConfig{static getAttributeTypeMap(){return AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap}}t.AdmissionregistrationV1beta1WebhookClientConfig=AdmissionregistrationV1beta1WebhookClientConfig;AdmissionregistrationV1beta1WebhookClientConfig.discriminator=undefined;AdmissionregistrationV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"AdmissionregistrationV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},63536:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1ServiceReference=void 0;class ApiextensionsV1ServiceReference{static getAttributeTypeMap(){return ApiextensionsV1ServiceReference.attributeTypeMap}}t.ApiextensionsV1ServiceReference=ApiextensionsV1ServiceReference;ApiextensionsV1ServiceReference.discriminator=undefined;ApiextensionsV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},22775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1WebhookClientConfig=void 0;class ApiextensionsV1WebhookClientConfig{static getAttributeTypeMap(){return ApiextensionsV1WebhookClientConfig.attributeTypeMap}}t.ApiextensionsV1WebhookClientConfig=ApiextensionsV1WebhookClientConfig;ApiextensionsV1WebhookClientConfig.discriminator=undefined;ApiextensionsV1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"ApiextensionsV1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},7588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1ServiceReference=void 0;class ApiextensionsV1beta1ServiceReference{static getAttributeTypeMap(){return ApiextensionsV1beta1ServiceReference.attributeTypeMap}}t.ApiextensionsV1beta1ServiceReference=ApiextensionsV1beta1ServiceReference;ApiextensionsV1beta1ServiceReference.discriminator=undefined;ApiextensionsV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"number"}]},96116:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiextensionsV1beta1WebhookClientConfig=void 0;class ApiextensionsV1beta1WebhookClientConfig{static getAttributeTypeMap(){return ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap}}t.ApiextensionsV1beta1WebhookClientConfig=ApiextensionsV1beta1WebhookClientConfig;ApiextensionsV1beta1WebhookClientConfig.discriminator=undefined;ApiextensionsV1beta1WebhookClientConfig.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"service",baseName:"service",type:"ApiextensionsV1beta1ServiceReference"},{name:"url",baseName:"url",type:"string"}]},37492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1ServiceReference=void 0;class ApiregistrationV1ServiceReference{static getAttributeTypeMap(){return ApiregistrationV1ServiceReference.attributeTypeMap}}t.ApiregistrationV1ServiceReference=ApiregistrationV1ServiceReference;ApiregistrationV1ServiceReference.discriminator=undefined;ApiregistrationV1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"port",baseName:"port",type:"number"}]},67098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ApiregistrationV1beta1ServiceReference=void 0;class ApiregistrationV1beta1ServiceReference{static getAttributeTypeMap(){return ApiregistrationV1beta1ServiceReference.attributeTypeMap}}t.ApiregistrationV1beta1ServiceReference=ApiregistrationV1beta1ServiceReference;ApiregistrationV1beta1ServiceReference.discriminator=undefined;ApiregistrationV1beta1ServiceReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"port",baseName:"port",type:"number"}]},25429:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AuthenticationV1TokenRequest=void 0;class AuthenticationV1TokenRequest{static getAttributeTypeMap(){return AuthenticationV1TokenRequest.attributeTypeMap}}t.AuthenticationV1TokenRequest=AuthenticationV1TokenRequest;AuthenticationV1TokenRequest.discriminator=undefined;AuthenticationV1TokenRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1TokenRequestSpec"},{name:"status",baseName:"status",type:"V1TokenRequestStatus"}]},42735:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1Event=void 0;class CoreV1Event{static getAttributeTypeMap(){return CoreV1Event.attributeTypeMap}}t.CoreV1Event=CoreV1Event;CoreV1Event.discriminator=undefined;CoreV1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"count",baseName:"count",type:"number"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"firstTimestamp",baseName:"firstTimestamp",type:"Date"},{name:"involvedObject",baseName:"involvedObject",type:"V1ObjectReference"},{name:"kind",baseName:"kind",type:"string"},{name:"lastTimestamp",baseName:"lastTimestamp",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingComponent",baseName:"reportingComponent",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"CoreV1EventSeries"},{name:"source",baseName:"source",type:"V1EventSource"},{name:"type",baseName:"type",type:"string"}]},12368:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1EventList=void 0;class CoreV1EventList{static getAttributeTypeMap(){return CoreV1EventList.attributeTypeMap}}t.CoreV1EventList=CoreV1EventList;CoreV1EventList.discriminator=undefined;CoreV1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},70438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.CoreV1EventSeries=void 0;class CoreV1EventSeries{static getAttributeTypeMap(){return CoreV1EventSeries.attributeTypeMap}}t.CoreV1EventSeries=CoreV1EventSeries;CoreV1EventSeries.discriminator=undefined;CoreV1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},52191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1Event=void 0;class EventsV1Event{static getAttributeTypeMap(){return EventsV1Event.attributeTypeMap}}t.EventsV1Event=EventsV1Event;EventsV1Event.discriminator=undefined;EventsV1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deprecatedCount",baseName:"deprecatedCount",type:"number"},{name:"deprecatedFirstTimestamp",baseName:"deprecatedFirstTimestamp",type:"Date"},{name:"deprecatedLastTimestamp",baseName:"deprecatedLastTimestamp",type:"Date"},{name:"deprecatedSource",baseName:"deprecatedSource",type:"V1EventSource"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"note",baseName:"note",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"regarding",baseName:"regarding",type:"V1ObjectReference"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingController",baseName:"reportingController",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"EventsV1EventSeries"},{name:"type",baseName:"type",type:"string"}]},1051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1EventList=void 0;class EventsV1EventList{static getAttributeTypeMap(){return EventsV1EventList.attributeTypeMap}}t.EventsV1EventList=EventsV1EventList;EventsV1EventList.discriminator=undefined;EventsV1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},10000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.EventsV1EventSeries=void 0;class EventsV1EventSeries{static getAttributeTypeMap(){return EventsV1EventSeries.attributeTypeMap}}t.EventsV1EventSeries=EventsV1EventSeries;EventsV1EventSeries.discriminator=undefined;EventsV1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},73491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1HTTPIngressPath=void 0;class ExtensionsV1beta1HTTPIngressPath{static getAttributeTypeMap(){return ExtensionsV1beta1HTTPIngressPath.attributeTypeMap}}t.ExtensionsV1beta1HTTPIngressPath=ExtensionsV1beta1HTTPIngressPath;ExtensionsV1beta1HTTPIngressPath.discriminator=undefined;ExtensionsV1beta1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"ExtensionsV1beta1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},77652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1HTTPIngressRuleValue=void 0;class ExtensionsV1beta1HTTPIngressRuleValue{static getAttributeTypeMap(){return ExtensionsV1beta1HTTPIngressRuleValue.attributeTypeMap}}t.ExtensionsV1beta1HTTPIngressRuleValue=ExtensionsV1beta1HTTPIngressRuleValue;ExtensionsV1beta1HTTPIngressRuleValue.discriminator=undefined;ExtensionsV1beta1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},30621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1Ingress=void 0;class ExtensionsV1beta1Ingress{static getAttributeTypeMap(){return ExtensionsV1beta1Ingress.attributeTypeMap}}t.ExtensionsV1beta1Ingress=ExtensionsV1beta1Ingress;ExtensionsV1beta1Ingress.discriminator=undefined;ExtensionsV1beta1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"ExtensionsV1beta1IngressSpec"},{name:"status",baseName:"status",type:"ExtensionsV1beta1IngressStatus"}]},29393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressBackend=void 0;class ExtensionsV1beta1IngressBackend{static getAttributeTypeMap(){return ExtensionsV1beta1IngressBackend.attributeTypeMap}}t.ExtensionsV1beta1IngressBackend=ExtensionsV1beta1IngressBackend;ExtensionsV1beta1IngressBackend.discriminator=undefined;ExtensionsV1beta1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"servicePort",baseName:"servicePort",type:"object"}]},67169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressList=void 0;class ExtensionsV1beta1IngressList{static getAttributeTypeMap(){return ExtensionsV1beta1IngressList.attributeTypeMap}}t.ExtensionsV1beta1IngressList=ExtensionsV1beta1IngressList;ExtensionsV1beta1IngressList.discriminator=undefined;ExtensionsV1beta1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},98849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressRule=void 0;class ExtensionsV1beta1IngressRule{static getAttributeTypeMap(){return ExtensionsV1beta1IngressRule.attributeTypeMap}}t.ExtensionsV1beta1IngressRule=ExtensionsV1beta1IngressRule;ExtensionsV1beta1IngressRule.discriminator=undefined;ExtensionsV1beta1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"ExtensionsV1beta1HTTPIngressRuleValue"}]},89144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressSpec=void 0;class ExtensionsV1beta1IngressSpec{static getAttributeTypeMap(){return ExtensionsV1beta1IngressSpec.attributeTypeMap}}t.ExtensionsV1beta1IngressSpec=ExtensionsV1beta1IngressSpec;ExtensionsV1beta1IngressSpec.discriminator=undefined;ExtensionsV1beta1IngressSpec.attributeTypeMap=[{name:"backend",baseName:"backend",type:"ExtensionsV1beta1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},11652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressStatus=void 0;class ExtensionsV1beta1IngressStatus{static getAttributeTypeMap(){return ExtensionsV1beta1IngressStatus.attributeTypeMap}}t.ExtensionsV1beta1IngressStatus=ExtensionsV1beta1IngressStatus;ExtensionsV1beta1IngressStatus.discriminator=undefined;ExtensionsV1beta1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},30613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ExtensionsV1beta1IngressTLS=void 0;class ExtensionsV1beta1IngressTLS{static getAttributeTypeMap(){return ExtensionsV1beta1IngressTLS.attributeTypeMap}}t.ExtensionsV1beta1IngressTLS=ExtensionsV1beta1IngressTLS;ExtensionsV1beta1IngressTLS.discriminator=undefined;ExtensionsV1beta1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},43525:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolV1alpha1Subject=void 0;class FlowcontrolV1alpha1Subject{static getAttributeTypeMap(){return FlowcontrolV1alpha1Subject.attributeTypeMap}}t.FlowcontrolV1alpha1Subject=FlowcontrolV1alpha1Subject;FlowcontrolV1alpha1Subject.discriminator=undefined;FlowcontrolV1alpha1Subject.attributeTypeMap=[{name:"group",baseName:"group",type:"V1alpha1GroupSubject"},{name:"kind",baseName:"kind",type:"string"},{name:"serviceAccount",baseName:"serviceAccount",type:"V1alpha1ServiceAccountSubject"},{name:"user",baseName:"user",type:"V1alpha1UserSubject"}]},88186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.FlowcontrolV1beta1Subject=void 0;class FlowcontrolV1beta1Subject{static getAttributeTypeMap(){return FlowcontrolV1beta1Subject.attributeTypeMap}}t.FlowcontrolV1beta1Subject=FlowcontrolV1beta1Subject;FlowcontrolV1beta1Subject.discriminator=undefined;FlowcontrolV1beta1Subject.attributeTypeMap=[{name:"group",baseName:"group",type:"V1beta1GroupSubject"},{name:"kind",baseName:"kind",type:"string"},{name:"serviceAccount",baseName:"serviceAccount",type:"V1beta1ServiceAccountSubject"},{name:"user",baseName:"user",type:"V1beta1UserSubject"}]},15158:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VoidAuth=t.OAuth=t.ApiKeyAuth=t.HttpBearerAuth=t.HttpBasicAuth=t.ObjectSerializer=void 0;const n=i(75636);n.__exportStar(i(21616),t);n.__exportStar(i(7818),t);n.__exportStar(i(96408),t);n.__exportStar(i(90959),t);n.__exportStar(i(63536),t);n.__exportStar(i(22775),t);n.__exportStar(i(7588),t);n.__exportStar(i(96116),t);n.__exportStar(i(37492),t);n.__exportStar(i(67098),t);n.__exportStar(i(25429),t);n.__exportStar(i(42735),t);n.__exportStar(i(12368),t);n.__exportStar(i(70438),t);n.__exportStar(i(52191),t);n.__exportStar(i(1051),t);n.__exportStar(i(1e4),t);n.__exportStar(i(73491),t);n.__exportStar(i(77652),t);n.__exportStar(i(30621),t);n.__exportStar(i(29393),t);n.__exportStar(i(67169),t);n.__exportStar(i(98849),t);n.__exportStar(i(89144),t);n.__exportStar(i(11652),t);n.__exportStar(i(30613),t);n.__exportStar(i(43525),t);n.__exportStar(i(88186),t);n.__exportStar(i(27197),t);n.__exportStar(i(41668),t);n.__exportStar(i(64660),t);n.__exportStar(i(36453),t);n.__exportStar(i(95951),t);n.__exportStar(i(4157),t);n.__exportStar(i(61752),t);n.__exportStar(i(50369),t);n.__exportStar(i(13517),t);n.__exportStar(i(19573),t);n.__exportStar(i(99229),t);n.__exportStar(i(25958),t);n.__exportStar(i(44481),t);n.__exportStar(i(52906),t);n.__exportStar(i(89033),t);n.__exportStar(i(5454),t);n.__exportStar(i(99042),t);n.__exportStar(i(58352),t);n.__exportStar(i(87198),t);n.__exportStar(i(61496),t);n.__exportStar(i(17883),t);n.__exportStar(i(93135),t);n.__exportStar(i(39808),t);n.__exportStar(i(61957),t);n.__exportStar(i(90312),t);n.__exportStar(i(97069),t);n.__exportStar(i(91312),t);n.__exportStar(i(23694),t);n.__exportStar(i(95073),t);n.__exportStar(i(48551),t);n.__exportStar(i(68849),t);n.__exportStar(i(34144),t);n.__exportStar(i(84881),t);n.__exportStar(i(11582),t);n.__exportStar(i(74315),t);n.__exportStar(i(90288),t);n.__exportStar(i(24e3),t);n.__exportStar(i(93142),t);n.__exportStar(i(98367),t);n.__exportStar(i(87598),t);n.__exportStar(i(82975),t);n.__exportStar(i(14268),t);n.__exportStar(i(84957),t);n.__exportStar(i(99084),t);n.__exportStar(i(92932),t);n.__exportStar(i(31530),t);n.__exportStar(i(37759),t);n.__exportStar(i(38285),t);n.__exportStar(i(41888),t);n.__exportStar(i(19111),t);n.__exportStar(i(33913),t);n.__exportStar(i(61458),t);n.__exportStar(i(32315),t);n.__exportStar(i(21181),t);n.__exportStar(i(95532),t);n.__exportStar(i(30578),t);n.__exportStar(i(2047),t);n.__exportStar(i(38596),t);n.__exportStar(i(34990),t);n.__exportStar(i(42874),t);n.__exportStar(i(99685),t);n.__exportStar(i(62892),t);n.__exportStar(i(80512),t);n.__exportStar(i(56709),t);n.__exportStar(i(61682),t);n.__exportStar(i(59708),t);n.__exportStar(i(52865),t);n.__exportStar(i(13501),t);n.__exportStar(i(50217),t);n.__exportStar(i(83765),t);n.__exportStar(i(89767),t);n.__exportStar(i(27892),t);n.__exportStar(i(19716),t);n.__exportStar(i(35980),t);n.__exportStar(i(78405),t);n.__exportStar(i(66304),t);n.__exportStar(i(34233),t);n.__exportStar(i(94346),t);n.__exportStar(i(9731),t);n.__exportStar(i(40325),t);n.__exportStar(i(32791),t);n.__exportStar(i(10486),t);n.__exportStar(i(69798),t);n.__exportStar(i(20486),t);n.__exportStar(i(25713),t);n.__exportStar(i(82283),t);n.__exportStar(i(98087),t);n.__exportStar(i(94579),t);n.__exportStar(i(25408),t);n.__exportStar(i(37060),t);n.__exportStar(i(32699),t);n.__exportStar(i(77063),t);n.__exportStar(i(173),t);n.__exportStar(i(44560),t);n.__exportStar(i(87510),t);n.__exportStar(i(48451),t);n.__exportStar(i(18029),t);n.__exportStar(i(65310),t);n.__exportStar(i(95602),t);n.__exportStar(i(81364),t);n.__exportStar(i(41298),t);n.__exportStar(i(55398),t);n.__exportStar(i(34981),t);n.__exportStar(i(38099),t);n.__exportStar(i(78901),t);n.__exportStar(i(19493),t);n.__exportStar(i(11672),t);n.__exportStar(i(57151),t);n.__exportStar(i(37917),t);n.__exportStar(i(31925),t);n.__exportStar(i(13449),t);n.__exportStar(i(95223),t);n.__exportStar(i(23074),t);n.__exportStar(i(36874),t);n.__exportStar(i(17205),t);n.__exportStar(i(32671),t);n.__exportStar(i(90017),t);n.__exportStar(i(97764),t);n.__exportStar(i(13313),t);n.__exportStar(i(77213),t);n.__exportStar(i(35093),t);n.__exportStar(i(91874),t);n.__exportStar(i(16690),t);n.__exportStar(i(10414),t);n.__exportStar(i(1016),t);n.__exportStar(i(27584),t);n.__exportStar(i(97617),t);n.__exportStar(i(37426),t);n.__exportStar(i(87855),t);n.__exportStar(i(16636),t);n.__exportStar(i(3437),t);n.__exportStar(i(86769),t);n.__exportStar(i(56219),t);n.__exportStar(i(95179),t);n.__exportStar(i(93652),t);n.__exportStar(i(17024),t);n.__exportStar(i(49823),t);n.__exportStar(i(50910),t);n.__exportStar(i(72796),t);n.__exportStar(i(69225),t);n.__exportStar(i(49202),t);n.__exportStar(i(83570),t);n.__exportStar(i(68021),t);n.__exportStar(i(32492),t);n.__exportStar(i(44340),t);n.__exportStar(i(93865),t);n.__exportStar(i(76125),t);n.__exportStar(i(92069),t);n.__exportStar(i(43693),t);n.__exportStar(i(89541),t);n.__exportStar(i(62476),t);n.__exportStar(i(59689),t);n.__exportStar(i(45830),t);n.__exportStar(i(23037),t);n.__exportStar(i(63580),t);n.__exportStar(i(91260),t);n.__exportStar(i(94069),t);n.__exportStar(i(13366),t);n.__exportStar(i(32400),t);n.__exportStar(i(57345),t);n.__exportStar(i(23549),t);n.__exportStar(i(22567),t);n.__exportStar(i(50993),t);n.__exportStar(i(98844),t);n.__exportStar(i(76838),t);n.__exportStar(i(44603),t);n.__exportStar(i(41500),t);n.__exportStar(i(86280),t);n.__exportStar(i(91128),t);n.__exportStar(i(82578),t);n.__exportStar(i(83039),t);n.__exportStar(i(88593),t);n.__exportStar(i(25667),t);n.__exportStar(i(46630),t);n.__exportStar(i(12229),t);n.__exportStar(i(31674),t);n.__exportStar(i(72729),t);n.__exportStar(i(82187),t);n.__exportStar(i(95354),t);n.__exportStar(i(2006),t);n.__exportStar(i(22665),t);n.__exportStar(i(35432),t);n.__exportStar(i(95469),t);n.__exportStar(i(314),t);n.__exportStar(i(22366),t);n.__exportStar(i(49076),t);n.__exportStar(i(8833),t);n.__exportStar(i(47995),t);n.__exportStar(i(60886),t);n.__exportStar(i(89952),t);n.__exportStar(i(74436),t);n.__exportStar(i(22173),t);n.__exportStar(i(71056),t);n.__exportStar(i(63061),t);n.__exportStar(i(3667),t);n.__exportStar(i(84893),t);n.__exportStar(i(10627),t);n.__exportStar(i(11740),t);n.__exportStar(i(4272),t);n.__exportStar(i(10912),t);n.__exportStar(i(24894),t);n.__exportStar(i(42762),t);n.__exportStar(i(32293),t);n.__exportStar(i(85161),t);n.__exportStar(i(51128),t);n.__exportStar(i(41752),t);n.__exportStar(i(21656),t);n.__exportStar(i(33645),t);n.__exportStar(i(70019),t);n.__exportStar(i(99191),t);n.__exportStar(i(86171),t);n.__exportStar(i(44696),t);n.__exportStar(i(19051),t);n.__exportStar(i(90114),t);n.__exportStar(i(7924),t);n.__exportStar(i(25570),t);n.__exportStar(i(17657),t);n.__exportStar(i(32966),t);n.__exportStar(i(78594),t);n.__exportStar(i(99911),t);n.__exportStar(i(42951),t);n.__exportStar(i(92114),t);n.__exportStar(i(69811),t);n.__exportStar(i(86312),t);n.__exportStar(i(86628),t);n.__exportStar(i(19839),t);n.__exportStar(i(51817),t);n.__exportStar(i(99975),t);n.__exportStar(i(509),t);n.__exportStar(i(65970),t);n.__exportStar(i(19574),t);n.__exportStar(i(78045),t);n.__exportStar(i(67831),t);n.__exportStar(i(74548),t);n.__exportStar(i(76774),t);n.__exportStar(i(71948),t);n.__exportStar(i(84135),t);n.__exportStar(i(79850),t);n.__exportStar(i(58881),t);n.__exportStar(i(42892),t);n.__exportStar(i(39894),t);n.__exportStar(i(88279),t);n.__exportStar(i(97621),t);n.__exportStar(i(74625),t);n.__exportStar(i(85571),t);n.__exportStar(i(3317),t);n.__exportStar(i(85751),t);n.__exportStar(i(50837),t);n.__exportStar(i(35698),t);n.__exportStar(i(80966),t);n.__exportStar(i(43933),t);n.__exportStar(i(54662),t);n.__exportStar(i(16954),t);n.__exportStar(i(70634),t);n.__exportStar(i(26573),t);n.__exportStar(i(69009),t);n.__exportStar(i(14870),t);n.__exportStar(i(40475),t);n.__exportStar(i(90975),t);n.__exportStar(i(66859),t);n.__exportStar(i(64888),t);n.__exportStar(i(36376),t);n.__exportStar(i(8350),t);n.__exportStar(i(21782),t);n.__exportStar(i(19870),t);n.__exportStar(i(94221),t);n.__exportStar(i(10936),t);n.__exportStar(i(5827),t);n.__exportStar(i(48994),t);n.__exportStar(i(55397),t);n.__exportStar(i(91686),t);n.__exportStar(i(22421),t);n.__exportStar(i(1581),t);n.__exportStar(i(61114),t);n.__exportStar(i(77568),t);n.__exportStar(i(55014),t);n.__exportStar(i(67214),t);n.__exportStar(i(56149),t);n.__exportStar(i(46136),t);n.__exportStar(i(70215),t);n.__exportStar(i(37088),t);n.__exportStar(i(1824),t);n.__exportStar(i(31828),t);n.__exportStar(i(96736),t);n.__exportStar(i(99411),t);n.__exportStar(i(9764),t);n.__exportStar(i(21058),t);n.__exportStar(i(31382),t);n.__exportStar(i(15895),t);n.__exportStar(i(56891),t);n.__exportStar(i(79991),t);n.__exportStar(i(60711),t);n.__exportStar(i(25888),t);n.__exportStar(i(845),t);n.__exportStar(i(49696),t);n.__exportStar(i(7056),t);n.__exportStar(i(3884),t);n.__exportStar(i(4248),t);n.__exportStar(i(39203),t);n.__exportStar(i(33725),t);n.__exportStar(i(19078),t);n.__exportStar(i(98113),t);n.__exportStar(i(15598),t);n.__exportStar(i(39191),t);n.__exportStar(i(84279),t);n.__exportStar(i(56581),t);n.__exportStar(i(30254),t);n.__exportStar(i(87928),t);n.__exportStar(i(9350),t);n.__exportStar(i(38169),t);n.__exportStar(i(18640),t);n.__exportStar(i(25927),t);n.__exportStar(i(26839),t);n.__exportStar(i(46881),t);n.__exportStar(i(96339),t);n.__exportStar(i(62890),t);n.__exportStar(i(69127),t);n.__exportStar(i(76275),t);n.__exportStar(i(49545),t);n.__exportStar(i(9927),t);n.__exportStar(i(18622),t);n.__exportStar(i(95926),t);n.__exportStar(i(48971),t);n.__exportStar(i(31592),t);n.__exportStar(i(83459),t);n.__exportStar(i(9077),t);n.__exportStar(i(70127),t);n.__exportStar(i(53615),t);n.__exportStar(i(14610),t);n.__exportStar(i(60878),t);n.__exportStar(i(1655),t);n.__exportStar(i(87717),t);n.__exportStar(i(34417),t);n.__exportStar(i(62967),t);n.__exportStar(i(41434),t);n.__exportStar(i(55885),t);n.__exportStar(i(20317),t);n.__exportStar(i(65055),t);n.__exportStar(i(46022),t);n.__exportStar(i(38664),t);n.__exportStar(i(93238),t);n.__exportStar(i(6538),t);n.__exportStar(i(94719),t);n.__exportStar(i(26379),t);n.__exportStar(i(14361),t);n.__exportStar(i(86872),t);n.__exportStar(i(89521),t);n.__exportStar(i(6602),t);n.__exportStar(i(75476),t);n.__exportStar(i(67027),t);n.__exportStar(i(98205),t);n.__exportStar(i(3099),t);n.__exportStar(i(61999),t);n.__exportStar(i(96086),t);n.__exportStar(i(50793),t);n.__exportStar(i(81906),t);n.__exportStar(i(92848),t);n.__exportStar(i(69489),t);n.__exportStar(i(12040),t);n.__exportStar(i(67225),t);n.__exportStar(i(6290),t);n.__exportStar(i(33698),t);n.__exportStar(i(3991),t);n.__exportStar(i(59985),t);n.__exportStar(i(52589),t);n.__exportStar(i(67377),t);n.__exportStar(i(5757),t);n.__exportStar(i(49592),t);n.__exportStar(i(35568),t);n.__exportStar(i(5287),t);n.__exportStar(i(33927),t);n.__exportStar(i(65276),t);n.__exportStar(i(83787),t);n.__exportStar(i(90989),t);n.__exportStar(i(80263),t);n.__exportStar(i(70914),t);n.__exportStar(i(85050),t);n.__exportStar(i(43969),t);n.__exportStar(i(31462),t);n.__exportStar(i(65),t);n.__exportStar(i(50767),t);n.__exportStar(i(77238),t);n.__exportStar(i(52888),t);n.__exportStar(i(44901),t);n.__exportStar(i(8070),t);n.__exportStar(i(61014),t);n.__exportStar(i(15062),t);n.__exportStar(i(89642),t);n.__exportStar(i(15220),t);n.__exportStar(i(10932),t);n.__exportStar(i(73101),t);n.__exportStar(i(78760),t);n.__exportStar(i(3464),t);n.__exportStar(i(47008),t);n.__exportStar(i(1850),t);n.__exportStar(i(62558),t);n.__exportStar(i(49471),t);n.__exportStar(i(45910),t);n.__exportStar(i(32036),t);n.__exportStar(i(53079),t);n.__exportStar(i(39479),t);n.__exportStar(i(56871),t);n.__exportStar(i(66602),t);n.__exportStar(i(41934),t);n.__exportStar(i(3593),t);n.__exportStar(i(12511),t);n.__exportStar(i(47647),t);n.__exportStar(i(23984),t);n.__exportStar(i(54349),t);n.__exportStar(i(20058),t);n.__exportStar(i(53792),t);n.__exportStar(i(20970),t);n.__exportStar(i(88064),t);n.__exportStar(i(88392),t);n.__exportStar(i(49929),t);n.__exportStar(i(23402),t);n.__exportStar(i(49584),t);n.__exportStar(i(94030),t);n.__exportStar(i(39991),t);n.__exportStar(i(48676),t);n.__exportStar(i(53943),t);n.__exportStar(i(44271),t);n.__exportStar(i(99792),t);n.__exportStar(i(43425),t);n.__exportStar(i(7806),t);n.__exportStar(i(7724),t);n.__exportStar(i(66666),t);n.__exportStar(i(29863),t);n.__exportStar(i(23519),t);n.__exportStar(i(68738),t);n.__exportStar(i(24519),t);n.__exportStar(i(92663),t);n.__exportStar(i(37328),t);n.__exportStar(i(16242),t);n.__exportStar(i(25978),t);n.__exportStar(i(16589),t);n.__exportStar(i(91864),t);n.__exportStar(i(97720),t);n.__exportStar(i(52843),t);n.__exportStar(i(63675),t);n.__exportStar(i(34506),t);n.__exportStar(i(72413),t);n.__exportStar(i(58847),t);n.__exportStar(i(38268),t);n.__exportStar(i(21270),t);n.__exportStar(i(9165),t);n.__exportStar(i(64672),t);n.__exportStar(i(60049),t);n.__exportStar(i(15358),t);n.__exportStar(i(9944),t);n.__exportStar(i(18555),t);n.__exportStar(i(49145),t);n.__exportStar(i(87178),t);n.__exportStar(i(86145),t);n.__exportStar(i(42866),t);n.__exportStar(i(18241),t);n.__exportStar(i(67694),t);n.__exportStar(i(41365),t);n.__exportStar(i(13153),t);n.__exportStar(i(27347),t);n.__exportStar(i(61730),t);n.__exportStar(i(37085),t);n.__exportStar(i(7423),t);n.__exportStar(i(26777),t);n.__exportStar(i(98830),t);n.__exportStar(i(93967),t);n.__exportStar(i(64484),t);n.__exportStar(i(63533),t);n.__exportStar(i(96254),t);n.__exportStar(i(1040),t);n.__exportStar(i(57091),t);n.__exportStar(i(98441),t);n.__exportStar(i(30089),t);n.__exportStar(i(43801),t);n.__exportStar(i(58382),t);n.__exportStar(i(84478),t);n.__exportStar(i(8076),t);n.__exportStar(i(51807),t);n.__exportStar(i(59514),t);n.__exportStar(i(96831),t);n.__exportStar(i(41330),t);n.__exportStar(i(98895),t);n.__exportStar(i(95359),t);n.__exportStar(i(24695),t);n.__exportStar(i(75855),t);n.__exportStar(i(56981),t);n.__exportStar(i(55914),t);n.__exportStar(i(14010),t);n.__exportStar(i(8326),t);n.__exportStar(i(40541),t);n.__exportStar(i(59918),t);n.__exportStar(i(74749),t);n.__exportStar(i(66991),t);n.__exportStar(i(4046),t);n.__exportStar(i(14255),t);n.__exportStar(i(81655),t);n.__exportStar(i(83111),t);n.__exportStar(i(34396),t);n.__exportStar(i(43485),t);n.__exportStar(i(63931),t);n.__exportStar(i(23257),t);n.__exportStar(i(84404),t);n.__exportStar(i(44289),t);n.__exportStar(i(90147),t);n.__exportStar(i(72683),t);n.__exportStar(i(2177),t);n.__exportStar(i(75714),t);n.__exportStar(i(59684),t);n.__exportStar(i(26149),t);n.__exportStar(i(67813),t);n.__exportStar(i(60270),t);n.__exportStar(i(90435),t);n.__exportStar(i(42319),t);n.__exportStar(i(10530),t);n.__exportStar(i(22546),t);n.__exportStar(i(62252),t);n.__exportStar(i(76021),t);n.__exportStar(i(5461),t);n.__exportStar(i(28787),t);n.__exportStar(i(51959),t);n.__exportStar(i(71667),t);n.__exportStar(i(96916),t);n.__exportStar(i(2230),t);n.__exportStar(i(74299),t);n.__exportStar(i(87497),t);n.__exportStar(i(65831),t);n.__exportStar(i(31079),t);n.__exportStar(i(75281),t);n.__exportStar(i(8109),t);n.__exportStar(i(50769),t);n.__exportStar(i(49098),t);n.__exportStar(i(34651),t);n.__exportStar(i(35033),t);n.__exportStar(i(90080),t);n.__exportStar(i(13129),t);n.__exportStar(i(14474),t);n.__exportStar(i(473),t);n.__exportStar(i(88465),t);n.__exportStar(i(2146),t);n.__exportStar(i(88931),t);n.__exportStar(i(46198),t);n.__exportStar(i(95797),t);n.__exportStar(i(31397),t);n.__exportStar(i(12802),t);n.__exportStar(i(61521),t);n.__exportStar(i(15956),t);n.__exportStar(i(54910),t);n.__exportStar(i(10285),t);n.__exportStar(i(53523),t);n.__exportStar(i(11202),t);n.__exportStar(i(39491),t);n.__exportStar(i(20812),t);n.__exportStar(i(18685),t);n.__exportStar(i(72711),t);n.__exportStar(i(72167),t);n.__exportStar(i(55473),t);n.__exportStar(i(53805),t);n.__exportStar(i(94350),t);n.__exportStar(i(53849),t);n.__exportStar(i(71688),t);n.__exportStar(i(5710),t);n.__exportStar(i(98026),t);n.__exportStar(i(41784),t);n.__exportStar(i(2411),t);n.__exportStar(i(3849),t);n.__exportStar(i(37196),t);n.__exportStar(i(27287),t);n.__exportStar(i(36502),t);n.__exportStar(i(43128),t);n.__exportStar(i(96606),t);n.__exportStar(i(74687),t);n.__exportStar(i(89728),t);n.__exportStar(i(89151),t);n.__exportStar(i(8786),t);n.__exportStar(i(66258),t);n.__exportStar(i(98064),t);n.__exportStar(i(25083),t);n.__exportStar(i(30639),t);n.__exportStar(i(5950),t);n.__exportStar(i(18291),t);n.__exportStar(i(83162),t);n.__exportStar(i(10150),t);n.__exportStar(i(29521),t);n.__exportStar(i(53209),t);n.__exportStar(i(69602),t);n.__exportStar(i(85029),t);n.__exportStar(i(75145),t);n.__exportStar(i(12390),t);n.__exportStar(i(34096),t);n.__exportStar(i(33665),t);n.__exportStar(i(96952),t);n.__exportStar(i(41473),t);n.__exportStar(i(67231),t);n.__exportStar(i(46788),t);n.__exportStar(i(17298),t);n.__exportStar(i(60715),t);n.__exportStar(i(73280),t);n.__exportStar(i(54941),t);n.__exportStar(i(5415),t);n.__exportStar(i(17383),t);n.__exportStar(i(61416),t);n.__exportStar(i(56126),t);n.__exportStar(i(60958),t);n.__exportStar(i(46865),t);n.__exportStar(i(78411),t);n.__exportStar(i(23137),t);n.__exportStar(i(849),t);n.__exportStar(i(17451),t);const r=i(21616);const s=i(7818);const a=i(96408);const o=i(90959);const u=i(63536);const c=i(22775);const l=i(7588);const p=i(96116);const d=i(37492);const f=i(67098);const h=i(25429);const m=i(42735);const b=i(12368);const g=i(70438);const y=i(52191);const S=i(1051);const v=i(1e4);const w=i(73491);const j=i(77652);const z=i(30621);const O=i(29393);const k=i(67169);const C=i(98849);const T=i(89144);const _=i(11652);const A=i(30613);const E=i(43525);const R=i(88186);const x=i(27197);const N=i(41668);const V=i(64660);const P=i(36453);const M=i(95951);const B=i(4157);const I=i(61752);const D=i(50369);const q=i(13517);const L=i(19573);const U=i(99229);const Q=i(25958);const H=i(44481);const K=i(52906);const G=i(89033);const W=i(5454);const F=i(99042);const J=i(58352);const Y=i(87198);const X=i(61496);const Z=i(17883);const $=i(93135);const ee=i(39808);const te=i(61957);const ie=i(90312);const ne=i(97069);const re=i(91312);const se=i(23694);const ae=i(95073);const oe=i(48551);const ue=i(68849);const ce=i(34144);const le=i(84881);const pe=i(11582);const de=i(74315);const fe=i(90288);const he=i(24e3);const me=i(93142);const be=i(98367);const ge=i(87598);const ye=i(82975);const Se=i(14268);const ve=i(84957);const we=i(99084);const je=i(92932);const ze=i(31530);const Oe=i(37759);const ke=i(38285);const Ce=i(41888);const Te=i(19111);const _e=i(33913);const Ae=i(61458);const Ee=i(32315);const Re=i(21181);const xe=i(95532);const Ne=i(30578);const Ve=i(2047);const Pe=i(38596);const Me=i(34990);const Be=i(42874);const Ie=i(99685);const De=i(62892);const qe=i(80512);const Le=i(56709);const Ue=i(61682);const Qe=i(59708);const He=i(52865);const Ke=i(13501);const Ge=i(50217);const We=i(83765);const Fe=i(89767);const Je=i(27892);const Ye=i(19716);const Xe=i(35980);const Ze=i(78405);const $e=i(66304);const et=i(34233);const tt=i(94346);const it=i(9731);const nt=i(40325);const rt=i(32791);const st=i(10486);const at=i(69798);const ot=i(20486);const ut=i(25713);const ct=i(82283);const lt=i(98087);const pt=i(94579);const dt=i(25408);const ft=i(37060);const ht=i(32699);const mt=i(77063);const bt=i(173);const gt=i(44560);const yt=i(87510);const St=i(48451);const vt=i(18029);const wt=i(65310);const jt=i(95602);const zt=i(81364);const Ot=i(41298);const kt=i(55398);const Ct=i(34981);const Tt=i(38099);const _t=i(78901);const At=i(19493);const Et=i(11672);const Rt=i(57151);const xt=i(37917);const Nt=i(31925);const Vt=i(13449);const Pt=i(95223);const Mt=i(23074);const Bt=i(36874);const It=i(17205);const Dt=i(32671);const qt=i(90017);const Lt=i(97764);const Ut=i(13313);const Qt=i(77213);const Ht=i(35093);const Kt=i(91874);const Gt=i(16690);const Wt=i(10414);const Ft=i(1016);const Jt=i(27584);const Yt=i(97617);const Xt=i(37426);const Zt=i(87855);const $t=i(16636);const ei=i(3437);const ti=i(86769);const ii=i(56219);const ni=i(95179);const ri=i(93652);const si=i(17024);const ai=i(49823);const oi=i(50910);const ui=i(72796);const ci=i(69225);const li=i(49202);const pi=i(83570);const di=i(68021);const fi=i(32492);const hi=i(44340);const mi=i(93865);const bi=i(76125);const gi=i(92069);const yi=i(43693);const Si=i(89541);const vi=i(62476);const wi=i(59689);const ji=i(45830);const zi=i(23037);const Oi=i(63580);const ki=i(91260);const Ci=i(94069);const Ti=i(13366);const _i=i(32400);const Ai=i(57345);const Ei=i(23549);const Ri=i(22567);const xi=i(50993);const Ni=i(98844);const Vi=i(76838);const Pi=i(44603);const Mi=i(41500);const Bi=i(86280);const Ii=i(91128);const Di=i(82578);const qi=i(83039);const Li=i(88593);const Ui=i(25667);const Qi=i(46630);const Hi=i(12229);const Ki=i(31674);const Gi=i(72729);const Wi=i(82187);const Fi=i(95354);const Ji=i(2006);const Yi=i(22665);const Xi=i(35432);const Zi=i(95469);const $i=i(314);const en=i(22366);const tn=i(49076);const nn=i(8833);const rn=i(47995);const sn=i(60886);const an=i(89952);const on=i(74436);const un=i(22173);const cn=i(71056);const ln=i(63061);const pn=i(3667);const dn=i(84893);const fn=i(10627);const hn=i(11740);const mn=i(4272);const bn=i(10912);const gn=i(24894);const yn=i(42762);const Sn=i(32293);const vn=i(85161);const wn=i(51128);const jn=i(41752);const zn=i(21656);const On=i(33645);const kn=i(70019);const Cn=i(99191);const Tn=i(86171);const _n=i(44696);const An=i(19051);const En=i(90114);const Rn=i(7924);const xn=i(25570);const Nn=i(17657);const Vn=i(32966);const Pn=i(78594);const Mn=i(99911);const Bn=i(42951);const In=i(92114);const Dn=i(69811);const qn=i(86312);const Ln=i(86628);const Un=i(19839);const Qn=i(51817);const Hn=i(99975);const Kn=i(509);const Gn=i(65970);const Wn=i(19574);const Fn=i(78045);const Jn=i(67831);const Yn=i(74548);const Xn=i(76774);const Zn=i(71948);const $n=i(84135);const er=i(79850);const tr=i(58881);const ir=i(42892);const nr=i(39894);const rr=i(88279);const sr=i(97621);const ar=i(74625);const or=i(85571);const ur=i(3317);const cr=i(85751);const lr=i(50837);const pr=i(35698);const dr=i(80966);const fr=i(43933);const hr=i(54662);const mr=i(16954);const br=i(70634);const gr=i(26573);const yr=i(69009);const Sr=i(14870);const vr=i(40475);const wr=i(90975);const jr=i(66859);const zr=i(64888);const Or=i(36376);const kr=i(8350);const Cr=i(21782);const Tr=i(19870);const _r=i(94221);const Ar=i(10936);const Er=i(5827);const Rr=i(48994);const xr=i(55397);const Nr=i(91686);const Vr=i(22421);const Pr=i(1581);const Mr=i(61114);const Br=i(77568);const Ir=i(55014);const Dr=i(67214);const qr=i(56149);const Lr=i(46136);const Ur=i(70215);const Qr=i(37088);const Hr=i(1824);const Kr=i(31828);const Gr=i(96736);const Wr=i(99411);const Fr=i(9764);const Jr=i(21058);const Yr=i(31382);const Xr=i(15895);const Zr=i(56891);const $r=i(79991);const es=i(60711);const ts=i(25888);const is=i(845);const ns=i(49696);const rs=i(7056);const ss=i(3884);const as=i(4248);const os=i(39203);const us=i(33725);const cs=i(19078);const ls=i(98113);const ps=i(15598);const ds=i(39191);const fs=i(84279);const hs=i(56581);const ms=i(30254);const bs=i(87928);const gs=i(9350);const ys=i(38169);const Ss=i(18640);const vs=i(25927);const ws=i(26839);const js=i(46881);const zs=i(96339);const Os=i(62890);const ks=i(69127);const Cs=i(76275);const Ts=i(49545);const _s=i(9927);const As=i(18622);const Es=i(95926);const Rs=i(48971);const xs=i(31592);const Ns=i(83459);const Vs=i(9077);const Ps=i(70127);const Ms=i(53615);const Bs=i(14610);const Is=i(60878);const Ds=i(1655);const qs=i(87717);const Ls=i(34417);const Us=i(62967);const Qs=i(41434);const Hs=i(55885);const Ks=i(20317);const Gs=i(65055);const Ws=i(46022);const Fs=i(38664);const Js=i(93238);const Ys=i(6538);const Xs=i(94719);const Zs=i(26379);const $s=i(14361);const ea=i(86872);const ta=i(89521);const ia=i(6602);const na=i(75476);const ra=i(67027);const sa=i(98205);const aa=i(3099);const oa=i(61999);const ua=i(96086);const ca=i(50793);const la=i(81906);const pa=i(92848);const da=i(69489);const fa=i(12040);const ha=i(67225);const ma=i(6290);const ba=i(33698);const ga=i(3991);const ya=i(59985);const Sa=i(52589);const va=i(67377);const wa=i(5757);const ja=i(49592);const za=i(35568);const Oa=i(5287);const ka=i(33927);const Ca=i(65276);const Ta=i(83787);const _a=i(90989);const Aa=i(80263);const Ea=i(70914);const Ra=i(85050);const xa=i(43969);const Na=i(31462);const Va=i(65);const Pa=i(50767);const Ma=i(77238);const Ba=i(52888);const Ia=i(44901);const Da=i(8070);const qa=i(61014);const La=i(15062);const Ua=i(89642);const Qa=i(15220);const Ha=i(10932);const Ka=i(73101);const Ga=i(78760);const Wa=i(3464);const Fa=i(47008);const Ja=i(1850);const Ya=i(62558);const Xa=i(49471);const Za=i(45910);const $a=i(32036);const eo=i(53079);const to=i(39479);const io=i(56871);const no=i(66602);const ro=i(41934);const so=i(3593);const ao=i(12511);const oo=i(47647);const uo=i(23984);const co=i(54349);const lo=i(20058);const po=i(53792);const fo=i(20970);const ho=i(88064);const mo=i(88392);const bo=i(49929);const go=i(23402);const yo=i(49584);const So=i(94030);const vo=i(39991);const wo=i(48676);const jo=i(53943);const zo=i(44271);const Oo=i(99792);const ko=i(43425);const Co=i(7806);const To=i(7724);const _o=i(66666);const Ao=i(29863);const Eo=i(23519);const Ro=i(68738);const xo=i(24519);const No=i(92663);const Vo=i(37328);const Po=i(16242);const Mo=i(25978);const Bo=i(16589);const Io=i(91864);const Do=i(97720);const qo=i(52843);const Lo=i(63675);const Uo=i(34506);const Qo=i(72413);const Ho=i(58847);const Ko=i(38268);const Go=i(21270);const Wo=i(9165);const Fo=i(64672);const Jo=i(60049);const Yo=i(15358);const Xo=i(9944);const Zo=i(18555);const $o=i(49145);const eu=i(87178);const tu=i(86145);const iu=i(42866);const nu=i(18241);const ru=i(67694);const su=i(41365);const au=i(13153);const ou=i(27347);const uu=i(61730);const cu=i(37085);const lu=i(7423);const pu=i(26777);const du=i(98830);const fu=i(93967);const hu=i(64484);const mu=i(63533);const bu=i(96254);const gu=i(1040);const yu=i(57091);const Su=i(98441);const vu=i(30089);const wu=i(43801);const ju=i(58382);const zu=i(84478);const Ou=i(8076);const ku=i(51807);const Cu=i(59514);const Tu=i(96831);const _u=i(41330);const Au=i(98895);const Eu=i(95359);const Ru=i(24695);const xu=i(75855);const Nu=i(56981);const Vu=i(55914);const Pu=i(14010);const Mu=i(8326);const Bu=i(40541);const Iu=i(59918);const Du=i(74749);const qu=i(66991);const Lu=i(4046);const Uu=i(14255);const Qu=i(81655);const Hu=i(83111);const Ku=i(34396);const Gu=i(43485);const Wu=i(63931);const Fu=i(23257);const Ju=i(84404);const Yu=i(44289);const Xu=i(90147);const Zu=i(72683);const $u=i(2177);const ec=i(75714);const tc=i(59684);const ic=i(26149);const nc=i(67813);const rc=i(60270);const sc=i(90435);const ac=i(42319);const oc=i(10530);const uc=i(22546);const cc=i(62252);const lc=i(76021);const pc=i(5461);const dc=i(28787);const fc=i(51959);const hc=i(71667);const mc=i(96916);const bc=i(2230);const gc=i(74299);const yc=i(87497);const Sc=i(65831);const vc=i(31079);const wc=i(75281);const jc=i(8109);const zc=i(50769);const Oc=i(49098);const kc=i(34651);const Cc=i(35033);const Tc=i(90080);const _c=i(13129);const Ac=i(14474);const Ec=i(473);const Rc=i(88465);const xc=i(2146);const Nc=i(88931);const Vc=i(46198);const Pc=i(95797);const Mc=i(31397);const Bc=i(12802);const Ic=i(61521);const Dc=i(15956);const qc=i(54910);const Lc=i(10285);const Uc=i(53523);const Qc=i(11202);const Hc=i(39491);const Kc=i(20812);const Gc=i(18685);const Wc=i(72711);const Fc=i(72167);const Jc=i(55473);const Yc=i(53805);const Xc=i(94350);const Zc=i(53849);const $c=i(71688);const el=i(5710);const tl=i(98026);const il=i(41784);const nl=i(2411);const rl=i(3849);const sl=i(37196);const al=i(27287);const ol=i(36502);const ul=i(43128);const cl=i(96606);const ll=i(74687);const pl=i(89728);const dl=i(89151);const fl=i(8786);const hl=i(66258);const ml=i(98064);const bl=i(25083);const gl=i(30639);const yl=i(5950);const Sl=i(18291);const vl=i(83162);const wl=i(10150);const jl=i(29521);const zl=i(53209);const Ol=i(69602);const kl=i(85029);const Cl=i(75145);const Tl=i(12390);const _l=i(34096);const Al=i(33665);const El=i(96952);const Rl=i(41473);const xl=i(67231);const Nl=i(46788);const Vl=i(17298);const Pl=i(60715);const Ml=i(73280);const Bl=i(54941);const Il=i(5415);const Dl=i(17383);const ql=i(61416);const Ll=i(56126);const Ul=i(60958);const Ql=i(46865);const Hl=i(78411);const Kl=i(23137);const Gl=i(849);const Wl=i(17451);let Fl=["string","boolean","double","integer","long","float","number","any"];let Jl={};let Yl={AdmissionregistrationV1ServiceReference:r.AdmissionregistrationV1ServiceReference,AdmissionregistrationV1WebhookClientConfig:s.AdmissionregistrationV1WebhookClientConfig,AdmissionregistrationV1beta1ServiceReference:a.AdmissionregistrationV1beta1ServiceReference,AdmissionregistrationV1beta1WebhookClientConfig:o.AdmissionregistrationV1beta1WebhookClientConfig,ApiextensionsV1ServiceReference:u.ApiextensionsV1ServiceReference,ApiextensionsV1WebhookClientConfig:c.ApiextensionsV1WebhookClientConfig,ApiextensionsV1beta1ServiceReference:l.ApiextensionsV1beta1ServiceReference,ApiextensionsV1beta1WebhookClientConfig:p.ApiextensionsV1beta1WebhookClientConfig,ApiregistrationV1ServiceReference:d.ApiregistrationV1ServiceReference,ApiregistrationV1beta1ServiceReference:f.ApiregistrationV1beta1ServiceReference,AuthenticationV1TokenRequest:h.AuthenticationV1TokenRequest,CoreV1Event:m.CoreV1Event,CoreV1EventList:b.CoreV1EventList,CoreV1EventSeries:g.CoreV1EventSeries,EventsV1Event:y.EventsV1Event,EventsV1EventList:S.EventsV1EventList,EventsV1EventSeries:v.EventsV1EventSeries,ExtensionsV1beta1HTTPIngressPath:w.ExtensionsV1beta1HTTPIngressPath,ExtensionsV1beta1HTTPIngressRuleValue:j.ExtensionsV1beta1HTTPIngressRuleValue,ExtensionsV1beta1Ingress:z.ExtensionsV1beta1Ingress,ExtensionsV1beta1IngressBackend:O.ExtensionsV1beta1IngressBackend,ExtensionsV1beta1IngressList:k.ExtensionsV1beta1IngressList,ExtensionsV1beta1IngressRule:C.ExtensionsV1beta1IngressRule,ExtensionsV1beta1IngressSpec:T.ExtensionsV1beta1IngressSpec,ExtensionsV1beta1IngressStatus:_.ExtensionsV1beta1IngressStatus,ExtensionsV1beta1IngressTLS:A.ExtensionsV1beta1IngressTLS,FlowcontrolV1alpha1Subject:E.FlowcontrolV1alpha1Subject,FlowcontrolV1beta1Subject:R.FlowcontrolV1beta1Subject,NetworkingV1beta1HTTPIngressPath:x.NetworkingV1beta1HTTPIngressPath,NetworkingV1beta1HTTPIngressRuleValue:N.NetworkingV1beta1HTTPIngressRuleValue,NetworkingV1beta1Ingress:V.NetworkingV1beta1Ingress,NetworkingV1beta1IngressBackend:P.NetworkingV1beta1IngressBackend,NetworkingV1beta1IngressList:M.NetworkingV1beta1IngressList,NetworkingV1beta1IngressRule:B.NetworkingV1beta1IngressRule,NetworkingV1beta1IngressSpec:I.NetworkingV1beta1IngressSpec,NetworkingV1beta1IngressStatus:D.NetworkingV1beta1IngressStatus,NetworkingV1beta1IngressTLS:q.NetworkingV1beta1IngressTLS,RbacV1alpha1Subject:L.RbacV1alpha1Subject,RbacV1beta1Subject:U.RbacV1beta1Subject,StorageV1TokenRequest:Q.StorageV1TokenRequest,V1APIGroup:H.V1APIGroup,V1APIGroupList:K.V1APIGroupList,V1APIResource:G.V1APIResource,V1APIResourceList:W.V1APIResourceList,V1APIService:F.V1APIService,V1APIServiceCondition:J.V1APIServiceCondition,V1APIServiceList:Y.V1APIServiceList,V1APIServiceSpec:X.V1APIServiceSpec,V1APIServiceStatus:Z.V1APIServiceStatus,V1APIVersions:$.V1APIVersions,V1AWSElasticBlockStoreVolumeSource:ee.V1AWSElasticBlockStoreVolumeSource,V1Affinity:te.V1Affinity,V1AggregationRule:ie.V1AggregationRule,V1AttachedVolume:ne.V1AttachedVolume,V1AzureDiskVolumeSource:re.V1AzureDiskVolumeSource,V1AzureFilePersistentVolumeSource:se.V1AzureFilePersistentVolumeSource,V1AzureFileVolumeSource:ae.V1AzureFileVolumeSource,V1Binding:oe.V1Binding,V1BoundObjectReference:ue.V1BoundObjectReference,V1CSIDriver:ce.V1CSIDriver,V1CSIDriverList:le.V1CSIDriverList,V1CSIDriverSpec:pe.V1CSIDriverSpec,V1CSINode:de.V1CSINode,V1CSINodeDriver:fe.V1CSINodeDriver,V1CSINodeList:he.V1CSINodeList,V1CSINodeSpec:me.V1CSINodeSpec,V1CSIPersistentVolumeSource:be.V1CSIPersistentVolumeSource,V1CSIVolumeSource:ge.V1CSIVolumeSource,V1Capabilities:ye.V1Capabilities,V1CephFSPersistentVolumeSource:Se.V1CephFSPersistentVolumeSource,V1CephFSVolumeSource:ve.V1CephFSVolumeSource,V1CertificateSigningRequest:we.V1CertificateSigningRequest,V1CertificateSigningRequestCondition:je.V1CertificateSigningRequestCondition,V1CertificateSigningRequestList:ze.V1CertificateSigningRequestList,V1CertificateSigningRequestSpec:Oe.V1CertificateSigningRequestSpec,V1CertificateSigningRequestStatus:ke.V1CertificateSigningRequestStatus,V1CinderPersistentVolumeSource:Ce.V1CinderPersistentVolumeSource,V1CinderVolumeSource:Te.V1CinderVolumeSource,V1ClientIPConfig:_e.V1ClientIPConfig,V1ClusterRole:Ae.V1ClusterRole,V1ClusterRoleBinding:Ee.V1ClusterRoleBinding,V1ClusterRoleBindingList:Re.V1ClusterRoleBindingList,V1ClusterRoleList:xe.V1ClusterRoleList,V1ComponentCondition:Ne.V1ComponentCondition,V1ComponentStatus:Ve.V1ComponentStatus,V1ComponentStatusList:Pe.V1ComponentStatusList,V1Condition:Me.V1Condition,V1ConfigMap:Be.V1ConfigMap,V1ConfigMapEnvSource:Ie.V1ConfigMapEnvSource,V1ConfigMapKeySelector:De.V1ConfigMapKeySelector,V1ConfigMapList:qe.V1ConfigMapList,V1ConfigMapNodeConfigSource:Le.V1ConfigMapNodeConfigSource,V1ConfigMapProjection:Ue.V1ConfigMapProjection,V1ConfigMapVolumeSource:Qe.V1ConfigMapVolumeSource,V1Container:He.V1Container,V1ContainerImage:Ke.V1ContainerImage,V1ContainerPort:Ge.V1ContainerPort,V1ContainerState:We.V1ContainerState,V1ContainerStateRunning:Fe.V1ContainerStateRunning,V1ContainerStateTerminated:Je.V1ContainerStateTerminated,V1ContainerStateWaiting:Ye.V1ContainerStateWaiting,V1ContainerStatus:Xe.V1ContainerStatus,V1ControllerRevision:Ze.V1ControllerRevision,V1ControllerRevisionList:$e.V1ControllerRevisionList,V1CrossVersionObjectReference:et.V1CrossVersionObjectReference,V1CustomResourceColumnDefinition:tt.V1CustomResourceColumnDefinition,V1CustomResourceConversion:it.V1CustomResourceConversion,V1CustomResourceDefinition:nt.V1CustomResourceDefinition,V1CustomResourceDefinitionCondition:rt.V1CustomResourceDefinitionCondition,V1CustomResourceDefinitionList:st.V1CustomResourceDefinitionList,V1CustomResourceDefinitionNames:at.V1CustomResourceDefinitionNames,V1CustomResourceDefinitionSpec:ot.V1CustomResourceDefinitionSpec,V1CustomResourceDefinitionStatus:ut.V1CustomResourceDefinitionStatus,V1CustomResourceDefinitionVersion:ct.V1CustomResourceDefinitionVersion,V1CustomResourceSubresourceScale:lt.V1CustomResourceSubresourceScale,V1CustomResourceSubresources:pt.V1CustomResourceSubresources,V1CustomResourceValidation:dt.V1CustomResourceValidation,V1DaemonEndpoint:ft.V1DaemonEndpoint,V1DaemonSet:ht.V1DaemonSet,V1DaemonSetCondition:mt.V1DaemonSetCondition,V1DaemonSetList:bt.V1DaemonSetList,V1DaemonSetSpec:gt.V1DaemonSetSpec,V1DaemonSetStatus:yt.V1DaemonSetStatus,V1DaemonSetUpdateStrategy:St.V1DaemonSetUpdateStrategy,V1DeleteOptions:vt.V1DeleteOptions,V1Deployment:wt.V1Deployment,V1DeploymentCondition:jt.V1DeploymentCondition,V1DeploymentList:zt.V1DeploymentList,V1DeploymentSpec:Ot.V1DeploymentSpec,V1DeploymentStatus:kt.V1DeploymentStatus,V1DeploymentStrategy:Ct.V1DeploymentStrategy,V1DownwardAPIProjection:Tt.V1DownwardAPIProjection,V1DownwardAPIVolumeFile:_t.V1DownwardAPIVolumeFile,V1DownwardAPIVolumeSource:At.V1DownwardAPIVolumeSource,V1EmptyDirVolumeSource:Et.V1EmptyDirVolumeSource,V1EndpointAddress:Rt.V1EndpointAddress,V1EndpointPort:xt.V1EndpointPort,V1EndpointSubset:Nt.V1EndpointSubset,V1Endpoints:Vt.V1Endpoints,V1EndpointsList:Pt.V1EndpointsList,V1EnvFromSource:Mt.V1EnvFromSource,V1EnvVar:Bt.V1EnvVar,V1EnvVarSource:It.V1EnvVarSource,V1EphemeralContainer:Dt.V1EphemeralContainer,V1EphemeralVolumeSource:qt.V1EphemeralVolumeSource,V1EventSource:Lt.V1EventSource,V1ExecAction:Ut.V1ExecAction,V1ExternalDocumentation:Qt.V1ExternalDocumentation,V1FCVolumeSource:Ht.V1FCVolumeSource,V1FlexPersistentVolumeSource:Kt.V1FlexPersistentVolumeSource,V1FlexVolumeSource:Gt.V1FlexVolumeSource,V1FlockerVolumeSource:Wt.V1FlockerVolumeSource,V1GCEPersistentDiskVolumeSource:Ft.V1GCEPersistentDiskVolumeSource,V1GitRepoVolumeSource:Jt.V1GitRepoVolumeSource,V1GlusterfsPersistentVolumeSource:Yt.V1GlusterfsPersistentVolumeSource,V1GlusterfsVolumeSource:Xt.V1GlusterfsVolumeSource,V1GroupVersionForDiscovery:Zt.V1GroupVersionForDiscovery,V1HTTPGetAction:$t.V1HTTPGetAction,V1HTTPHeader:ei.V1HTTPHeader,V1HTTPIngressPath:ti.V1HTTPIngressPath,V1HTTPIngressRuleValue:ii.V1HTTPIngressRuleValue,V1Handler:ni.V1Handler,V1HorizontalPodAutoscaler:ri.V1HorizontalPodAutoscaler,V1HorizontalPodAutoscalerList:si.V1HorizontalPodAutoscalerList,V1HorizontalPodAutoscalerSpec:ai.V1HorizontalPodAutoscalerSpec,V1HorizontalPodAutoscalerStatus:oi.V1HorizontalPodAutoscalerStatus,V1HostAlias:ui.V1HostAlias,V1HostPathVolumeSource:ci.V1HostPathVolumeSource,V1IPBlock:li.V1IPBlock,V1ISCSIPersistentVolumeSource:pi.V1ISCSIPersistentVolumeSource,V1ISCSIVolumeSource:di.V1ISCSIVolumeSource,V1Ingress:fi.V1Ingress,V1IngressBackend:hi.V1IngressBackend,V1IngressClass:mi.V1IngressClass,V1IngressClassList:bi.V1IngressClassList,V1IngressClassSpec:gi.V1IngressClassSpec,V1IngressList:yi.V1IngressList,V1IngressRule:Si.V1IngressRule,V1IngressServiceBackend:vi.V1IngressServiceBackend,V1IngressSpec:wi.V1IngressSpec,V1IngressStatus:ji.V1IngressStatus,V1IngressTLS:zi.V1IngressTLS,V1JSONSchemaProps:Oi.V1JSONSchemaProps,V1Job:ki.V1Job,V1JobCondition:Ci.V1JobCondition,V1JobList:Ti.V1JobList,V1JobSpec:_i.V1JobSpec,V1JobStatus:Ai.V1JobStatus,V1KeyToPath:Ei.V1KeyToPath,V1LabelSelector:Ri.V1LabelSelector,V1LabelSelectorRequirement:xi.V1LabelSelectorRequirement,V1Lease:Ni.V1Lease,V1LeaseList:Vi.V1LeaseList,V1LeaseSpec:Pi.V1LeaseSpec,V1Lifecycle:Mi.V1Lifecycle,V1LimitRange:Bi.V1LimitRange,V1LimitRangeItem:Ii.V1LimitRangeItem,V1LimitRangeList:Di.V1LimitRangeList,V1LimitRangeSpec:qi.V1LimitRangeSpec,V1ListMeta:Li.V1ListMeta,V1LoadBalancerIngress:Ui.V1LoadBalancerIngress,V1LoadBalancerStatus:Qi.V1LoadBalancerStatus,V1LocalObjectReference:Hi.V1LocalObjectReference,V1LocalSubjectAccessReview:Ki.V1LocalSubjectAccessReview,V1LocalVolumeSource:Gi.V1LocalVolumeSource,V1ManagedFieldsEntry:Wi.V1ManagedFieldsEntry,V1MutatingWebhook:Fi.V1MutatingWebhook,V1MutatingWebhookConfiguration:Ji.V1MutatingWebhookConfiguration,V1MutatingWebhookConfigurationList:Yi.V1MutatingWebhookConfigurationList,V1NFSVolumeSource:Xi.V1NFSVolumeSource,V1Namespace:Zi.V1Namespace,V1NamespaceCondition:$i.V1NamespaceCondition,V1NamespaceList:en.V1NamespaceList,V1NamespaceSpec:tn.V1NamespaceSpec,V1NamespaceStatus:nn.V1NamespaceStatus,V1NetworkPolicy:rn.V1NetworkPolicy,V1NetworkPolicyEgressRule:sn.V1NetworkPolicyEgressRule,V1NetworkPolicyIngressRule:an.V1NetworkPolicyIngressRule,V1NetworkPolicyList:on.V1NetworkPolicyList,V1NetworkPolicyPeer:un.V1NetworkPolicyPeer,V1NetworkPolicyPort:cn.V1NetworkPolicyPort,V1NetworkPolicySpec:ln.V1NetworkPolicySpec,V1Node:pn.V1Node,V1NodeAddress:dn.V1NodeAddress,V1NodeAffinity:fn.V1NodeAffinity,V1NodeCondition:hn.V1NodeCondition,V1NodeConfigSource:mn.V1NodeConfigSource,V1NodeConfigStatus:bn.V1NodeConfigStatus,V1NodeDaemonEndpoints:gn.V1NodeDaemonEndpoints,V1NodeList:yn.V1NodeList,V1NodeSelector:Sn.V1NodeSelector,V1NodeSelectorRequirement:vn.V1NodeSelectorRequirement,V1NodeSelectorTerm:wn.V1NodeSelectorTerm,V1NodeSpec:jn.V1NodeSpec,V1NodeStatus:zn.V1NodeStatus,V1NodeSystemInfo:On.V1NodeSystemInfo,V1NonResourceAttributes:kn.V1NonResourceAttributes,V1NonResourceRule:Cn.V1NonResourceRule,V1ObjectFieldSelector:Tn.V1ObjectFieldSelector,V1ObjectMeta:_n.V1ObjectMeta,V1ObjectReference:An.V1ObjectReference,V1Overhead:En.V1Overhead,V1OwnerReference:Rn.V1OwnerReference,V1PersistentVolume:xn.V1PersistentVolume,V1PersistentVolumeClaim:Nn.V1PersistentVolumeClaim,V1PersistentVolumeClaimCondition:Vn.V1PersistentVolumeClaimCondition,V1PersistentVolumeClaimList:Pn.V1PersistentVolumeClaimList,V1PersistentVolumeClaimSpec:Mn.V1PersistentVolumeClaimSpec,V1PersistentVolumeClaimStatus:Bn.V1PersistentVolumeClaimStatus,V1PersistentVolumeClaimTemplate:In.V1PersistentVolumeClaimTemplate,V1PersistentVolumeClaimVolumeSource:Dn.V1PersistentVolumeClaimVolumeSource,V1PersistentVolumeList:qn.V1PersistentVolumeList,V1PersistentVolumeSpec:Ln.V1PersistentVolumeSpec,V1PersistentVolumeStatus:Un.V1PersistentVolumeStatus,V1PhotonPersistentDiskVolumeSource:Qn.V1PhotonPersistentDiskVolumeSource,V1Pod:Hn.V1Pod,V1PodAffinity:Kn.V1PodAffinity,V1PodAffinityTerm:Gn.V1PodAffinityTerm,V1PodAntiAffinity:Wn.V1PodAntiAffinity,V1PodCondition:Fn.V1PodCondition,V1PodDNSConfig:Jn.V1PodDNSConfig,V1PodDNSConfigOption:Yn.V1PodDNSConfigOption,V1PodIP:Xn.V1PodIP,V1PodList:Zn.V1PodList,V1PodReadinessGate:$n.V1PodReadinessGate,V1PodSecurityContext:er.V1PodSecurityContext,V1PodSpec:tr.V1PodSpec,V1PodStatus:ir.V1PodStatus,V1PodTemplate:nr.V1PodTemplate,V1PodTemplateList:rr.V1PodTemplateList,V1PodTemplateSpec:sr.V1PodTemplateSpec,V1PolicyRule:ar.V1PolicyRule,V1PortStatus:or.V1PortStatus,V1PortworxVolumeSource:ur.V1PortworxVolumeSource,V1Preconditions:cr.V1Preconditions,V1PreferredSchedulingTerm:lr.V1PreferredSchedulingTerm,V1PriorityClass:pr.V1PriorityClass,V1PriorityClassList:dr.V1PriorityClassList,V1Probe:fr.V1Probe,V1ProjectedVolumeSource:hr.V1ProjectedVolumeSource,V1QuobyteVolumeSource:mr.V1QuobyteVolumeSource,V1RBDPersistentVolumeSource:br.V1RBDPersistentVolumeSource,V1RBDVolumeSource:gr.V1RBDVolumeSource,V1ReplicaSet:yr.V1ReplicaSet,V1ReplicaSetCondition:Sr.V1ReplicaSetCondition,V1ReplicaSetList:vr.V1ReplicaSetList,V1ReplicaSetSpec:wr.V1ReplicaSetSpec,V1ReplicaSetStatus:jr.V1ReplicaSetStatus,V1ReplicationController:zr.V1ReplicationController,V1ReplicationControllerCondition:Or.V1ReplicationControllerCondition,V1ReplicationControllerList:kr.V1ReplicationControllerList,V1ReplicationControllerSpec:Cr.V1ReplicationControllerSpec,V1ReplicationControllerStatus:Tr.V1ReplicationControllerStatus,V1ResourceAttributes:_r.V1ResourceAttributes,V1ResourceFieldSelector:Ar.V1ResourceFieldSelector,V1ResourceQuota:Er.V1ResourceQuota,V1ResourceQuotaList:Rr.V1ResourceQuotaList,V1ResourceQuotaSpec:xr.V1ResourceQuotaSpec,V1ResourceQuotaStatus:Nr.V1ResourceQuotaStatus,V1ResourceRequirements:Vr.V1ResourceRequirements,V1ResourceRule:Pr.V1ResourceRule,V1Role:Mr.V1Role,V1RoleBinding:Br.V1RoleBinding,V1RoleBindingList:Ir.V1RoleBindingList,V1RoleList:Dr.V1RoleList,V1RoleRef:qr.V1RoleRef,V1RollingUpdateDaemonSet:Lr.V1RollingUpdateDaemonSet,V1RollingUpdateDeployment:Ur.V1RollingUpdateDeployment,V1RollingUpdateStatefulSetStrategy:Qr.V1RollingUpdateStatefulSetStrategy,V1RuleWithOperations:Hr.V1RuleWithOperations,V1RuntimeClass:Kr.V1RuntimeClass,V1RuntimeClassList:Gr.V1RuntimeClassList,V1SELinuxOptions:Wr.V1SELinuxOptions,V1Scale:Fr.V1Scale,V1ScaleIOPersistentVolumeSource:Jr.V1ScaleIOPersistentVolumeSource,V1ScaleIOVolumeSource:Yr.V1ScaleIOVolumeSource,V1ScaleSpec:Xr.V1ScaleSpec,V1ScaleStatus:Zr.V1ScaleStatus,V1Scheduling:$r.V1Scheduling,V1ScopeSelector:es.V1ScopeSelector,V1ScopedResourceSelectorRequirement:ts.V1ScopedResourceSelectorRequirement,V1SeccompProfile:is.V1SeccompProfile,V1Secret:ns.V1Secret,V1SecretEnvSource:rs.V1SecretEnvSource,V1SecretKeySelector:ss.V1SecretKeySelector,V1SecretList:as.V1SecretList,V1SecretProjection:os.V1SecretProjection,V1SecretReference:us.V1SecretReference,V1SecretVolumeSource:cs.V1SecretVolumeSource,V1SecurityContext:ls.V1SecurityContext,V1SelfSubjectAccessReview:ps.V1SelfSubjectAccessReview,V1SelfSubjectAccessReviewSpec:ds.V1SelfSubjectAccessReviewSpec,V1SelfSubjectRulesReview:fs.V1SelfSubjectRulesReview,V1SelfSubjectRulesReviewSpec:hs.V1SelfSubjectRulesReviewSpec,V1ServerAddressByClientCIDR:ms.V1ServerAddressByClientCIDR,V1Service:bs.V1Service,V1ServiceAccount:gs.V1ServiceAccount,V1ServiceAccountList:ys.V1ServiceAccountList,V1ServiceAccountTokenProjection:Ss.V1ServiceAccountTokenProjection,V1ServiceBackendPort:vs.V1ServiceBackendPort,V1ServiceList:ws.V1ServiceList,V1ServicePort:js.V1ServicePort,V1ServiceSpec:zs.V1ServiceSpec,V1ServiceStatus:Os.V1ServiceStatus,V1SessionAffinityConfig:ks.V1SessionAffinityConfig,V1StatefulSet:Cs.V1StatefulSet,V1StatefulSetCondition:Ts.V1StatefulSetCondition,V1StatefulSetList:_s.V1StatefulSetList,V1StatefulSetSpec:As.V1StatefulSetSpec,V1StatefulSetStatus:Es.V1StatefulSetStatus,V1StatefulSetUpdateStrategy:Rs.V1StatefulSetUpdateStrategy,V1Status:xs.V1Status,V1StatusCause:Ns.V1StatusCause,V1StatusDetails:Vs.V1StatusDetails,V1StorageClass:Ps.V1StorageClass,V1StorageClassList:Ms.V1StorageClassList,V1StorageOSPersistentVolumeSource:Bs.V1StorageOSPersistentVolumeSource,V1StorageOSVolumeSource:Is.V1StorageOSVolumeSource,V1Subject:Ds.V1Subject,V1SubjectAccessReview:qs.V1SubjectAccessReview,V1SubjectAccessReviewSpec:Ls.V1SubjectAccessReviewSpec,V1SubjectAccessReviewStatus:Us.V1SubjectAccessReviewStatus,V1SubjectRulesReviewStatus:Qs.V1SubjectRulesReviewStatus,V1Sysctl:Hs.V1Sysctl,V1TCPSocketAction:Ks.V1TCPSocketAction,V1Taint:Gs.V1Taint,V1TokenRequestSpec:Ws.V1TokenRequestSpec,V1TokenRequestStatus:Fs.V1TokenRequestStatus,V1TokenReview:Js.V1TokenReview,V1TokenReviewSpec:Ys.V1TokenReviewSpec,V1TokenReviewStatus:Xs.V1TokenReviewStatus,V1Toleration:Zs.V1Toleration,V1TopologySelectorLabelRequirement:$s.V1TopologySelectorLabelRequirement,V1TopologySelectorTerm:ea.V1TopologySelectorTerm,V1TopologySpreadConstraint:ta.V1TopologySpreadConstraint,V1TypedLocalObjectReference:ia.V1TypedLocalObjectReference,V1UserInfo:na.V1UserInfo,V1ValidatingWebhook:ra.V1ValidatingWebhook,V1ValidatingWebhookConfiguration:sa.V1ValidatingWebhookConfiguration,V1ValidatingWebhookConfigurationList:aa.V1ValidatingWebhookConfigurationList,V1Volume:oa.V1Volume,V1VolumeAttachment:ua.V1VolumeAttachment,V1VolumeAttachmentList:ca.V1VolumeAttachmentList,V1VolumeAttachmentSource:la.V1VolumeAttachmentSource,V1VolumeAttachmentSpec:pa.V1VolumeAttachmentSpec,V1VolumeAttachmentStatus:da.V1VolumeAttachmentStatus,V1VolumeDevice:fa.V1VolumeDevice,V1VolumeError:ha.V1VolumeError,V1VolumeMount:ma.V1VolumeMount,V1VolumeNodeAffinity:ba.V1VolumeNodeAffinity,V1VolumeNodeResources:ga.V1VolumeNodeResources,V1VolumeProjection:ya.V1VolumeProjection,V1VsphereVirtualDiskVolumeSource:Sa.V1VsphereVirtualDiskVolumeSource,V1WatchEvent:va.V1WatchEvent,V1WebhookConversion:wa.V1WebhookConversion,V1WeightedPodAffinityTerm:ja.V1WeightedPodAffinityTerm,V1WindowsSecurityContextOptions:za.V1WindowsSecurityContextOptions,V1alpha1AggregationRule:Oa.V1alpha1AggregationRule,V1alpha1ClusterRole:ka.V1alpha1ClusterRole,V1alpha1ClusterRoleBinding:Ca.V1alpha1ClusterRoleBinding,V1alpha1ClusterRoleBindingList:Ta.V1alpha1ClusterRoleBindingList,V1alpha1ClusterRoleList:_a.V1alpha1ClusterRoleList,V1alpha1FlowDistinguisherMethod:Aa.V1alpha1FlowDistinguisherMethod,V1alpha1FlowSchema:Ea.V1alpha1FlowSchema,V1alpha1FlowSchemaCondition:Ra.V1alpha1FlowSchemaCondition,V1alpha1FlowSchemaList:xa.V1alpha1FlowSchemaList,V1alpha1FlowSchemaSpec:Na.V1alpha1FlowSchemaSpec,V1alpha1FlowSchemaStatus:Va.V1alpha1FlowSchemaStatus,V1alpha1GroupSubject:Pa.V1alpha1GroupSubject,V1alpha1LimitResponse:Ma.V1alpha1LimitResponse,V1alpha1LimitedPriorityLevelConfiguration:Ba.V1alpha1LimitedPriorityLevelConfiguration,V1alpha1NonResourcePolicyRule:Ia.V1alpha1NonResourcePolicyRule,V1alpha1Overhead:Da.V1alpha1Overhead,V1alpha1PolicyRule:qa.V1alpha1PolicyRule,V1alpha1PolicyRulesWithSubjects:La.V1alpha1PolicyRulesWithSubjects,V1alpha1PriorityClass:Ua.V1alpha1PriorityClass,V1alpha1PriorityClassList:Qa.V1alpha1PriorityClassList,V1alpha1PriorityLevelConfiguration:Ha.V1alpha1PriorityLevelConfiguration,V1alpha1PriorityLevelConfigurationCondition:Ka.V1alpha1PriorityLevelConfigurationCondition,V1alpha1PriorityLevelConfigurationList:Ga.V1alpha1PriorityLevelConfigurationList,V1alpha1PriorityLevelConfigurationReference:Wa.V1alpha1PriorityLevelConfigurationReference,V1alpha1PriorityLevelConfigurationSpec:Fa.V1alpha1PriorityLevelConfigurationSpec,V1alpha1PriorityLevelConfigurationStatus:Ja.V1alpha1PriorityLevelConfigurationStatus,V1alpha1QueuingConfiguration:Ya.V1alpha1QueuingConfiguration,V1alpha1ResourcePolicyRule:Xa.V1alpha1ResourcePolicyRule,V1alpha1Role:Za.V1alpha1Role,V1alpha1RoleBinding:$a.V1alpha1RoleBinding,V1alpha1RoleBindingList:eo.V1alpha1RoleBindingList,V1alpha1RoleList:to.V1alpha1RoleList,V1alpha1RoleRef:io.V1alpha1RoleRef,V1alpha1RuntimeClass:no.V1alpha1RuntimeClass,V1alpha1RuntimeClassList:ro.V1alpha1RuntimeClassList,V1alpha1RuntimeClassSpec:so.V1alpha1RuntimeClassSpec,V1alpha1Scheduling:ao.V1alpha1Scheduling,V1alpha1ServerStorageVersion:oo.V1alpha1ServerStorageVersion,V1alpha1ServiceAccountSubject:uo.V1alpha1ServiceAccountSubject,V1alpha1StorageVersion:co.V1alpha1StorageVersion,V1alpha1StorageVersionCondition:lo.V1alpha1StorageVersionCondition,V1alpha1StorageVersionList:po.V1alpha1StorageVersionList,V1alpha1StorageVersionStatus:fo.V1alpha1StorageVersionStatus,V1alpha1UserSubject:ho.V1alpha1UserSubject,V1alpha1VolumeAttachment:mo.V1alpha1VolumeAttachment,V1alpha1VolumeAttachmentList:bo.V1alpha1VolumeAttachmentList,V1alpha1VolumeAttachmentSource:go.V1alpha1VolumeAttachmentSource,V1alpha1VolumeAttachmentSpec:yo.V1alpha1VolumeAttachmentSpec,V1alpha1VolumeAttachmentStatus:So.V1alpha1VolumeAttachmentStatus,V1alpha1VolumeError:vo.V1alpha1VolumeError,V1beta1APIService:wo.V1beta1APIService,V1beta1APIServiceCondition:jo.V1beta1APIServiceCondition,V1beta1APIServiceList:zo.V1beta1APIServiceList,V1beta1APIServiceSpec:Oo.V1beta1APIServiceSpec,V1beta1APIServiceStatus:ko.V1beta1APIServiceStatus,V1beta1AggregationRule:Co.V1beta1AggregationRule,V1beta1AllowedCSIDriver:To.V1beta1AllowedCSIDriver,V1beta1AllowedFlexVolume:_o.V1beta1AllowedFlexVolume,V1beta1AllowedHostPath:Ao.V1beta1AllowedHostPath,V1beta1CSIDriver:Eo.V1beta1CSIDriver,V1beta1CSIDriverList:Ro.V1beta1CSIDriverList,V1beta1CSIDriverSpec:xo.V1beta1CSIDriverSpec,V1beta1CSINode:No.V1beta1CSINode,V1beta1CSINodeDriver:Vo.V1beta1CSINodeDriver,V1beta1CSINodeList:Po.V1beta1CSINodeList,V1beta1CSINodeSpec:Mo.V1beta1CSINodeSpec,V1beta1CertificateSigningRequest:Bo.V1beta1CertificateSigningRequest,V1beta1CertificateSigningRequestCondition:Io.V1beta1CertificateSigningRequestCondition,V1beta1CertificateSigningRequestList:Do.V1beta1CertificateSigningRequestList,V1beta1CertificateSigningRequestSpec:qo.V1beta1CertificateSigningRequestSpec,V1beta1CertificateSigningRequestStatus:Lo.V1beta1CertificateSigningRequestStatus,V1beta1ClusterRole:Uo.V1beta1ClusterRole,V1beta1ClusterRoleBinding:Qo.V1beta1ClusterRoleBinding,V1beta1ClusterRoleBindingList:Ho.V1beta1ClusterRoleBindingList,V1beta1ClusterRoleList:Ko.V1beta1ClusterRoleList,V1beta1CronJob:Go.V1beta1CronJob,V1beta1CronJobList:Wo.V1beta1CronJobList,V1beta1CronJobSpec:Fo.V1beta1CronJobSpec,V1beta1CronJobStatus:Jo.V1beta1CronJobStatus,V1beta1CustomResourceColumnDefinition:Yo.V1beta1CustomResourceColumnDefinition,V1beta1CustomResourceConversion:Xo.V1beta1CustomResourceConversion,V1beta1CustomResourceDefinition:Zo.V1beta1CustomResourceDefinition,V1beta1CustomResourceDefinitionCondition:$o.V1beta1CustomResourceDefinitionCondition,V1beta1CustomResourceDefinitionList:eu.V1beta1CustomResourceDefinitionList,V1beta1CustomResourceDefinitionNames:tu.V1beta1CustomResourceDefinitionNames,V1beta1CustomResourceDefinitionSpec:iu.V1beta1CustomResourceDefinitionSpec,V1beta1CustomResourceDefinitionStatus:nu.V1beta1CustomResourceDefinitionStatus,V1beta1CustomResourceDefinitionVersion:ru.V1beta1CustomResourceDefinitionVersion,V1beta1CustomResourceSubresourceScale:su.V1beta1CustomResourceSubresourceScale,V1beta1CustomResourceSubresources:au.V1beta1CustomResourceSubresources,V1beta1CustomResourceValidation:ou.V1beta1CustomResourceValidation,V1beta1Endpoint:uu.V1beta1Endpoint,V1beta1EndpointConditions:cu.V1beta1EndpointConditions,V1beta1EndpointPort:lu.V1beta1EndpointPort,V1beta1EndpointSlice:pu.V1beta1EndpointSlice,V1beta1EndpointSliceList:du.V1beta1EndpointSliceList,V1beta1Event:fu.V1beta1Event,V1beta1EventList:hu.V1beta1EventList,V1beta1EventSeries:mu.V1beta1EventSeries,V1beta1Eviction:bu.V1beta1Eviction,V1beta1ExternalDocumentation:gu.V1beta1ExternalDocumentation,V1beta1FSGroupStrategyOptions:yu.V1beta1FSGroupStrategyOptions,V1beta1FlowDistinguisherMethod:Su.V1beta1FlowDistinguisherMethod,V1beta1FlowSchema:vu.V1beta1FlowSchema,V1beta1FlowSchemaCondition:wu.V1beta1FlowSchemaCondition,V1beta1FlowSchemaList:ju.V1beta1FlowSchemaList,V1beta1FlowSchemaSpec:zu.V1beta1FlowSchemaSpec,V1beta1FlowSchemaStatus:Ou.V1beta1FlowSchemaStatus,V1beta1GroupSubject:ku.V1beta1GroupSubject,V1beta1HostPortRange:Cu.V1beta1HostPortRange,V1beta1IDRange:Tu.V1beta1IDRange,V1beta1IngressClass:_u.V1beta1IngressClass,V1beta1IngressClassList:Au.V1beta1IngressClassList,V1beta1IngressClassSpec:Eu.V1beta1IngressClassSpec,V1beta1JSONSchemaProps:Ru.V1beta1JSONSchemaProps,V1beta1JobTemplateSpec:xu.V1beta1JobTemplateSpec,V1beta1Lease:Nu.V1beta1Lease,V1beta1LeaseList:Vu.V1beta1LeaseList,V1beta1LeaseSpec:Pu.V1beta1LeaseSpec,V1beta1LimitResponse:Mu.V1beta1LimitResponse,V1beta1LimitedPriorityLevelConfiguration:Bu.V1beta1LimitedPriorityLevelConfiguration,V1beta1LocalSubjectAccessReview:Iu.V1beta1LocalSubjectAccessReview,V1beta1MutatingWebhook:Du.V1beta1MutatingWebhook,V1beta1MutatingWebhookConfiguration:qu.V1beta1MutatingWebhookConfiguration,V1beta1MutatingWebhookConfigurationList:Lu.V1beta1MutatingWebhookConfigurationList,V1beta1NonResourceAttributes:Uu.V1beta1NonResourceAttributes,V1beta1NonResourcePolicyRule:Qu.V1beta1NonResourcePolicyRule,V1beta1NonResourceRule:Hu.V1beta1NonResourceRule,V1beta1Overhead:Ku.V1beta1Overhead,V1beta1PodDisruptionBudget:Gu.V1beta1PodDisruptionBudget,V1beta1PodDisruptionBudgetList:Wu.V1beta1PodDisruptionBudgetList,V1beta1PodDisruptionBudgetSpec:Fu.V1beta1PodDisruptionBudgetSpec,V1beta1PodDisruptionBudgetStatus:Ju.V1beta1PodDisruptionBudgetStatus,V1beta1PodSecurityPolicy:Yu.V1beta1PodSecurityPolicy,V1beta1PodSecurityPolicyList:Xu.V1beta1PodSecurityPolicyList,V1beta1PodSecurityPolicySpec:Zu.V1beta1PodSecurityPolicySpec,V1beta1PolicyRule:$u.V1beta1PolicyRule,V1beta1PolicyRulesWithSubjects:ec.V1beta1PolicyRulesWithSubjects,V1beta1PriorityClass:tc.V1beta1PriorityClass,V1beta1PriorityClassList:ic.V1beta1PriorityClassList,V1beta1PriorityLevelConfiguration:nc.V1beta1PriorityLevelConfiguration,V1beta1PriorityLevelConfigurationCondition:rc.V1beta1PriorityLevelConfigurationCondition,V1beta1PriorityLevelConfigurationList:sc.V1beta1PriorityLevelConfigurationList,V1beta1PriorityLevelConfigurationReference:ac.V1beta1PriorityLevelConfigurationReference,V1beta1PriorityLevelConfigurationSpec:oc.V1beta1PriorityLevelConfigurationSpec,V1beta1PriorityLevelConfigurationStatus:uc.V1beta1PriorityLevelConfigurationStatus,V1beta1QueuingConfiguration:cc.V1beta1QueuingConfiguration,V1beta1ResourceAttributes:lc.V1beta1ResourceAttributes,V1beta1ResourcePolicyRule:pc.V1beta1ResourcePolicyRule,V1beta1ResourceRule:dc.V1beta1ResourceRule,V1beta1Role:fc.V1beta1Role,V1beta1RoleBinding:hc.V1beta1RoleBinding,V1beta1RoleBindingList:mc.V1beta1RoleBindingList,V1beta1RoleList:bc.V1beta1RoleList,V1beta1RoleRef:gc.V1beta1RoleRef,V1beta1RuleWithOperations:yc.V1beta1RuleWithOperations,V1beta1RunAsGroupStrategyOptions:Sc.V1beta1RunAsGroupStrategyOptions,V1beta1RunAsUserStrategyOptions:vc.V1beta1RunAsUserStrategyOptions,V1beta1RuntimeClass:wc.V1beta1RuntimeClass,V1beta1RuntimeClassList:jc.V1beta1RuntimeClassList,V1beta1RuntimeClassStrategyOptions:zc.V1beta1RuntimeClassStrategyOptions,V1beta1SELinuxStrategyOptions:Oc.V1beta1SELinuxStrategyOptions,V1beta1Scheduling:kc.V1beta1Scheduling,V1beta1SelfSubjectAccessReview:Cc.V1beta1SelfSubjectAccessReview,V1beta1SelfSubjectAccessReviewSpec:Tc.V1beta1SelfSubjectAccessReviewSpec,V1beta1SelfSubjectRulesReview:_c.V1beta1SelfSubjectRulesReview,V1beta1SelfSubjectRulesReviewSpec:Ac.V1beta1SelfSubjectRulesReviewSpec,V1beta1ServiceAccountSubject:Ec.V1beta1ServiceAccountSubject,V1beta1StorageClass:Rc.V1beta1StorageClass,V1beta1StorageClassList:xc.V1beta1StorageClassList,V1beta1SubjectAccessReview:Nc.V1beta1SubjectAccessReview,V1beta1SubjectAccessReviewSpec:Vc.V1beta1SubjectAccessReviewSpec,V1beta1SubjectAccessReviewStatus:Pc.V1beta1SubjectAccessReviewStatus,V1beta1SubjectRulesReviewStatus:Mc.V1beta1SubjectRulesReviewStatus,V1beta1SupplementalGroupsStrategyOptions:Bc.V1beta1SupplementalGroupsStrategyOptions,V1beta1TokenRequest:Ic.V1beta1TokenRequest,V1beta1TokenReview:Dc.V1beta1TokenReview,V1beta1TokenReviewSpec:qc.V1beta1TokenReviewSpec,V1beta1TokenReviewStatus:Lc.V1beta1TokenReviewStatus,V1beta1UserInfo:Uc.V1beta1UserInfo,V1beta1UserSubject:Qc.V1beta1UserSubject,V1beta1ValidatingWebhook:Hc.V1beta1ValidatingWebhook,V1beta1ValidatingWebhookConfiguration:Kc.V1beta1ValidatingWebhookConfiguration,V1beta1ValidatingWebhookConfigurationList:Gc.V1beta1ValidatingWebhookConfigurationList,V1beta1VolumeAttachment:Wc.V1beta1VolumeAttachment,V1beta1VolumeAttachmentList:Fc.V1beta1VolumeAttachmentList,V1beta1VolumeAttachmentSource:Jc.V1beta1VolumeAttachmentSource,V1beta1VolumeAttachmentSpec:Yc.V1beta1VolumeAttachmentSpec,V1beta1VolumeAttachmentStatus:Xc.V1beta1VolumeAttachmentStatus,V1beta1VolumeError:Zc.V1beta1VolumeError,V1beta1VolumeNodeResources:$c.V1beta1VolumeNodeResources,V2alpha1CronJob:el.V2alpha1CronJob,V2alpha1CronJobList:tl.V2alpha1CronJobList,V2alpha1CronJobSpec:il.V2alpha1CronJobSpec,V2alpha1CronJobStatus:nl.V2alpha1CronJobStatus,V2alpha1JobTemplateSpec:rl.V2alpha1JobTemplateSpec,V2beta1ContainerResourceMetricSource:sl.V2beta1ContainerResourceMetricSource,V2beta1ContainerResourceMetricStatus:al.V2beta1ContainerResourceMetricStatus,V2beta1CrossVersionObjectReference:ol.V2beta1CrossVersionObjectReference,V2beta1ExternalMetricSource:ul.V2beta1ExternalMetricSource,V2beta1ExternalMetricStatus:cl.V2beta1ExternalMetricStatus,V2beta1HorizontalPodAutoscaler:ll.V2beta1HorizontalPodAutoscaler,V2beta1HorizontalPodAutoscalerCondition:pl.V2beta1HorizontalPodAutoscalerCondition,V2beta1HorizontalPodAutoscalerList:dl.V2beta1HorizontalPodAutoscalerList,V2beta1HorizontalPodAutoscalerSpec:fl.V2beta1HorizontalPodAutoscalerSpec,V2beta1HorizontalPodAutoscalerStatus:hl.V2beta1HorizontalPodAutoscalerStatus,V2beta1MetricSpec:ml.V2beta1MetricSpec,V2beta1MetricStatus:bl.V2beta1MetricStatus,V2beta1ObjectMetricSource:gl.V2beta1ObjectMetricSource,V2beta1ObjectMetricStatus:yl.V2beta1ObjectMetricStatus,V2beta1PodsMetricSource:Sl.V2beta1PodsMetricSource,V2beta1PodsMetricStatus:vl.V2beta1PodsMetricStatus,V2beta1ResourceMetricSource:wl.V2beta1ResourceMetricSource,V2beta1ResourceMetricStatus:jl.V2beta1ResourceMetricStatus,V2beta2ContainerResourceMetricSource:zl.V2beta2ContainerResourceMetricSource,V2beta2ContainerResourceMetricStatus:Ol.V2beta2ContainerResourceMetricStatus,V2beta2CrossVersionObjectReference:kl.V2beta2CrossVersionObjectReference,V2beta2ExternalMetricSource:Cl.V2beta2ExternalMetricSource,V2beta2ExternalMetricStatus:Tl.V2beta2ExternalMetricStatus,V2beta2HPAScalingPolicy:_l.V2beta2HPAScalingPolicy,V2beta2HPAScalingRules:Al.V2beta2HPAScalingRules,V2beta2HorizontalPodAutoscaler:El.V2beta2HorizontalPodAutoscaler,V2beta2HorizontalPodAutoscalerBehavior:Rl.V2beta2HorizontalPodAutoscalerBehavior,V2beta2HorizontalPodAutoscalerCondition:xl.V2beta2HorizontalPodAutoscalerCondition,V2beta2HorizontalPodAutoscalerList:Nl.V2beta2HorizontalPodAutoscalerList,V2beta2HorizontalPodAutoscalerSpec:Vl.V2beta2HorizontalPodAutoscalerSpec,V2beta2HorizontalPodAutoscalerStatus:Pl.V2beta2HorizontalPodAutoscalerStatus,V2beta2MetricIdentifier:Ml.V2beta2MetricIdentifier,V2beta2MetricSpec:Bl.V2beta2MetricSpec,V2beta2MetricStatus:Il.V2beta2MetricStatus,V2beta2MetricTarget:Dl.V2beta2MetricTarget,V2beta2MetricValueStatus:ql.V2beta2MetricValueStatus,V2beta2ObjectMetricSource:Ll.V2beta2ObjectMetricSource,V2beta2ObjectMetricStatus:Ul.V2beta2ObjectMetricStatus,V2beta2PodsMetricSource:Ql.V2beta2PodsMetricSource,V2beta2PodsMetricStatus:Hl.V2beta2PodsMetricStatus,V2beta2ResourceMetricSource:Kl.V2beta2ResourceMetricSource,V2beta2ResourceMetricStatus:Gl.V2beta2ResourceMetricStatus,VersionInfo:Wl.VersionInfo};class ObjectSerializer{static findCorrectType(e,t){if(e==undefined){return t}else if(Fl.indexOf(t.toLowerCase())!==-1){return t}else if(t==="Date"){return t}else{if(Jl[t]){return t}if(!Yl[t]){return t}let n=Yl[t].discriminator;if(n==null){return t}else{if(e[n]){var i=e[n];if(Yl[i]){return i}else{return t}}else{return t}}}}static serialize(e,t){if(e==undefined){return e}else if(Fl.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let r=e[t];n.push(ObjectSerializer.serialize(r,i))}return n}else if(t==="Date"){return e.toISOString()}else{if(Jl[t]){return e}if(!Yl[t]){return e}t=this.findCorrectType(e,t);let i=Yl[t].getAttributeTypeMap();let n={};for(let t in i){let r=i[t];n[r.baseName]=ObjectSerializer.serialize(e[r.name],r.type)}return n}}static deserialize(e,t){t=ObjectSerializer.findCorrectType(e,t);if(e==undefined){return e}else if(Fl.indexOf(t.toLowerCase())!==-1){return e}else if(t.lastIndexOf("Array<",0)===0){let i=t.replace("Array<","");i=i.substring(0,i.length-1);let n=[];for(let t in e){let r=e[t];n.push(ObjectSerializer.deserialize(r,i))}return n}else if(t==="Date"){return new Date(e)}else{if(Jl[t]){return e}if(!Yl[t]){return e}let i=new Yl[t];let n=Yl[t].getAttributeTypeMap();for(let t in n){let r=n[t];i[r.name]=ObjectSerializer.deserialize(e[r.baseName],r.type)}return i}}}t.ObjectSerializer=ObjectSerializer;class HttpBasicAuth{constructor(){this.username="";this.password=""}applyToRequest(e){e.auth={username:this.username,password:this.password}}}t.HttpBasicAuth=HttpBasicAuth;class HttpBearerAuth{constructor(){this.accessToken=""}applyToRequest(e){if(e&&e.headers){const t=typeof this.accessToken==="function"?this.accessToken():this.accessToken;e.headers["Authorization"]="Bearer "+t}}}t.HttpBearerAuth=HttpBearerAuth;class ApiKeyAuth{constructor(e,t){this.location=e;this.paramName=t;this.apiKey=""}applyToRequest(e){if(this.location=="query"){e.qs[this.paramName]=this.apiKey}else if(this.location=="header"&&e&&e.headers){e.headers[this.paramName]=this.apiKey}else if(this.location=="cookie"&&e&&e.headers){if(e.headers["Cookie"]){e.headers["Cookie"]+="; "+this.paramName+"="+encodeURIComponent(this.apiKey)}else{e.headers["Cookie"]=this.paramName+"="+encodeURIComponent(this.apiKey)}}}}t.ApiKeyAuth=ApiKeyAuth;class OAuth{constructor(){this.accessToken=""}applyToRequest(e){if(e&&e.headers){e.headers["Authorization"]="Bearer "+this.accessToken}}}t.OAuth=OAuth;class VoidAuth{constructor(){this.username="";this.password=""}applyToRequest(e){}}t.VoidAuth=VoidAuth},27197:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1HTTPIngressPath=void 0;class NetworkingV1beta1HTTPIngressPath{static getAttributeTypeMap(){return NetworkingV1beta1HTTPIngressPath.attributeTypeMap}}t.NetworkingV1beta1HTTPIngressPath=NetworkingV1beta1HTTPIngressPath;NetworkingV1beta1HTTPIngressPath.discriminator=undefined;NetworkingV1beta1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"NetworkingV1beta1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},41668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1HTTPIngressRuleValue=void 0;class NetworkingV1beta1HTTPIngressRuleValue{static getAttributeTypeMap(){return NetworkingV1beta1HTTPIngressRuleValue.attributeTypeMap}}t.NetworkingV1beta1HTTPIngressRuleValue=NetworkingV1beta1HTTPIngressRuleValue;NetworkingV1beta1HTTPIngressRuleValue.discriminator=undefined;NetworkingV1beta1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},64660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1Ingress=void 0;class NetworkingV1beta1Ingress{static getAttributeTypeMap(){return NetworkingV1beta1Ingress.attributeTypeMap}}t.NetworkingV1beta1Ingress=NetworkingV1beta1Ingress;NetworkingV1beta1Ingress.discriminator=undefined;NetworkingV1beta1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"NetworkingV1beta1IngressSpec"},{name:"status",baseName:"status",type:"NetworkingV1beta1IngressStatus"}]},36453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressBackend=void 0;class NetworkingV1beta1IngressBackend{static getAttributeTypeMap(){return NetworkingV1beta1IngressBackend.attributeTypeMap}}t.NetworkingV1beta1IngressBackend=NetworkingV1beta1IngressBackend;NetworkingV1beta1IngressBackend.discriminator=undefined;NetworkingV1beta1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"servicePort",baseName:"servicePort",type:"object"}]},95951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressList=void 0;class NetworkingV1beta1IngressList{static getAttributeTypeMap(){return NetworkingV1beta1IngressList.attributeTypeMap}}t.NetworkingV1beta1IngressList=NetworkingV1beta1IngressList;NetworkingV1beta1IngressList.discriminator=undefined;NetworkingV1beta1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},4157:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressRule=void 0;class NetworkingV1beta1IngressRule{static getAttributeTypeMap(){return NetworkingV1beta1IngressRule.attributeTypeMap}}t.NetworkingV1beta1IngressRule=NetworkingV1beta1IngressRule;NetworkingV1beta1IngressRule.discriminator=undefined;NetworkingV1beta1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"NetworkingV1beta1HTTPIngressRuleValue"}]},61752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressSpec=void 0;class NetworkingV1beta1IngressSpec{static getAttributeTypeMap(){return NetworkingV1beta1IngressSpec.attributeTypeMap}}t.NetworkingV1beta1IngressSpec=NetworkingV1beta1IngressSpec;NetworkingV1beta1IngressSpec.discriminator=undefined;NetworkingV1beta1IngressSpec.attributeTypeMap=[{name:"backend",baseName:"backend",type:"NetworkingV1beta1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},50369:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressStatus=void 0;class NetworkingV1beta1IngressStatus{static getAttributeTypeMap(){return NetworkingV1beta1IngressStatus.attributeTypeMap}}t.NetworkingV1beta1IngressStatus=NetworkingV1beta1IngressStatus;NetworkingV1beta1IngressStatus.discriminator=undefined;NetworkingV1beta1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},13517:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NetworkingV1beta1IngressTLS=void 0;class NetworkingV1beta1IngressTLS{static getAttributeTypeMap(){return NetworkingV1beta1IngressTLS.attributeTypeMap}}t.NetworkingV1beta1IngressTLS=NetworkingV1beta1IngressTLS;NetworkingV1beta1IngressTLS.discriminator=undefined;NetworkingV1beta1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},19573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacV1alpha1Subject=void 0;class RbacV1alpha1Subject{static getAttributeTypeMap(){return RbacV1alpha1Subject.attributeTypeMap}}t.RbacV1alpha1Subject=RbacV1alpha1Subject;RbacV1alpha1Subject.discriminator=undefined;RbacV1alpha1Subject.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},99229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.RbacV1beta1Subject=void 0;class RbacV1beta1Subject{static getAttributeTypeMap(){return RbacV1beta1Subject.attributeTypeMap}}t.RbacV1beta1Subject=RbacV1beta1Subject;RbacV1beta1Subject.discriminator=undefined;RbacV1beta1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},25958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.StorageV1TokenRequest=void 0;class StorageV1TokenRequest{static getAttributeTypeMap(){return StorageV1TokenRequest.attributeTypeMap}}t.StorageV1TokenRequest=StorageV1TokenRequest;StorageV1TokenRequest.discriminator=undefined;StorageV1TokenRequest.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},44481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIGroup=void 0;class V1APIGroup{static getAttributeTypeMap(){return V1APIGroup.attributeTypeMap}}t.V1APIGroup=V1APIGroup;V1APIGroup.discriminator=undefined;V1APIGroup.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"preferredVersion",baseName:"preferredVersion",type:"V1GroupVersionForDiscovery"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}]},52906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIGroupList=void 0;class V1APIGroupList{static getAttributeTypeMap(){return V1APIGroupList.attributeTypeMap}}t.V1APIGroupList=V1APIGroupList;V1APIGroupList.discriminator=undefined;V1APIGroupList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groups",baseName:"groups",type:"Array"},{name:"kind",baseName:"kind",type:"string"}]},89033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIResource=void 0;class V1APIResource{static getAttributeTypeMap(){return V1APIResource.attributeTypeMap}}t.V1APIResource=V1APIResource;V1APIResource.discriminator=undefined;V1APIResource.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaced",baseName:"namespaced",type:"boolean"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singularName",baseName:"singularName",type:"string"},{name:"storageVersionHash",baseName:"storageVersionHash",type:"string"},{name:"verbs",baseName:"verbs",type:"Array"},{name:"version",baseName:"version",type:"string"}]},5454:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIResourceList=void 0;class V1APIResourceList{static getAttributeTypeMap(){return V1APIResourceList.attributeTypeMap}}t.V1APIResourceList=V1APIResourceList;V1APIResourceList.discriminator=undefined;V1APIResourceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"resources",baseName:"resources",type:"Array"}]},99042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIService=void 0;class V1APIService{static getAttributeTypeMap(){return V1APIService.attributeTypeMap}}t.V1APIService=V1APIService;V1APIService.discriminator=undefined;V1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1APIServiceSpec"},{name:"status",baseName:"status",type:"V1APIServiceStatus"}]},58352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceCondition=void 0;class V1APIServiceCondition{static getAttributeTypeMap(){return V1APIServiceCondition.attributeTypeMap}}t.V1APIServiceCondition=V1APIServiceCondition;V1APIServiceCondition.discriminator=undefined;V1APIServiceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},87198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceList=void 0;class V1APIServiceList{static getAttributeTypeMap(){return V1APIServiceList.attributeTypeMap}}t.V1APIServiceList=V1APIServiceList;V1APIServiceList.discriminator=undefined;V1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},61496:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceSpec=void 0;class V1APIServiceSpec{static getAttributeTypeMap(){return V1APIServiceSpec.attributeTypeMap}}t.V1APIServiceSpec=V1APIServiceSpec;V1APIServiceSpec.discriminator=undefined;V1APIServiceSpec.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"group",baseName:"group",type:"string"},{name:"groupPriorityMinimum",baseName:"groupPriorityMinimum",type:"number"},{name:"insecureSkipTLSVerify",baseName:"insecureSkipTLSVerify",type:"boolean"},{name:"service",baseName:"service",type:"ApiregistrationV1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}]},17883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIServiceStatus=void 0;class V1APIServiceStatus{static getAttributeTypeMap(){return V1APIServiceStatus.attributeTypeMap}}t.V1APIServiceStatus=V1APIServiceStatus;V1APIServiceStatus.discriminator=undefined;V1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},93135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1APIVersions=void 0;class V1APIVersions{static getAttributeTypeMap(){return V1APIVersions.attributeTypeMap}}t.V1APIVersions=V1APIVersions;V1APIVersions.discriminator=undefined;V1APIVersions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"serverAddressByClientCIDRs",baseName:"serverAddressByClientCIDRs",type:"Array"},{name:"versions",baseName:"versions",type:"Array"}]},39808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AWSElasticBlockStoreVolumeSource=void 0;class V1AWSElasticBlockStoreVolumeSource{static getAttributeTypeMap(){return V1AWSElasticBlockStoreVolumeSource.attributeTypeMap}}t.V1AWSElasticBlockStoreVolumeSource=V1AWSElasticBlockStoreVolumeSource;V1AWSElasticBlockStoreVolumeSource.discriminator=undefined;V1AWSElasticBlockStoreVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}]},61957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Affinity=void 0;class V1Affinity{static getAttributeTypeMap(){return V1Affinity.attributeTypeMap}}t.V1Affinity=V1Affinity;V1Affinity.discriminator=undefined;V1Affinity.attributeTypeMap=[{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1NodeAffinity"},{name:"podAffinity",baseName:"podAffinity",type:"V1PodAffinity"},{name:"podAntiAffinity",baseName:"podAntiAffinity",type:"V1PodAntiAffinity"}]},90312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AggregationRule=void 0;class V1AggregationRule{static getAttributeTypeMap(){return V1AggregationRule.attributeTypeMap}}t.V1AggregationRule=V1AggregationRule;V1AggregationRule.discriminator=undefined;V1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},97069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AttachedVolume=void 0;class V1AttachedVolume{static getAttributeTypeMap(){return V1AttachedVolume.attributeTypeMap}}t.V1AttachedVolume=V1AttachedVolume;V1AttachedVolume.discriminator=undefined;V1AttachedVolume.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}]},91312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureDiskVolumeSource=void 0;class V1AzureDiskVolumeSource{static getAttributeTypeMap(){return V1AzureDiskVolumeSource.attributeTypeMap}}t.V1AzureDiskVolumeSource=V1AzureDiskVolumeSource;V1AzureDiskVolumeSource.discriminator=undefined;V1AzureDiskVolumeSource.attributeTypeMap=[{name:"cachingMode",baseName:"cachingMode",type:"string"},{name:"diskName",baseName:"diskName",type:"string"},{name:"diskURI",baseName:"diskURI",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},23694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureFilePersistentVolumeSource=void 0;class V1AzureFilePersistentVolumeSource{static getAttributeTypeMap(){return V1AzureFilePersistentVolumeSource.attributeTypeMap}}t.V1AzureFilePersistentVolumeSource=V1AzureFilePersistentVolumeSource;V1AzureFilePersistentVolumeSource.discriminator=undefined;V1AzureFilePersistentVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"secretNamespace",baseName:"secretNamespace",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}]},95073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1AzureFileVolumeSource=void 0;class V1AzureFileVolumeSource{static getAttributeTypeMap(){return V1AzureFileVolumeSource.attributeTypeMap}}t.V1AzureFileVolumeSource=V1AzureFileVolumeSource;V1AzureFileVolumeSource.discriminator=undefined;V1AzureFileVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"},{name:"shareName",baseName:"shareName",type:"string"}]},48551:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Binding=void 0;class V1Binding{static getAttributeTypeMap(){return V1Binding.attributeTypeMap}}t.V1Binding=V1Binding;V1Binding.discriminator=undefined;V1Binding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"target",baseName:"target",type:"V1ObjectReference"}]},68849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1BoundObjectReference=void 0;class V1BoundObjectReference{static getAttributeTypeMap(){return V1BoundObjectReference.attributeTypeMap}}t.V1BoundObjectReference=V1BoundObjectReference;V1BoundObjectReference.discriminator=undefined;V1BoundObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},34144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriver=void 0;class V1CSIDriver{static getAttributeTypeMap(){return V1CSIDriver.attributeTypeMap}}t.V1CSIDriver=V1CSIDriver;V1CSIDriver.discriminator=undefined;V1CSIDriver.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CSIDriverSpec"}]},84881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriverList=void 0;class V1CSIDriverList{static getAttributeTypeMap(){return V1CSIDriverList.attributeTypeMap}}t.V1CSIDriverList=V1CSIDriverList;V1CSIDriverList.discriminator=undefined;V1CSIDriverList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},11582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIDriverSpec=void 0;class V1CSIDriverSpec{static getAttributeTypeMap(){return V1CSIDriverSpec.attributeTypeMap}}t.V1CSIDriverSpec=V1CSIDriverSpec;V1CSIDriverSpec.discriminator=undefined;V1CSIDriverSpec.attributeTypeMap=[{name:"attachRequired",baseName:"attachRequired",type:"boolean"},{name:"fsGroupPolicy",baseName:"fsGroupPolicy",type:"string"},{name:"podInfoOnMount",baseName:"podInfoOnMount",type:"boolean"},{name:"requiresRepublish",baseName:"requiresRepublish",type:"boolean"},{name:"storageCapacity",baseName:"storageCapacity",type:"boolean"},{name:"tokenRequests",baseName:"tokenRequests",type:"Array"},{name:"volumeLifecycleModes",baseName:"volumeLifecycleModes",type:"Array"}]},74315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINode=void 0;class V1CSINode{static getAttributeTypeMap(){return V1CSINode.attributeTypeMap}}t.V1CSINode=V1CSINode;V1CSINode.discriminator=undefined;V1CSINode.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CSINodeSpec"}]},90288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeDriver=void 0;class V1CSINodeDriver{static getAttributeTypeMap(){return V1CSINodeDriver.attributeTypeMap}}t.V1CSINodeDriver=V1CSINodeDriver;V1CSINodeDriver.discriminator=undefined;V1CSINodeDriver.attributeTypeMap=[{name:"allocatable",baseName:"allocatable",type:"V1VolumeNodeResources"},{name:"name",baseName:"name",type:"string"},{name:"nodeID",baseName:"nodeID",type:"string"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"}]},24000:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeList=void 0;class V1CSINodeList{static getAttributeTypeMap(){return V1CSINodeList.attributeTypeMap}}t.V1CSINodeList=V1CSINodeList;V1CSINodeList.discriminator=undefined;V1CSINodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},93142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSINodeSpec=void 0;class V1CSINodeSpec{static getAttributeTypeMap(){return V1CSINodeSpec.attributeTypeMap}}t.V1CSINodeSpec=V1CSINodeSpec;V1CSINodeSpec.discriminator=undefined;V1CSINodeSpec.attributeTypeMap=[{name:"drivers",baseName:"drivers",type:"Array"}]},98367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIPersistentVolumeSource=void 0;class V1CSIPersistentVolumeSource{static getAttributeTypeMap(){return V1CSIPersistentVolumeSource.attributeTypeMap}}t.V1CSIPersistentVolumeSource=V1CSIPersistentVolumeSource;V1CSIPersistentVolumeSource.discriminator=undefined;V1CSIPersistentVolumeSource.attributeTypeMap=[{name:"controllerExpandSecretRef",baseName:"controllerExpandSecretRef",type:"V1SecretReference"},{name:"controllerPublishSecretRef",baseName:"controllerPublishSecretRef",type:"V1SecretReference"},{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"nodePublishSecretRef",baseName:"nodePublishSecretRef",type:"V1SecretReference"},{name:"nodeStageSecretRef",baseName:"nodeStageSecretRef",type:"V1SecretReference"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeAttributes",baseName:"volumeAttributes",type:"{ [key: string]: string; }"},{name:"volumeHandle",baseName:"volumeHandle",type:"string"}]},87598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CSIVolumeSource=void 0;class V1CSIVolumeSource{static getAttributeTypeMap(){return V1CSIVolumeSource.attributeTypeMap}}t.V1CSIVolumeSource=V1CSIVolumeSource;V1CSIVolumeSource.discriminator=undefined;V1CSIVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"nodePublishSecretRef",baseName:"nodePublishSecretRef",type:"V1LocalObjectReference"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeAttributes",baseName:"volumeAttributes",type:"{ [key: string]: string; }"}]},82975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Capabilities=void 0;class V1Capabilities{static getAttributeTypeMap(){return V1Capabilities.attributeTypeMap}}t.V1Capabilities=V1Capabilities;V1Capabilities.discriminator=undefined;V1Capabilities.attributeTypeMap=[{name:"add",baseName:"add",type:"Array"},{name:"drop",baseName:"drop",type:"Array"}]},14268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CephFSPersistentVolumeSource=void 0;class V1CephFSPersistentVolumeSource{static getAttributeTypeMap(){return V1CephFSPersistentVolumeSource.attributeTypeMap}}t.V1CephFSPersistentVolumeSource=V1CephFSPersistentVolumeSource;V1CephFSPersistentVolumeSource.discriminator=undefined;V1CephFSPersistentVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}]},84957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CephFSVolumeSource=void 0;class V1CephFSVolumeSource{static getAttributeTypeMap(){return V1CephFSVolumeSource.attributeTypeMap}}t.V1CephFSVolumeSource=V1CephFSVolumeSource;V1CephFSVolumeSource.discriminator=undefined;V1CephFSVolumeSource.attributeTypeMap=[{name:"monitors",baseName:"monitors",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretFile",baseName:"secretFile",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}]},99084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequest=void 0;class V1CertificateSigningRequest{static getAttributeTypeMap(){return V1CertificateSigningRequest.attributeTypeMap}}t.V1CertificateSigningRequest=V1CertificateSigningRequest;V1CertificateSigningRequest.discriminator=undefined;V1CertificateSigningRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CertificateSigningRequestSpec"},{name:"status",baseName:"status",type:"V1CertificateSigningRequestStatus"}]},92932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestCondition=void 0;class V1CertificateSigningRequestCondition{static getAttributeTypeMap(){return V1CertificateSigningRequestCondition.attributeTypeMap}}t.V1CertificateSigningRequestCondition=V1CertificateSigningRequestCondition;V1CertificateSigningRequestCondition.discriminator=undefined;V1CertificateSigningRequestCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},31530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestList=void 0;class V1CertificateSigningRequestList{static getAttributeTypeMap(){return V1CertificateSigningRequestList.attributeTypeMap}}t.V1CertificateSigningRequestList=V1CertificateSigningRequestList;V1CertificateSigningRequestList.discriminator=undefined;V1CertificateSigningRequestList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},37759:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestSpec=void 0;class V1CertificateSigningRequestSpec{static getAttributeTypeMap(){return V1CertificateSigningRequestSpec.attributeTypeMap}}t.V1CertificateSigningRequestSpec=V1CertificateSigningRequestSpec;V1CertificateSigningRequestSpec.discriminator=undefined;V1CertificateSigningRequestSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"request",baseName:"request",type:"string"},{name:"signerName",baseName:"signerName",type:"string"},{name:"uid",baseName:"uid",type:"string"},{name:"usages",baseName:"usages",type:"Array"},{name:"username",baseName:"username",type:"string"}]},38285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CertificateSigningRequestStatus=void 0;class V1CertificateSigningRequestStatus{static getAttributeTypeMap(){return V1CertificateSigningRequestStatus.attributeTypeMap}}t.V1CertificateSigningRequestStatus=V1CertificateSigningRequestStatus;V1CertificateSigningRequestStatus.discriminator=undefined;V1CertificateSigningRequestStatus.attributeTypeMap=[{name:"certificate",baseName:"certificate",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"}]},41888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CinderPersistentVolumeSource=void 0;class V1CinderPersistentVolumeSource{static getAttributeTypeMap(){return V1CinderPersistentVolumeSource.attributeTypeMap}}t.V1CinderPersistentVolumeSource=V1CinderPersistentVolumeSource;V1CinderPersistentVolumeSource.discriminator=undefined;V1CinderPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"volumeID",baseName:"volumeID",type:"string"}]},19111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CinderVolumeSource=void 0;class V1CinderVolumeSource{static getAttributeTypeMap(){return V1CinderVolumeSource.attributeTypeMap}}t.V1CinderVolumeSource=V1CinderVolumeSource;V1CinderVolumeSource.discriminator=undefined;V1CinderVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeID",baseName:"volumeID",type:"string"}]},33913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClientIPConfig=void 0;class V1ClientIPConfig{static getAttributeTypeMap(){return V1ClientIPConfig.attributeTypeMap}}t.V1ClientIPConfig=V1ClientIPConfig;V1ClientIPConfig.discriminator=undefined;V1ClientIPConfig.attributeTypeMap=[{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},61458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRole=void 0;class V1ClusterRole{static getAttributeTypeMap(){return V1ClusterRole.attributeTypeMap}}t.V1ClusterRole=V1ClusterRole;V1ClusterRole.discriminator=undefined;V1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},32315:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleBinding=void 0;class V1ClusterRoleBinding{static getAttributeTypeMap(){return V1ClusterRoleBinding.attributeTypeMap}}t.V1ClusterRoleBinding=V1ClusterRoleBinding;V1ClusterRoleBinding.discriminator=undefined;V1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},21181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleBindingList=void 0;class V1ClusterRoleBindingList{static getAttributeTypeMap(){return V1ClusterRoleBindingList.attributeTypeMap}}t.V1ClusterRoleBindingList=V1ClusterRoleBindingList;V1ClusterRoleBindingList.discriminator=undefined;V1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},95532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ClusterRoleList=void 0;class V1ClusterRoleList{static getAttributeTypeMap(){return V1ClusterRoleList.attributeTypeMap}}t.V1ClusterRoleList=V1ClusterRoleList;V1ClusterRoleList.discriminator=undefined;V1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},30578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentCondition=void 0;class V1ComponentCondition{static getAttributeTypeMap(){return V1ComponentCondition.attributeTypeMap}}t.V1ComponentCondition=V1ComponentCondition;V1ComponentCondition.discriminator=undefined;V1ComponentCondition.attributeTypeMap=[{name:"error",baseName:"error",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},2047:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentStatus=void 0;class V1ComponentStatus{static getAttributeTypeMap(){return V1ComponentStatus.attributeTypeMap}}t.V1ComponentStatus=V1ComponentStatus;V1ComponentStatus.discriminator=undefined;V1ComponentStatus.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},38596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ComponentStatusList=void 0;class V1ComponentStatusList{static getAttributeTypeMap(){return V1ComponentStatusList.attributeTypeMap}}t.V1ComponentStatusList=V1ComponentStatusList;V1ComponentStatusList.discriminator=undefined;V1ComponentStatusList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},34990:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Condition=void 0;class V1Condition{static getAttributeTypeMap(){return V1Condition.attributeTypeMap}}t.V1Condition=V1Condition;V1Condition.discriminator=undefined;V1Condition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},42874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMap=void 0;class V1ConfigMap{static getAttributeTypeMap(){return V1ConfigMap.attributeTypeMap}}t.V1ConfigMap=V1ConfigMap;V1ConfigMap.discriminator=undefined;V1ConfigMap.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"binaryData",baseName:"binaryData",type:"{ [key: string]: string; }"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"immutable",baseName:"immutable",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},99685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapEnvSource=void 0;class V1ConfigMapEnvSource{static getAttributeTypeMap(){return V1ConfigMapEnvSource.attributeTypeMap}}t.V1ConfigMapEnvSource=V1ConfigMapEnvSource;V1ConfigMapEnvSource.discriminator=undefined;V1ConfigMapEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},62892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapKeySelector=void 0;class V1ConfigMapKeySelector{static getAttributeTypeMap(){return V1ConfigMapKeySelector.attributeTypeMap}}t.V1ConfigMapKeySelector=V1ConfigMapKeySelector;V1ConfigMapKeySelector.discriminator=undefined;V1ConfigMapKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},80512:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapList=void 0;class V1ConfigMapList{static getAttributeTypeMap(){return V1ConfigMapList.attributeTypeMap}}t.V1ConfigMapList=V1ConfigMapList;V1ConfigMapList.discriminator=undefined;V1ConfigMapList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapNodeConfigSource=void 0;class V1ConfigMapNodeConfigSource{static getAttributeTypeMap(){return V1ConfigMapNodeConfigSource.attributeTypeMap}}t.V1ConfigMapNodeConfigSource=V1ConfigMapNodeConfigSource;V1ConfigMapNodeConfigSource.discriminator=undefined;V1ConfigMapNodeConfigSource.attributeTypeMap=[{name:"kubeletConfigKey",baseName:"kubeletConfigKey",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},61682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapProjection=void 0;class V1ConfigMapProjection{static getAttributeTypeMap(){return V1ConfigMapProjection.attributeTypeMap}}t.V1ConfigMapProjection=V1ConfigMapProjection;V1ConfigMapProjection.discriminator=undefined;V1ConfigMapProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},59708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ConfigMapVolumeSource=void 0;class V1ConfigMapVolumeSource{static getAttributeTypeMap(){return V1ConfigMapVolumeSource.attributeTypeMap}}t.V1ConfigMapVolumeSource=V1ConfigMapVolumeSource;V1ConfigMapVolumeSource.discriminator=undefined;V1ConfigMapVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},52865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Container=void 0;class V1Container{static getAttributeTypeMap(){return V1Container.attributeTypeMap}}t.V1Container=V1Container;V1Container.discriminator=undefined;V1Container.attributeTypeMap=[{name:"args",baseName:"args",type:"Array"},{name:"command",baseName:"command",type:"Array"},{name:"env",baseName:"env",type:"Array"},{name:"envFrom",baseName:"envFrom",type:"Array"},{name:"image",baseName:"image",type:"string"},{name:"imagePullPolicy",baseName:"imagePullPolicy",type:"string"},{name:"lifecycle",baseName:"lifecycle",type:"V1Lifecycle"},{name:"livenessProbe",baseName:"livenessProbe",type:"V1Probe"},{name:"name",baseName:"name",type:"string"},{name:"ports",baseName:"ports",type:"Array"},{name:"readinessProbe",baseName:"readinessProbe",type:"V1Probe"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"securityContext",baseName:"securityContext",type:"V1SecurityContext"},{name:"startupProbe",baseName:"startupProbe",type:"V1Probe"},{name:"stdin",baseName:"stdin",type:"boolean"},{name:"stdinOnce",baseName:"stdinOnce",type:"boolean"},{name:"terminationMessagePath",baseName:"terminationMessagePath",type:"string"},{name:"terminationMessagePolicy",baseName:"terminationMessagePolicy",type:"string"},{name:"tty",baseName:"tty",type:"boolean"},{name:"volumeDevices",baseName:"volumeDevices",type:"Array"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array"},{name:"workingDir",baseName:"workingDir",type:"string"}]},13501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerImage=void 0;class V1ContainerImage{static getAttributeTypeMap(){return V1ContainerImage.attributeTypeMap}}t.V1ContainerImage=V1ContainerImage;V1ContainerImage.discriminator=undefined;V1ContainerImage.attributeTypeMap=[{name:"names",baseName:"names",type:"Array"},{name:"sizeBytes",baseName:"sizeBytes",type:"number"}]},50217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerPort=void 0;class V1ContainerPort{static getAttributeTypeMap(){return V1ContainerPort.attributeTypeMap}}t.V1ContainerPort=V1ContainerPort;V1ContainerPort.discriminator=undefined;V1ContainerPort.attributeTypeMap=[{name:"containerPort",baseName:"containerPort",type:"number"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"hostPort",baseName:"hostPort",type:"number"},{name:"name",baseName:"name",type:"string"},{name:"protocol",baseName:"protocol",type:"string"}]},83765:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerState=void 0;class V1ContainerState{static getAttributeTypeMap(){return V1ContainerState.attributeTypeMap}}t.V1ContainerState=V1ContainerState;V1ContainerState.discriminator=undefined;V1ContainerState.attributeTypeMap=[{name:"running",baseName:"running",type:"V1ContainerStateRunning"},{name:"terminated",baseName:"terminated",type:"V1ContainerStateTerminated"},{name:"waiting",baseName:"waiting",type:"V1ContainerStateWaiting"}]},89767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateRunning=void 0;class V1ContainerStateRunning{static getAttributeTypeMap(){return V1ContainerStateRunning.attributeTypeMap}}t.V1ContainerStateRunning=V1ContainerStateRunning;V1ContainerStateRunning.discriminator=undefined;V1ContainerStateRunning.attributeTypeMap=[{name:"startedAt",baseName:"startedAt",type:"Date"}]},27892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateTerminated=void 0;class V1ContainerStateTerminated{static getAttributeTypeMap(){return V1ContainerStateTerminated.attributeTypeMap}}t.V1ContainerStateTerminated=V1ContainerStateTerminated;V1ContainerStateTerminated.discriminator=undefined;V1ContainerStateTerminated.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"exitCode",baseName:"exitCode",type:"number"},{name:"finishedAt",baseName:"finishedAt",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"signal",baseName:"signal",type:"number"},{name:"startedAt",baseName:"startedAt",type:"Date"}]},19716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStateWaiting=void 0;class V1ContainerStateWaiting{static getAttributeTypeMap(){return V1ContainerStateWaiting.attributeTypeMap}}t.V1ContainerStateWaiting=V1ContainerStateWaiting;V1ContainerStateWaiting.discriminator=undefined;V1ContainerStateWaiting.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},35980:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ContainerStatus=void 0;class V1ContainerStatus{static getAttributeTypeMap(){return V1ContainerStatus.attributeTypeMap}}t.V1ContainerStatus=V1ContainerStatus;V1ContainerStatus.discriminator=undefined;V1ContainerStatus.attributeTypeMap=[{name:"containerID",baseName:"containerID",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"imageID",baseName:"imageID",type:"string"},{name:"lastState",baseName:"lastState",type:"V1ContainerState"},{name:"name",baseName:"name",type:"string"},{name:"ready",baseName:"ready",type:"boolean"},{name:"restartCount",baseName:"restartCount",type:"number"},{name:"started",baseName:"started",type:"boolean"},{name:"state",baseName:"state",type:"V1ContainerState"}]},78405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ControllerRevision=void 0;class V1ControllerRevision{static getAttributeTypeMap(){return V1ControllerRevision.attributeTypeMap}}t.V1ControllerRevision=V1ControllerRevision;V1ControllerRevision.discriminator=undefined;V1ControllerRevision.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"object"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"revision",baseName:"revision",type:"number"}]},66304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ControllerRevisionList=void 0;class V1ControllerRevisionList{static getAttributeTypeMap(){return V1ControllerRevisionList.attributeTypeMap}}t.V1ControllerRevisionList=V1ControllerRevisionList;V1ControllerRevisionList.discriminator=undefined;V1ControllerRevisionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},34233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CrossVersionObjectReference=void 0;class V1CrossVersionObjectReference{static getAttributeTypeMap(){return V1CrossVersionObjectReference.attributeTypeMap}}t.V1CrossVersionObjectReference=V1CrossVersionObjectReference;V1CrossVersionObjectReference.discriminator=undefined;V1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},94346:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceColumnDefinition=void 0;class V1CustomResourceColumnDefinition{static getAttributeTypeMap(){return V1CustomResourceColumnDefinition.attributeTypeMap}}t.V1CustomResourceColumnDefinition=V1CustomResourceColumnDefinition;V1CustomResourceColumnDefinition.discriminator=undefined;V1CustomResourceColumnDefinition.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"format",baseName:"format",type:"string"},{name:"jsonPath",baseName:"jsonPath",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"type",baseName:"type",type:"string"}]},9731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceConversion=void 0;class V1CustomResourceConversion{static getAttributeTypeMap(){return V1CustomResourceConversion.attributeTypeMap}}t.V1CustomResourceConversion=V1CustomResourceConversion;V1CustomResourceConversion.discriminator=undefined;V1CustomResourceConversion.attributeTypeMap=[{name:"strategy",baseName:"strategy",type:"string"},{name:"webhook",baseName:"webhook",type:"V1WebhookConversion"}]},40325:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinition=void 0;class V1CustomResourceDefinition{static getAttributeTypeMap(){return V1CustomResourceDefinition.attributeTypeMap}}t.V1CustomResourceDefinition=V1CustomResourceDefinition;V1CustomResourceDefinition.discriminator=undefined;V1CustomResourceDefinition.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1CustomResourceDefinitionSpec"},{name:"status",baseName:"status",type:"V1CustomResourceDefinitionStatus"}]},32791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionCondition=void 0;class V1CustomResourceDefinitionCondition{static getAttributeTypeMap(){return V1CustomResourceDefinitionCondition.attributeTypeMap}}t.V1CustomResourceDefinitionCondition=V1CustomResourceDefinitionCondition;V1CustomResourceDefinitionCondition.discriminator=undefined;V1CustomResourceDefinitionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},10486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionList=void 0;class V1CustomResourceDefinitionList{static getAttributeTypeMap(){return V1CustomResourceDefinitionList.attributeTypeMap}}t.V1CustomResourceDefinitionList=V1CustomResourceDefinitionList;V1CustomResourceDefinitionList.discriminator=undefined;V1CustomResourceDefinitionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},69798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionNames=void 0;class V1CustomResourceDefinitionNames{static getAttributeTypeMap(){return V1CustomResourceDefinitionNames.attributeTypeMap}}t.V1CustomResourceDefinitionNames=V1CustomResourceDefinitionNames;V1CustomResourceDefinitionNames.discriminator=undefined;V1CustomResourceDefinitionNames.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"listKind",baseName:"listKind",type:"string"},{name:"plural",baseName:"plural",type:"string"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singular",baseName:"singular",type:"string"}]},20486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionSpec=void 0;class V1CustomResourceDefinitionSpec{static getAttributeTypeMap(){return V1CustomResourceDefinitionSpec.attributeTypeMap}}t.V1CustomResourceDefinitionSpec=V1CustomResourceDefinitionSpec;V1CustomResourceDefinitionSpec.discriminator=undefined;V1CustomResourceDefinitionSpec.attributeTypeMap=[{name:"conversion",baseName:"conversion",type:"V1CustomResourceConversion"},{name:"group",baseName:"group",type:"string"},{name:"names",baseName:"names",type:"V1CustomResourceDefinitionNames"},{name:"preserveUnknownFields",baseName:"preserveUnknownFields",type:"boolean"},{name:"scope",baseName:"scope",type:"string"},{name:"versions",baseName:"versions",type:"Array"}]},25713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionStatus=void 0;class V1CustomResourceDefinitionStatus{static getAttributeTypeMap(){return V1CustomResourceDefinitionStatus.attributeTypeMap}}t.V1CustomResourceDefinitionStatus=V1CustomResourceDefinitionStatus;V1CustomResourceDefinitionStatus.discriminator=undefined;V1CustomResourceDefinitionStatus.attributeTypeMap=[{name:"acceptedNames",baseName:"acceptedNames",type:"V1CustomResourceDefinitionNames"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storedVersions",baseName:"storedVersions",type:"Array"}]},82283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceDefinitionVersion=void 0;class V1CustomResourceDefinitionVersion{static getAttributeTypeMap(){return V1CustomResourceDefinitionVersion.attributeTypeMap}}t.V1CustomResourceDefinitionVersion=V1CustomResourceDefinitionVersion;V1CustomResourceDefinitionVersion.discriminator=undefined;V1CustomResourceDefinitionVersion.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"deprecated",baseName:"deprecated",type:"boolean"},{name:"deprecationWarning",baseName:"deprecationWarning",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"schema",baseName:"schema",type:"V1CustomResourceValidation"},{name:"served",baseName:"served",type:"boolean"},{name:"storage",baseName:"storage",type:"boolean"},{name:"subresources",baseName:"subresources",type:"V1CustomResourceSubresources"}]},98087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceSubresourceScale=void 0;class V1CustomResourceSubresourceScale{static getAttributeTypeMap(){return V1CustomResourceSubresourceScale.attributeTypeMap}}t.V1CustomResourceSubresourceScale=V1CustomResourceSubresourceScale;V1CustomResourceSubresourceScale.discriminator=undefined;V1CustomResourceSubresourceScale.attributeTypeMap=[{name:"labelSelectorPath",baseName:"labelSelectorPath",type:"string"},{name:"specReplicasPath",baseName:"specReplicasPath",type:"string"},{name:"statusReplicasPath",baseName:"statusReplicasPath",type:"string"}]},94579:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceSubresources=void 0;class V1CustomResourceSubresources{static getAttributeTypeMap(){return V1CustomResourceSubresources.attributeTypeMap}}t.V1CustomResourceSubresources=V1CustomResourceSubresources;V1CustomResourceSubresources.discriminator=undefined;V1CustomResourceSubresources.attributeTypeMap=[{name:"scale",baseName:"scale",type:"V1CustomResourceSubresourceScale"},{name:"status",baseName:"status",type:"object"}]},25408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1CustomResourceValidation=void 0;class V1CustomResourceValidation{static getAttributeTypeMap(){return V1CustomResourceValidation.attributeTypeMap}}t.V1CustomResourceValidation=V1CustomResourceValidation;V1CustomResourceValidation.discriminator=undefined;V1CustomResourceValidation.attributeTypeMap=[{name:"openAPIV3Schema",baseName:"openAPIV3Schema",type:"V1JSONSchemaProps"}]},37060:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonEndpoint=void 0;class V1DaemonEndpoint{static getAttributeTypeMap(){return V1DaemonEndpoint.attributeTypeMap}}t.V1DaemonEndpoint=V1DaemonEndpoint;V1DaemonEndpoint.discriminator=undefined;V1DaemonEndpoint.attributeTypeMap=[{name:"Port",baseName:"Port",type:"number"}]},32699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSet=void 0;class V1DaemonSet{static getAttributeTypeMap(){return V1DaemonSet.attributeTypeMap}}t.V1DaemonSet=V1DaemonSet;V1DaemonSet.discriminator=undefined;V1DaemonSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DaemonSetSpec"},{name:"status",baseName:"status",type:"V1DaemonSetStatus"}]},77063:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetCondition=void 0;class V1DaemonSetCondition{static getAttributeTypeMap(){return V1DaemonSetCondition.attributeTypeMap}}t.V1DaemonSetCondition=V1DaemonSetCondition;V1DaemonSetCondition.discriminator=undefined;V1DaemonSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetList=void 0;class V1DaemonSetList{static getAttributeTypeMap(){return V1DaemonSetList.attributeTypeMap}}t.V1DaemonSetList=V1DaemonSetList;V1DaemonSetList.discriminator=undefined;V1DaemonSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},44560:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetSpec=void 0;class V1DaemonSetSpec{static getAttributeTypeMap(){return V1DaemonSetSpec.attributeTypeMap}}t.V1DaemonSetSpec=V1DaemonSetSpec;V1DaemonSetSpec.discriminator=undefined;V1DaemonSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1DaemonSetUpdateStrategy"}]},87510:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetStatus=void 0;class V1DaemonSetStatus{static getAttributeTypeMap(){return V1DaemonSetStatus.attributeTypeMap}}t.V1DaemonSetStatus=V1DaemonSetStatus;V1DaemonSetStatus.discriminator=undefined;V1DaemonSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentNumberScheduled",baseName:"currentNumberScheduled",type:"number"},{name:"desiredNumberScheduled",baseName:"desiredNumberScheduled",type:"number"},{name:"numberAvailable",baseName:"numberAvailable",type:"number"},{name:"numberMisscheduled",baseName:"numberMisscheduled",type:"number"},{name:"numberReady",baseName:"numberReady",type:"number"},{name:"numberUnavailable",baseName:"numberUnavailable",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"updatedNumberScheduled",baseName:"updatedNumberScheduled",type:"number"}]},48451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DaemonSetUpdateStrategy=void 0;class V1DaemonSetUpdateStrategy{static getAttributeTypeMap(){return V1DaemonSetUpdateStrategy.attributeTypeMap}}t.V1DaemonSetUpdateStrategy=V1DaemonSetUpdateStrategy;V1DaemonSetUpdateStrategy.discriminator=undefined;V1DaemonSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDaemonSet"},{name:"type",baseName:"type",type:"string"}]},18029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeleteOptions=void 0;class V1DeleteOptions{static getAttributeTypeMap(){return V1DeleteOptions.attributeTypeMap}}t.V1DeleteOptions=V1DeleteOptions;V1DeleteOptions.discriminator=undefined;V1DeleteOptions.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"dryRun",baseName:"dryRun",type:"Array"},{name:"gracePeriodSeconds",baseName:"gracePeriodSeconds",type:"number"},{name:"kind",baseName:"kind",type:"string"},{name:"orphanDependents",baseName:"orphanDependents",type:"boolean"},{name:"preconditions",baseName:"preconditions",type:"V1Preconditions"},{name:"propagationPolicy",baseName:"propagationPolicy",type:"string"}]},65310:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Deployment=void 0;class V1Deployment{static getAttributeTypeMap(){return V1Deployment.attributeTypeMap}}t.V1Deployment=V1Deployment;V1Deployment.discriminator=undefined;V1Deployment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1DeploymentSpec"},{name:"status",baseName:"status",type:"V1DeploymentStatus"}]},95602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentCondition=void 0;class V1DeploymentCondition{static getAttributeTypeMap(){return V1DeploymentCondition.attributeTypeMap}}t.V1DeploymentCondition=V1DeploymentCondition;V1DeploymentCondition.discriminator=undefined;V1DeploymentCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},81364:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentList=void 0;class V1DeploymentList{static getAttributeTypeMap(){return V1DeploymentList.attributeTypeMap}}t.V1DeploymentList=V1DeploymentList;V1DeploymentList.discriminator=undefined;V1DeploymentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},41298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentSpec=void 0;class V1DeploymentSpec{static getAttributeTypeMap(){return V1DeploymentSpec.attributeTypeMap}}t.V1DeploymentSpec=V1DeploymentSpec;V1DeploymentSpec.discriminator=undefined;V1DeploymentSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"paused",baseName:"paused",type:"boolean"},{name:"progressDeadlineSeconds",baseName:"progressDeadlineSeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"strategy",baseName:"strategy",type:"V1DeploymentStrategy"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},55398:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentStatus=void 0;class V1DeploymentStatus{static getAttributeTypeMap(){return V1DeploymentStatus.attributeTypeMap}}t.V1DeploymentStatus=V1DeploymentStatus;V1DeploymentStatus.discriminator=undefined;V1DeploymentStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"unavailableReplicas",baseName:"unavailableReplicas",type:"number"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}]},34981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DeploymentStrategy=void 0;class V1DeploymentStrategy{static getAttributeTypeMap(){return V1DeploymentStrategy.attributeTypeMap}}t.V1DeploymentStrategy=V1DeploymentStrategy;V1DeploymentStrategy.discriminator=undefined;V1DeploymentStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateDeployment"},{name:"type",baseName:"type",type:"string"}]},38099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIProjection=void 0;class V1DownwardAPIProjection{static getAttributeTypeMap(){return V1DownwardAPIProjection.attributeTypeMap}}t.V1DownwardAPIProjection=V1DownwardAPIProjection;V1DownwardAPIProjection.discriminator=undefined;V1DownwardAPIProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"}]},78901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIVolumeFile=void 0;class V1DownwardAPIVolumeFile{static getAttributeTypeMap(){return V1DownwardAPIVolumeFile.attributeTypeMap}}t.V1DownwardAPIVolumeFile=V1DownwardAPIVolumeFile;V1DownwardAPIVolumeFile.discriminator=undefined;V1DownwardAPIVolumeFile.attributeTypeMap=[{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"}]},19493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1DownwardAPIVolumeSource=void 0;class V1DownwardAPIVolumeSource{static getAttributeTypeMap(){return V1DownwardAPIVolumeSource.attributeTypeMap}}t.V1DownwardAPIVolumeSource=V1DownwardAPIVolumeSource;V1DownwardAPIVolumeSource.discriminator=undefined;V1DownwardAPIVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"}]},11672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EmptyDirVolumeSource=void 0;class V1EmptyDirVolumeSource{static getAttributeTypeMap(){return V1EmptyDirVolumeSource.attributeTypeMap}}t.V1EmptyDirVolumeSource=V1EmptyDirVolumeSource;V1EmptyDirVolumeSource.discriminator=undefined;V1EmptyDirVolumeSource.attributeTypeMap=[{name:"medium",baseName:"medium",type:"string"},{name:"sizeLimit",baseName:"sizeLimit",type:"string"}]},57151:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointAddress=void 0;class V1EndpointAddress{static getAttributeTypeMap(){return V1EndpointAddress.attributeTypeMap}}t.V1EndpointAddress=V1EndpointAddress;V1EndpointAddress.discriminator=undefined;V1EndpointAddress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"targetRef",baseName:"targetRef",type:"V1ObjectReference"}]},37917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointPort=void 0;class V1EndpointPort{static getAttributeTypeMap(){return V1EndpointPort.attributeTypeMap}}t.V1EndpointPort=V1EndpointPort;V1EndpointPort.discriminator=undefined;V1EndpointPort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},31925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointSubset=void 0;class V1EndpointSubset{static getAttributeTypeMap(){return V1EndpointSubset.attributeTypeMap}}t.V1EndpointSubset=V1EndpointSubset;V1EndpointSubset.discriminator=undefined;V1EndpointSubset.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"notReadyAddresses",baseName:"notReadyAddresses",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}]},13449:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Endpoints=void 0;class V1Endpoints{static getAttributeTypeMap(){return V1Endpoints.attributeTypeMap}}t.V1Endpoints=V1Endpoints;V1Endpoints.discriminator=undefined;V1Endpoints.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"subsets",baseName:"subsets",type:"Array"}]},95223:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EndpointsList=void 0;class V1EndpointsList{static getAttributeTypeMap(){return V1EndpointsList.attributeTypeMap}}t.V1EndpointsList=V1EndpointsList;V1EndpointsList.discriminator=undefined;V1EndpointsList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23074:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvFromSource=void 0;class V1EnvFromSource{static getAttributeTypeMap(){return V1EnvFromSource.attributeTypeMap}}t.V1EnvFromSource=V1EnvFromSource;V1EnvFromSource.discriminator=undefined;V1EnvFromSource.attributeTypeMap=[{name:"configMapRef",baseName:"configMapRef",type:"V1ConfigMapEnvSource"},{name:"prefix",baseName:"prefix",type:"string"},{name:"secretRef",baseName:"secretRef",type:"V1SecretEnvSource"}]},36874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvVar=void 0;class V1EnvVar{static getAttributeTypeMap(){return V1EnvVar.attributeTypeMap}}t.V1EnvVar=V1EnvVar;V1EnvVar.discriminator=undefined;V1EnvVar.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"},{name:"valueFrom",baseName:"valueFrom",type:"V1EnvVarSource"}]},17205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EnvVarSource=void 0;class V1EnvVarSource{static getAttributeTypeMap(){return V1EnvVarSource.attributeTypeMap}}t.V1EnvVarSource=V1EnvVarSource;V1EnvVarSource.discriminator=undefined;V1EnvVarSource.attributeTypeMap=[{name:"configMapKeyRef",baseName:"configMapKeyRef",type:"V1ConfigMapKeySelector"},{name:"fieldRef",baseName:"fieldRef",type:"V1ObjectFieldSelector"},{name:"resourceFieldRef",baseName:"resourceFieldRef",type:"V1ResourceFieldSelector"},{name:"secretKeyRef",baseName:"secretKeyRef",type:"V1SecretKeySelector"}]},32671:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EphemeralContainer=void 0;class V1EphemeralContainer{static getAttributeTypeMap(){return V1EphemeralContainer.attributeTypeMap}}t.V1EphemeralContainer=V1EphemeralContainer;V1EphemeralContainer.discriminator=undefined;V1EphemeralContainer.attributeTypeMap=[{name:"args",baseName:"args",type:"Array"},{name:"command",baseName:"command",type:"Array"},{name:"env",baseName:"env",type:"Array"},{name:"envFrom",baseName:"envFrom",type:"Array"},{name:"image",baseName:"image",type:"string"},{name:"imagePullPolicy",baseName:"imagePullPolicy",type:"string"},{name:"lifecycle",baseName:"lifecycle",type:"V1Lifecycle"},{name:"livenessProbe",baseName:"livenessProbe",type:"V1Probe"},{name:"name",baseName:"name",type:"string"},{name:"ports",baseName:"ports",type:"Array"},{name:"readinessProbe",baseName:"readinessProbe",type:"V1Probe"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"securityContext",baseName:"securityContext",type:"V1SecurityContext"},{name:"startupProbe",baseName:"startupProbe",type:"V1Probe"},{name:"stdin",baseName:"stdin",type:"boolean"},{name:"stdinOnce",baseName:"stdinOnce",type:"boolean"},{name:"targetContainerName",baseName:"targetContainerName",type:"string"},{name:"terminationMessagePath",baseName:"terminationMessagePath",type:"string"},{name:"terminationMessagePolicy",baseName:"terminationMessagePolicy",type:"string"},{name:"tty",baseName:"tty",type:"boolean"},{name:"volumeDevices",baseName:"volumeDevices",type:"Array"},{name:"volumeMounts",baseName:"volumeMounts",type:"Array"},{name:"workingDir",baseName:"workingDir",type:"string"}]},90017:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EphemeralVolumeSource=void 0;class V1EphemeralVolumeSource{static getAttributeTypeMap(){return V1EphemeralVolumeSource.attributeTypeMap}}t.V1EphemeralVolumeSource=V1EphemeralVolumeSource;V1EphemeralVolumeSource.discriminator=undefined;V1EphemeralVolumeSource.attributeTypeMap=[{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeClaimTemplate",baseName:"volumeClaimTemplate",type:"V1PersistentVolumeClaimTemplate"}]},97764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1EventSource=void 0;class V1EventSource{static getAttributeTypeMap(){return V1EventSource.attributeTypeMap}}t.V1EventSource=V1EventSource;V1EventSource.discriminator=undefined;V1EventSource.attributeTypeMap=[{name:"component",baseName:"component",type:"string"},{name:"host",baseName:"host",type:"string"}]},13313:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ExecAction=void 0;class V1ExecAction{static getAttributeTypeMap(){return V1ExecAction.attributeTypeMap}}t.V1ExecAction=V1ExecAction;V1ExecAction.discriminator=undefined;V1ExecAction.attributeTypeMap=[{name:"command",baseName:"command",type:"Array"}]},77213:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ExternalDocumentation=void 0;class V1ExternalDocumentation{static getAttributeTypeMap(){return V1ExternalDocumentation.attributeTypeMap}}t.V1ExternalDocumentation=V1ExternalDocumentation;V1ExternalDocumentation.discriminator=undefined;V1ExternalDocumentation.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"url",baseName:"url",type:"string"}]},35093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FCVolumeSource=void 0;class V1FCVolumeSource{static getAttributeTypeMap(){return V1FCVolumeSource.attributeTypeMap}}t.V1FCVolumeSource=V1FCVolumeSource;V1FCVolumeSource.discriminator=undefined;V1FCVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"targetWWNs",baseName:"targetWWNs",type:"Array"},{name:"wwids",baseName:"wwids",type:"Array"}]},91874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlexPersistentVolumeSource=void 0;class V1FlexPersistentVolumeSource{static getAttributeTypeMap(){return V1FlexPersistentVolumeSource.attributeTypeMap}}t.V1FlexPersistentVolumeSource=V1FlexPersistentVolumeSource;V1FlexPersistentVolumeSource.discriminator=undefined;V1FlexPersistentVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"}]},16690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlexVolumeSource=void 0;class V1FlexVolumeSource{static getAttributeTypeMap(){return V1FlexVolumeSource.attributeTypeMap}}t.V1FlexVolumeSource=V1FlexVolumeSource;V1FlexVolumeSource.discriminator=undefined;V1FlexVolumeSource.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"},{name:"fsType",baseName:"fsType",type:"string"},{name:"options",baseName:"options",type:"{ [key: string]: string; }"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"}]},10414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1FlockerVolumeSource=void 0;class V1FlockerVolumeSource{static getAttributeTypeMap(){return V1FlockerVolumeSource.attributeTypeMap}}t.V1FlockerVolumeSource=V1FlockerVolumeSource;V1FlockerVolumeSource.discriminator=undefined;V1FlockerVolumeSource.attributeTypeMap=[{name:"datasetName",baseName:"datasetName",type:"string"},{name:"datasetUUID",baseName:"datasetUUID",type:"string"}]},1016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GCEPersistentDiskVolumeSource=void 0;class V1GCEPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1GCEPersistentDiskVolumeSource.attributeTypeMap}}t.V1GCEPersistentDiskVolumeSource=V1GCEPersistentDiskVolumeSource;V1GCEPersistentDiskVolumeSource.discriminator=undefined;V1GCEPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"partition",baseName:"partition",type:"number"},{name:"pdName",baseName:"pdName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},27584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GitRepoVolumeSource=void 0;class V1GitRepoVolumeSource{static getAttributeTypeMap(){return V1GitRepoVolumeSource.attributeTypeMap}}t.V1GitRepoVolumeSource=V1GitRepoVolumeSource;V1GitRepoVolumeSource.discriminator=undefined;V1GitRepoVolumeSource.attributeTypeMap=[{name:"directory",baseName:"directory",type:"string"},{name:"repository",baseName:"repository",type:"string"},{name:"revision",baseName:"revision",type:"string"}]},97617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GlusterfsPersistentVolumeSource=void 0;class V1GlusterfsPersistentVolumeSource{static getAttributeTypeMap(){return V1GlusterfsPersistentVolumeSource.attributeTypeMap}}t.V1GlusterfsPersistentVolumeSource=V1GlusterfsPersistentVolumeSource;V1GlusterfsPersistentVolumeSource.discriminator=undefined;V1GlusterfsPersistentVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"endpointsNamespace",baseName:"endpointsNamespace",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},37426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GlusterfsVolumeSource=void 0;class V1GlusterfsVolumeSource{static getAttributeTypeMap(){return V1GlusterfsVolumeSource.attributeTypeMap}}t.V1GlusterfsVolumeSource=V1GlusterfsVolumeSource;V1GlusterfsVolumeSource.discriminator=undefined;V1GlusterfsVolumeSource.attributeTypeMap=[{name:"endpoints",baseName:"endpoints",type:"string"},{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},87855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1GroupVersionForDiscovery=void 0;class V1GroupVersionForDiscovery{static getAttributeTypeMap(){return V1GroupVersionForDiscovery.attributeTypeMap}}t.V1GroupVersionForDiscovery=V1GroupVersionForDiscovery;V1GroupVersionForDiscovery.discriminator=undefined;V1GroupVersionForDiscovery.attributeTypeMap=[{name:"groupVersion",baseName:"groupVersion",type:"string"},{name:"version",baseName:"version",type:"string"}]},16636:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPGetAction=void 0;class V1HTTPGetAction{static getAttributeTypeMap(){return V1HTTPGetAction.attributeTypeMap}}t.V1HTTPGetAction=V1HTTPGetAction;V1HTTPGetAction.discriminator=undefined;V1HTTPGetAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"httpHeaders",baseName:"httpHeaders",type:"Array"},{name:"path",baseName:"path",type:"string"},{name:"port",baseName:"port",type:"object"},{name:"scheme",baseName:"scheme",type:"string"}]},3437:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPHeader=void 0;class V1HTTPHeader{static getAttributeTypeMap(){return V1HTTPHeader.attributeTypeMap}}t.V1HTTPHeader=V1HTTPHeader;V1HTTPHeader.discriminator=undefined;V1HTTPHeader.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},86769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPIngressPath=void 0;class V1HTTPIngressPath{static getAttributeTypeMap(){return V1HTTPIngressPath.attributeTypeMap}}t.V1HTTPIngressPath=V1HTTPIngressPath;V1HTTPIngressPath.discriminator=undefined;V1HTTPIngressPath.attributeTypeMap=[{name:"backend",baseName:"backend",type:"V1IngressBackend"},{name:"path",baseName:"path",type:"string"},{name:"pathType",baseName:"pathType",type:"string"}]},56219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HTTPIngressRuleValue=void 0;class V1HTTPIngressRuleValue{static getAttributeTypeMap(){return V1HTTPIngressRuleValue.attributeTypeMap}}t.V1HTTPIngressRuleValue=V1HTTPIngressRuleValue;V1HTTPIngressRuleValue.discriminator=undefined;V1HTTPIngressRuleValue.attributeTypeMap=[{name:"paths",baseName:"paths",type:"Array"}]},95179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Handler=void 0;class V1Handler{static getAttributeTypeMap(){return V1Handler.attributeTypeMap}}t.V1Handler=V1Handler;V1Handler.discriminator=undefined;V1Handler.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"}]},93652:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscaler=void 0;class V1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V1HorizontalPodAutoscaler.attributeTypeMap}}t.V1HorizontalPodAutoscaler=V1HorizontalPodAutoscaler;V1HorizontalPodAutoscaler.discriminator=undefined;V1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V1HorizontalPodAutoscalerStatus"}]},17024:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerList=void 0;class V1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerList.attributeTypeMap}}t.V1HorizontalPodAutoscalerList=V1HorizontalPodAutoscalerList;V1HorizontalPodAutoscalerList.discriminator=undefined;V1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},49823:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerSpec=void 0;class V1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V1HorizontalPodAutoscalerSpec=V1HorizontalPodAutoscalerSpec;V1HorizontalPodAutoscalerSpec.discriminator=undefined;V1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V1CrossVersionObjectReference"},{name:"targetCPUUtilizationPercentage",baseName:"targetCPUUtilizationPercentage",type:"number"}]},50910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HorizontalPodAutoscalerStatus=void 0;class V1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V1HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V1HorizontalPodAutoscalerStatus=V1HorizontalPodAutoscalerStatus;V1HorizontalPodAutoscalerStatus.discriminator=undefined;V1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"currentCPUUtilizationPercentage",baseName:"currentCPUUtilizationPercentage",type:"number"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},72796:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HostAlias=void 0;class V1HostAlias{static getAttributeTypeMap(){return V1HostAlias.attributeTypeMap}}t.V1HostAlias=V1HostAlias;V1HostAlias.discriminator=undefined;V1HostAlias.attributeTypeMap=[{name:"hostnames",baseName:"hostnames",type:"Array"},{name:"ip",baseName:"ip",type:"string"}]},69225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1HostPathVolumeSource=void 0;class V1HostPathVolumeSource{static getAttributeTypeMap(){return V1HostPathVolumeSource.attributeTypeMap}}t.V1HostPathVolumeSource=V1HostPathVolumeSource;V1HostPathVolumeSource.discriminator=undefined;V1HostPathVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"type",baseName:"type",type:"string"}]},49202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IPBlock=void 0;class V1IPBlock{static getAttributeTypeMap(){return V1IPBlock.attributeTypeMap}}t.V1IPBlock=V1IPBlock;V1IPBlock.discriminator=undefined;V1IPBlock.attributeTypeMap=[{name:"cidr",baseName:"cidr",type:"string"},{name:"except",baseName:"except",type:"Array"}]},83570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ISCSIPersistentVolumeSource=void 0;class V1ISCSIPersistentVolumeSource{static getAttributeTypeMap(){return V1ISCSIPersistentVolumeSource.attributeTypeMap}}t.V1ISCSIPersistentVolumeSource=V1ISCSIPersistentVolumeSource;V1ISCSIPersistentVolumeSource.discriminator=undefined;V1ISCSIPersistentVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}]},68021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ISCSIVolumeSource=void 0;class V1ISCSIVolumeSource{static getAttributeTypeMap(){return V1ISCSIVolumeSource.attributeTypeMap}}t.V1ISCSIVolumeSource=V1ISCSIVolumeSource;V1ISCSIVolumeSource.discriminator=undefined;V1ISCSIVolumeSource.attributeTypeMap=[{name:"chapAuthDiscovery",baseName:"chapAuthDiscovery",type:"boolean"},{name:"chapAuthSession",baseName:"chapAuthSession",type:"boolean"},{name:"fsType",baseName:"fsType",type:"string"},{name:"initiatorName",baseName:"initiatorName",type:"string"},{name:"iqn",baseName:"iqn",type:"string"},{name:"iscsiInterface",baseName:"iscsiInterface",type:"string"},{name:"lun",baseName:"lun",type:"number"},{name:"portals",baseName:"portals",type:"Array"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"targetPortal",baseName:"targetPortal",type:"string"}]},32492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Ingress=void 0;class V1Ingress{static getAttributeTypeMap(){return V1Ingress.attributeTypeMap}}t.V1Ingress=V1Ingress;V1Ingress.discriminator=undefined;V1Ingress.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1IngressSpec"},{name:"status",baseName:"status",type:"V1IngressStatus"}]},44340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressBackend=void 0;class V1IngressBackend{static getAttributeTypeMap(){return V1IngressBackend.attributeTypeMap}}t.V1IngressBackend=V1IngressBackend;V1IngressBackend.discriminator=undefined;V1IngressBackend.attributeTypeMap=[{name:"resource",baseName:"resource",type:"V1TypedLocalObjectReference"},{name:"service",baseName:"service",type:"V1IngressServiceBackend"}]},93865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClass=void 0;class V1IngressClass{static getAttributeTypeMap(){return V1IngressClass.attributeTypeMap}}t.V1IngressClass=V1IngressClass;V1IngressClass.discriminator=undefined;V1IngressClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1IngressClassSpec"}]},76125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClassList=void 0;class V1IngressClassList{static getAttributeTypeMap(){return V1IngressClassList.attributeTypeMap}}t.V1IngressClassList=V1IngressClassList;V1IngressClassList.discriminator=undefined;V1IngressClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},92069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressClassSpec=void 0;class V1IngressClassSpec{static getAttributeTypeMap(){return V1IngressClassSpec.attributeTypeMap}}t.V1IngressClassSpec=V1IngressClassSpec;V1IngressClassSpec.discriminator=undefined;V1IngressClassSpec.attributeTypeMap=[{name:"controller",baseName:"controller",type:"string"},{name:"parameters",baseName:"parameters",type:"V1TypedLocalObjectReference"}]},43693:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressList=void 0;class V1IngressList{static getAttributeTypeMap(){return V1IngressList.attributeTypeMap}}t.V1IngressList=V1IngressList;V1IngressList.discriminator=undefined;V1IngressList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},89541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressRule=void 0;class V1IngressRule{static getAttributeTypeMap(){return V1IngressRule.attributeTypeMap}}t.V1IngressRule=V1IngressRule;V1IngressRule.discriminator=undefined;V1IngressRule.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"http",baseName:"http",type:"V1HTTPIngressRuleValue"}]},62476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressServiceBackend=void 0;class V1IngressServiceBackend{static getAttributeTypeMap(){return V1IngressServiceBackend.attributeTypeMap}}t.V1IngressServiceBackend=V1IngressServiceBackend;V1IngressServiceBackend.discriminator=undefined;V1IngressServiceBackend.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"V1ServiceBackendPort"}]},59689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressSpec=void 0;class V1IngressSpec{static getAttributeTypeMap(){return V1IngressSpec.attributeTypeMap}}t.V1IngressSpec=V1IngressSpec;V1IngressSpec.discriminator=undefined;V1IngressSpec.attributeTypeMap=[{name:"defaultBackend",baseName:"defaultBackend",type:"V1IngressBackend"},{name:"ingressClassName",baseName:"ingressClassName",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"tls",baseName:"tls",type:"Array"}]},45830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressStatus=void 0;class V1IngressStatus{static getAttributeTypeMap(){return V1IngressStatus.attributeTypeMap}}t.V1IngressStatus=V1IngressStatus;V1IngressStatus.discriminator=undefined;V1IngressStatus.attributeTypeMap=[{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},23037:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1IngressTLS=void 0;class V1IngressTLS{static getAttributeTypeMap(){return V1IngressTLS.attributeTypeMap}}t.V1IngressTLS=V1IngressTLS;V1IngressTLS.discriminator=undefined;V1IngressTLS.attributeTypeMap=[{name:"hosts",baseName:"hosts",type:"Array"},{name:"secretName",baseName:"secretName",type:"string"}]},63580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JSONSchemaProps=void 0;class V1JSONSchemaProps{static getAttributeTypeMap(){return V1JSONSchemaProps.attributeTypeMap}}t.V1JSONSchemaProps=V1JSONSchemaProps;V1JSONSchemaProps.discriminator=undefined;V1JSONSchemaProps.attributeTypeMap=[{name:"$ref",baseName:"$ref",type:"string"},{name:"$schema",baseName:"$schema",type:"string"},{name:"additionalItems",baseName:"additionalItems",type:"object"},{name:"additionalProperties",baseName:"additionalProperties",type:"object"},{name:"allOf",baseName:"allOf",type:"Array"},{name:"anyOf",baseName:"anyOf",type:"Array"},{name:"_default",baseName:"default",type:"object"},{name:"definitions",baseName:"definitions",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"dependencies",baseName:"dependencies",type:"{ [key: string]: object; }"},{name:"description",baseName:"description",type:"string"},{name:"_enum",baseName:"enum",type:"Array"},{name:"example",baseName:"example",type:"object"},{name:"exclusiveMaximum",baseName:"exclusiveMaximum",type:"boolean"},{name:"exclusiveMinimum",baseName:"exclusiveMinimum",type:"boolean"},{name:"externalDocs",baseName:"externalDocs",type:"V1ExternalDocumentation"},{name:"format",baseName:"format",type:"string"},{name:"id",baseName:"id",type:"string"},{name:"items",baseName:"items",type:"object"},{name:"maxItems",baseName:"maxItems",type:"number"},{name:"maxLength",baseName:"maxLength",type:"number"},{name:"maxProperties",baseName:"maxProperties",type:"number"},{name:"maximum",baseName:"maximum",type:"number"},{name:"minItems",baseName:"minItems",type:"number"},{name:"minLength",baseName:"minLength",type:"number"},{name:"minProperties",baseName:"minProperties",type:"number"},{name:"minimum",baseName:"minimum",type:"number"},{name:"multipleOf",baseName:"multipleOf",type:"number"},{name:"not",baseName:"not",type:"V1JSONSchemaProps"},{name:"nullable",baseName:"nullable",type:"boolean"},{name:"oneOf",baseName:"oneOf",type:"Array"},{name:"pattern",baseName:"pattern",type:"string"},{name:"patternProperties",baseName:"patternProperties",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"properties",baseName:"properties",type:"{ [key: string]: V1JSONSchemaProps; }"},{name:"required",baseName:"required",type:"Array"},{name:"title",baseName:"title",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"uniqueItems",baseName:"uniqueItems",type:"boolean"},{name:"x_kubernetes_embedded_resource",baseName:"x-kubernetes-embedded-resource",type:"boolean"},{name:"x_kubernetes_int_or_string",baseName:"x-kubernetes-int-or-string",type:"boolean"},{name:"x_kubernetes_list_map_keys",baseName:"x-kubernetes-list-map-keys",type:"Array"},{name:"x_kubernetes_list_type",baseName:"x-kubernetes-list-type",type:"string"},{name:"x_kubernetes_map_type",baseName:"x-kubernetes-map-type",type:"string"},{name:"x_kubernetes_preserve_unknown_fields",baseName:"x-kubernetes-preserve-unknown-fields",type:"boolean"}]},91260:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Job=void 0;class V1Job{static getAttributeTypeMap(){return V1Job.attributeTypeMap}}t.V1Job=V1Job;V1Job.discriminator=undefined;V1Job.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"},{name:"status",baseName:"status",type:"V1JobStatus"}]},94069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobCondition=void 0;class V1JobCondition{static getAttributeTypeMap(){return V1JobCondition.attributeTypeMap}}t.V1JobCondition=V1JobCondition;V1JobCondition.discriminator=undefined;V1JobCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},13366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobList=void 0;class V1JobList{static getAttributeTypeMap(){return V1JobList.attributeTypeMap}}t.V1JobList=V1JobList;V1JobList.discriminator=undefined;V1JobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},32400:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobSpec=void 0;class V1JobSpec{static getAttributeTypeMap(){return V1JobSpec.attributeTypeMap}}t.V1JobSpec=V1JobSpec;V1JobSpec.discriminator=undefined;V1JobSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"backoffLimit",baseName:"backoffLimit",type:"number"},{name:"completions",baseName:"completions",type:"number"},{name:"manualSelector",baseName:"manualSelector",type:"boolean"},{name:"parallelism",baseName:"parallelism",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"ttlSecondsAfterFinished",baseName:"ttlSecondsAfterFinished",type:"number"}]},57345:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1JobStatus=void 0;class V1JobStatus{static getAttributeTypeMap(){return V1JobStatus.attributeTypeMap}}t.V1JobStatus=V1JobStatus;V1JobStatus.discriminator=undefined;V1JobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"number"},{name:"completionTime",baseName:"completionTime",type:"Date"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"failed",baseName:"failed",type:"number"},{name:"startTime",baseName:"startTime",type:"Date"},{name:"succeeded",baseName:"succeeded",type:"number"}]},23549:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1KeyToPath=void 0;class V1KeyToPath{static getAttributeTypeMap(){return V1KeyToPath.attributeTypeMap}}t.V1KeyToPath=V1KeyToPath;V1KeyToPath.discriminator=undefined;V1KeyToPath.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"mode",baseName:"mode",type:"number"},{name:"path",baseName:"path",type:"string"}]},22567:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LabelSelector=void 0;class V1LabelSelector{static getAttributeTypeMap(){return V1LabelSelector.attributeTypeMap}}t.V1LabelSelector=V1LabelSelector;V1LabelSelector.discriminator=undefined;V1LabelSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchLabels",baseName:"matchLabels",type:"{ [key: string]: string; }"}]},50993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LabelSelectorRequirement=void 0;class V1LabelSelectorRequirement{static getAttributeTypeMap(){return V1LabelSelectorRequirement.attributeTypeMap}}t.V1LabelSelectorRequirement=V1LabelSelectorRequirement;V1LabelSelectorRequirement.discriminator=undefined;V1LabelSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}]},98844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Lease=void 0;class V1Lease{static getAttributeTypeMap(){return V1Lease.attributeTypeMap}}t.V1Lease=V1Lease;V1Lease.discriminator=undefined;V1Lease.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1LeaseSpec"}]},76838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LeaseList=void 0;class V1LeaseList{static getAttributeTypeMap(){return V1LeaseList.attributeTypeMap}}t.V1LeaseList=V1LeaseList;V1LeaseList.discriminator=undefined;V1LeaseList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},44603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LeaseSpec=void 0;class V1LeaseSpec{static getAttributeTypeMap(){return V1LeaseSpec.attributeTypeMap}}t.V1LeaseSpec=V1LeaseSpec;V1LeaseSpec.discriminator=undefined;V1LeaseSpec.attributeTypeMap=[{name:"acquireTime",baseName:"acquireTime",type:"Date"},{name:"holderIdentity",baseName:"holderIdentity",type:"string"},{name:"leaseDurationSeconds",baseName:"leaseDurationSeconds",type:"number"},{name:"leaseTransitions",baseName:"leaseTransitions",type:"number"},{name:"renewTime",baseName:"renewTime",type:"Date"}]},41500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Lifecycle=void 0;class V1Lifecycle{static getAttributeTypeMap(){return V1Lifecycle.attributeTypeMap}}t.V1Lifecycle=V1Lifecycle;V1Lifecycle.discriminator=undefined;V1Lifecycle.attributeTypeMap=[{name:"postStart",baseName:"postStart",type:"V1Handler"},{name:"preStop",baseName:"preStop",type:"V1Handler"}]},86280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRange=void 0;class V1LimitRange{static getAttributeTypeMap(){return V1LimitRange.attributeTypeMap}}t.V1LimitRange=V1LimitRange;V1LimitRange.discriminator=undefined;V1LimitRange.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1LimitRangeSpec"}]},91128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeItem=void 0;class V1LimitRangeItem{static getAttributeTypeMap(){return V1LimitRangeItem.attributeTypeMap}}t.V1LimitRangeItem=V1LimitRangeItem;V1LimitRangeItem.discriminator=undefined;V1LimitRangeItem.attributeTypeMap=[{name:"_default",baseName:"default",type:"{ [key: string]: string; }"},{name:"defaultRequest",baseName:"defaultRequest",type:"{ [key: string]: string; }"},{name:"max",baseName:"max",type:"{ [key: string]: string; }"},{name:"maxLimitRequestRatio",baseName:"maxLimitRequestRatio",type:"{ [key: string]: string; }"},{name:"min",baseName:"min",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}]},82578:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeList=void 0;class V1LimitRangeList{static getAttributeTypeMap(){return V1LimitRangeList.attributeTypeMap}}t.V1LimitRangeList=V1LimitRangeList;V1LimitRangeList.discriminator=undefined;V1LimitRangeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},83039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LimitRangeSpec=void 0;class V1LimitRangeSpec{static getAttributeTypeMap(){return V1LimitRangeSpec.attributeTypeMap}}t.V1LimitRangeSpec=V1LimitRangeSpec;V1LimitRangeSpec.discriminator=undefined;V1LimitRangeSpec.attributeTypeMap=[{name:"limits",baseName:"limits",type:"Array"}]},88593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ListMeta=void 0;class V1ListMeta{static getAttributeTypeMap(){return V1ListMeta.attributeTypeMap}}t.V1ListMeta=V1ListMeta;V1ListMeta.discriminator=undefined;V1ListMeta.attributeTypeMap=[{name:"_continue",baseName:"continue",type:"string"},{name:"remainingItemCount",baseName:"remainingItemCount",type:"number"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"}]},25667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LoadBalancerIngress=void 0;class V1LoadBalancerIngress{static getAttributeTypeMap(){return V1LoadBalancerIngress.attributeTypeMap}}t.V1LoadBalancerIngress=V1LoadBalancerIngress;V1LoadBalancerIngress.discriminator=undefined;V1LoadBalancerIngress.attributeTypeMap=[{name:"hostname",baseName:"hostname",type:"string"},{name:"ip",baseName:"ip",type:"string"},{name:"ports",baseName:"ports",type:"Array"}]},46630:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LoadBalancerStatus=void 0;class V1LoadBalancerStatus{static getAttributeTypeMap(){return V1LoadBalancerStatus.attributeTypeMap}}t.V1LoadBalancerStatus=V1LoadBalancerStatus;V1LoadBalancerStatus.discriminator=undefined;V1LoadBalancerStatus.attributeTypeMap=[{name:"ingress",baseName:"ingress",type:"Array"}]},12229:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalObjectReference=void 0;class V1LocalObjectReference{static getAttributeTypeMap(){return V1LocalObjectReference.attributeTypeMap}}t.V1LocalObjectReference=V1LocalObjectReference;V1LocalObjectReference.discriminator=undefined;V1LocalObjectReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},31674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalSubjectAccessReview=void 0;class V1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1LocalSubjectAccessReview.attributeTypeMap}}t.V1LocalSubjectAccessReview=V1LocalSubjectAccessReview;V1LocalSubjectAccessReview.discriminator=undefined;V1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},72729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1LocalVolumeSource=void 0;class V1LocalVolumeSource{static getAttributeTypeMap(){return V1LocalVolumeSource.attributeTypeMap}}t.V1LocalVolumeSource=V1LocalVolumeSource;V1LocalVolumeSource.discriminator=undefined;V1LocalVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"path",baseName:"path",type:"string"}]},82187:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ManagedFieldsEntry=void 0;class V1ManagedFieldsEntry{static getAttributeTypeMap(){return V1ManagedFieldsEntry.attributeTypeMap}}t.V1ManagedFieldsEntry=V1ManagedFieldsEntry;V1ManagedFieldsEntry.discriminator=undefined;V1ManagedFieldsEntry.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldsType",baseName:"fieldsType",type:"string"},{name:"fieldsV1",baseName:"fieldsV1",type:"object"},{name:"manager",baseName:"manager",type:"string"},{name:"operation",baseName:"operation",type:"string"},{name:"time",baseName:"time",type:"Date"}]},95354:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhook=void 0;class V1MutatingWebhook{static getAttributeTypeMap(){return V1MutatingWebhook.attributeTypeMap}}t.V1MutatingWebhook=V1MutatingWebhook;V1MutatingWebhook.discriminator=undefined;V1MutatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"reinvocationPolicy",baseName:"reinvocationPolicy",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},2006:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhookConfiguration=void 0;class V1MutatingWebhookConfiguration{static getAttributeTypeMap(){return V1MutatingWebhookConfiguration.attributeTypeMap}}t.V1MutatingWebhookConfiguration=V1MutatingWebhookConfiguration;V1MutatingWebhookConfiguration.discriminator=undefined;V1MutatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},22665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1MutatingWebhookConfigurationList=void 0;class V1MutatingWebhookConfigurationList{static getAttributeTypeMap(){return V1MutatingWebhookConfigurationList.attributeTypeMap}}t.V1MutatingWebhookConfigurationList=V1MutatingWebhookConfigurationList;V1MutatingWebhookConfigurationList.discriminator=undefined;V1MutatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},35432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NFSVolumeSource=void 0;class V1NFSVolumeSource{static getAttributeTypeMap(){return V1NFSVolumeSource.attributeTypeMap}}t.V1NFSVolumeSource=V1NFSVolumeSource;V1NFSVolumeSource.discriminator=undefined;V1NFSVolumeSource.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"server",baseName:"server",type:"string"}]},95469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Namespace=void 0;class V1Namespace{static getAttributeTypeMap(){return V1Namespace.attributeTypeMap}}t.V1Namespace=V1Namespace;V1Namespace.discriminator=undefined;V1Namespace.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NamespaceSpec"},{name:"status",baseName:"status",type:"V1NamespaceStatus"}]},314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceCondition=void 0;class V1NamespaceCondition{static getAttributeTypeMap(){return V1NamespaceCondition.attributeTypeMap}}t.V1NamespaceCondition=V1NamespaceCondition;V1NamespaceCondition.discriminator=undefined;V1NamespaceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},22366:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceList=void 0;class V1NamespaceList{static getAttributeTypeMap(){return V1NamespaceList.attributeTypeMap}}t.V1NamespaceList=V1NamespaceList;V1NamespaceList.discriminator=undefined;V1NamespaceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},49076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceSpec=void 0;class V1NamespaceSpec{static getAttributeTypeMap(){return V1NamespaceSpec.attributeTypeMap}}t.V1NamespaceSpec=V1NamespaceSpec;V1NamespaceSpec.discriminator=undefined;V1NamespaceSpec.attributeTypeMap=[{name:"finalizers",baseName:"finalizers",type:"Array"}]},8833:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NamespaceStatus=void 0;class V1NamespaceStatus{static getAttributeTypeMap(){return V1NamespaceStatus.attributeTypeMap}}t.V1NamespaceStatus=V1NamespaceStatus;V1NamespaceStatus.discriminator=undefined;V1NamespaceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"phase",baseName:"phase",type:"string"}]},47995:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicy=void 0;class V1NetworkPolicy{static getAttributeTypeMap(){return V1NetworkPolicy.attributeTypeMap}}t.V1NetworkPolicy=V1NetworkPolicy;V1NetworkPolicy.discriminator=undefined;V1NetworkPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NetworkPolicySpec"}]},60886:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyEgressRule=void 0;class V1NetworkPolicyEgressRule{static getAttributeTypeMap(){return V1NetworkPolicyEgressRule.attributeTypeMap}}t.V1NetworkPolicyEgressRule=V1NetworkPolicyEgressRule;V1NetworkPolicyEgressRule.discriminator=undefined;V1NetworkPolicyEgressRule.attributeTypeMap=[{name:"ports",baseName:"ports",type:"Array"},{name:"to",baseName:"to",type:"Array"}]},89952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyIngressRule=void 0;class V1NetworkPolicyIngressRule{static getAttributeTypeMap(){return V1NetworkPolicyIngressRule.attributeTypeMap}}t.V1NetworkPolicyIngressRule=V1NetworkPolicyIngressRule;V1NetworkPolicyIngressRule.discriminator=undefined;V1NetworkPolicyIngressRule.attributeTypeMap=[{name:"from",baseName:"from",type:"Array"},{name:"ports",baseName:"ports",type:"Array"}]},74436:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyList=void 0;class V1NetworkPolicyList{static getAttributeTypeMap(){return V1NetworkPolicyList.attributeTypeMap}}t.V1NetworkPolicyList=V1NetworkPolicyList;V1NetworkPolicyList.discriminator=undefined;V1NetworkPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},22173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyPeer=void 0;class V1NetworkPolicyPeer{static getAttributeTypeMap(){return V1NetworkPolicyPeer.attributeTypeMap}}t.V1NetworkPolicyPeer=V1NetworkPolicyPeer;V1NetworkPolicyPeer.discriminator=undefined;V1NetworkPolicyPeer.attributeTypeMap=[{name:"ipBlock",baseName:"ipBlock",type:"V1IPBlock"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"}]},71056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicyPort=void 0;class V1NetworkPolicyPort{static getAttributeTypeMap(){return V1NetworkPolicyPort.attributeTypeMap}}t.V1NetworkPolicyPort=V1NetworkPolicyPort;V1NetworkPolicyPort.discriminator=undefined;V1NetworkPolicyPort.attributeTypeMap=[{name:"port",baseName:"port",type:"object"},{name:"protocol",baseName:"protocol",type:"string"}]},63061:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NetworkPolicySpec=void 0;class V1NetworkPolicySpec{static getAttributeTypeMap(){return V1NetworkPolicySpec.attributeTypeMap}}t.V1NetworkPolicySpec=V1NetworkPolicySpec;V1NetworkPolicySpec.discriminator=undefined;V1NetworkPolicySpec.attributeTypeMap=[{name:"egress",baseName:"egress",type:"Array"},{name:"ingress",baseName:"ingress",type:"Array"},{name:"podSelector",baseName:"podSelector",type:"V1LabelSelector"},{name:"policyTypes",baseName:"policyTypes",type:"Array"}]},3667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Node=void 0;class V1Node{static getAttributeTypeMap(){return V1Node.attributeTypeMap}}t.V1Node=V1Node;V1Node.discriminator=undefined;V1Node.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1NodeSpec"},{name:"status",baseName:"status",type:"V1NodeStatus"}]},84893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeAddress=void 0;class V1NodeAddress{static getAttributeTypeMap(){return V1NodeAddress.attributeTypeMap}}t.V1NodeAddress=V1NodeAddress;V1NodeAddress.discriminator=undefined;V1NodeAddress.attributeTypeMap=[{name:"address",baseName:"address",type:"string"},{name:"type",baseName:"type",type:"string"}]},10627:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeAffinity=void 0;class V1NodeAffinity{static getAttributeTypeMap(){return V1NodeAffinity.attributeTypeMap}}t.V1NodeAffinity=V1NodeAffinity;V1NodeAffinity.discriminator=undefined;V1NodeAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"V1NodeSelector"}]},11740:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeCondition=void 0;class V1NodeCondition{static getAttributeTypeMap(){return V1NodeCondition.attributeTypeMap}}t.V1NodeCondition=V1NodeCondition;V1NodeCondition.discriminator=undefined;V1NodeCondition.attributeTypeMap=[{name:"lastHeartbeatTime",baseName:"lastHeartbeatTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},4272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeConfigSource=void 0;class V1NodeConfigSource{static getAttributeTypeMap(){return V1NodeConfigSource.attributeTypeMap}}t.V1NodeConfigSource=V1NodeConfigSource;V1NodeConfigSource.discriminator=undefined;V1NodeConfigSource.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapNodeConfigSource"}]},10912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeConfigStatus=void 0;class V1NodeConfigStatus{static getAttributeTypeMap(){return V1NodeConfigStatus.attributeTypeMap}}t.V1NodeConfigStatus=V1NodeConfigStatus;V1NodeConfigStatus.discriminator=undefined;V1NodeConfigStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"V1NodeConfigSource"},{name:"assigned",baseName:"assigned",type:"V1NodeConfigSource"},{name:"error",baseName:"error",type:"string"},{name:"lastKnownGood",baseName:"lastKnownGood",type:"V1NodeConfigSource"}]},24894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeDaemonEndpoints=void 0;class V1NodeDaemonEndpoints{static getAttributeTypeMap(){return V1NodeDaemonEndpoints.attributeTypeMap}}t.V1NodeDaemonEndpoints=V1NodeDaemonEndpoints;V1NodeDaemonEndpoints.discriminator=undefined;V1NodeDaemonEndpoints.attributeTypeMap=[{name:"kubeletEndpoint",baseName:"kubeletEndpoint",type:"V1DaemonEndpoint"}]},42762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeList=void 0;class V1NodeList{static getAttributeTypeMap(){return V1NodeList.attributeTypeMap}}t.V1NodeList=V1NodeList;V1NodeList.discriminator=undefined;V1NodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},32293:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelector=void 0;class V1NodeSelector{static getAttributeTypeMap(){return V1NodeSelector.attributeTypeMap}}t.V1NodeSelector=V1NodeSelector;V1NodeSelector.discriminator=undefined;V1NodeSelector.attributeTypeMap=[{name:"nodeSelectorTerms",baseName:"nodeSelectorTerms",type:"Array"}]},85161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelectorRequirement=void 0;class V1NodeSelectorRequirement{static getAttributeTypeMap(){return V1NodeSelectorRequirement.attributeTypeMap}}t.V1NodeSelectorRequirement=V1NodeSelectorRequirement;V1NodeSelectorRequirement.discriminator=undefined;V1NodeSelectorRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"values",baseName:"values",type:"Array"}]},51128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSelectorTerm=void 0;class V1NodeSelectorTerm{static getAttributeTypeMap(){return V1NodeSelectorTerm.attributeTypeMap}}t.V1NodeSelectorTerm=V1NodeSelectorTerm;V1NodeSelectorTerm.discriminator=undefined;V1NodeSelectorTerm.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"},{name:"matchFields",baseName:"matchFields",type:"Array"}]},41752:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSpec=void 0;class V1NodeSpec{static getAttributeTypeMap(){return V1NodeSpec.attributeTypeMap}}t.V1NodeSpec=V1NodeSpec;V1NodeSpec.discriminator=undefined;V1NodeSpec.attributeTypeMap=[{name:"configSource",baseName:"configSource",type:"V1NodeConfigSource"},{name:"externalID",baseName:"externalID",type:"string"},{name:"podCIDR",baseName:"podCIDR",type:"string"},{name:"podCIDRs",baseName:"podCIDRs",type:"Array"},{name:"providerID",baseName:"providerID",type:"string"},{name:"taints",baseName:"taints",type:"Array"},{name:"unschedulable",baseName:"unschedulable",type:"boolean"}]},21656:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeStatus=void 0;class V1NodeStatus{static getAttributeTypeMap(){return V1NodeStatus.attributeTypeMap}}t.V1NodeStatus=V1NodeStatus;V1NodeStatus.discriminator=undefined;V1NodeStatus.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"allocatable",baseName:"allocatable",type:"{ [key: string]: string; }"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"config",baseName:"config",type:"V1NodeConfigStatus"},{name:"daemonEndpoints",baseName:"daemonEndpoints",type:"V1NodeDaemonEndpoints"},{name:"images",baseName:"images",type:"Array"},{name:"nodeInfo",baseName:"nodeInfo",type:"V1NodeSystemInfo"},{name:"phase",baseName:"phase",type:"string"},{name:"volumesAttached",baseName:"volumesAttached",type:"Array"},{name:"volumesInUse",baseName:"volumesInUse",type:"Array"}]},33645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NodeSystemInfo=void 0;class V1NodeSystemInfo{static getAttributeTypeMap(){return V1NodeSystemInfo.attributeTypeMap}}t.V1NodeSystemInfo=V1NodeSystemInfo;V1NodeSystemInfo.discriminator=undefined;V1NodeSystemInfo.attributeTypeMap=[{name:"architecture",baseName:"architecture",type:"string"},{name:"bootID",baseName:"bootID",type:"string"},{name:"containerRuntimeVersion",baseName:"containerRuntimeVersion",type:"string"},{name:"kernelVersion",baseName:"kernelVersion",type:"string"},{name:"kubeProxyVersion",baseName:"kubeProxyVersion",type:"string"},{name:"kubeletVersion",baseName:"kubeletVersion",type:"string"},{name:"machineID",baseName:"machineID",type:"string"},{name:"operatingSystem",baseName:"operatingSystem",type:"string"},{name:"osImage",baseName:"osImage",type:"string"},{name:"systemUUID",baseName:"systemUUID",type:"string"}]},70019:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NonResourceAttributes=void 0;class V1NonResourceAttributes{static getAttributeTypeMap(){return V1NonResourceAttributes.attributeTypeMap}}t.V1NonResourceAttributes=V1NonResourceAttributes;V1NonResourceAttributes.discriminator=undefined;V1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}]},99191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1NonResourceRule=void 0;class V1NonResourceRule{static getAttributeTypeMap(){return V1NonResourceRule.attributeTypeMap}}t.V1NonResourceRule=V1NonResourceRule;V1NonResourceRule.discriminator=undefined;V1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},86171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectFieldSelector=void 0;class V1ObjectFieldSelector{static getAttributeTypeMap(){return V1ObjectFieldSelector.attributeTypeMap}}t.V1ObjectFieldSelector=V1ObjectFieldSelector;V1ObjectFieldSelector.discriminator=undefined;V1ObjectFieldSelector.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"}]},44696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectMeta=void 0;class V1ObjectMeta{static getAttributeTypeMap(){return V1ObjectMeta.attributeTypeMap}}t.V1ObjectMeta=V1ObjectMeta;V1ObjectMeta.discriminator=undefined;V1ObjectMeta.attributeTypeMap=[{name:"annotations",baseName:"annotations",type:"{ [key: string]: string; }"},{name:"clusterName",baseName:"clusterName",type:"string"},{name:"creationTimestamp",baseName:"creationTimestamp",type:"Date"},{name:"deletionGracePeriodSeconds",baseName:"deletionGracePeriodSeconds",type:"number"},{name:"deletionTimestamp",baseName:"deletionTimestamp",type:"Date"},{name:"finalizers",baseName:"finalizers",type:"Array"},{name:"generateName",baseName:"generateName",type:"string"},{name:"generation",baseName:"generation",type:"number"},{name:"labels",baseName:"labels",type:"{ [key: string]: string; }"},{name:"managedFields",baseName:"managedFields",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"ownerReferences",baseName:"ownerReferences",type:"Array"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"selfLink",baseName:"selfLink",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},19051:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ObjectReference=void 0;class V1ObjectReference{static getAttributeTypeMap(){return V1ObjectReference.attributeTypeMap}}t.V1ObjectReference=V1ObjectReference;V1ObjectReference.discriminator=undefined;V1ObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"fieldPath",baseName:"fieldPath",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},90114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Overhead=void 0;class V1Overhead{static getAttributeTypeMap(){return V1Overhead.attributeTypeMap}}t.V1Overhead=V1Overhead;V1Overhead.discriminator=undefined;V1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},7924:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1OwnerReference=void 0;class V1OwnerReference{static getAttributeTypeMap(){return V1OwnerReference.attributeTypeMap}}t.V1OwnerReference=V1OwnerReference;V1OwnerReference.discriminator=undefined;V1OwnerReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"blockOwnerDeletion",baseName:"blockOwnerDeletion",type:"boolean"},{name:"controller",baseName:"controller",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},25570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolume=void 0;class V1PersistentVolume{static getAttributeTypeMap(){return V1PersistentVolume.attributeTypeMap}}t.V1PersistentVolume=V1PersistentVolume;V1PersistentVolume.discriminator=undefined;V1PersistentVolume.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeStatus"}]},17657:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaim=void 0;class V1PersistentVolumeClaim{static getAttributeTypeMap(){return V1PersistentVolumeClaim.attributeTypeMap}}t.V1PersistentVolumeClaim=V1PersistentVolumeClaim;V1PersistentVolumeClaim.discriminator=undefined;V1PersistentVolumeClaim.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeClaimSpec"},{name:"status",baseName:"status",type:"V1PersistentVolumeClaimStatus"}]},32966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimCondition=void 0;class V1PersistentVolumeClaimCondition{static getAttributeTypeMap(){return V1PersistentVolumeClaimCondition.attributeTypeMap}}t.V1PersistentVolumeClaimCondition=V1PersistentVolumeClaimCondition;V1PersistentVolumeClaimCondition.discriminator=undefined;V1PersistentVolumeClaimCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},78594:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimList=void 0;class V1PersistentVolumeClaimList{static getAttributeTypeMap(){return V1PersistentVolumeClaimList.attributeTypeMap}}t.V1PersistentVolumeClaimList=V1PersistentVolumeClaimList;V1PersistentVolumeClaimList.discriminator=undefined;V1PersistentVolumeClaimList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimSpec=void 0;class V1PersistentVolumeClaimSpec{static getAttributeTypeMap(){return V1PersistentVolumeClaimSpec.attributeTypeMap}}t.V1PersistentVolumeClaimSpec=V1PersistentVolumeClaimSpec;V1PersistentVolumeClaimSpec.discriminator=undefined;V1PersistentVolumeClaimSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"dataSource",baseName:"dataSource",type:"V1TypedLocalObjectReference"},{name:"resources",baseName:"resources",type:"V1ResourceRequirements"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},42951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimStatus=void 0;class V1PersistentVolumeClaimStatus{static getAttributeTypeMap(){return V1PersistentVolumeClaimStatus.attributeTypeMap}}t.V1PersistentVolumeClaimStatus=V1PersistentVolumeClaimStatus;V1PersistentVolumeClaimStatus.discriminator=undefined;V1PersistentVolumeClaimStatus.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"phase",baseName:"phase",type:"string"}]},92114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimTemplate=void 0;class V1PersistentVolumeClaimTemplate{static getAttributeTypeMap(){return V1PersistentVolumeClaimTemplate.attributeTypeMap}}t.V1PersistentVolumeClaimTemplate=V1PersistentVolumeClaimTemplate;V1PersistentVolumeClaimTemplate.discriminator=undefined;V1PersistentVolumeClaimTemplate.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PersistentVolumeClaimSpec"}]},69811:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeClaimVolumeSource=void 0;class V1PersistentVolumeClaimVolumeSource{static getAttributeTypeMap(){return V1PersistentVolumeClaimVolumeSource.attributeTypeMap}}t.V1PersistentVolumeClaimVolumeSource=V1PersistentVolumeClaimVolumeSource;V1PersistentVolumeClaimVolumeSource.discriminator=undefined;V1PersistentVolumeClaimVolumeSource.attributeTypeMap=[{name:"claimName",baseName:"claimName",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},86312:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeList=void 0;class V1PersistentVolumeList{static getAttributeTypeMap(){return V1PersistentVolumeList.attributeTypeMap}}t.V1PersistentVolumeList=V1PersistentVolumeList;V1PersistentVolumeList.discriminator=undefined;V1PersistentVolumeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},86628:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeSpec=void 0;class V1PersistentVolumeSpec{static getAttributeTypeMap(){return V1PersistentVolumeSpec.attributeTypeMap}}t.V1PersistentVolumeSpec=V1PersistentVolumeSpec;V1PersistentVolumeSpec.discriminator=undefined;V1PersistentVolumeSpec.attributeTypeMap=[{name:"accessModes",baseName:"accessModes",type:"Array"},{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFilePersistentVolumeSource"},{name:"capacity",baseName:"capacity",type:"{ [key: string]: string; }"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSPersistentVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderPersistentVolumeSource"},{name:"claimRef",baseName:"claimRef",type:"V1ObjectReference"},{name:"csi",baseName:"csi",type:"V1CSIPersistentVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexPersistentVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsPersistentVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIPersistentVolumeSource"},{name:"local",baseName:"local",type:"V1LocalVolumeSource"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"nodeAffinity",baseName:"nodeAffinity",type:"V1VolumeNodeAffinity"},{name:"persistentVolumeReclaimPolicy",baseName:"persistentVolumeReclaimPolicy",type:"string"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDPersistentVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOPersistentVolumeSource"},{name:"storageClassName",baseName:"storageClassName",type:"string"},{name:"storageos",baseName:"storageos",type:"V1StorageOSPersistentVolumeSource"},{name:"volumeMode",baseName:"volumeMode",type:"string"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}]},19839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PersistentVolumeStatus=void 0;class V1PersistentVolumeStatus{static getAttributeTypeMap(){return V1PersistentVolumeStatus.attributeTypeMap}}t.V1PersistentVolumeStatus=V1PersistentVolumeStatus;V1PersistentVolumeStatus.discriminator=undefined;V1PersistentVolumeStatus.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},51817:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PhotonPersistentDiskVolumeSource=void 0;class V1PhotonPersistentDiskVolumeSource{static getAttributeTypeMap(){return V1PhotonPersistentDiskVolumeSource.attributeTypeMap}}t.V1PhotonPersistentDiskVolumeSource=V1PhotonPersistentDiskVolumeSource;V1PhotonPersistentDiskVolumeSource.discriminator=undefined;V1PhotonPersistentDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"pdID",baseName:"pdID",type:"string"}]},99975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Pod=void 0;class V1Pod{static getAttributeTypeMap(){return V1Pod.attributeTypeMap}}t.V1Pod=V1Pod;V1Pod.discriminator=undefined;V1Pod.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"},{name:"status",baseName:"status",type:"V1PodStatus"}]},509:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAffinity=void 0;class V1PodAffinity{static getAttributeTypeMap(){return V1PodAffinity.attributeTypeMap}}t.V1PodAffinity=V1PodAffinity;V1PodAffinity.discriminator=undefined;V1PodAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}]},65970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAffinityTerm=void 0;class V1PodAffinityTerm{static getAttributeTypeMap(){return V1PodAffinityTerm.attributeTypeMap}}t.V1PodAffinityTerm=V1PodAffinityTerm;V1PodAffinityTerm.discriminator=undefined;V1PodAffinityTerm.attributeTypeMap=[{name:"labelSelector",baseName:"labelSelector",type:"V1LabelSelector"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"topologyKey",baseName:"topologyKey",type:"string"}]},19574:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodAntiAffinity=void 0;class V1PodAntiAffinity{static getAttributeTypeMap(){return V1PodAntiAffinity.attributeTypeMap}}t.V1PodAntiAffinity=V1PodAntiAffinity;V1PodAntiAffinity.discriminator=undefined;V1PodAntiAffinity.attributeTypeMap=[{name:"preferredDuringSchedulingIgnoredDuringExecution",baseName:"preferredDuringSchedulingIgnoredDuringExecution",type:"Array"},{name:"requiredDuringSchedulingIgnoredDuringExecution",baseName:"requiredDuringSchedulingIgnoredDuringExecution",type:"Array"}]},78045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodCondition=void 0;class V1PodCondition{static getAttributeTypeMap(){return V1PodCondition.attributeTypeMap}}t.V1PodCondition=V1PodCondition;V1PodCondition.discriminator=undefined;V1PodCondition.attributeTypeMap=[{name:"lastProbeTime",baseName:"lastProbeTime",type:"Date"},{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},67831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodDNSConfig=void 0;class V1PodDNSConfig{static getAttributeTypeMap(){return V1PodDNSConfig.attributeTypeMap}}t.V1PodDNSConfig=V1PodDNSConfig;V1PodDNSConfig.discriminator=undefined;V1PodDNSConfig.attributeTypeMap=[{name:"nameservers",baseName:"nameservers",type:"Array"},{name:"options",baseName:"options",type:"Array"},{name:"searches",baseName:"searches",type:"Array"}]},74548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodDNSConfigOption=void 0;class V1PodDNSConfigOption{static getAttributeTypeMap(){return V1PodDNSConfigOption.attributeTypeMap}}t.V1PodDNSConfigOption=V1PodDNSConfigOption;V1PodDNSConfigOption.discriminator=undefined;V1PodDNSConfigOption.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},76774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodIP=void 0;class V1PodIP{static getAttributeTypeMap(){return V1PodIP.attributeTypeMap}}t.V1PodIP=V1PodIP;V1PodIP.discriminator=undefined;V1PodIP.attributeTypeMap=[{name:"ip",baseName:"ip",type:"string"}]},71948:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodList=void 0;class V1PodList{static getAttributeTypeMap(){return V1PodList.attributeTypeMap}}t.V1PodList=V1PodList;V1PodList.discriminator=undefined;V1PodList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},84135:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodReadinessGate=void 0;class V1PodReadinessGate{static getAttributeTypeMap(){return V1PodReadinessGate.attributeTypeMap}}t.V1PodReadinessGate=V1PodReadinessGate;V1PodReadinessGate.discriminator=undefined;V1PodReadinessGate.attributeTypeMap=[{name:"conditionType",baseName:"conditionType",type:"string"}]},79850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodSecurityContext=void 0;class V1PodSecurityContext{static getAttributeTypeMap(){return V1PodSecurityContext.attributeTypeMap}}t.V1PodSecurityContext=V1PodSecurityContext;V1PodSecurityContext.discriminator=undefined;V1PodSecurityContext.attributeTypeMap=[{name:"fsGroup",baseName:"fsGroup",type:"number"},{name:"fsGroupChangePolicy",baseName:"fsGroupChangePolicy",type:"string"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"},{name:"seccompProfile",baseName:"seccompProfile",type:"V1SeccompProfile"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"Array"},{name:"sysctls",baseName:"sysctls",type:"Array"},{name:"windowsOptions",baseName:"windowsOptions",type:"V1WindowsSecurityContextOptions"}]},58881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodSpec=void 0;class V1PodSpec{static getAttributeTypeMap(){return V1PodSpec.attributeTypeMap}}t.V1PodSpec=V1PodSpec;V1PodSpec.discriminator=undefined;V1PodSpec.attributeTypeMap=[{name:"activeDeadlineSeconds",baseName:"activeDeadlineSeconds",type:"number"},{name:"affinity",baseName:"affinity",type:"V1Affinity"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"containers",baseName:"containers",type:"Array"},{name:"dnsConfig",baseName:"dnsConfig",type:"V1PodDNSConfig"},{name:"dnsPolicy",baseName:"dnsPolicy",type:"string"},{name:"enableServiceLinks",baseName:"enableServiceLinks",type:"boolean"},{name:"ephemeralContainers",baseName:"ephemeralContainers",type:"Array"},{name:"hostAliases",baseName:"hostAliases",type:"Array"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostname",baseName:"hostname",type:"string"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array"},{name:"initContainers",baseName:"initContainers",type:"Array"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"overhead",baseName:"overhead",type:"{ [key: string]: string; }"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"priorityClassName",baseName:"priorityClassName",type:"string"},{name:"readinessGates",baseName:"readinessGates",type:"Array"},{name:"restartPolicy",baseName:"restartPolicy",type:"string"},{name:"runtimeClassName",baseName:"runtimeClassName",type:"string"},{name:"schedulerName",baseName:"schedulerName",type:"string"},{name:"securityContext",baseName:"securityContext",type:"V1PodSecurityContext"},{name:"serviceAccount",baseName:"serviceAccount",type:"string"},{name:"serviceAccountName",baseName:"serviceAccountName",type:"string"},{name:"setHostnameAsFQDN",baseName:"setHostnameAsFQDN",type:"boolean"},{name:"shareProcessNamespace",baseName:"shareProcessNamespace",type:"boolean"},{name:"subdomain",baseName:"subdomain",type:"string"},{name:"terminationGracePeriodSeconds",baseName:"terminationGracePeriodSeconds",type:"number"},{name:"tolerations",baseName:"tolerations",type:"Array"},{name:"topologySpreadConstraints",baseName:"topologySpreadConstraints",type:"Array"},{name:"volumes",baseName:"volumes",type:"Array"}]},42892:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodStatus=void 0;class V1PodStatus{static getAttributeTypeMap(){return V1PodStatus.attributeTypeMap}}t.V1PodStatus=V1PodStatus;V1PodStatus.discriminator=undefined;V1PodStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"containerStatuses",baseName:"containerStatuses",type:"Array"},{name:"ephemeralContainerStatuses",baseName:"ephemeralContainerStatuses",type:"Array"},{name:"hostIP",baseName:"hostIP",type:"string"},{name:"initContainerStatuses",baseName:"initContainerStatuses",type:"Array"},{name:"message",baseName:"message",type:"string"},{name:"nominatedNodeName",baseName:"nominatedNodeName",type:"string"},{name:"phase",baseName:"phase",type:"string"},{name:"podIP",baseName:"podIP",type:"string"},{name:"podIPs",baseName:"podIPs",type:"Array"},{name:"qosClass",baseName:"qosClass",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"startTime",baseName:"startTime",type:"Date"}]},39894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplate=void 0;class V1PodTemplate{static getAttributeTypeMap(){return V1PodTemplate.attributeTypeMap}}t.V1PodTemplate=V1PodTemplate;V1PodTemplate.discriminator=undefined;V1PodTemplate.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},88279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplateList=void 0;class V1PodTemplateList{static getAttributeTypeMap(){return V1PodTemplateList.attributeTypeMap}}t.V1PodTemplateList=V1PodTemplateList;V1PodTemplateList.discriminator=undefined;V1PodTemplateList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},97621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PodTemplateSpec=void 0;class V1PodTemplateSpec{static getAttributeTypeMap(){return V1PodTemplateSpec.attributeTypeMap}}t.V1PodTemplateSpec=V1PodTemplateSpec;V1PodTemplateSpec.discriminator=undefined;V1PodTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1PodSpec"}]},74625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PolicyRule=void 0;class V1PolicyRule{static getAttributeTypeMap(){return V1PolicyRule.attributeTypeMap}}t.V1PolicyRule=V1PolicyRule;V1PolicyRule.discriminator=undefined;V1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},85571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PortStatus=void 0;class V1PortStatus{static getAttributeTypeMap(){return V1PortStatus.attributeTypeMap}}t.V1PortStatus=V1PortStatus;V1PortStatus.discriminator=undefined;V1PortStatus.attributeTypeMap=[{name:"error",baseName:"error",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},3317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PortworxVolumeSource=void 0;class V1PortworxVolumeSource{static getAttributeTypeMap(){return V1PortworxVolumeSource.attributeTypeMap}}t.V1PortworxVolumeSource=V1PortworxVolumeSource;V1PortworxVolumeSource.discriminator=undefined;V1PortworxVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"volumeID",baseName:"volumeID",type:"string"}]},85751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Preconditions=void 0;class V1Preconditions{static getAttributeTypeMap(){return V1Preconditions.attributeTypeMap}}t.V1Preconditions=V1Preconditions;V1Preconditions.discriminator=undefined;V1Preconditions.attributeTypeMap=[{name:"resourceVersion",baseName:"resourceVersion",type:"string"},{name:"uid",baseName:"uid",type:"string"}]},50837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PreferredSchedulingTerm=void 0;class V1PreferredSchedulingTerm{static getAttributeTypeMap(){return V1PreferredSchedulingTerm.attributeTypeMap}}t.V1PreferredSchedulingTerm=V1PreferredSchedulingTerm;V1PreferredSchedulingTerm.discriminator=undefined;V1PreferredSchedulingTerm.attributeTypeMap=[{name:"preference",baseName:"preference",type:"V1NodeSelectorTerm"},{name:"weight",baseName:"weight",type:"number"}]},35698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PriorityClass=void 0;class V1PriorityClass{static getAttributeTypeMap(){return V1PriorityClass.attributeTypeMap}}t.V1PriorityClass=V1PriorityClass;V1PriorityClass.discriminator=undefined;V1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},80966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1PriorityClassList=void 0;class V1PriorityClassList{static getAttributeTypeMap(){return V1PriorityClassList.attributeTypeMap}}t.V1PriorityClassList=V1PriorityClassList;V1PriorityClassList.discriminator=undefined;V1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},43933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Probe=void 0;class V1Probe{static getAttributeTypeMap(){return V1Probe.attributeTypeMap}}t.V1Probe=V1Probe;V1Probe.discriminator=undefined;V1Probe.attributeTypeMap=[{name:"exec",baseName:"exec",type:"V1ExecAction"},{name:"failureThreshold",baseName:"failureThreshold",type:"number"},{name:"httpGet",baseName:"httpGet",type:"V1HTTPGetAction"},{name:"initialDelaySeconds",baseName:"initialDelaySeconds",type:"number"},{name:"periodSeconds",baseName:"periodSeconds",type:"number"},{name:"successThreshold",baseName:"successThreshold",type:"number"},{name:"tcpSocket",baseName:"tcpSocket",type:"V1TCPSocketAction"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},54662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ProjectedVolumeSource=void 0;class V1ProjectedVolumeSource{static getAttributeTypeMap(){return V1ProjectedVolumeSource.attributeTypeMap}}t.V1ProjectedVolumeSource=V1ProjectedVolumeSource;V1ProjectedVolumeSource.discriminator=undefined;V1ProjectedVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"sources",baseName:"sources",type:"Array"}]},16954:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1QuobyteVolumeSource=void 0;class V1QuobyteVolumeSource{static getAttributeTypeMap(){return V1QuobyteVolumeSource.attributeTypeMap}}t.V1QuobyteVolumeSource=V1QuobyteVolumeSource;V1QuobyteVolumeSource.discriminator=undefined;V1QuobyteVolumeSource.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"registry",baseName:"registry",type:"string"},{name:"tenant",baseName:"tenant",type:"string"},{name:"user",baseName:"user",type:"string"},{name:"volume",baseName:"volume",type:"string"}]},70634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RBDPersistentVolumeSource=void 0;class V1RBDPersistentVolumeSource{static getAttributeTypeMap(){return V1RBDPersistentVolumeSource.attributeTypeMap}}t.V1RBDPersistentVolumeSource=V1RBDPersistentVolumeSource;V1RBDPersistentVolumeSource.discriminator=undefined;V1RBDPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"user",baseName:"user",type:"string"}]},26573:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RBDVolumeSource=void 0;class V1RBDVolumeSource{static getAttributeTypeMap(){return V1RBDVolumeSource.attributeTypeMap}}t.V1RBDVolumeSource=V1RBDVolumeSource;V1RBDVolumeSource.discriminator=undefined;V1RBDVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"image",baseName:"image",type:"string"},{name:"keyring",baseName:"keyring",type:"string"},{name:"monitors",baseName:"monitors",type:"Array"},{name:"pool",baseName:"pool",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"user",baseName:"user",type:"string"}]},69009:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSet=void 0;class V1ReplicaSet{static getAttributeTypeMap(){return V1ReplicaSet.attributeTypeMap}}t.V1ReplicaSet=V1ReplicaSet;V1ReplicaSet.discriminator=undefined;V1ReplicaSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicaSetSpec"},{name:"status",baseName:"status",type:"V1ReplicaSetStatus"}]},14870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetCondition=void 0;class V1ReplicaSetCondition{static getAttributeTypeMap(){return V1ReplicaSetCondition.attributeTypeMap}}t.V1ReplicaSetCondition=V1ReplicaSetCondition;V1ReplicaSetCondition.discriminator=undefined;V1ReplicaSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},40475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetList=void 0;class V1ReplicaSetList{static getAttributeTypeMap(){return V1ReplicaSetList.attributeTypeMap}}t.V1ReplicaSetList=V1ReplicaSetList;V1ReplicaSetList.discriminator=undefined;V1ReplicaSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},90975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetSpec=void 0;class V1ReplicaSetSpec{static getAttributeTypeMap(){return V1ReplicaSetSpec.attributeTypeMap}}t.V1ReplicaSetSpec=V1ReplicaSetSpec;V1ReplicaSetSpec.discriminator=undefined;V1ReplicaSetSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},66859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicaSetStatus=void 0;class V1ReplicaSetStatus{static getAttributeTypeMap(){return V1ReplicaSetStatus.attributeTypeMap}}t.V1ReplicaSetStatus=V1ReplicaSetStatus;V1ReplicaSetStatus.discriminator=undefined;V1ReplicaSetStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}]},64888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationController=void 0;class V1ReplicationController{static getAttributeTypeMap(){return V1ReplicationController.attributeTypeMap}}t.V1ReplicationController=V1ReplicationController;V1ReplicationController.discriminator=undefined;V1ReplicationController.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ReplicationControllerSpec"},{name:"status",baseName:"status",type:"V1ReplicationControllerStatus"}]},36376:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerCondition=void 0;class V1ReplicationControllerCondition{static getAttributeTypeMap(){return V1ReplicationControllerCondition.attributeTypeMap}}t.V1ReplicationControllerCondition=V1ReplicationControllerCondition;V1ReplicationControllerCondition.discriminator=undefined;V1ReplicationControllerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},8350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerList=void 0;class V1ReplicationControllerList{static getAttributeTypeMap(){return V1ReplicationControllerList.attributeTypeMap}}t.V1ReplicationControllerList=V1ReplicationControllerList;V1ReplicationControllerList.discriminator=undefined;V1ReplicationControllerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},21782:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerSpec=void 0;class V1ReplicationControllerSpec{static getAttributeTypeMap(){return V1ReplicationControllerSpec.attributeTypeMap}}t.V1ReplicationControllerSpec=V1ReplicationControllerSpec;V1ReplicationControllerSpec.discriminator=undefined;V1ReplicationControllerSpec.attributeTypeMap=[{name:"minReadySeconds",baseName:"minReadySeconds",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"}]},19870:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ReplicationControllerStatus=void 0;class V1ReplicationControllerStatus{static getAttributeTypeMap(){return V1ReplicationControllerStatus.attributeTypeMap}}t.V1ReplicationControllerStatus=V1ReplicationControllerStatus;V1ReplicationControllerStatus.discriminator=undefined;V1ReplicationControllerStatus.attributeTypeMap=[{name:"availableReplicas",baseName:"availableReplicas",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"fullyLabeledReplicas",baseName:"fullyLabeledReplicas",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"}]},94221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceAttributes=void 0;class V1ResourceAttributes{static getAttributeTypeMap(){return V1ResourceAttributes.attributeTypeMap}}t.V1ResourceAttributes=V1ResourceAttributes;V1ResourceAttributes.discriminator=undefined;V1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}]},10936:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceFieldSelector=void 0;class V1ResourceFieldSelector{static getAttributeTypeMap(){return V1ResourceFieldSelector.attributeTypeMap}}t.V1ResourceFieldSelector=V1ResourceFieldSelector;V1ResourceFieldSelector.discriminator=undefined;V1ResourceFieldSelector.attributeTypeMap=[{name:"containerName",baseName:"containerName",type:"string"},{name:"divisor",baseName:"divisor",type:"string"},{name:"resource",baseName:"resource",type:"string"}]},5827:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuota=void 0;class V1ResourceQuota{static getAttributeTypeMap(){return V1ResourceQuota.attributeTypeMap}}t.V1ResourceQuota=V1ResourceQuota;V1ResourceQuota.discriminator=undefined;V1ResourceQuota.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ResourceQuotaSpec"},{name:"status",baseName:"status",type:"V1ResourceQuotaStatus"}]},48994:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaList=void 0;class V1ResourceQuotaList{static getAttributeTypeMap(){return V1ResourceQuotaList.attributeTypeMap}}t.V1ResourceQuotaList=V1ResourceQuotaList;V1ResourceQuotaList.discriminator=undefined;V1ResourceQuotaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},55397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaSpec=void 0;class V1ResourceQuotaSpec{static getAttributeTypeMap(){return V1ResourceQuotaSpec.attributeTypeMap}}t.V1ResourceQuotaSpec=V1ResourceQuotaSpec;V1ResourceQuotaSpec.discriminator=undefined;V1ResourceQuotaSpec.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"scopeSelector",baseName:"scopeSelector",type:"V1ScopeSelector"},{name:"scopes",baseName:"scopes",type:"Array"}]},91686:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceQuotaStatus=void 0;class V1ResourceQuotaStatus{static getAttributeTypeMap(){return V1ResourceQuotaStatus.attributeTypeMap}}t.V1ResourceQuotaStatus=V1ResourceQuotaStatus;V1ResourceQuotaStatus.discriminator=undefined;V1ResourceQuotaStatus.attributeTypeMap=[{name:"hard",baseName:"hard",type:"{ [key: string]: string; }"},{name:"used",baseName:"used",type:"{ [key: string]: string; }"}]},22421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceRequirements=void 0;class V1ResourceRequirements{static getAttributeTypeMap(){return V1ResourceRequirements.attributeTypeMap}}t.V1ResourceRequirements=V1ResourceRequirements;V1ResourceRequirements.discriminator=undefined;V1ResourceRequirements.attributeTypeMap=[{name:"limits",baseName:"limits",type:"{ [key: string]: string; }"},{name:"requests",baseName:"requests",type:"{ [key: string]: string; }"}]},1581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ResourceRule=void 0;class V1ResourceRule{static getAttributeTypeMap(){return V1ResourceRule.attributeTypeMap}}t.V1ResourceRule=V1ResourceRule;V1ResourceRule.discriminator=undefined;V1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},61114:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Role=void 0;class V1Role{static getAttributeTypeMap(){return V1Role.attributeTypeMap}}t.V1Role=V1Role;V1Role.discriminator=undefined;V1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},77568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleBinding=void 0;class V1RoleBinding{static getAttributeTypeMap(){return V1RoleBinding.attributeTypeMap}}t.V1RoleBinding=V1RoleBinding;V1RoleBinding.discriminator=undefined;V1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},55014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleBindingList=void 0;class V1RoleBindingList{static getAttributeTypeMap(){return V1RoleBindingList.attributeTypeMap}}t.V1RoleBindingList=V1RoleBindingList;V1RoleBindingList.discriminator=undefined;V1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},67214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleList=void 0;class V1RoleList{static getAttributeTypeMap(){return V1RoleList.attributeTypeMap}}t.V1RoleList=V1RoleList;V1RoleList.discriminator=undefined;V1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RoleRef=void 0;class V1RoleRef{static getAttributeTypeMap(){return V1RoleRef.attributeTypeMap}}t.V1RoleRef=V1RoleRef;V1RoleRef.discriminator=undefined;V1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},46136:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateDaemonSet=void 0;class V1RollingUpdateDaemonSet{static getAttributeTypeMap(){return V1RollingUpdateDaemonSet.attributeTypeMap}}t.V1RollingUpdateDaemonSet=V1RollingUpdateDaemonSet;V1RollingUpdateDaemonSet.discriminator=undefined;V1RollingUpdateDaemonSet.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"}]},70215:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateDeployment=void 0;class V1RollingUpdateDeployment{static getAttributeTypeMap(){return V1RollingUpdateDeployment.attributeTypeMap}}t.V1RollingUpdateDeployment=V1RollingUpdateDeployment;V1RollingUpdateDeployment.discriminator=undefined;V1RollingUpdateDeployment.attributeTypeMap=[{name:"maxSurge",baseName:"maxSurge",type:"object"},{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"}]},37088:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RollingUpdateStatefulSetStrategy=void 0;class V1RollingUpdateStatefulSetStrategy{static getAttributeTypeMap(){return V1RollingUpdateStatefulSetStrategy.attributeTypeMap}}t.V1RollingUpdateStatefulSetStrategy=V1RollingUpdateStatefulSetStrategy;V1RollingUpdateStatefulSetStrategy.discriminator=undefined;V1RollingUpdateStatefulSetStrategy.attributeTypeMap=[{name:"partition",baseName:"partition",type:"number"}]},1824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuleWithOperations=void 0;class V1RuleWithOperations{static getAttributeTypeMap(){return V1RuleWithOperations.attributeTypeMap}}t.V1RuleWithOperations=V1RuleWithOperations;V1RuleWithOperations.discriminator=undefined;V1RuleWithOperations.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"apiVersions",baseName:"apiVersions",type:"Array"},{name:"operations",baseName:"operations",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"scope",baseName:"scope",type:"string"}]},31828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuntimeClass=void 0;class V1RuntimeClass{static getAttributeTypeMap(){return V1RuntimeClass.attributeTypeMap}}t.V1RuntimeClass=V1RuntimeClass;V1RuntimeClass.discriminator=undefined;V1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"handler",baseName:"handler",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"overhead",baseName:"overhead",type:"V1Overhead"},{name:"scheduling",baseName:"scheduling",type:"V1Scheduling"}]},96736:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1RuntimeClassList=void 0;class V1RuntimeClassList{static getAttributeTypeMap(){return V1RuntimeClassList.attributeTypeMap}}t.V1RuntimeClassList=V1RuntimeClassList;V1RuntimeClassList.discriminator=undefined;V1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SELinuxOptions=void 0;class V1SELinuxOptions{static getAttributeTypeMap(){return V1SELinuxOptions.attributeTypeMap}}t.V1SELinuxOptions=V1SELinuxOptions;V1SELinuxOptions.discriminator=undefined;V1SELinuxOptions.attributeTypeMap=[{name:"level",baseName:"level",type:"string"},{name:"role",baseName:"role",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"user",baseName:"user",type:"string"}]},9764:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Scale=void 0;class V1Scale{static getAttributeTypeMap(){return V1Scale.attributeTypeMap}}t.V1Scale=V1Scale;V1Scale.discriminator=undefined;V1Scale.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ScaleSpec"},{name:"status",baseName:"status",type:"V1ScaleStatus"}]},21058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleIOPersistentVolumeSource=void 0;class V1ScaleIOPersistentVolumeSource{static getAttributeTypeMap(){return V1ScaleIOPersistentVolumeSource.attributeTypeMap}}t.V1ScaleIOPersistentVolumeSource=V1ScaleIOPersistentVolumeSource;V1ScaleIOPersistentVolumeSource.discriminator=undefined;V1ScaleIOPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1SecretReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},31382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleIOVolumeSource=void 0;class V1ScaleIOVolumeSource{static getAttributeTypeMap(){return V1ScaleIOVolumeSource.attributeTypeMap}}t.V1ScaleIOVolumeSource=V1ScaleIOVolumeSource;V1ScaleIOVolumeSource.discriminator=undefined;V1ScaleIOVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"gateway",baseName:"gateway",type:"string"},{name:"protectionDomain",baseName:"protectionDomain",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"sslEnabled",baseName:"sslEnabled",type:"boolean"},{name:"storageMode",baseName:"storageMode",type:"string"},{name:"storagePool",baseName:"storagePool",type:"string"},{name:"system",baseName:"system",type:"string"},{name:"volumeName",baseName:"volumeName",type:"string"}]},15895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleSpec=void 0;class V1ScaleSpec{static getAttributeTypeMap(){return V1ScaleSpec.attributeTypeMap}}t.V1ScaleSpec=V1ScaleSpec;V1ScaleSpec.discriminator=undefined;V1ScaleSpec.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"}]},56891:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScaleStatus=void 0;class V1ScaleStatus{static getAttributeTypeMap(){return V1ScaleStatus.attributeTypeMap}}t.V1ScaleStatus=V1ScaleStatus;V1ScaleStatus.discriminator=undefined;V1ScaleStatus.attributeTypeMap=[{name:"replicas",baseName:"replicas",type:"number"},{name:"selector",baseName:"selector",type:"string"}]},79991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Scheduling=void 0;class V1Scheduling{static getAttributeTypeMap(){return V1Scheduling.attributeTypeMap}}t.V1Scheduling=V1Scheduling;V1Scheduling.discriminator=undefined;V1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},60711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScopeSelector=void 0;class V1ScopeSelector{static getAttributeTypeMap(){return V1ScopeSelector.attributeTypeMap}}t.V1ScopeSelector=V1ScopeSelector;V1ScopeSelector.discriminator=undefined;V1ScopeSelector.attributeTypeMap=[{name:"matchExpressions",baseName:"matchExpressions",type:"Array"}]},25888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ScopedResourceSelectorRequirement=void 0;class V1ScopedResourceSelectorRequirement{static getAttributeTypeMap(){return V1ScopedResourceSelectorRequirement.attributeTypeMap}}t.V1ScopedResourceSelectorRequirement=V1ScopedResourceSelectorRequirement;V1ScopedResourceSelectorRequirement.discriminator=undefined;V1ScopedResourceSelectorRequirement.attributeTypeMap=[{name:"operator",baseName:"operator",type:"string"},{name:"scopeName",baseName:"scopeName",type:"string"},{name:"values",baseName:"values",type:"Array"}]},845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SeccompProfile=void 0;class V1SeccompProfile{static getAttributeTypeMap(){return V1SeccompProfile.attributeTypeMap}}t.V1SeccompProfile=V1SeccompProfile;V1SeccompProfile.discriminator=undefined;V1SeccompProfile.attributeTypeMap=[{name:"localhostProfile",baseName:"localhostProfile",type:"string"},{name:"type",baseName:"type",type:"string"}]},49696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Secret=void 0;class V1Secret{static getAttributeTypeMap(){return V1Secret.attributeTypeMap}}t.V1Secret=V1Secret;V1Secret.discriminator=undefined;V1Secret.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"data",baseName:"data",type:"{ [key: string]: string; }"},{name:"immutable",baseName:"immutable",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"stringData",baseName:"stringData",type:"{ [key: string]: string; }"},{name:"type",baseName:"type",type:"string"}]},7056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretEnvSource=void 0;class V1SecretEnvSource{static getAttributeTypeMap(){return V1SecretEnvSource.attributeTypeMap}}t.V1SecretEnvSource=V1SecretEnvSource;V1SecretEnvSource.discriminator=undefined;V1SecretEnvSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},3884:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretKeySelector=void 0;class V1SecretKeySelector{static getAttributeTypeMap(){return V1SecretKeySelector.attributeTypeMap}}t.V1SecretKeySelector=V1SecretKeySelector;V1SecretKeySelector.discriminator=undefined;V1SecretKeySelector.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},4248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretList=void 0;class V1SecretList{static getAttributeTypeMap(){return V1SecretList.attributeTypeMap}}t.V1SecretList=V1SecretList;V1SecretList.discriminator=undefined;V1SecretList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},39203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretProjection=void 0;class V1SecretProjection{static getAttributeTypeMap(){return V1SecretProjection.attributeTypeMap}}t.V1SecretProjection=V1SecretProjection;V1SecretProjection.discriminator=undefined;V1SecretProjection.attributeTypeMap=[{name:"items",baseName:"items",type:"Array"},{name:"name",baseName:"name",type:"string"},{name:"optional",baseName:"optional",type:"boolean"}]},33725:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretReference=void 0;class V1SecretReference{static getAttributeTypeMap(){return V1SecretReference.attributeTypeMap}}t.V1SecretReference=V1SecretReference;V1SecretReference.discriminator=undefined;V1SecretReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},19078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecretVolumeSource=void 0;class V1SecretVolumeSource{static getAttributeTypeMap(){return V1SecretVolumeSource.attributeTypeMap}}t.V1SecretVolumeSource=V1SecretVolumeSource;V1SecretVolumeSource.discriminator=undefined;V1SecretVolumeSource.attributeTypeMap=[{name:"defaultMode",baseName:"defaultMode",type:"number"},{name:"items",baseName:"items",type:"Array"},{name:"optional",baseName:"optional",type:"boolean"},{name:"secretName",baseName:"secretName",type:"string"}]},98113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SecurityContext=void 0;class V1SecurityContext{static getAttributeTypeMap(){return V1SecurityContext.attributeTypeMap}}t.V1SecurityContext=V1SecurityContext;V1SecurityContext.discriminator=undefined;V1SecurityContext.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"capabilities",baseName:"capabilities",type:"V1Capabilities"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"procMount",baseName:"procMount",type:"string"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"runAsGroup",baseName:"runAsGroup",type:"number"},{name:"runAsNonRoot",baseName:"runAsNonRoot",type:"boolean"},{name:"runAsUser",baseName:"runAsUser",type:"number"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"},{name:"seccompProfile",baseName:"seccompProfile",type:"V1SeccompProfile"},{name:"windowsOptions",baseName:"windowsOptions",type:"V1WindowsSecurityContextOptions"}]},15598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectAccessReview=void 0;class V1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1SelfSubjectAccessReview.attributeTypeMap}}t.V1SelfSubjectAccessReview=V1SelfSubjectAccessReview;V1SelfSubjectAccessReview.discriminator=undefined;V1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},39191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectAccessReviewSpec=void 0;class V1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectAccessReviewSpec.attributeTypeMap}}t.V1SelfSubjectAccessReviewSpec=V1SelfSubjectAccessReviewSpec;V1SelfSubjectAccessReviewSpec.discriminator=undefined;V1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"}]},84279:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectRulesReview=void 0;class V1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1SelfSubjectRulesReview.attributeTypeMap}}t.V1SelfSubjectRulesReview=V1SelfSubjectRulesReview;V1SelfSubjectRulesReview.discriminator=undefined;V1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectRulesReviewStatus"}]},56581:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SelfSubjectRulesReviewSpec=void 0;class V1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1SelfSubjectRulesReviewSpec.attributeTypeMap}}t.V1SelfSubjectRulesReviewSpec=V1SelfSubjectRulesReviewSpec;V1SelfSubjectRulesReviewSpec.discriminator=undefined;V1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}]},30254:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServerAddressByClientCIDR=void 0;class V1ServerAddressByClientCIDR{static getAttributeTypeMap(){return V1ServerAddressByClientCIDR.attributeTypeMap}}t.V1ServerAddressByClientCIDR=V1ServerAddressByClientCIDR;V1ServerAddressByClientCIDR.discriminator=undefined;V1ServerAddressByClientCIDR.attributeTypeMap=[{name:"clientCIDR",baseName:"clientCIDR",type:"string"},{name:"serverAddress",baseName:"serverAddress",type:"string"}]},87928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Service=void 0;class V1Service{static getAttributeTypeMap(){return V1Service.attributeTypeMap}}t.V1Service=V1Service;V1Service.discriminator=undefined;V1Service.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1ServiceSpec"},{name:"status",baseName:"status",type:"V1ServiceStatus"}]},9350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccount=void 0;class V1ServiceAccount{static getAttributeTypeMap(){return V1ServiceAccount.attributeTypeMap}}t.V1ServiceAccount=V1ServiceAccount;V1ServiceAccount.discriminator=undefined;V1ServiceAccount.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"automountServiceAccountToken",baseName:"automountServiceAccountToken",type:"boolean"},{name:"imagePullSecrets",baseName:"imagePullSecrets",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"secrets",baseName:"secrets",type:"Array"}]},38169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccountList=void 0;class V1ServiceAccountList{static getAttributeTypeMap(){return V1ServiceAccountList.attributeTypeMap}}t.V1ServiceAccountList=V1ServiceAccountList;V1ServiceAccountList.discriminator=undefined;V1ServiceAccountList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},18640:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceAccountTokenProjection=void 0;class V1ServiceAccountTokenProjection{static getAttributeTypeMap(){return V1ServiceAccountTokenProjection.attributeTypeMap}}t.V1ServiceAccountTokenProjection=V1ServiceAccountTokenProjection;V1ServiceAccountTokenProjection.discriminator=undefined;V1ServiceAccountTokenProjection.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"},{name:"path",baseName:"path",type:"string"}]},25927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceBackendPort=void 0;class V1ServiceBackendPort{static getAttributeTypeMap(){return V1ServiceBackendPort.attributeTypeMap}}t.V1ServiceBackendPort=V1ServiceBackendPort;V1ServiceBackendPort.discriminator=undefined;V1ServiceBackendPort.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"number",baseName:"number",type:"number"}]},26839:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceList=void 0;class V1ServiceList{static getAttributeTypeMap(){return V1ServiceList.attributeTypeMap}}t.V1ServiceList=V1ServiceList;V1ServiceList.discriminator=undefined;V1ServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},46881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServicePort=void 0;class V1ServicePort{static getAttributeTypeMap(){return V1ServicePort.attributeTypeMap}}t.V1ServicePort=V1ServicePort;V1ServicePort.discriminator=undefined;V1ServicePort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"nodePort",baseName:"nodePort",type:"number"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"},{name:"targetPort",baseName:"targetPort",type:"object"}]},96339:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceSpec=void 0;class V1ServiceSpec{static getAttributeTypeMap(){return V1ServiceSpec.attributeTypeMap}}t.V1ServiceSpec=V1ServiceSpec;V1ServiceSpec.discriminator=undefined;V1ServiceSpec.attributeTypeMap=[{name:"allocateLoadBalancerNodePorts",baseName:"allocateLoadBalancerNodePorts",type:"boolean"},{name:"clusterIP",baseName:"clusterIP",type:"string"},{name:"clusterIPs",baseName:"clusterIPs",type:"Array"},{name:"externalIPs",baseName:"externalIPs",type:"Array"},{name:"externalName",baseName:"externalName",type:"string"},{name:"externalTrafficPolicy",baseName:"externalTrafficPolicy",type:"string"},{name:"healthCheckNodePort",baseName:"healthCheckNodePort",type:"number"},{name:"ipFamilies",baseName:"ipFamilies",type:"Array"},{name:"ipFamilyPolicy",baseName:"ipFamilyPolicy",type:"string"},{name:"loadBalancerIP",baseName:"loadBalancerIP",type:"string"},{name:"loadBalancerSourceRanges",baseName:"loadBalancerSourceRanges",type:"Array"},{name:"ports",baseName:"ports",type:"Array"},{name:"publishNotReadyAddresses",baseName:"publishNotReadyAddresses",type:"boolean"},{name:"selector",baseName:"selector",type:"{ [key: string]: string; }"},{name:"sessionAffinity",baseName:"sessionAffinity",type:"string"},{name:"sessionAffinityConfig",baseName:"sessionAffinityConfig",type:"V1SessionAffinityConfig"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"},{name:"type",baseName:"type",type:"string"}]},62890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ServiceStatus=void 0;class V1ServiceStatus{static getAttributeTypeMap(){return V1ServiceStatus.attributeTypeMap}}t.V1ServiceStatus=V1ServiceStatus;V1ServiceStatus.discriminator=undefined;V1ServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"loadBalancer",baseName:"loadBalancer",type:"V1LoadBalancerStatus"}]},69127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SessionAffinityConfig=void 0;class V1SessionAffinityConfig{static getAttributeTypeMap(){return V1SessionAffinityConfig.attributeTypeMap}}t.V1SessionAffinityConfig=V1SessionAffinityConfig;V1SessionAffinityConfig.discriminator=undefined;V1SessionAffinityConfig.attributeTypeMap=[{name:"clientIP",baseName:"clientIP",type:"V1ClientIPConfig"}]},76275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSet=void 0;class V1StatefulSet{static getAttributeTypeMap(){return V1StatefulSet.attributeTypeMap}}t.V1StatefulSet=V1StatefulSet;V1StatefulSet.discriminator=undefined;V1StatefulSet.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1StatefulSetSpec"},{name:"status",baseName:"status",type:"V1StatefulSetStatus"}]},49545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetCondition=void 0;class V1StatefulSetCondition{static getAttributeTypeMap(){return V1StatefulSetCondition.attributeTypeMap}}t.V1StatefulSetCondition=V1StatefulSetCondition;V1StatefulSetCondition.discriminator=undefined;V1StatefulSetCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},9927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetList=void 0;class V1StatefulSetList{static getAttributeTypeMap(){return V1StatefulSetList.attributeTypeMap}}t.V1StatefulSetList=V1StatefulSetList;V1StatefulSetList.discriminator=undefined;V1StatefulSetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},18622:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetSpec=void 0;class V1StatefulSetSpec{static getAttributeTypeMap(){return V1StatefulSetSpec.attributeTypeMap}}t.V1StatefulSetSpec=V1StatefulSetSpec;V1StatefulSetSpec.discriminator=undefined;V1StatefulSetSpec.attributeTypeMap=[{name:"podManagementPolicy",baseName:"podManagementPolicy",type:"string"},{name:"replicas",baseName:"replicas",type:"number"},{name:"revisionHistoryLimit",baseName:"revisionHistoryLimit",type:"number"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"serviceName",baseName:"serviceName",type:"string"},{name:"template",baseName:"template",type:"V1PodTemplateSpec"},{name:"updateStrategy",baseName:"updateStrategy",type:"V1StatefulSetUpdateStrategy"},{name:"volumeClaimTemplates",baseName:"volumeClaimTemplates",type:"Array"}]},95926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetStatus=void 0;class V1StatefulSetStatus{static getAttributeTypeMap(){return V1StatefulSetStatus.attributeTypeMap}}t.V1StatefulSetStatus=V1StatefulSetStatus;V1StatefulSetStatus.discriminator=undefined;V1StatefulSetStatus.attributeTypeMap=[{name:"collisionCount",baseName:"collisionCount",type:"number"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"currentRevision",baseName:"currentRevision",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"readyReplicas",baseName:"readyReplicas",type:"number"},{name:"replicas",baseName:"replicas",type:"number"},{name:"updateRevision",baseName:"updateRevision",type:"string"},{name:"updatedReplicas",baseName:"updatedReplicas",type:"number"}]},48971:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatefulSetUpdateStrategy=void 0;class V1StatefulSetUpdateStrategy{static getAttributeTypeMap(){return V1StatefulSetUpdateStrategy.attributeTypeMap}}t.V1StatefulSetUpdateStrategy=V1StatefulSetUpdateStrategy;V1StatefulSetUpdateStrategy.discriminator=undefined;V1StatefulSetUpdateStrategy.attributeTypeMap=[{name:"rollingUpdate",baseName:"rollingUpdate",type:"V1RollingUpdateStatefulSetStrategy"},{name:"type",baseName:"type",type:"string"}]},31592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Status=void 0;class V1Status{static getAttributeTypeMap(){return V1Status.attributeTypeMap}}t.V1Status=V1Status;V1Status.discriminator=undefined;V1Status.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"code",baseName:"code",type:"number"},{name:"details",baseName:"details",type:"V1StatusDetails"},{name:"kind",baseName:"kind",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"}]},83459:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatusCause=void 0;class V1StatusCause{static getAttributeTypeMap(){return V1StatusCause.attributeTypeMap}}t.V1StatusCause=V1StatusCause;V1StatusCause.discriminator=undefined;V1StatusCause.attributeTypeMap=[{name:"field",baseName:"field",type:"string"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},9077:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StatusDetails=void 0;class V1StatusDetails{static getAttributeTypeMap(){return V1StatusDetails.attributeTypeMap}}t.V1StatusDetails=V1StatusDetails;V1StatusDetails.discriminator=undefined;V1StatusDetails.attributeTypeMap=[{name:"causes",baseName:"causes",type:"Array"},{name:"group",baseName:"group",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"retryAfterSeconds",baseName:"retryAfterSeconds",type:"number"},{name:"uid",baseName:"uid",type:"string"}]},70127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageClass=void 0;class V1StorageClass{static getAttributeTypeMap(){return V1StorageClass.attributeTypeMap}}t.V1StorageClass=V1StorageClass;V1StorageClass.discriminator=undefined;V1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}]},53615:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageClassList=void 0;class V1StorageClassList{static getAttributeTypeMap(){return V1StorageClassList.attributeTypeMap}}t.V1StorageClassList=V1StorageClassList;V1StorageClassList.discriminator=undefined;V1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14610:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageOSPersistentVolumeSource=void 0;class V1StorageOSPersistentVolumeSource{static getAttributeTypeMap(){return V1StorageOSPersistentVolumeSource.attributeTypeMap}}t.V1StorageOSPersistentVolumeSource=V1StorageOSPersistentVolumeSource;V1StorageOSPersistentVolumeSource.discriminator=undefined;V1StorageOSPersistentVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1ObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}]},60878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1StorageOSVolumeSource=void 0;class V1StorageOSVolumeSource{static getAttributeTypeMap(){return V1StorageOSVolumeSource.attributeTypeMap}}t.V1StorageOSVolumeSource=V1StorageOSVolumeSource;V1StorageOSVolumeSource.discriminator=undefined;V1StorageOSVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"secretRef",baseName:"secretRef",type:"V1LocalObjectReference"},{name:"volumeName",baseName:"volumeName",type:"string"},{name:"volumeNamespace",baseName:"volumeNamespace",type:"string"}]},1655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Subject=void 0;class V1Subject{static getAttributeTypeMap(){return V1Subject.attributeTypeMap}}t.V1Subject=V1Subject;V1Subject.discriminator=undefined;V1Subject.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},87717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReview=void 0;class V1SubjectAccessReview{static getAttributeTypeMap(){return V1SubjectAccessReview.attributeTypeMap}}t.V1SubjectAccessReview=V1SubjectAccessReview;V1SubjectAccessReview.discriminator=undefined;V1SubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1SubjectAccessReviewStatus"}]},34417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReviewSpec=void 0;class V1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1SubjectAccessReviewSpec.attributeTypeMap}}t.V1SubjectAccessReviewSpec=V1SubjectAccessReviewSpec;V1SubjectAccessReviewSpec.discriminator=undefined;V1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}]},62967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectAccessReviewStatus=void 0;class V1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1SubjectAccessReviewStatus.attributeTypeMap}}t.V1SubjectAccessReviewStatus=V1SubjectAccessReviewStatus;V1SubjectAccessReviewStatus.discriminator=undefined;V1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},41434:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1SubjectRulesReviewStatus=void 0;class V1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1SubjectRulesReviewStatus.attributeTypeMap}}t.V1SubjectRulesReviewStatus=V1SubjectRulesReviewStatus;V1SubjectRulesReviewStatus.discriminator=undefined;V1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"}]},55885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Sysctl=void 0;class V1Sysctl{static getAttributeTypeMap(){return V1Sysctl.attributeTypeMap}}t.V1Sysctl=V1Sysctl;V1Sysctl.discriminator=undefined;V1Sysctl.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"value",baseName:"value",type:"string"}]},20317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TCPSocketAction=void 0;class V1TCPSocketAction{static getAttributeTypeMap(){return V1TCPSocketAction.attributeTypeMap}}t.V1TCPSocketAction=V1TCPSocketAction;V1TCPSocketAction.discriminator=undefined;V1TCPSocketAction.attributeTypeMap=[{name:"host",baseName:"host",type:"string"},{name:"port",baseName:"port",type:"object"}]},65055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Taint=void 0;class V1Taint{static getAttributeTypeMap(){return V1Taint.attributeTypeMap}}t.V1Taint=V1Taint;V1Taint.discriminator=undefined;V1Taint.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"timeAdded",baseName:"timeAdded",type:"Date"},{name:"value",baseName:"value",type:"string"}]},46022:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenRequestSpec=void 0;class V1TokenRequestSpec{static getAttributeTypeMap(){return V1TokenRequestSpec.attributeTypeMap}}t.V1TokenRequestSpec=V1TokenRequestSpec;V1TokenRequestSpec.discriminator=undefined;V1TokenRequestSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"boundObjectRef",baseName:"boundObjectRef",type:"V1BoundObjectReference"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},38664:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenRequestStatus=void 0;class V1TokenRequestStatus{static getAttributeTypeMap(){return V1TokenRequestStatus.attributeTypeMap}}t.V1TokenRequestStatus=V1TokenRequestStatus;V1TokenRequestStatus.discriminator=undefined;V1TokenRequestStatus.attributeTypeMap=[{name:"expirationTimestamp",baseName:"expirationTimestamp",type:"Date"},{name:"token",baseName:"token",type:"string"}]},93238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReview=void 0;class V1TokenReview{static getAttributeTypeMap(){return V1TokenReview.attributeTypeMap}}t.V1TokenReview=V1TokenReview;V1TokenReview.discriminator=undefined;V1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1TokenReviewStatus"}]},6538:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReviewSpec=void 0;class V1TokenReviewSpec{static getAttributeTypeMap(){return V1TokenReviewSpec.attributeTypeMap}}t.V1TokenReviewSpec=V1TokenReviewSpec;V1TokenReviewSpec.discriminator=undefined;V1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"token",baseName:"token",type:"string"}]},94719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TokenReviewStatus=void 0;class V1TokenReviewStatus{static getAttributeTypeMap(){return V1TokenReviewStatus.attributeTypeMap}}t.V1TokenReviewStatus=V1TokenReviewStatus;V1TokenReviewStatus.discriminator=undefined;V1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1UserInfo"}]},26379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Toleration=void 0;class V1Toleration{static getAttributeTypeMap(){return V1Toleration.attributeTypeMap}}t.V1Toleration=V1Toleration;V1Toleration.discriminator=undefined;V1Toleration.attributeTypeMap=[{name:"effect",baseName:"effect",type:"string"},{name:"key",baseName:"key",type:"string"},{name:"operator",baseName:"operator",type:"string"},{name:"tolerationSeconds",baseName:"tolerationSeconds",type:"number"},{name:"value",baseName:"value",type:"string"}]},14361:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySelectorLabelRequirement=void 0;class V1TopologySelectorLabelRequirement{static getAttributeTypeMap(){return V1TopologySelectorLabelRequirement.attributeTypeMap}}t.V1TopologySelectorLabelRequirement=V1TopologySelectorLabelRequirement;V1TopologySelectorLabelRequirement.discriminator=undefined;V1TopologySelectorLabelRequirement.attributeTypeMap=[{name:"key",baseName:"key",type:"string"},{name:"values",baseName:"values",type:"Array"}]},86872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySelectorTerm=void 0;class V1TopologySelectorTerm{static getAttributeTypeMap(){return V1TopologySelectorTerm.attributeTypeMap}}t.V1TopologySelectorTerm=V1TopologySelectorTerm;V1TopologySelectorTerm.discriminator=undefined;V1TopologySelectorTerm.attributeTypeMap=[{name:"matchLabelExpressions",baseName:"matchLabelExpressions",type:"Array"}]},89521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TopologySpreadConstraint=void 0;class V1TopologySpreadConstraint{static getAttributeTypeMap(){return V1TopologySpreadConstraint.attributeTypeMap}}t.V1TopologySpreadConstraint=V1TopologySpreadConstraint;V1TopologySpreadConstraint.discriminator=undefined;V1TopologySpreadConstraint.attributeTypeMap=[{name:"labelSelector",baseName:"labelSelector",type:"V1LabelSelector"},{name:"maxSkew",baseName:"maxSkew",type:"number"},{name:"topologyKey",baseName:"topologyKey",type:"string"},{name:"whenUnsatisfiable",baseName:"whenUnsatisfiable",type:"string"}]},6602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1TypedLocalObjectReference=void 0;class V1TypedLocalObjectReference{static getAttributeTypeMap(){return V1TypedLocalObjectReference.attributeTypeMap}}t.V1TypedLocalObjectReference=V1TypedLocalObjectReference;V1TypedLocalObjectReference.discriminator=undefined;V1TypedLocalObjectReference.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},75476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1UserInfo=void 0;class V1UserInfo{static getAttributeTypeMap(){return V1UserInfo.attributeTypeMap}}t.V1UserInfo=V1UserInfo;V1UserInfo.discriminator=undefined;V1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}]},67027:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhook=void 0;class V1ValidatingWebhook{static getAttributeTypeMap(){return V1ValidatingWebhook.attributeTypeMap}}t.V1ValidatingWebhook=V1ValidatingWebhook;V1ValidatingWebhook.discriminator=undefined;V1ValidatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},98205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhookConfiguration=void 0;class V1ValidatingWebhookConfiguration{static getAttributeTypeMap(){return V1ValidatingWebhookConfiguration.attributeTypeMap}}t.V1ValidatingWebhookConfiguration=V1ValidatingWebhookConfiguration;V1ValidatingWebhookConfiguration.discriminator=undefined;V1ValidatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},3099:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1ValidatingWebhookConfigurationList=void 0;class V1ValidatingWebhookConfigurationList{static getAttributeTypeMap(){return V1ValidatingWebhookConfigurationList.attributeTypeMap}}t.V1ValidatingWebhookConfigurationList=V1ValidatingWebhookConfigurationList;V1ValidatingWebhookConfigurationList.discriminator=undefined;V1ValidatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},61999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1Volume=void 0;class V1Volume{static getAttributeTypeMap(){return V1Volume.attributeTypeMap}}t.V1Volume=V1Volume;V1Volume.discriminator=undefined;V1Volume.attributeTypeMap=[{name:"awsElasticBlockStore",baseName:"awsElasticBlockStore",type:"V1AWSElasticBlockStoreVolumeSource"},{name:"azureDisk",baseName:"azureDisk",type:"V1AzureDiskVolumeSource"},{name:"azureFile",baseName:"azureFile",type:"V1AzureFileVolumeSource"},{name:"cephfs",baseName:"cephfs",type:"V1CephFSVolumeSource"},{name:"cinder",baseName:"cinder",type:"V1CinderVolumeSource"},{name:"configMap",baseName:"configMap",type:"V1ConfigMapVolumeSource"},{name:"csi",baseName:"csi",type:"V1CSIVolumeSource"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIVolumeSource"},{name:"emptyDir",baseName:"emptyDir",type:"V1EmptyDirVolumeSource"},{name:"ephemeral",baseName:"ephemeral",type:"V1EphemeralVolumeSource"},{name:"fc",baseName:"fc",type:"V1FCVolumeSource"},{name:"flexVolume",baseName:"flexVolume",type:"V1FlexVolumeSource"},{name:"flocker",baseName:"flocker",type:"V1FlockerVolumeSource"},{name:"gcePersistentDisk",baseName:"gcePersistentDisk",type:"V1GCEPersistentDiskVolumeSource"},{name:"gitRepo",baseName:"gitRepo",type:"V1GitRepoVolumeSource"},{name:"glusterfs",baseName:"glusterfs",type:"V1GlusterfsVolumeSource"},{name:"hostPath",baseName:"hostPath",type:"V1HostPathVolumeSource"},{name:"iscsi",baseName:"iscsi",type:"V1ISCSIVolumeSource"},{name:"name",baseName:"name",type:"string"},{name:"nfs",baseName:"nfs",type:"V1NFSVolumeSource"},{name:"persistentVolumeClaim",baseName:"persistentVolumeClaim",type:"V1PersistentVolumeClaimVolumeSource"},{name:"photonPersistentDisk",baseName:"photonPersistentDisk",type:"V1PhotonPersistentDiskVolumeSource"},{name:"portworxVolume",baseName:"portworxVolume",type:"V1PortworxVolumeSource"},{name:"projected",baseName:"projected",type:"V1ProjectedVolumeSource"},{name:"quobyte",baseName:"quobyte",type:"V1QuobyteVolumeSource"},{name:"rbd",baseName:"rbd",type:"V1RBDVolumeSource"},{name:"scaleIO",baseName:"scaleIO",type:"V1ScaleIOVolumeSource"},{name:"secret",baseName:"secret",type:"V1SecretVolumeSource"},{name:"storageos",baseName:"storageos",type:"V1StorageOSVolumeSource"},{name:"vsphereVolume",baseName:"vsphereVolume",type:"V1VsphereVirtualDiskVolumeSource"}]},96086:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachment=void 0;class V1VolumeAttachment{static getAttributeTypeMap(){return V1VolumeAttachment.attributeTypeMap}}t.V1VolumeAttachment=V1VolumeAttachment;V1VolumeAttachment.discriminator=undefined;V1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1VolumeAttachmentStatus"}]},50793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentList=void 0;class V1VolumeAttachmentList{static getAttributeTypeMap(){return V1VolumeAttachmentList.attributeTypeMap}}t.V1VolumeAttachmentList=V1VolumeAttachmentList;V1VolumeAttachmentList.discriminator=undefined;V1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},81906:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentSource=void 0;class V1VolumeAttachmentSource{static getAttributeTypeMap(){return V1VolumeAttachmentSource.attributeTypeMap}}t.V1VolumeAttachmentSource=V1VolumeAttachmentSource;V1VolumeAttachmentSource.discriminator=undefined;V1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},92848:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentSpec=void 0;class V1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1VolumeAttachmentSpec.attributeTypeMap}}t.V1VolumeAttachmentSpec=V1VolumeAttachmentSpec;V1VolumeAttachmentSpec.discriminator=undefined;V1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1VolumeAttachmentSource"}]},69489:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeAttachmentStatus=void 0;class V1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1VolumeAttachmentStatus.attributeTypeMap}}t.V1VolumeAttachmentStatus=V1VolumeAttachmentStatus;V1VolumeAttachmentStatus.discriminator=undefined;V1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1VolumeError"}]},12040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeDevice=void 0;class V1VolumeDevice{static getAttributeTypeMap(){return V1VolumeDevice.attributeTypeMap}}t.V1VolumeDevice=V1VolumeDevice;V1VolumeDevice.discriminator=undefined;V1VolumeDevice.attributeTypeMap=[{name:"devicePath",baseName:"devicePath",type:"string"},{name:"name",baseName:"name",type:"string"}]},67225:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeError=void 0;class V1VolumeError{static getAttributeTypeMap(){return V1VolumeError.attributeTypeMap}}t.V1VolumeError=V1VolumeError;V1VolumeError.discriminator=undefined;V1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},6290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeMount=void 0;class V1VolumeMount{static getAttributeTypeMap(){return V1VolumeMount.attributeTypeMap}}t.V1VolumeMount=V1VolumeMount;V1VolumeMount.discriminator=undefined;V1VolumeMount.attributeTypeMap=[{name:"mountPath",baseName:"mountPath",type:"string"},{name:"mountPropagation",baseName:"mountPropagation",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"},{name:"subPath",baseName:"subPath",type:"string"},{name:"subPathExpr",baseName:"subPathExpr",type:"string"}]},33698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeNodeAffinity=void 0;class V1VolumeNodeAffinity{static getAttributeTypeMap(){return V1VolumeNodeAffinity.attributeTypeMap}}t.V1VolumeNodeAffinity=V1VolumeNodeAffinity;V1VolumeNodeAffinity.discriminator=undefined;V1VolumeNodeAffinity.attributeTypeMap=[{name:"required",baseName:"required",type:"V1NodeSelector"}]},3991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeNodeResources=void 0;class V1VolumeNodeResources{static getAttributeTypeMap(){return V1VolumeNodeResources.attributeTypeMap}}t.V1VolumeNodeResources=V1VolumeNodeResources;V1VolumeNodeResources.discriminator=undefined;V1VolumeNodeResources.attributeTypeMap=[{name:"count",baseName:"count",type:"number"}]},59985:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VolumeProjection=void 0;class V1VolumeProjection{static getAttributeTypeMap(){return V1VolumeProjection.attributeTypeMap}}t.V1VolumeProjection=V1VolumeProjection;V1VolumeProjection.discriminator=undefined;V1VolumeProjection.attributeTypeMap=[{name:"configMap",baseName:"configMap",type:"V1ConfigMapProjection"},{name:"downwardAPI",baseName:"downwardAPI",type:"V1DownwardAPIProjection"},{name:"secret",baseName:"secret",type:"V1SecretProjection"},{name:"serviceAccountToken",baseName:"serviceAccountToken",type:"V1ServiceAccountTokenProjection"}]},52589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1VsphereVirtualDiskVolumeSource=void 0;class V1VsphereVirtualDiskVolumeSource{static getAttributeTypeMap(){return V1VsphereVirtualDiskVolumeSource.attributeTypeMap}}t.V1VsphereVirtualDiskVolumeSource=V1VsphereVirtualDiskVolumeSource;V1VsphereVirtualDiskVolumeSource.discriminator=undefined;V1VsphereVirtualDiskVolumeSource.attributeTypeMap=[{name:"fsType",baseName:"fsType",type:"string"},{name:"storagePolicyID",baseName:"storagePolicyID",type:"string"},{name:"storagePolicyName",baseName:"storagePolicyName",type:"string"},{name:"volumePath",baseName:"volumePath",type:"string"}]},67377:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WatchEvent=void 0;class V1WatchEvent{static getAttributeTypeMap(){return V1WatchEvent.attributeTypeMap}}t.V1WatchEvent=V1WatchEvent;V1WatchEvent.discriminator=undefined;V1WatchEvent.attributeTypeMap=[{name:"object",baseName:"object",type:"object"},{name:"type",baseName:"type",type:"string"}]},5757:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WebhookConversion=void 0;class V1WebhookConversion{static getAttributeTypeMap(){return V1WebhookConversion.attributeTypeMap}}t.V1WebhookConversion=V1WebhookConversion;V1WebhookConversion.discriminator=undefined;V1WebhookConversion.attributeTypeMap=[{name:"clientConfig",baseName:"clientConfig",type:"ApiextensionsV1WebhookClientConfig"},{name:"conversionReviewVersions",baseName:"conversionReviewVersions",type:"Array"}]},49592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WeightedPodAffinityTerm=void 0;class V1WeightedPodAffinityTerm{static getAttributeTypeMap(){return V1WeightedPodAffinityTerm.attributeTypeMap}}t.V1WeightedPodAffinityTerm=V1WeightedPodAffinityTerm;V1WeightedPodAffinityTerm.discriminator=undefined;V1WeightedPodAffinityTerm.attributeTypeMap=[{name:"podAffinityTerm",baseName:"podAffinityTerm",type:"V1PodAffinityTerm"},{name:"weight",baseName:"weight",type:"number"}]},35568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1WindowsSecurityContextOptions=void 0;class V1WindowsSecurityContextOptions{static getAttributeTypeMap(){return V1WindowsSecurityContextOptions.attributeTypeMap}}t.V1WindowsSecurityContextOptions=V1WindowsSecurityContextOptions;V1WindowsSecurityContextOptions.discriminator=undefined;V1WindowsSecurityContextOptions.attributeTypeMap=[{name:"gmsaCredentialSpec",baseName:"gmsaCredentialSpec",type:"string"},{name:"gmsaCredentialSpecName",baseName:"gmsaCredentialSpecName",type:"string"},{name:"runAsUserName",baseName:"runAsUserName",type:"string"}]},5287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1AggregationRule=void 0;class V1alpha1AggregationRule{static getAttributeTypeMap(){return V1alpha1AggregationRule.attributeTypeMap}}t.V1alpha1AggregationRule=V1alpha1AggregationRule;V1alpha1AggregationRule.discriminator=undefined;V1alpha1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},33927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRole=void 0;class V1alpha1ClusterRole{static getAttributeTypeMap(){return V1alpha1ClusterRole.attributeTypeMap}}t.V1alpha1ClusterRole=V1alpha1ClusterRole;V1alpha1ClusterRole.discriminator=undefined;V1alpha1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1alpha1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},65276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleBinding=void 0;class V1alpha1ClusterRoleBinding{static getAttributeTypeMap(){return V1alpha1ClusterRoleBinding.attributeTypeMap}}t.V1alpha1ClusterRoleBinding=V1alpha1ClusterRoleBinding;V1alpha1ClusterRoleBinding.discriminator=undefined;V1alpha1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},83787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleBindingList=void 0;class V1alpha1ClusterRoleBindingList{static getAttributeTypeMap(){return V1alpha1ClusterRoleBindingList.attributeTypeMap}}t.V1alpha1ClusterRoleBindingList=V1alpha1ClusterRoleBindingList;V1alpha1ClusterRoleBindingList.discriminator=undefined;V1alpha1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},90989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ClusterRoleList=void 0;class V1alpha1ClusterRoleList{static getAttributeTypeMap(){return V1alpha1ClusterRoleList.attributeTypeMap}}t.V1alpha1ClusterRoleList=V1alpha1ClusterRoleList;V1alpha1ClusterRoleList.discriminator=undefined;V1alpha1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},80263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowDistinguisherMethod=void 0;class V1alpha1FlowDistinguisherMethod{static getAttributeTypeMap(){return V1alpha1FlowDistinguisherMethod.attributeTypeMap}}t.V1alpha1FlowDistinguisherMethod=V1alpha1FlowDistinguisherMethod;V1alpha1FlowDistinguisherMethod.discriminator=undefined;V1alpha1FlowDistinguisherMethod.attributeTypeMap=[{name:"type",baseName:"type",type:"string"}]},70914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchema=void 0;class V1alpha1FlowSchema{static getAttributeTypeMap(){return V1alpha1FlowSchema.attributeTypeMap}}t.V1alpha1FlowSchema=V1alpha1FlowSchema;V1alpha1FlowSchema.discriminator=undefined;V1alpha1FlowSchema.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1FlowSchemaSpec"},{name:"status",baseName:"status",type:"V1alpha1FlowSchemaStatus"}]},85050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaCondition=void 0;class V1alpha1FlowSchemaCondition{static getAttributeTypeMap(){return V1alpha1FlowSchemaCondition.attributeTypeMap}}t.V1alpha1FlowSchemaCondition=V1alpha1FlowSchemaCondition;V1alpha1FlowSchemaCondition.discriminator=undefined;V1alpha1FlowSchemaCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},43969:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaList=void 0;class V1alpha1FlowSchemaList{static getAttributeTypeMap(){return V1alpha1FlowSchemaList.attributeTypeMap}}t.V1alpha1FlowSchemaList=V1alpha1FlowSchemaList;V1alpha1FlowSchemaList.discriminator=undefined;V1alpha1FlowSchemaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},31462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaSpec=void 0;class V1alpha1FlowSchemaSpec{static getAttributeTypeMap(){return V1alpha1FlowSchemaSpec.attributeTypeMap}}t.V1alpha1FlowSchemaSpec=V1alpha1FlowSchemaSpec;V1alpha1FlowSchemaSpec.discriminator=undefined;V1alpha1FlowSchemaSpec.attributeTypeMap=[{name:"distinguisherMethod",baseName:"distinguisherMethod",type:"V1alpha1FlowDistinguisherMethod"},{name:"matchingPrecedence",baseName:"matchingPrecedence",type:"number"},{name:"priorityLevelConfiguration",baseName:"priorityLevelConfiguration",type:"V1alpha1PriorityLevelConfigurationReference"},{name:"rules",baseName:"rules",type:"Array"}]},65:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1FlowSchemaStatus=void 0;class V1alpha1FlowSchemaStatus{static getAttributeTypeMap(){return V1alpha1FlowSchemaStatus.attributeTypeMap}}t.V1alpha1FlowSchemaStatus=V1alpha1FlowSchemaStatus;V1alpha1FlowSchemaStatus.discriminator=undefined;V1alpha1FlowSchemaStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},50767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1GroupSubject=void 0;class V1alpha1GroupSubject{static getAttributeTypeMap(){return V1alpha1GroupSubject.attributeTypeMap}}t.V1alpha1GroupSubject=V1alpha1GroupSubject;V1alpha1GroupSubject.discriminator=undefined;V1alpha1GroupSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},77238:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1LimitResponse=void 0;class V1alpha1LimitResponse{static getAttributeTypeMap(){return V1alpha1LimitResponse.attributeTypeMap}}t.V1alpha1LimitResponse=V1alpha1LimitResponse;V1alpha1LimitResponse.discriminator=undefined;V1alpha1LimitResponse.attributeTypeMap=[{name:"queuing",baseName:"queuing",type:"V1alpha1QueuingConfiguration"},{name:"type",baseName:"type",type:"string"}]},52888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1LimitedPriorityLevelConfiguration=void 0;class V1alpha1LimitedPriorityLevelConfiguration{static getAttributeTypeMap(){return V1alpha1LimitedPriorityLevelConfiguration.attributeTypeMap}}t.V1alpha1LimitedPriorityLevelConfiguration=V1alpha1LimitedPriorityLevelConfiguration;V1alpha1LimitedPriorityLevelConfiguration.discriminator=undefined;V1alpha1LimitedPriorityLevelConfiguration.attributeTypeMap=[{name:"assuredConcurrencyShares",baseName:"assuredConcurrencyShares",type:"number"},{name:"limitResponse",baseName:"limitResponse",type:"V1alpha1LimitResponse"}]},44901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1NonResourcePolicyRule=void 0;class V1alpha1NonResourcePolicyRule{static getAttributeTypeMap(){return V1alpha1NonResourcePolicyRule.attributeTypeMap}}t.V1alpha1NonResourcePolicyRule=V1alpha1NonResourcePolicyRule;V1alpha1NonResourcePolicyRule.discriminator=undefined;V1alpha1NonResourcePolicyRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},8070:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Overhead=void 0;class V1alpha1Overhead{static getAttributeTypeMap(){return V1alpha1Overhead.attributeTypeMap}}t.V1alpha1Overhead=V1alpha1Overhead;V1alpha1Overhead.discriminator=undefined;V1alpha1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},61014:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PolicyRule=void 0;class V1alpha1PolicyRule{static getAttributeTypeMap(){return V1alpha1PolicyRule.attributeTypeMap}}t.V1alpha1PolicyRule=V1alpha1PolicyRule;V1alpha1PolicyRule.discriminator=undefined;V1alpha1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},15062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PolicyRulesWithSubjects=void 0;class V1alpha1PolicyRulesWithSubjects{static getAttributeTypeMap(){return V1alpha1PolicyRulesWithSubjects.attributeTypeMap}}t.V1alpha1PolicyRulesWithSubjects=V1alpha1PolicyRulesWithSubjects;V1alpha1PolicyRulesWithSubjects.discriminator=undefined;V1alpha1PolicyRulesWithSubjects.attributeTypeMap=[{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"},{name:"subjects",baseName:"subjects",type:"Array"}]},89642:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityClass=void 0;class V1alpha1PriorityClass{static getAttributeTypeMap(){return V1alpha1PriorityClass.attributeTypeMap}}t.V1alpha1PriorityClass=V1alpha1PriorityClass;V1alpha1PriorityClass.discriminator=undefined;V1alpha1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},15220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityClassList=void 0;class V1alpha1PriorityClassList{static getAttributeTypeMap(){return V1alpha1PriorityClassList.attributeTypeMap}}t.V1alpha1PriorityClassList=V1alpha1PriorityClassList;V1alpha1PriorityClassList.discriminator=undefined;V1alpha1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},10932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfiguration=void 0;class V1alpha1PriorityLevelConfiguration{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfiguration.attributeTypeMap}}t.V1alpha1PriorityLevelConfiguration=V1alpha1PriorityLevelConfiguration;V1alpha1PriorityLevelConfiguration.discriminator=undefined;V1alpha1PriorityLevelConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1PriorityLevelConfigurationSpec"},{name:"status",baseName:"status",type:"V1alpha1PriorityLevelConfigurationStatus"}]},73101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationCondition=void 0;class V1alpha1PriorityLevelConfigurationCondition{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationCondition.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationCondition=V1alpha1PriorityLevelConfigurationCondition;V1alpha1PriorityLevelConfigurationCondition.discriminator=undefined;V1alpha1PriorityLevelConfigurationCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},78760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationList=void 0;class V1alpha1PriorityLevelConfigurationList{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationList.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationList=V1alpha1PriorityLevelConfigurationList;V1alpha1PriorityLevelConfigurationList.discriminator=undefined;V1alpha1PriorityLevelConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},3464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationReference=void 0;class V1alpha1PriorityLevelConfigurationReference{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationReference.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationReference=V1alpha1PriorityLevelConfigurationReference;V1alpha1PriorityLevelConfigurationReference.discriminator=undefined;V1alpha1PriorityLevelConfigurationReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},47008:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationSpec=void 0;class V1alpha1PriorityLevelConfigurationSpec{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationSpec.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationSpec=V1alpha1PriorityLevelConfigurationSpec;V1alpha1PriorityLevelConfigurationSpec.discriminator=undefined;V1alpha1PriorityLevelConfigurationSpec.attributeTypeMap=[{name:"limited",baseName:"limited",type:"V1alpha1LimitedPriorityLevelConfiguration"},{name:"type",baseName:"type",type:"string"}]},1850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1PriorityLevelConfigurationStatus=void 0;class V1alpha1PriorityLevelConfigurationStatus{static getAttributeTypeMap(){return V1alpha1PriorityLevelConfigurationStatus.attributeTypeMap}}t.V1alpha1PriorityLevelConfigurationStatus=V1alpha1PriorityLevelConfigurationStatus;V1alpha1PriorityLevelConfigurationStatus.discriminator=undefined;V1alpha1PriorityLevelConfigurationStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},62558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1QueuingConfiguration=void 0;class V1alpha1QueuingConfiguration{static getAttributeTypeMap(){return V1alpha1QueuingConfiguration.attributeTypeMap}}t.V1alpha1QueuingConfiguration=V1alpha1QueuingConfiguration;V1alpha1QueuingConfiguration.discriminator=undefined;V1alpha1QueuingConfiguration.attributeTypeMap=[{name:"handSize",baseName:"handSize",type:"number"},{name:"queueLengthLimit",baseName:"queueLengthLimit",type:"number"},{name:"queues",baseName:"queues",type:"number"}]},49471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ResourcePolicyRule=void 0;class V1alpha1ResourcePolicyRule{static getAttributeTypeMap(){return V1alpha1ResourcePolicyRule.attributeTypeMap}}t.V1alpha1ResourcePolicyRule=V1alpha1ResourcePolicyRule;V1alpha1ResourcePolicyRule.discriminator=undefined;V1alpha1ResourcePolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"clusterScope",baseName:"clusterScope",type:"boolean"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},45910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Role=void 0;class V1alpha1Role{static getAttributeTypeMap(){return V1alpha1Role.attributeTypeMap}}t.V1alpha1Role=V1alpha1Role;V1alpha1Role.discriminator=undefined;V1alpha1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},32036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleBinding=void 0;class V1alpha1RoleBinding{static getAttributeTypeMap(){return V1alpha1RoleBinding.attributeTypeMap}}t.V1alpha1RoleBinding=V1alpha1RoleBinding;V1alpha1RoleBinding.discriminator=undefined;V1alpha1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1alpha1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},53079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleBindingList=void 0;class V1alpha1RoleBindingList{static getAttributeTypeMap(){return V1alpha1RoleBindingList.attributeTypeMap}}t.V1alpha1RoleBindingList=V1alpha1RoleBindingList;V1alpha1RoleBindingList.discriminator=undefined;V1alpha1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},39479:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleList=void 0;class V1alpha1RoleList{static getAttributeTypeMap(){return V1alpha1RoleList.attributeTypeMap}}t.V1alpha1RoleList=V1alpha1RoleList;V1alpha1RoleList.discriminator=undefined;V1alpha1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},56871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RoleRef=void 0;class V1alpha1RoleRef{static getAttributeTypeMap(){return V1alpha1RoleRef.attributeTypeMap}}t.V1alpha1RoleRef=V1alpha1RoleRef;V1alpha1RoleRef.discriminator=undefined;V1alpha1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},66602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClass=void 0;class V1alpha1RuntimeClass{static getAttributeTypeMap(){return V1alpha1RuntimeClass.attributeTypeMap}}t.V1alpha1RuntimeClass=V1alpha1RuntimeClass;V1alpha1RuntimeClass.discriminator=undefined;V1alpha1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1RuntimeClassSpec"}]},41934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClassList=void 0;class V1alpha1RuntimeClassList{static getAttributeTypeMap(){return V1alpha1RuntimeClassList.attributeTypeMap}}t.V1alpha1RuntimeClassList=V1alpha1RuntimeClassList;V1alpha1RuntimeClassList.discriminator=undefined;V1alpha1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},3593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1RuntimeClassSpec=void 0;class V1alpha1RuntimeClassSpec{static getAttributeTypeMap(){return V1alpha1RuntimeClassSpec.attributeTypeMap}}t.V1alpha1RuntimeClassSpec=V1alpha1RuntimeClassSpec;V1alpha1RuntimeClassSpec.discriminator=undefined;V1alpha1RuntimeClassSpec.attributeTypeMap=[{name:"overhead",baseName:"overhead",type:"V1alpha1Overhead"},{name:"runtimeHandler",baseName:"runtimeHandler",type:"string"},{name:"scheduling",baseName:"scheduling",type:"V1alpha1Scheduling"}]},12511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1Scheduling=void 0;class V1alpha1Scheduling{static getAttributeTypeMap(){return V1alpha1Scheduling.attributeTypeMap}}t.V1alpha1Scheduling=V1alpha1Scheduling;V1alpha1Scheduling.discriminator=undefined;V1alpha1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},47647:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ServerStorageVersion=void 0;class V1alpha1ServerStorageVersion{static getAttributeTypeMap(){return V1alpha1ServerStorageVersion.attributeTypeMap}}t.V1alpha1ServerStorageVersion=V1alpha1ServerStorageVersion;V1alpha1ServerStorageVersion.discriminator=undefined;V1alpha1ServerStorageVersion.attributeTypeMap=[{name:"apiServerID",baseName:"apiServerID",type:"string"},{name:"decodableVersions",baseName:"decodableVersions",type:"Array"},{name:"encodingVersion",baseName:"encodingVersion",type:"string"}]},23984:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1ServiceAccountSubject=void 0;class V1alpha1ServiceAccountSubject{static getAttributeTypeMap(){return V1alpha1ServiceAccountSubject.attributeTypeMap}}t.V1alpha1ServiceAccountSubject=V1alpha1ServiceAccountSubject;V1alpha1ServiceAccountSubject.discriminator=undefined;V1alpha1ServiceAccountSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},54349:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersion=void 0;class V1alpha1StorageVersion{static getAttributeTypeMap(){return V1alpha1StorageVersion.attributeTypeMap}}t.V1alpha1StorageVersion=V1alpha1StorageVersion;V1alpha1StorageVersion.discriminator=undefined;V1alpha1StorageVersion.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"object"},{name:"status",baseName:"status",type:"V1alpha1StorageVersionStatus"}]},20058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionCondition=void 0;class V1alpha1StorageVersionCondition{static getAttributeTypeMap(){return V1alpha1StorageVersionCondition.attributeTypeMap}}t.V1alpha1StorageVersionCondition=V1alpha1StorageVersionCondition;V1alpha1StorageVersionCondition.discriminator=undefined;V1alpha1StorageVersionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},53792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionList=void 0;class V1alpha1StorageVersionList{static getAttributeTypeMap(){return V1alpha1StorageVersionList.attributeTypeMap}}t.V1alpha1StorageVersionList=V1alpha1StorageVersionList;V1alpha1StorageVersionList.discriminator=undefined;V1alpha1StorageVersionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},20970:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1StorageVersionStatus=void 0;class V1alpha1StorageVersionStatus{static getAttributeTypeMap(){return V1alpha1StorageVersionStatus.attributeTypeMap}}t.V1alpha1StorageVersionStatus=V1alpha1StorageVersionStatus;V1alpha1StorageVersionStatus.discriminator=undefined;V1alpha1StorageVersionStatus.attributeTypeMap=[{name:"commonEncodingVersion",baseName:"commonEncodingVersion",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storageVersions",baseName:"storageVersions",type:"Array"}]},88064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1UserSubject=void 0;class V1alpha1UserSubject{static getAttributeTypeMap(){return V1alpha1UserSubject.attributeTypeMap}}t.V1alpha1UserSubject=V1alpha1UserSubject;V1alpha1UserSubject.discriminator=undefined;V1alpha1UserSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},88392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachment=void 0;class V1alpha1VolumeAttachment{static getAttributeTypeMap(){return V1alpha1VolumeAttachment.attributeTypeMap}}t.V1alpha1VolumeAttachment=V1alpha1VolumeAttachment;V1alpha1VolumeAttachment.discriminator=undefined;V1alpha1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1alpha1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1alpha1VolumeAttachmentStatus"}]},49929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentList=void 0;class V1alpha1VolumeAttachmentList{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentList.attributeTypeMap}}t.V1alpha1VolumeAttachmentList=V1alpha1VolumeAttachmentList;V1alpha1VolumeAttachmentList.discriminator=undefined;V1alpha1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23402:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentSource=void 0;class V1alpha1VolumeAttachmentSource{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSource.attributeTypeMap}}t.V1alpha1VolumeAttachmentSource=V1alpha1VolumeAttachmentSource;V1alpha1VolumeAttachmentSource.discriminator=undefined;V1alpha1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},49584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentSpec=void 0;class V1alpha1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentSpec.attributeTypeMap}}t.V1alpha1VolumeAttachmentSpec=V1alpha1VolumeAttachmentSpec;V1alpha1VolumeAttachmentSpec.discriminator=undefined;V1alpha1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1alpha1VolumeAttachmentSource"}]},94030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeAttachmentStatus=void 0;class V1alpha1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1alpha1VolumeAttachmentStatus.attributeTypeMap}}t.V1alpha1VolumeAttachmentStatus=V1alpha1VolumeAttachmentStatus;V1alpha1VolumeAttachmentStatus.discriminator=undefined;V1alpha1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1alpha1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1alpha1VolumeError"}]},39991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1alpha1VolumeError=void 0;class V1alpha1VolumeError{static getAttributeTypeMap(){return V1alpha1VolumeError.attributeTypeMap}}t.V1alpha1VolumeError=V1alpha1VolumeError;V1alpha1VolumeError.discriminator=undefined;V1alpha1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},48676:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIService=void 0;class V1beta1APIService{static getAttributeTypeMap(){return V1beta1APIService.attributeTypeMap}}t.V1beta1APIService=V1beta1APIService;V1beta1APIService.discriminator=undefined;V1beta1APIService.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1APIServiceSpec"},{name:"status",baseName:"status",type:"V1beta1APIServiceStatus"}]},53943:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceCondition=void 0;class V1beta1APIServiceCondition{static getAttributeTypeMap(){return V1beta1APIServiceCondition.attributeTypeMap}}t.V1beta1APIServiceCondition=V1beta1APIServiceCondition;V1beta1APIServiceCondition.discriminator=undefined;V1beta1APIServiceCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},44271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceList=void 0;class V1beta1APIServiceList{static getAttributeTypeMap(){return V1beta1APIServiceList.attributeTypeMap}}t.V1beta1APIServiceList=V1beta1APIServiceList;V1beta1APIServiceList.discriminator=undefined;V1beta1APIServiceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},99792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceSpec=void 0;class V1beta1APIServiceSpec{static getAttributeTypeMap(){return V1beta1APIServiceSpec.attributeTypeMap}}t.V1beta1APIServiceSpec=V1beta1APIServiceSpec;V1beta1APIServiceSpec.discriminator=undefined;V1beta1APIServiceSpec.attributeTypeMap=[{name:"caBundle",baseName:"caBundle",type:"string"},{name:"group",baseName:"group",type:"string"},{name:"groupPriorityMinimum",baseName:"groupPriorityMinimum",type:"number"},{name:"insecureSkipTLSVerify",baseName:"insecureSkipTLSVerify",type:"boolean"},{name:"service",baseName:"service",type:"ApiregistrationV1beta1ServiceReference"},{name:"version",baseName:"version",type:"string"},{name:"versionPriority",baseName:"versionPriority",type:"number"}]},43425:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1APIServiceStatus=void 0;class V1beta1APIServiceStatus{static getAttributeTypeMap(){return V1beta1APIServiceStatus.attributeTypeMap}}t.V1beta1APIServiceStatus=V1beta1APIServiceStatus;V1beta1APIServiceStatus.discriminator=undefined;V1beta1APIServiceStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},7806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AggregationRule=void 0;class V1beta1AggregationRule{static getAttributeTypeMap(){return V1beta1AggregationRule.attributeTypeMap}}t.V1beta1AggregationRule=V1beta1AggregationRule;V1beta1AggregationRule.discriminator=undefined;V1beta1AggregationRule.attributeTypeMap=[{name:"clusterRoleSelectors",baseName:"clusterRoleSelectors",type:"Array"}]},7724:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedCSIDriver=void 0;class V1beta1AllowedCSIDriver{static getAttributeTypeMap(){return V1beta1AllowedCSIDriver.attributeTypeMap}}t.V1beta1AllowedCSIDriver=V1beta1AllowedCSIDriver;V1beta1AllowedCSIDriver.discriminator=undefined;V1beta1AllowedCSIDriver.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},66666:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedFlexVolume=void 0;class V1beta1AllowedFlexVolume{static getAttributeTypeMap(){return V1beta1AllowedFlexVolume.attributeTypeMap}}t.V1beta1AllowedFlexVolume=V1beta1AllowedFlexVolume;V1beta1AllowedFlexVolume.discriminator=undefined;V1beta1AllowedFlexVolume.attributeTypeMap=[{name:"driver",baseName:"driver",type:"string"}]},29863:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1AllowedHostPath=void 0;class V1beta1AllowedHostPath{static getAttributeTypeMap(){return V1beta1AllowedHostPath.attributeTypeMap}}t.V1beta1AllowedHostPath=V1beta1AllowedHostPath;V1beta1AllowedHostPath.discriminator=undefined;V1beta1AllowedHostPath.attributeTypeMap=[{name:"pathPrefix",baseName:"pathPrefix",type:"string"},{name:"readOnly",baseName:"readOnly",type:"boolean"}]},23519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriver=void 0;class V1beta1CSIDriver{static getAttributeTypeMap(){return V1beta1CSIDriver.attributeTypeMap}}t.V1beta1CSIDriver=V1beta1CSIDriver;V1beta1CSIDriver.discriminator=undefined;V1beta1CSIDriver.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CSIDriverSpec"}]},68738:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriverList=void 0;class V1beta1CSIDriverList{static getAttributeTypeMap(){return V1beta1CSIDriverList.attributeTypeMap}}t.V1beta1CSIDriverList=V1beta1CSIDriverList;V1beta1CSIDriverList.discriminator=undefined;V1beta1CSIDriverList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},24519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSIDriverSpec=void 0;class V1beta1CSIDriverSpec{static getAttributeTypeMap(){return V1beta1CSIDriverSpec.attributeTypeMap}}t.V1beta1CSIDriverSpec=V1beta1CSIDriverSpec;V1beta1CSIDriverSpec.discriminator=undefined;V1beta1CSIDriverSpec.attributeTypeMap=[{name:"attachRequired",baseName:"attachRequired",type:"boolean"},{name:"fsGroupPolicy",baseName:"fsGroupPolicy",type:"string"},{name:"podInfoOnMount",baseName:"podInfoOnMount",type:"boolean"},{name:"requiresRepublish",baseName:"requiresRepublish",type:"boolean"},{name:"storageCapacity",baseName:"storageCapacity",type:"boolean"},{name:"tokenRequests",baseName:"tokenRequests",type:"Array"},{name:"volumeLifecycleModes",baseName:"volumeLifecycleModes",type:"Array"}]},92663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINode=void 0;class V1beta1CSINode{static getAttributeTypeMap(){return V1beta1CSINode.attributeTypeMap}}t.V1beta1CSINode=V1beta1CSINode;V1beta1CSINode.discriminator=undefined;V1beta1CSINode.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CSINodeSpec"}]},37328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeDriver=void 0;class V1beta1CSINodeDriver{static getAttributeTypeMap(){return V1beta1CSINodeDriver.attributeTypeMap}}t.V1beta1CSINodeDriver=V1beta1CSINodeDriver;V1beta1CSINodeDriver.discriminator=undefined;V1beta1CSINodeDriver.attributeTypeMap=[{name:"allocatable",baseName:"allocatable",type:"V1beta1VolumeNodeResources"},{name:"name",baseName:"name",type:"string"},{name:"nodeID",baseName:"nodeID",type:"string"},{name:"topologyKeys",baseName:"topologyKeys",type:"Array"}]},16242:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeList=void 0;class V1beta1CSINodeList{static getAttributeTypeMap(){return V1beta1CSINodeList.attributeTypeMap}}t.V1beta1CSINodeList=V1beta1CSINodeList;V1beta1CSINodeList.discriminator=undefined;V1beta1CSINodeList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},25978:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CSINodeSpec=void 0;class V1beta1CSINodeSpec{static getAttributeTypeMap(){return V1beta1CSINodeSpec.attributeTypeMap}}t.V1beta1CSINodeSpec=V1beta1CSINodeSpec;V1beta1CSINodeSpec.discriminator=undefined;V1beta1CSINodeSpec.attributeTypeMap=[{name:"drivers",baseName:"drivers",type:"Array"}]},16589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequest=void 0;class V1beta1CertificateSigningRequest{static getAttributeTypeMap(){return V1beta1CertificateSigningRequest.attributeTypeMap}}t.V1beta1CertificateSigningRequest=V1beta1CertificateSigningRequest;V1beta1CertificateSigningRequest.discriminator=undefined;V1beta1CertificateSigningRequest.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CertificateSigningRequestSpec"},{name:"status",baseName:"status",type:"V1beta1CertificateSigningRequestStatus"}]},91864:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestCondition=void 0;class V1beta1CertificateSigningRequestCondition{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestCondition.attributeTypeMap}}t.V1beta1CertificateSigningRequestCondition=V1beta1CertificateSigningRequestCondition;V1beta1CertificateSigningRequestCondition.discriminator=undefined;V1beta1CertificateSigningRequestCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"lastUpdateTime",baseName:"lastUpdateTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},97720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestList=void 0;class V1beta1CertificateSigningRequestList{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestList.attributeTypeMap}}t.V1beta1CertificateSigningRequestList=V1beta1CertificateSigningRequestList;V1beta1CertificateSigningRequestList.discriminator=undefined;V1beta1CertificateSigningRequestList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},52843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestSpec=void 0;class V1beta1CertificateSigningRequestSpec{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestSpec.attributeTypeMap}}t.V1beta1CertificateSigningRequestSpec=V1beta1CertificateSigningRequestSpec;V1beta1CertificateSigningRequestSpec.discriminator=undefined;V1beta1CertificateSigningRequestSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"request",baseName:"request",type:"string"},{name:"signerName",baseName:"signerName",type:"string"},{name:"uid",baseName:"uid",type:"string"},{name:"usages",baseName:"usages",type:"Array"},{name:"username",baseName:"username",type:"string"}]},63675:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CertificateSigningRequestStatus=void 0;class V1beta1CertificateSigningRequestStatus{static getAttributeTypeMap(){return V1beta1CertificateSigningRequestStatus.attributeTypeMap}}t.V1beta1CertificateSigningRequestStatus=V1beta1CertificateSigningRequestStatus;V1beta1CertificateSigningRequestStatus.discriminator=undefined;V1beta1CertificateSigningRequestStatus.attributeTypeMap=[{name:"certificate",baseName:"certificate",type:"string"},{name:"conditions",baseName:"conditions",type:"Array"}]},34506:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRole=void 0;class V1beta1ClusterRole{static getAttributeTypeMap(){return V1beta1ClusterRole.attributeTypeMap}}t.V1beta1ClusterRole=V1beta1ClusterRole;V1beta1ClusterRole.discriminator=undefined;V1beta1ClusterRole.attributeTypeMap=[{name:"aggregationRule",baseName:"aggregationRule",type:"V1beta1AggregationRule"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},72413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleBinding=void 0;class V1beta1ClusterRoleBinding{static getAttributeTypeMap(){return V1beta1ClusterRoleBinding.attributeTypeMap}}t.V1beta1ClusterRoleBinding=V1beta1ClusterRoleBinding;V1beta1ClusterRoleBinding.discriminator=undefined;V1beta1ClusterRoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},58847:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleBindingList=void 0;class V1beta1ClusterRoleBindingList{static getAttributeTypeMap(){return V1beta1ClusterRoleBindingList.attributeTypeMap}}t.V1beta1ClusterRoleBindingList=V1beta1ClusterRoleBindingList;V1beta1ClusterRoleBindingList.discriminator=undefined;V1beta1ClusterRoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},38268:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ClusterRoleList=void 0;class V1beta1ClusterRoleList{static getAttributeTypeMap(){return V1beta1ClusterRoleList.attributeTypeMap}}t.V1beta1ClusterRoleList=V1beta1ClusterRoleList;V1beta1ClusterRoleList.discriminator=undefined;V1beta1ClusterRoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},21270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJob=void 0;class V1beta1CronJob{static getAttributeTypeMap(){return V1beta1CronJob.attributeTypeMap}}t.V1beta1CronJob=V1beta1CronJob;V1beta1CronJob.discriminator=undefined;V1beta1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CronJobSpec"},{name:"status",baseName:"status",type:"V1beta1CronJobStatus"}]},9165:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobList=void 0;class V1beta1CronJobList{static getAttributeTypeMap(){return V1beta1CronJobList.attributeTypeMap}}t.V1beta1CronJobList=V1beta1CronJobList;V1beta1CronJobList.discriminator=undefined;V1beta1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},64672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobSpec=void 0;class V1beta1CronJobSpec{static getAttributeTypeMap(){return V1beta1CronJobSpec.attributeTypeMap}}t.V1beta1CronJobSpec=V1beta1CronJobSpec;V1beta1CronJobSpec.discriminator=undefined;V1beta1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V1beta1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}]},60049:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CronJobStatus=void 0;class V1beta1CronJobStatus{static getAttributeTypeMap(){return V1beta1CronJobStatus.attributeTypeMap}}t.V1beta1CronJobStatus=V1beta1CronJobStatus;V1beta1CronJobStatus.discriminator=undefined;V1beta1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}]},15358:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceColumnDefinition=void 0;class V1beta1CustomResourceColumnDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceColumnDefinition.attributeTypeMap}}t.V1beta1CustomResourceColumnDefinition=V1beta1CustomResourceColumnDefinition;V1beta1CustomResourceColumnDefinition.discriminator=undefined;V1beta1CustomResourceColumnDefinition.attributeTypeMap=[{name:"JSONPath",baseName:"JSONPath",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"format",baseName:"format",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"priority",baseName:"priority",type:"number"},{name:"type",baseName:"type",type:"string"}]},9944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceConversion=void 0;class V1beta1CustomResourceConversion{static getAttributeTypeMap(){return V1beta1CustomResourceConversion.attributeTypeMap}}t.V1beta1CustomResourceConversion=V1beta1CustomResourceConversion;V1beta1CustomResourceConversion.discriminator=undefined;V1beta1CustomResourceConversion.attributeTypeMap=[{name:"conversionReviewVersions",baseName:"conversionReviewVersions",type:"Array"},{name:"strategy",baseName:"strategy",type:"string"},{name:"webhookClientConfig",baseName:"webhookClientConfig",type:"ApiextensionsV1beta1WebhookClientConfig"}]},18555:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinition=void 0;class V1beta1CustomResourceDefinition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinition.attributeTypeMap}}t.V1beta1CustomResourceDefinition=V1beta1CustomResourceDefinition;V1beta1CustomResourceDefinition.discriminator=undefined;V1beta1CustomResourceDefinition.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1CustomResourceDefinitionSpec"},{name:"status",baseName:"status",type:"V1beta1CustomResourceDefinitionStatus"}]},49145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionCondition=void 0;class V1beta1CustomResourceDefinitionCondition{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionCondition.attributeTypeMap}}t.V1beta1CustomResourceDefinitionCondition=V1beta1CustomResourceDefinitionCondition;V1beta1CustomResourceDefinitionCondition.discriminator=undefined;V1beta1CustomResourceDefinitionCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},87178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionList=void 0;class V1beta1CustomResourceDefinitionList{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionList.attributeTypeMap}}t.V1beta1CustomResourceDefinitionList=V1beta1CustomResourceDefinitionList;V1beta1CustomResourceDefinitionList.discriminator=undefined;V1beta1CustomResourceDefinitionList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},86145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionNames=void 0;class V1beta1CustomResourceDefinitionNames{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionNames.attributeTypeMap}}t.V1beta1CustomResourceDefinitionNames=V1beta1CustomResourceDefinitionNames;V1beta1CustomResourceDefinitionNames.discriminator=undefined;V1beta1CustomResourceDefinitionNames.attributeTypeMap=[{name:"categories",baseName:"categories",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"listKind",baseName:"listKind",type:"string"},{name:"plural",baseName:"plural",type:"string"},{name:"shortNames",baseName:"shortNames",type:"Array"},{name:"singular",baseName:"singular",type:"string"}]},42866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionSpec=void 0;class V1beta1CustomResourceDefinitionSpec{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionSpec.attributeTypeMap}}t.V1beta1CustomResourceDefinitionSpec=V1beta1CustomResourceDefinitionSpec;V1beta1CustomResourceDefinitionSpec.discriminator=undefined;V1beta1CustomResourceDefinitionSpec.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"conversion",baseName:"conversion",type:"V1beta1CustomResourceConversion"},{name:"group",baseName:"group",type:"string"},{name:"names",baseName:"names",type:"V1beta1CustomResourceDefinitionNames"},{name:"preserveUnknownFields",baseName:"preserveUnknownFields",type:"boolean"},{name:"scope",baseName:"scope",type:"string"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"},{name:"validation",baseName:"validation",type:"V1beta1CustomResourceValidation"},{name:"version",baseName:"version",type:"string"},{name:"versions",baseName:"versions",type:"Array"}]},18241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionStatus=void 0;class V1beta1CustomResourceDefinitionStatus{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionStatus.attributeTypeMap}}t.V1beta1CustomResourceDefinitionStatus=V1beta1CustomResourceDefinitionStatus;V1beta1CustomResourceDefinitionStatus.discriminator=undefined;V1beta1CustomResourceDefinitionStatus.attributeTypeMap=[{name:"acceptedNames",baseName:"acceptedNames",type:"V1beta1CustomResourceDefinitionNames"},{name:"conditions",baseName:"conditions",type:"Array"},{name:"storedVersions",baseName:"storedVersions",type:"Array"}]},67694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceDefinitionVersion=void 0;class V1beta1CustomResourceDefinitionVersion{static getAttributeTypeMap(){return V1beta1CustomResourceDefinitionVersion.attributeTypeMap}}t.V1beta1CustomResourceDefinitionVersion=V1beta1CustomResourceDefinitionVersion;V1beta1CustomResourceDefinitionVersion.discriminator=undefined;V1beta1CustomResourceDefinitionVersion.attributeTypeMap=[{name:"additionalPrinterColumns",baseName:"additionalPrinterColumns",type:"Array"},{name:"deprecated",baseName:"deprecated",type:"boolean"},{name:"deprecationWarning",baseName:"deprecationWarning",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"schema",baseName:"schema",type:"V1beta1CustomResourceValidation"},{name:"served",baseName:"served",type:"boolean"},{name:"storage",baseName:"storage",type:"boolean"},{name:"subresources",baseName:"subresources",type:"V1beta1CustomResourceSubresources"}]},41365:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceSubresourceScale=void 0;class V1beta1CustomResourceSubresourceScale{static getAttributeTypeMap(){return V1beta1CustomResourceSubresourceScale.attributeTypeMap}}t.V1beta1CustomResourceSubresourceScale=V1beta1CustomResourceSubresourceScale;V1beta1CustomResourceSubresourceScale.discriminator=undefined;V1beta1CustomResourceSubresourceScale.attributeTypeMap=[{name:"labelSelectorPath",baseName:"labelSelectorPath",type:"string"},{name:"specReplicasPath",baseName:"specReplicasPath",type:"string"},{name:"statusReplicasPath",baseName:"statusReplicasPath",type:"string"}]},13153:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceSubresources=void 0;class V1beta1CustomResourceSubresources{static getAttributeTypeMap(){return V1beta1CustomResourceSubresources.attributeTypeMap}}t.V1beta1CustomResourceSubresources=V1beta1CustomResourceSubresources;V1beta1CustomResourceSubresources.discriminator=undefined;V1beta1CustomResourceSubresources.attributeTypeMap=[{name:"scale",baseName:"scale",type:"V1beta1CustomResourceSubresourceScale"},{name:"status",baseName:"status",type:"object"}]},27347:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1CustomResourceValidation=void 0;class V1beta1CustomResourceValidation{static getAttributeTypeMap(){return V1beta1CustomResourceValidation.attributeTypeMap}}t.V1beta1CustomResourceValidation=V1beta1CustomResourceValidation;V1beta1CustomResourceValidation.discriminator=undefined;V1beta1CustomResourceValidation.attributeTypeMap=[{name:"openAPIV3Schema",baseName:"openAPIV3Schema",type:"V1beta1JSONSchemaProps"}]},61730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Endpoint=void 0;class V1beta1Endpoint{static getAttributeTypeMap(){return V1beta1Endpoint.attributeTypeMap}}t.V1beta1Endpoint=V1beta1Endpoint;V1beta1Endpoint.discriminator=undefined;V1beta1Endpoint.attributeTypeMap=[{name:"addresses",baseName:"addresses",type:"Array"},{name:"conditions",baseName:"conditions",type:"V1beta1EndpointConditions"},{name:"hostname",baseName:"hostname",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"targetRef",baseName:"targetRef",type:"V1ObjectReference"},{name:"topology",baseName:"topology",type:"{ [key: string]: string; }"}]},37085:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointConditions=void 0;class V1beta1EndpointConditions{static getAttributeTypeMap(){return V1beta1EndpointConditions.attributeTypeMap}}t.V1beta1EndpointConditions=V1beta1EndpointConditions;V1beta1EndpointConditions.discriminator=undefined;V1beta1EndpointConditions.attributeTypeMap=[{name:"ready",baseName:"ready",type:"boolean"},{name:"serving",baseName:"serving",type:"boolean"},{name:"terminating",baseName:"terminating",type:"boolean"}]},7423:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointPort=void 0;class V1beta1EndpointPort{static getAttributeTypeMap(){return V1beta1EndpointPort.attributeTypeMap}}t.V1beta1EndpointPort=V1beta1EndpointPort;V1beta1EndpointPort.discriminator=undefined;V1beta1EndpointPort.attributeTypeMap=[{name:"appProtocol",baseName:"appProtocol",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"port",baseName:"port",type:"number"},{name:"protocol",baseName:"protocol",type:"string"}]},26777:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointSlice=void 0;class V1beta1EndpointSlice{static getAttributeTypeMap(){return V1beta1EndpointSlice.attributeTypeMap}}t.V1beta1EndpointSlice=V1beta1EndpointSlice;V1beta1EndpointSlice.discriminator=undefined;V1beta1EndpointSlice.attributeTypeMap=[{name:"addressType",baseName:"addressType",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"endpoints",baseName:"endpoints",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"ports",baseName:"ports",type:"Array"}]},98830:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EndpointSliceList=void 0;class V1beta1EndpointSliceList{static getAttributeTypeMap(){return V1beta1EndpointSliceList.attributeTypeMap}}t.V1beta1EndpointSliceList=V1beta1EndpointSliceList;V1beta1EndpointSliceList.discriminator=undefined;V1beta1EndpointSliceList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},93967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Event=void 0;class V1beta1Event{static getAttributeTypeMap(){return V1beta1Event.attributeTypeMap}}t.V1beta1Event=V1beta1Event;V1beta1Event.discriminator=undefined;V1beta1Event.attributeTypeMap=[{name:"action",baseName:"action",type:"string"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deprecatedCount",baseName:"deprecatedCount",type:"number"},{name:"deprecatedFirstTimestamp",baseName:"deprecatedFirstTimestamp",type:"Date"},{name:"deprecatedLastTimestamp",baseName:"deprecatedLastTimestamp",type:"Date"},{name:"deprecatedSource",baseName:"deprecatedSource",type:"V1EventSource"},{name:"eventTime",baseName:"eventTime",type:"Date"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"note",baseName:"note",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"regarding",baseName:"regarding",type:"V1ObjectReference"},{name:"related",baseName:"related",type:"V1ObjectReference"},{name:"reportingController",baseName:"reportingController",type:"string"},{name:"reportingInstance",baseName:"reportingInstance",type:"string"},{name:"series",baseName:"series",type:"V1beta1EventSeries"},{name:"type",baseName:"type",type:"string"}]},64484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EventList=void 0;class V1beta1EventList{static getAttributeTypeMap(){return V1beta1EventList.attributeTypeMap}}t.V1beta1EventList=V1beta1EventList;V1beta1EventList.discriminator=undefined;V1beta1EventList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},63533:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1EventSeries=void 0;class V1beta1EventSeries{static getAttributeTypeMap(){return V1beta1EventSeries.attributeTypeMap}}t.V1beta1EventSeries=V1beta1EventSeries;V1beta1EventSeries.discriminator=undefined;V1beta1EventSeries.attributeTypeMap=[{name:"count",baseName:"count",type:"number"},{name:"lastObservedTime",baseName:"lastObservedTime",type:"Date"}]},96254:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Eviction=void 0;class V1beta1Eviction{static getAttributeTypeMap(){return V1beta1Eviction.attributeTypeMap}}t.V1beta1Eviction=V1beta1Eviction;V1beta1Eviction.discriminator=undefined;V1beta1Eviction.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"deleteOptions",baseName:"deleteOptions",type:"V1DeleteOptions"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"}]},1040:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ExternalDocumentation=void 0;class V1beta1ExternalDocumentation{static getAttributeTypeMap(){return V1beta1ExternalDocumentation.attributeTypeMap}}t.V1beta1ExternalDocumentation=V1beta1ExternalDocumentation;V1beta1ExternalDocumentation.discriminator=undefined;V1beta1ExternalDocumentation.attributeTypeMap=[{name:"description",baseName:"description",type:"string"},{name:"url",baseName:"url",type:"string"}]},57091:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FSGroupStrategyOptions=void 0;class V1beta1FSGroupStrategyOptions{static getAttributeTypeMap(){return V1beta1FSGroupStrategyOptions.attributeTypeMap}}t.V1beta1FSGroupStrategyOptions=V1beta1FSGroupStrategyOptions;V1beta1FSGroupStrategyOptions.discriminator=undefined;V1beta1FSGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},98441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowDistinguisherMethod=void 0;class V1beta1FlowDistinguisherMethod{static getAttributeTypeMap(){return V1beta1FlowDistinguisherMethod.attributeTypeMap}}t.V1beta1FlowDistinguisherMethod=V1beta1FlowDistinguisherMethod;V1beta1FlowDistinguisherMethod.discriminator=undefined;V1beta1FlowDistinguisherMethod.attributeTypeMap=[{name:"type",baseName:"type",type:"string"}]},30089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchema=void 0;class V1beta1FlowSchema{static getAttributeTypeMap(){return V1beta1FlowSchema.attributeTypeMap}}t.V1beta1FlowSchema=V1beta1FlowSchema;V1beta1FlowSchema.discriminator=undefined;V1beta1FlowSchema.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1FlowSchemaSpec"},{name:"status",baseName:"status",type:"V1beta1FlowSchemaStatus"}]},43801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaCondition=void 0;class V1beta1FlowSchemaCondition{static getAttributeTypeMap(){return V1beta1FlowSchemaCondition.attributeTypeMap}}t.V1beta1FlowSchemaCondition=V1beta1FlowSchemaCondition;V1beta1FlowSchemaCondition.discriminator=undefined;V1beta1FlowSchemaCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},58382:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaList=void 0;class V1beta1FlowSchemaList{static getAttributeTypeMap(){return V1beta1FlowSchemaList.attributeTypeMap}}t.V1beta1FlowSchemaList=V1beta1FlowSchemaList;V1beta1FlowSchemaList.discriminator=undefined;V1beta1FlowSchemaList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},84478:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaSpec=void 0;class V1beta1FlowSchemaSpec{static getAttributeTypeMap(){return V1beta1FlowSchemaSpec.attributeTypeMap}}t.V1beta1FlowSchemaSpec=V1beta1FlowSchemaSpec;V1beta1FlowSchemaSpec.discriminator=undefined;V1beta1FlowSchemaSpec.attributeTypeMap=[{name:"distinguisherMethod",baseName:"distinguisherMethod",type:"V1beta1FlowDistinguisherMethod"},{name:"matchingPrecedence",baseName:"matchingPrecedence",type:"number"},{name:"priorityLevelConfiguration",baseName:"priorityLevelConfiguration",type:"V1beta1PriorityLevelConfigurationReference"},{name:"rules",baseName:"rules",type:"Array"}]},8076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1FlowSchemaStatus=void 0;class V1beta1FlowSchemaStatus{static getAttributeTypeMap(){return V1beta1FlowSchemaStatus.attributeTypeMap}}t.V1beta1FlowSchemaStatus=V1beta1FlowSchemaStatus;V1beta1FlowSchemaStatus.discriminator=undefined;V1beta1FlowSchemaStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},51807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1GroupSubject=void 0;class V1beta1GroupSubject{static getAttributeTypeMap(){return V1beta1GroupSubject.attributeTypeMap}}t.V1beta1GroupSubject=V1beta1GroupSubject;V1beta1GroupSubject.discriminator=undefined;V1beta1GroupSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},59514:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1HostPortRange=void 0;class V1beta1HostPortRange{static getAttributeTypeMap(){return V1beta1HostPortRange.attributeTypeMap}}t.V1beta1HostPortRange=V1beta1HostPortRange;V1beta1HostPortRange.discriminator=undefined;V1beta1HostPortRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}]},96831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IDRange=void 0;class V1beta1IDRange{static getAttributeTypeMap(){return V1beta1IDRange.attributeTypeMap}}t.V1beta1IDRange=V1beta1IDRange;V1beta1IDRange.discriminator=undefined;V1beta1IDRange.attributeTypeMap=[{name:"max",baseName:"max",type:"number"},{name:"min",baseName:"min",type:"number"}]},41330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClass=void 0;class V1beta1IngressClass{static getAttributeTypeMap(){return V1beta1IngressClass.attributeTypeMap}}t.V1beta1IngressClass=V1beta1IngressClass;V1beta1IngressClass.discriminator=undefined;V1beta1IngressClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1IngressClassSpec"}]},98895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClassList=void 0;class V1beta1IngressClassList{static getAttributeTypeMap(){return V1beta1IngressClassList.attributeTypeMap}}t.V1beta1IngressClassList=V1beta1IngressClassList;V1beta1IngressClassList.discriminator=undefined;V1beta1IngressClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},95359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1IngressClassSpec=void 0;class V1beta1IngressClassSpec{static getAttributeTypeMap(){return V1beta1IngressClassSpec.attributeTypeMap}}t.V1beta1IngressClassSpec=V1beta1IngressClassSpec;V1beta1IngressClassSpec.discriminator=undefined;V1beta1IngressClassSpec.attributeTypeMap=[{name:"controller",baseName:"controller",type:"string"},{name:"parameters",baseName:"parameters",type:"V1TypedLocalObjectReference"}]},24695:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1JSONSchemaProps=void 0;class V1beta1JSONSchemaProps{static getAttributeTypeMap(){return V1beta1JSONSchemaProps.attributeTypeMap}}t.V1beta1JSONSchemaProps=V1beta1JSONSchemaProps;V1beta1JSONSchemaProps.discriminator=undefined;V1beta1JSONSchemaProps.attributeTypeMap=[{name:"$ref",baseName:"$ref",type:"string"},{name:"$schema",baseName:"$schema",type:"string"},{name:"additionalItems",baseName:"additionalItems",type:"object"},{name:"additionalProperties",baseName:"additionalProperties",type:"object"},{name:"allOf",baseName:"allOf",type:"Array"},{name:"anyOf",baseName:"anyOf",type:"Array"},{name:"_default",baseName:"default",type:"object"},{name:"definitions",baseName:"definitions",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"dependencies",baseName:"dependencies",type:"{ [key: string]: object; }"},{name:"description",baseName:"description",type:"string"},{name:"_enum",baseName:"enum",type:"Array"},{name:"example",baseName:"example",type:"object"},{name:"exclusiveMaximum",baseName:"exclusiveMaximum",type:"boolean"},{name:"exclusiveMinimum",baseName:"exclusiveMinimum",type:"boolean"},{name:"externalDocs",baseName:"externalDocs",type:"V1beta1ExternalDocumentation"},{name:"format",baseName:"format",type:"string"},{name:"id",baseName:"id",type:"string"},{name:"items",baseName:"items",type:"object"},{name:"maxItems",baseName:"maxItems",type:"number"},{name:"maxLength",baseName:"maxLength",type:"number"},{name:"maxProperties",baseName:"maxProperties",type:"number"},{name:"maximum",baseName:"maximum",type:"number"},{name:"minItems",baseName:"minItems",type:"number"},{name:"minLength",baseName:"minLength",type:"number"},{name:"minProperties",baseName:"minProperties",type:"number"},{name:"minimum",baseName:"minimum",type:"number"},{name:"multipleOf",baseName:"multipleOf",type:"number"},{name:"not",baseName:"not",type:"V1beta1JSONSchemaProps"},{name:"nullable",baseName:"nullable",type:"boolean"},{name:"oneOf",baseName:"oneOf",type:"Array"},{name:"pattern",baseName:"pattern",type:"string"},{name:"patternProperties",baseName:"patternProperties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"properties",baseName:"properties",type:"{ [key: string]: V1beta1JSONSchemaProps; }"},{name:"required",baseName:"required",type:"Array"},{name:"title",baseName:"title",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"uniqueItems",baseName:"uniqueItems",type:"boolean"},{name:"x_kubernetes_embedded_resource",baseName:"x-kubernetes-embedded-resource",type:"boolean"},{name:"x_kubernetes_int_or_string",baseName:"x-kubernetes-int-or-string",type:"boolean"},{name:"x_kubernetes_list_map_keys",baseName:"x-kubernetes-list-map-keys",type:"Array"},{name:"x_kubernetes_list_type",baseName:"x-kubernetes-list-type",type:"string"},{name:"x_kubernetes_map_type",baseName:"x-kubernetes-map-type",type:"string"},{name:"x_kubernetes_preserve_unknown_fields",baseName:"x-kubernetes-preserve-unknown-fields",type:"boolean"}]},75855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1JobTemplateSpec=void 0;class V1beta1JobTemplateSpec{static getAttributeTypeMap(){return V1beta1JobTemplateSpec.attributeTypeMap}}t.V1beta1JobTemplateSpec=V1beta1JobTemplateSpec;V1beta1JobTemplateSpec.discriminator=undefined;V1beta1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}]},56981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Lease=void 0;class V1beta1Lease{static getAttributeTypeMap(){return V1beta1Lease.attributeTypeMap}}t.V1beta1Lease=V1beta1Lease;V1beta1Lease.discriminator=undefined;V1beta1Lease.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1LeaseSpec"}]},55914:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LeaseList=void 0;class V1beta1LeaseList{static getAttributeTypeMap(){return V1beta1LeaseList.attributeTypeMap}}t.V1beta1LeaseList=V1beta1LeaseList;V1beta1LeaseList.discriminator=undefined;V1beta1LeaseList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LeaseSpec=void 0;class V1beta1LeaseSpec{static getAttributeTypeMap(){return V1beta1LeaseSpec.attributeTypeMap}}t.V1beta1LeaseSpec=V1beta1LeaseSpec;V1beta1LeaseSpec.discriminator=undefined;V1beta1LeaseSpec.attributeTypeMap=[{name:"acquireTime",baseName:"acquireTime",type:"Date"},{name:"holderIdentity",baseName:"holderIdentity",type:"string"},{name:"leaseDurationSeconds",baseName:"leaseDurationSeconds",type:"number"},{name:"leaseTransitions",baseName:"leaseTransitions",type:"number"},{name:"renewTime",baseName:"renewTime",type:"Date"}]},8326:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LimitResponse=void 0;class V1beta1LimitResponse{static getAttributeTypeMap(){return V1beta1LimitResponse.attributeTypeMap}}t.V1beta1LimitResponse=V1beta1LimitResponse;V1beta1LimitResponse.discriminator=undefined;V1beta1LimitResponse.attributeTypeMap=[{name:"queuing",baseName:"queuing",type:"V1beta1QueuingConfiguration"},{name:"type",baseName:"type",type:"string"}]},40541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LimitedPriorityLevelConfiguration=void 0;class V1beta1LimitedPriorityLevelConfiguration{static getAttributeTypeMap(){return V1beta1LimitedPriorityLevelConfiguration.attributeTypeMap}}t.V1beta1LimitedPriorityLevelConfiguration=V1beta1LimitedPriorityLevelConfiguration;V1beta1LimitedPriorityLevelConfiguration.discriminator=undefined;V1beta1LimitedPriorityLevelConfiguration.attributeTypeMap=[{name:"assuredConcurrencyShares",baseName:"assuredConcurrencyShares",type:"number"},{name:"limitResponse",baseName:"limitResponse",type:"V1beta1LimitResponse"}]},59918:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1LocalSubjectAccessReview=void 0;class V1beta1LocalSubjectAccessReview{static getAttributeTypeMap(){return V1beta1LocalSubjectAccessReview.attributeTypeMap}}t.V1beta1LocalSubjectAccessReview=V1beta1LocalSubjectAccessReview;V1beta1LocalSubjectAccessReview.discriminator=undefined;V1beta1LocalSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},74749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhook=void 0;class V1beta1MutatingWebhook{static getAttributeTypeMap(){return V1beta1MutatingWebhook.attributeTypeMap}}t.V1beta1MutatingWebhook=V1beta1MutatingWebhook;V1beta1MutatingWebhook.discriminator=undefined;V1beta1MutatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1beta1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"reinvocationPolicy",baseName:"reinvocationPolicy",type:"string"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},66991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhookConfiguration=void 0;class V1beta1MutatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfiguration.attributeTypeMap}}t.V1beta1MutatingWebhookConfiguration=V1beta1MutatingWebhookConfiguration;V1beta1MutatingWebhookConfiguration.discriminator=undefined;V1beta1MutatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},4046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1MutatingWebhookConfigurationList=void 0;class V1beta1MutatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1MutatingWebhookConfigurationList.attributeTypeMap}}t.V1beta1MutatingWebhookConfigurationList=V1beta1MutatingWebhookConfigurationList;V1beta1MutatingWebhookConfigurationList.discriminator=undefined;V1beta1MutatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},14255:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourceAttributes=void 0;class V1beta1NonResourceAttributes{static getAttributeTypeMap(){return V1beta1NonResourceAttributes.attributeTypeMap}}t.V1beta1NonResourceAttributes=V1beta1NonResourceAttributes;V1beta1NonResourceAttributes.discriminator=undefined;V1beta1NonResourceAttributes.attributeTypeMap=[{name:"path",baseName:"path",type:"string"},{name:"verb",baseName:"verb",type:"string"}]},81655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourcePolicyRule=void 0;class V1beta1NonResourcePolicyRule{static getAttributeTypeMap(){return V1beta1NonResourcePolicyRule.attributeTypeMap}}t.V1beta1NonResourcePolicyRule=V1beta1NonResourcePolicyRule;V1beta1NonResourcePolicyRule.discriminator=undefined;V1beta1NonResourcePolicyRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},83111:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1NonResourceRule=void 0;class V1beta1NonResourceRule{static getAttributeTypeMap(){return V1beta1NonResourceRule.attributeTypeMap}}t.V1beta1NonResourceRule=V1beta1NonResourceRule;V1beta1NonResourceRule.discriminator=undefined;V1beta1NonResourceRule.attributeTypeMap=[{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},34396:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Overhead=void 0;class V1beta1Overhead{static getAttributeTypeMap(){return V1beta1Overhead.attributeTypeMap}}t.V1beta1Overhead=V1beta1Overhead;V1beta1Overhead.discriminator=undefined;V1beta1Overhead.attributeTypeMap=[{name:"podFixed",baseName:"podFixed",type:"{ [key: string]: string; }"}]},43485:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudget=void 0;class V1beta1PodDisruptionBudget{static getAttributeTypeMap(){return V1beta1PodDisruptionBudget.attributeTypeMap}}t.V1beta1PodDisruptionBudget=V1beta1PodDisruptionBudget;V1beta1PodDisruptionBudget.discriminator=undefined;V1beta1PodDisruptionBudget.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PodDisruptionBudgetSpec"},{name:"status",baseName:"status",type:"V1beta1PodDisruptionBudgetStatus"}]},63931:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetList=void 0;class V1beta1PodDisruptionBudgetList{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetList.attributeTypeMap}}t.V1beta1PodDisruptionBudgetList=V1beta1PodDisruptionBudgetList;V1beta1PodDisruptionBudgetList.discriminator=undefined;V1beta1PodDisruptionBudgetList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},23257:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetSpec=void 0;class V1beta1PodDisruptionBudgetSpec{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetSpec.attributeTypeMap}}t.V1beta1PodDisruptionBudgetSpec=V1beta1PodDisruptionBudgetSpec;V1beta1PodDisruptionBudgetSpec.discriminator=undefined;V1beta1PodDisruptionBudgetSpec.attributeTypeMap=[{name:"maxUnavailable",baseName:"maxUnavailable",type:"object"},{name:"minAvailable",baseName:"minAvailable",type:"object"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},84404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodDisruptionBudgetStatus=void 0;class V1beta1PodDisruptionBudgetStatus{static getAttributeTypeMap(){return V1beta1PodDisruptionBudgetStatus.attributeTypeMap}}t.V1beta1PodDisruptionBudgetStatus=V1beta1PodDisruptionBudgetStatus;V1beta1PodDisruptionBudgetStatus.discriminator=undefined;V1beta1PodDisruptionBudgetStatus.attributeTypeMap=[{name:"currentHealthy",baseName:"currentHealthy",type:"number"},{name:"desiredHealthy",baseName:"desiredHealthy",type:"number"},{name:"disruptedPods",baseName:"disruptedPods",type:"{ [key: string]: Date; }"},{name:"disruptionsAllowed",baseName:"disruptionsAllowed",type:"number"},{name:"expectedPods",baseName:"expectedPods",type:"number"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},44289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicy=void 0;class V1beta1PodSecurityPolicy{static getAttributeTypeMap(){return V1beta1PodSecurityPolicy.attributeTypeMap}}t.V1beta1PodSecurityPolicy=V1beta1PodSecurityPolicy;V1beta1PodSecurityPolicy.discriminator=undefined;V1beta1PodSecurityPolicy.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PodSecurityPolicySpec"}]},90147:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicyList=void 0;class V1beta1PodSecurityPolicyList{static getAttributeTypeMap(){return V1beta1PodSecurityPolicyList.attributeTypeMap}}t.V1beta1PodSecurityPolicyList=V1beta1PodSecurityPolicyList;V1beta1PodSecurityPolicyList.discriminator=undefined;V1beta1PodSecurityPolicyList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},72683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PodSecurityPolicySpec=void 0;class V1beta1PodSecurityPolicySpec{static getAttributeTypeMap(){return V1beta1PodSecurityPolicySpec.attributeTypeMap}}t.V1beta1PodSecurityPolicySpec=V1beta1PodSecurityPolicySpec;V1beta1PodSecurityPolicySpec.discriminator=undefined;V1beta1PodSecurityPolicySpec.attributeTypeMap=[{name:"allowPrivilegeEscalation",baseName:"allowPrivilegeEscalation",type:"boolean"},{name:"allowedCSIDrivers",baseName:"allowedCSIDrivers",type:"Array"},{name:"allowedCapabilities",baseName:"allowedCapabilities",type:"Array"},{name:"allowedFlexVolumes",baseName:"allowedFlexVolumes",type:"Array"},{name:"allowedHostPaths",baseName:"allowedHostPaths",type:"Array"},{name:"allowedProcMountTypes",baseName:"allowedProcMountTypes",type:"Array"},{name:"allowedUnsafeSysctls",baseName:"allowedUnsafeSysctls",type:"Array"},{name:"defaultAddCapabilities",baseName:"defaultAddCapabilities",type:"Array"},{name:"defaultAllowPrivilegeEscalation",baseName:"defaultAllowPrivilegeEscalation",type:"boolean"},{name:"forbiddenSysctls",baseName:"forbiddenSysctls",type:"Array"},{name:"fsGroup",baseName:"fsGroup",type:"V1beta1FSGroupStrategyOptions"},{name:"hostIPC",baseName:"hostIPC",type:"boolean"},{name:"hostNetwork",baseName:"hostNetwork",type:"boolean"},{name:"hostPID",baseName:"hostPID",type:"boolean"},{name:"hostPorts",baseName:"hostPorts",type:"Array"},{name:"privileged",baseName:"privileged",type:"boolean"},{name:"readOnlyRootFilesystem",baseName:"readOnlyRootFilesystem",type:"boolean"},{name:"requiredDropCapabilities",baseName:"requiredDropCapabilities",type:"Array"},{name:"runAsGroup",baseName:"runAsGroup",type:"V1beta1RunAsGroupStrategyOptions"},{name:"runAsUser",baseName:"runAsUser",type:"V1beta1RunAsUserStrategyOptions"},{name:"runtimeClass",baseName:"runtimeClass",type:"V1beta1RuntimeClassStrategyOptions"},{name:"seLinux",baseName:"seLinux",type:"V1beta1SELinuxStrategyOptions"},{name:"supplementalGroups",baseName:"supplementalGroups",type:"V1beta1SupplementalGroupsStrategyOptions"},{name:"volumes",baseName:"volumes",type:"Array"}]},2177:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PolicyRule=void 0;class V1beta1PolicyRule{static getAttributeTypeMap(){return V1beta1PolicyRule.attributeTypeMap}}t.V1beta1PolicyRule=V1beta1PolicyRule;V1beta1PolicyRule.discriminator=undefined;V1beta1PolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"nonResourceURLs",baseName:"nonResourceURLs",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},75714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PolicyRulesWithSubjects=void 0;class V1beta1PolicyRulesWithSubjects{static getAttributeTypeMap(){return V1beta1PolicyRulesWithSubjects.attributeTypeMap}}t.V1beta1PolicyRulesWithSubjects=V1beta1PolicyRulesWithSubjects;V1beta1PolicyRulesWithSubjects.discriminator=undefined;V1beta1PolicyRulesWithSubjects.attributeTypeMap=[{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"},{name:"subjects",baseName:"subjects",type:"Array"}]},59684:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityClass=void 0;class V1beta1PriorityClass{static getAttributeTypeMap(){return V1beta1PriorityClass.attributeTypeMap}}t.V1beta1PriorityClass=V1beta1PriorityClass;V1beta1PriorityClass.discriminator=undefined;V1beta1PriorityClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"description",baseName:"description",type:"string"},{name:"globalDefault",baseName:"globalDefault",type:"boolean"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"preemptionPolicy",baseName:"preemptionPolicy",type:"string"},{name:"value",baseName:"value",type:"number"}]},26149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityClassList=void 0;class V1beta1PriorityClassList{static getAttributeTypeMap(){return V1beta1PriorityClassList.attributeTypeMap}}t.V1beta1PriorityClassList=V1beta1PriorityClassList;V1beta1PriorityClassList.discriminator=undefined;V1beta1PriorityClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},67813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfiguration=void 0;class V1beta1PriorityLevelConfiguration{static getAttributeTypeMap(){return V1beta1PriorityLevelConfiguration.attributeTypeMap}}t.V1beta1PriorityLevelConfiguration=V1beta1PriorityLevelConfiguration;V1beta1PriorityLevelConfiguration.discriminator=undefined;V1beta1PriorityLevelConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1PriorityLevelConfigurationSpec"},{name:"status",baseName:"status",type:"V1beta1PriorityLevelConfigurationStatus"}]},60270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationCondition=void 0;class V1beta1PriorityLevelConfigurationCondition{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationCondition.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationCondition=V1beta1PriorityLevelConfigurationCondition;V1beta1PriorityLevelConfigurationCondition.discriminator=undefined;V1beta1PriorityLevelConfigurationCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},90435:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationList=void 0;class V1beta1PriorityLevelConfigurationList{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationList.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationList=V1beta1PriorityLevelConfigurationList;V1beta1PriorityLevelConfigurationList.discriminator=undefined;V1beta1PriorityLevelConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},42319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationReference=void 0;class V1beta1PriorityLevelConfigurationReference{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationReference.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationReference=V1beta1PriorityLevelConfigurationReference;V1beta1PriorityLevelConfigurationReference.discriminator=undefined;V1beta1PriorityLevelConfigurationReference.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},10530:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationSpec=void 0;class V1beta1PriorityLevelConfigurationSpec{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationSpec.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationSpec=V1beta1PriorityLevelConfigurationSpec;V1beta1PriorityLevelConfigurationSpec.discriminator=undefined;V1beta1PriorityLevelConfigurationSpec.attributeTypeMap=[{name:"limited",baseName:"limited",type:"V1beta1LimitedPriorityLevelConfiguration"},{name:"type",baseName:"type",type:"string"}]},22546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1PriorityLevelConfigurationStatus=void 0;class V1beta1PriorityLevelConfigurationStatus{static getAttributeTypeMap(){return V1beta1PriorityLevelConfigurationStatus.attributeTypeMap}}t.V1beta1PriorityLevelConfigurationStatus=V1beta1PriorityLevelConfigurationStatus;V1beta1PriorityLevelConfigurationStatus.discriminator=undefined;V1beta1PriorityLevelConfigurationStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"}]},62252:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1QueuingConfiguration=void 0;class V1beta1QueuingConfiguration{static getAttributeTypeMap(){return V1beta1QueuingConfiguration.attributeTypeMap}}t.V1beta1QueuingConfiguration=V1beta1QueuingConfiguration;V1beta1QueuingConfiguration.discriminator=undefined;V1beta1QueuingConfiguration.attributeTypeMap=[{name:"handSize",baseName:"handSize",type:"number"},{name:"queueLengthLimit",baseName:"queueLengthLimit",type:"number"},{name:"queues",baseName:"queues",type:"number"}]},76021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourceAttributes=void 0;class V1beta1ResourceAttributes{static getAttributeTypeMap(){return V1beta1ResourceAttributes.attributeTypeMap}}t.V1beta1ResourceAttributes=V1beta1ResourceAttributes;V1beta1ResourceAttributes.discriminator=undefined;V1beta1ResourceAttributes.attributeTypeMap=[{name:"group",baseName:"group",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"},{name:"resource",baseName:"resource",type:"string"},{name:"subresource",baseName:"subresource",type:"string"},{name:"verb",baseName:"verb",type:"string"},{name:"version",baseName:"version",type:"string"}]},5461:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourcePolicyRule=void 0;class V1beta1ResourcePolicyRule{static getAttributeTypeMap(){return V1beta1ResourcePolicyRule.attributeTypeMap}}t.V1beta1ResourcePolicyRule=V1beta1ResourcePolicyRule;V1beta1ResourcePolicyRule.discriminator=undefined;V1beta1ResourcePolicyRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"clusterScope",baseName:"clusterScope",type:"boolean"},{name:"namespaces",baseName:"namespaces",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},28787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ResourceRule=void 0;class V1beta1ResourceRule{static getAttributeTypeMap(){return V1beta1ResourceRule.attributeTypeMap}}t.V1beta1ResourceRule=V1beta1ResourceRule;V1beta1ResourceRule.discriminator=undefined;V1beta1ResourceRule.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"resourceNames",baseName:"resourceNames",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"verbs",baseName:"verbs",type:"Array"}]},51959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Role=void 0;class V1beta1Role{static getAttributeTypeMap(){return V1beta1Role.attributeTypeMap}}t.V1beta1Role=V1beta1Role;V1beta1Role.discriminator=undefined;V1beta1Role.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"rules",baseName:"rules",type:"Array"}]},71667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleBinding=void 0;class V1beta1RoleBinding{static getAttributeTypeMap(){return V1beta1RoleBinding.attributeTypeMap}}t.V1beta1RoleBinding=V1beta1RoleBinding;V1beta1RoleBinding.discriminator=undefined;V1beta1RoleBinding.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"roleRef",baseName:"roleRef",type:"V1beta1RoleRef"},{name:"subjects",baseName:"subjects",type:"Array"}]},96916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleBindingList=void 0;class V1beta1RoleBindingList{static getAttributeTypeMap(){return V1beta1RoleBindingList.attributeTypeMap}}t.V1beta1RoleBindingList=V1beta1RoleBindingList;V1beta1RoleBindingList.discriminator=undefined;V1beta1RoleBindingList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},2230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleList=void 0;class V1beta1RoleList{static getAttributeTypeMap(){return V1beta1RoleList.attributeTypeMap}}t.V1beta1RoleList=V1beta1RoleList;V1beta1RoleList.discriminator=undefined;V1beta1RoleList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},74299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RoleRef=void 0;class V1beta1RoleRef{static getAttributeTypeMap(){return V1beta1RoleRef.attributeTypeMap}}t.V1beta1RoleRef=V1beta1RoleRef;V1beta1RoleRef.discriminator=undefined;V1beta1RoleRef.attributeTypeMap=[{name:"apiGroup",baseName:"apiGroup",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},87497:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuleWithOperations=void 0;class V1beta1RuleWithOperations{static getAttributeTypeMap(){return V1beta1RuleWithOperations.attributeTypeMap}}t.V1beta1RuleWithOperations=V1beta1RuleWithOperations;V1beta1RuleWithOperations.discriminator=undefined;V1beta1RuleWithOperations.attributeTypeMap=[{name:"apiGroups",baseName:"apiGroups",type:"Array"},{name:"apiVersions",baseName:"apiVersions",type:"Array"},{name:"operations",baseName:"operations",type:"Array"},{name:"resources",baseName:"resources",type:"Array"},{name:"scope",baseName:"scope",type:"string"}]},65831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RunAsGroupStrategyOptions=void 0;class V1beta1RunAsGroupStrategyOptions{static getAttributeTypeMap(){return V1beta1RunAsGroupStrategyOptions.attributeTypeMap}}t.V1beta1RunAsGroupStrategyOptions=V1beta1RunAsGroupStrategyOptions;V1beta1RunAsGroupStrategyOptions.discriminator=undefined;V1beta1RunAsGroupStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},31079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RunAsUserStrategyOptions=void 0;class V1beta1RunAsUserStrategyOptions{static getAttributeTypeMap(){return V1beta1RunAsUserStrategyOptions.attributeTypeMap}}t.V1beta1RunAsUserStrategyOptions=V1beta1RunAsUserStrategyOptions;V1beta1RunAsUserStrategyOptions.discriminator=undefined;V1beta1RunAsUserStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},75281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClass=void 0;class V1beta1RuntimeClass{static getAttributeTypeMap(){return V1beta1RuntimeClass.attributeTypeMap}}t.V1beta1RuntimeClass=V1beta1RuntimeClass;V1beta1RuntimeClass.discriminator=undefined;V1beta1RuntimeClass.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"handler",baseName:"handler",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"overhead",baseName:"overhead",type:"V1beta1Overhead"},{name:"scheduling",baseName:"scheduling",type:"V1beta1Scheduling"}]},8109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClassList=void 0;class V1beta1RuntimeClassList{static getAttributeTypeMap(){return V1beta1RuntimeClassList.attributeTypeMap}}t.V1beta1RuntimeClassList=V1beta1RuntimeClassList;V1beta1RuntimeClassList.discriminator=undefined;V1beta1RuntimeClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},50769:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1RuntimeClassStrategyOptions=void 0;class V1beta1RuntimeClassStrategyOptions{static getAttributeTypeMap(){return V1beta1RuntimeClassStrategyOptions.attributeTypeMap}}t.V1beta1RuntimeClassStrategyOptions=V1beta1RuntimeClassStrategyOptions;V1beta1RuntimeClassStrategyOptions.discriminator=undefined;V1beta1RuntimeClassStrategyOptions.attributeTypeMap=[{name:"allowedRuntimeClassNames",baseName:"allowedRuntimeClassNames",type:"Array"},{name:"defaultRuntimeClassName",baseName:"defaultRuntimeClassName",type:"string"}]},49098:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SELinuxStrategyOptions=void 0;class V1beta1SELinuxStrategyOptions{static getAttributeTypeMap(){return V1beta1SELinuxStrategyOptions.attributeTypeMap}}t.V1beta1SELinuxStrategyOptions=V1beta1SELinuxStrategyOptions;V1beta1SELinuxStrategyOptions.discriminator=undefined;V1beta1SELinuxStrategyOptions.attributeTypeMap=[{name:"rule",baseName:"rule",type:"string"},{name:"seLinuxOptions",baseName:"seLinuxOptions",type:"V1SELinuxOptions"}]},34651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1Scheduling=void 0;class V1beta1Scheduling{static getAttributeTypeMap(){return V1beta1Scheduling.attributeTypeMap}}t.V1beta1Scheduling=V1beta1Scheduling;V1beta1Scheduling.discriminator=undefined;V1beta1Scheduling.attributeTypeMap=[{name:"nodeSelector",baseName:"nodeSelector",type:"{ [key: string]: string; }"},{name:"tolerations",baseName:"tolerations",type:"Array"}]},35033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectAccessReview=void 0;class V1beta1SelfSubjectAccessReview{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReview.attributeTypeMap}}t.V1beta1SelfSubjectAccessReview=V1beta1SelfSubjectAccessReview;V1beta1SelfSubjectAccessReview.discriminator=undefined;V1beta1SelfSubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},90080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectAccessReviewSpec=void 0;class V1beta1SelfSubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap}}t.V1beta1SelfSubjectAccessReviewSpec=V1beta1SelfSubjectAccessReviewSpec;V1beta1SelfSubjectAccessReviewSpec.discriminator=undefined;V1beta1SelfSubjectAccessReviewSpec.attributeTypeMap=[{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"}]},13129:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectRulesReview=void 0;class V1beta1SelfSubjectRulesReview{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReview.attributeTypeMap}}t.V1beta1SelfSubjectRulesReview=V1beta1SelfSubjectRulesReview;V1beta1SelfSubjectRulesReview.discriminator=undefined;V1beta1SelfSubjectRulesReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SelfSubjectRulesReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectRulesReviewStatus"}]},14474:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SelfSubjectRulesReviewSpec=void 0;class V1beta1SelfSubjectRulesReviewSpec{static getAttributeTypeMap(){return V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap}}t.V1beta1SelfSubjectRulesReviewSpec=V1beta1SelfSubjectRulesReviewSpec;V1beta1SelfSubjectRulesReviewSpec.discriminator=undefined;V1beta1SelfSubjectRulesReviewSpec.attributeTypeMap=[{name:"namespace",baseName:"namespace",type:"string"}]},473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ServiceAccountSubject=void 0;class V1beta1ServiceAccountSubject{static getAttributeTypeMap(){return V1beta1ServiceAccountSubject.attributeTypeMap}}t.V1beta1ServiceAccountSubject=V1beta1ServiceAccountSubject;V1beta1ServiceAccountSubject.discriminator=undefined;V1beta1ServiceAccountSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"namespace",baseName:"namespace",type:"string"}]},88465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1StorageClass=void 0;class V1beta1StorageClass{static getAttributeTypeMap(){return V1beta1StorageClass.attributeTypeMap}}t.V1beta1StorageClass=V1beta1StorageClass;V1beta1StorageClass.discriminator=undefined;V1beta1StorageClass.attributeTypeMap=[{name:"allowVolumeExpansion",baseName:"allowVolumeExpansion",type:"boolean"},{name:"allowedTopologies",baseName:"allowedTopologies",type:"Array"},{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"mountOptions",baseName:"mountOptions",type:"Array"},{name:"parameters",baseName:"parameters",type:"{ [key: string]: string; }"},{name:"provisioner",baseName:"provisioner",type:"string"},{name:"reclaimPolicy",baseName:"reclaimPolicy",type:"string"},{name:"volumeBindingMode",baseName:"volumeBindingMode",type:"string"}]},2146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1StorageClassList=void 0;class V1beta1StorageClassList{static getAttributeTypeMap(){return V1beta1StorageClassList.attributeTypeMap}}t.V1beta1StorageClassList=V1beta1StorageClassList;V1beta1StorageClassList.discriminator=undefined;V1beta1StorageClassList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},88931:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReview=void 0;class V1beta1SubjectAccessReview{static getAttributeTypeMap(){return V1beta1SubjectAccessReview.attributeTypeMap}}t.V1beta1SubjectAccessReview=V1beta1SubjectAccessReview;V1beta1SubjectAccessReview.discriminator=undefined;V1beta1SubjectAccessReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1SubjectAccessReviewSpec"},{name:"status",baseName:"status",type:"V1beta1SubjectAccessReviewStatus"}]},46198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReviewSpec=void 0;class V1beta1SubjectAccessReviewSpec{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewSpec.attributeTypeMap}}t.V1beta1SubjectAccessReviewSpec=V1beta1SubjectAccessReviewSpec;V1beta1SubjectAccessReviewSpec.discriminator=undefined;V1beta1SubjectAccessReviewSpec.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"group",baseName:"group",type:"Array"},{name:"nonResourceAttributes",baseName:"nonResourceAttributes",type:"V1beta1NonResourceAttributes"},{name:"resourceAttributes",baseName:"resourceAttributes",type:"V1beta1ResourceAttributes"},{name:"uid",baseName:"uid",type:"string"},{name:"user",baseName:"user",type:"string"}]},95797:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectAccessReviewStatus=void 0;class V1beta1SubjectAccessReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectAccessReviewStatus.attributeTypeMap}}t.V1beta1SubjectAccessReviewStatus=V1beta1SubjectAccessReviewStatus;V1beta1SubjectAccessReviewStatus.discriminator=undefined;V1beta1SubjectAccessReviewStatus.attributeTypeMap=[{name:"allowed",baseName:"allowed",type:"boolean"},{name:"denied",baseName:"denied",type:"boolean"},{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"reason",baseName:"reason",type:"string"}]},31397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SubjectRulesReviewStatus=void 0;class V1beta1SubjectRulesReviewStatus{static getAttributeTypeMap(){return V1beta1SubjectRulesReviewStatus.attributeTypeMap}}t.V1beta1SubjectRulesReviewStatus=V1beta1SubjectRulesReviewStatus;V1beta1SubjectRulesReviewStatus.discriminator=undefined;V1beta1SubjectRulesReviewStatus.attributeTypeMap=[{name:"evaluationError",baseName:"evaluationError",type:"string"},{name:"incomplete",baseName:"incomplete",type:"boolean"},{name:"nonResourceRules",baseName:"nonResourceRules",type:"Array"},{name:"resourceRules",baseName:"resourceRules",type:"Array"}]},12802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1SupplementalGroupsStrategyOptions=void 0;class V1beta1SupplementalGroupsStrategyOptions{static getAttributeTypeMap(){return V1beta1SupplementalGroupsStrategyOptions.attributeTypeMap}}t.V1beta1SupplementalGroupsStrategyOptions=V1beta1SupplementalGroupsStrategyOptions;V1beta1SupplementalGroupsStrategyOptions.discriminator=undefined;V1beta1SupplementalGroupsStrategyOptions.attributeTypeMap=[{name:"ranges",baseName:"ranges",type:"Array"},{name:"rule",baseName:"rule",type:"string"}]},61521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenRequest=void 0;class V1beta1TokenRequest{static getAttributeTypeMap(){return V1beta1TokenRequest.attributeTypeMap}}t.V1beta1TokenRequest=V1beta1TokenRequest;V1beta1TokenRequest.discriminator=undefined;V1beta1TokenRequest.attributeTypeMap=[{name:"audience",baseName:"audience",type:"string"},{name:"expirationSeconds",baseName:"expirationSeconds",type:"number"}]},15956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReview=void 0;class V1beta1TokenReview{static getAttributeTypeMap(){return V1beta1TokenReview.attributeTypeMap}}t.V1beta1TokenReview=V1beta1TokenReview;V1beta1TokenReview.discriminator=undefined;V1beta1TokenReview.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1TokenReviewSpec"},{name:"status",baseName:"status",type:"V1beta1TokenReviewStatus"}]},54910:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReviewSpec=void 0;class V1beta1TokenReviewSpec{static getAttributeTypeMap(){return V1beta1TokenReviewSpec.attributeTypeMap}}t.V1beta1TokenReviewSpec=V1beta1TokenReviewSpec;V1beta1TokenReviewSpec.discriminator=undefined;V1beta1TokenReviewSpec.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"token",baseName:"token",type:"string"}]},10285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1TokenReviewStatus=void 0;class V1beta1TokenReviewStatus{static getAttributeTypeMap(){return V1beta1TokenReviewStatus.attributeTypeMap}}t.V1beta1TokenReviewStatus=V1beta1TokenReviewStatus;V1beta1TokenReviewStatus.discriminator=undefined;V1beta1TokenReviewStatus.attributeTypeMap=[{name:"audiences",baseName:"audiences",type:"Array"},{name:"authenticated",baseName:"authenticated",type:"boolean"},{name:"error",baseName:"error",type:"string"},{name:"user",baseName:"user",type:"V1beta1UserInfo"}]},53523:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1UserInfo=void 0;class V1beta1UserInfo{static getAttributeTypeMap(){return V1beta1UserInfo.attributeTypeMap}}t.V1beta1UserInfo=V1beta1UserInfo;V1beta1UserInfo.discriminator=undefined;V1beta1UserInfo.attributeTypeMap=[{name:"extra",baseName:"extra",type:"{ [key: string]: Array; }"},{name:"groups",baseName:"groups",type:"Array"},{name:"uid",baseName:"uid",type:"string"},{name:"username",baseName:"username",type:"string"}]},11202:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1UserSubject=void 0;class V1beta1UserSubject{static getAttributeTypeMap(){return V1beta1UserSubject.attributeTypeMap}}t.V1beta1UserSubject=V1beta1UserSubject;V1beta1UserSubject.discriminator=undefined;V1beta1UserSubject.attributeTypeMap=[{name:"name",baseName:"name",type:"string"}]},39491:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhook=void 0;class V1beta1ValidatingWebhook{static getAttributeTypeMap(){return V1beta1ValidatingWebhook.attributeTypeMap}}t.V1beta1ValidatingWebhook=V1beta1ValidatingWebhook;V1beta1ValidatingWebhook.discriminator=undefined;V1beta1ValidatingWebhook.attributeTypeMap=[{name:"admissionReviewVersions",baseName:"admissionReviewVersions",type:"Array"},{name:"clientConfig",baseName:"clientConfig",type:"AdmissionregistrationV1beta1WebhookClientConfig"},{name:"failurePolicy",baseName:"failurePolicy",type:"string"},{name:"matchPolicy",baseName:"matchPolicy",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"namespaceSelector",baseName:"namespaceSelector",type:"V1LabelSelector"},{name:"objectSelector",baseName:"objectSelector",type:"V1LabelSelector"},{name:"rules",baseName:"rules",type:"Array"},{name:"sideEffects",baseName:"sideEffects",type:"string"},{name:"timeoutSeconds",baseName:"timeoutSeconds",type:"number"}]},20812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhookConfiguration=void 0;class V1beta1ValidatingWebhookConfiguration{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfiguration.attributeTypeMap}}t.V1beta1ValidatingWebhookConfiguration=V1beta1ValidatingWebhookConfiguration;V1beta1ValidatingWebhookConfiguration.discriminator=undefined;V1beta1ValidatingWebhookConfiguration.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"webhooks",baseName:"webhooks",type:"Array"}]},18685:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1ValidatingWebhookConfigurationList=void 0;class V1beta1ValidatingWebhookConfigurationList{static getAttributeTypeMap(){return V1beta1ValidatingWebhookConfigurationList.attributeTypeMap}}t.V1beta1ValidatingWebhookConfigurationList=V1beta1ValidatingWebhookConfigurationList;V1beta1ValidatingWebhookConfigurationList.discriminator=undefined;V1beta1ValidatingWebhookConfigurationList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},72711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachment=void 0;class V1beta1VolumeAttachment{static getAttributeTypeMap(){return V1beta1VolumeAttachment.attributeTypeMap}}t.V1beta1VolumeAttachment=V1beta1VolumeAttachment;V1beta1VolumeAttachment.discriminator=undefined;V1beta1VolumeAttachment.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1beta1VolumeAttachmentSpec"},{name:"status",baseName:"status",type:"V1beta1VolumeAttachmentStatus"}]},72167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentList=void 0;class V1beta1VolumeAttachmentList{static getAttributeTypeMap(){return V1beta1VolumeAttachmentList.attributeTypeMap}}t.V1beta1VolumeAttachmentList=V1beta1VolumeAttachmentList;V1beta1VolumeAttachmentList.discriminator=undefined;V1beta1VolumeAttachmentList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},55473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentSource=void 0;class V1beta1VolumeAttachmentSource{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSource.attributeTypeMap}}t.V1beta1VolumeAttachmentSource=V1beta1VolumeAttachmentSource;V1beta1VolumeAttachmentSource.discriminator=undefined;V1beta1VolumeAttachmentSource.attributeTypeMap=[{name:"inlineVolumeSpec",baseName:"inlineVolumeSpec",type:"V1PersistentVolumeSpec"},{name:"persistentVolumeName",baseName:"persistentVolumeName",type:"string"}]},53805:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentSpec=void 0;class V1beta1VolumeAttachmentSpec{static getAttributeTypeMap(){return V1beta1VolumeAttachmentSpec.attributeTypeMap}}t.V1beta1VolumeAttachmentSpec=V1beta1VolumeAttachmentSpec;V1beta1VolumeAttachmentSpec.discriminator=undefined;V1beta1VolumeAttachmentSpec.attributeTypeMap=[{name:"attacher",baseName:"attacher",type:"string"},{name:"nodeName",baseName:"nodeName",type:"string"},{name:"source",baseName:"source",type:"V1beta1VolumeAttachmentSource"}]},94350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeAttachmentStatus=void 0;class V1beta1VolumeAttachmentStatus{static getAttributeTypeMap(){return V1beta1VolumeAttachmentStatus.attributeTypeMap}}t.V1beta1VolumeAttachmentStatus=V1beta1VolumeAttachmentStatus;V1beta1VolumeAttachmentStatus.discriminator=undefined;V1beta1VolumeAttachmentStatus.attributeTypeMap=[{name:"attachError",baseName:"attachError",type:"V1beta1VolumeError"},{name:"attached",baseName:"attached",type:"boolean"},{name:"attachmentMetadata",baseName:"attachmentMetadata",type:"{ [key: string]: string; }"},{name:"detachError",baseName:"detachError",type:"V1beta1VolumeError"}]},53849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeError=void 0;class V1beta1VolumeError{static getAttributeTypeMap(){return V1beta1VolumeError.attributeTypeMap}}t.V1beta1VolumeError=V1beta1VolumeError;V1beta1VolumeError.discriminator=undefined;V1beta1VolumeError.attributeTypeMap=[{name:"message",baseName:"message",type:"string"},{name:"time",baseName:"time",type:"Date"}]},71688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V1beta1VolumeNodeResources=void 0;class V1beta1VolumeNodeResources{static getAttributeTypeMap(){return V1beta1VolumeNodeResources.attributeTypeMap}}t.V1beta1VolumeNodeResources=V1beta1VolumeNodeResources;V1beta1VolumeNodeResources.discriminator=undefined;V1beta1VolumeNodeResources.attributeTypeMap=[{name:"count",baseName:"count",type:"number"}]},5710:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJob=void 0;class V2alpha1CronJob{static getAttributeTypeMap(){return V2alpha1CronJob.attributeTypeMap}}t.V2alpha1CronJob=V2alpha1CronJob;V2alpha1CronJob.discriminator=undefined;V2alpha1CronJob.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2alpha1CronJobSpec"},{name:"status",baseName:"status",type:"V2alpha1CronJobStatus"}]},98026:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobList=void 0;class V2alpha1CronJobList{static getAttributeTypeMap(){return V2alpha1CronJobList.attributeTypeMap}}t.V2alpha1CronJobList=V2alpha1CronJobList;V2alpha1CronJobList.discriminator=undefined;V2alpha1CronJobList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},41784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobSpec=void 0;class V2alpha1CronJobSpec{static getAttributeTypeMap(){return V2alpha1CronJobSpec.attributeTypeMap}}t.V2alpha1CronJobSpec=V2alpha1CronJobSpec;V2alpha1CronJobSpec.discriminator=undefined;V2alpha1CronJobSpec.attributeTypeMap=[{name:"concurrencyPolicy",baseName:"concurrencyPolicy",type:"string"},{name:"failedJobsHistoryLimit",baseName:"failedJobsHistoryLimit",type:"number"},{name:"jobTemplate",baseName:"jobTemplate",type:"V2alpha1JobTemplateSpec"},{name:"schedule",baseName:"schedule",type:"string"},{name:"startingDeadlineSeconds",baseName:"startingDeadlineSeconds",type:"number"},{name:"successfulJobsHistoryLimit",baseName:"successfulJobsHistoryLimit",type:"number"},{name:"suspend",baseName:"suspend",type:"boolean"}]},2411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1CronJobStatus=void 0;class V2alpha1CronJobStatus{static getAttributeTypeMap(){return V2alpha1CronJobStatus.attributeTypeMap}}t.V2alpha1CronJobStatus=V2alpha1CronJobStatus;V2alpha1CronJobStatus.discriminator=undefined;V2alpha1CronJobStatus.attributeTypeMap=[{name:"active",baseName:"active",type:"Array"},{name:"lastScheduleTime",baseName:"lastScheduleTime",type:"Date"}]},3849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2alpha1JobTemplateSpec=void 0;class V2alpha1JobTemplateSpec{static getAttributeTypeMap(){return V2alpha1JobTemplateSpec.attributeTypeMap}}t.V2alpha1JobTemplateSpec=V2alpha1JobTemplateSpec;V2alpha1JobTemplateSpec.discriminator=undefined;V2alpha1JobTemplateSpec.attributeTypeMap=[{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V1JobSpec"}]},37196:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ContainerResourceMetricSource=void 0;class V2beta1ContainerResourceMetricSource{static getAttributeTypeMap(){return V2beta1ContainerResourceMetricSource.attributeTypeMap}}t.V2beta1ContainerResourceMetricSource=V2beta1ContainerResourceMetricSource;V2beta1ContainerResourceMetricSource.discriminator=undefined;V2beta1ContainerResourceMetricSource.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"targetAverageUtilization",baseName:"targetAverageUtilization",type:"number"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},27287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ContainerResourceMetricStatus=void 0;class V2beta1ContainerResourceMetricStatus{static getAttributeTypeMap(){return V2beta1ContainerResourceMetricStatus.attributeTypeMap}}t.V2beta1ContainerResourceMetricStatus=V2beta1ContainerResourceMetricStatus;V2beta1ContainerResourceMetricStatus.discriminator=undefined;V2beta1ContainerResourceMetricStatus.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"currentAverageUtilization",baseName:"currentAverageUtilization",type:"number"},{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"name",baseName:"name",type:"string"}]},36502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1CrossVersionObjectReference=void 0;class V2beta1CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta1CrossVersionObjectReference.attributeTypeMap}}t.V2beta1CrossVersionObjectReference=V2beta1CrossVersionObjectReference;V2beta1CrossVersionObjectReference.discriminator=undefined;V2beta1CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},43128:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ExternalMetricSource=void 0;class V2beta1ExternalMetricSource{static getAttributeTypeMap(){return V2beta1ExternalMetricSource.attributeTypeMap}}t.V2beta1ExternalMetricSource=V2beta1ExternalMetricSource;V2beta1ExternalMetricSource.discriminator=undefined;V2beta1ExternalMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"},{name:"targetValue",baseName:"targetValue",type:"string"}]},96606:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ExternalMetricStatus=void 0;class V2beta1ExternalMetricStatus{static getAttributeTypeMap(){return V2beta1ExternalMetricStatus.attributeTypeMap}}t.V2beta1ExternalMetricStatus=V2beta1ExternalMetricStatus;V2beta1ExternalMetricStatus.discriminator=undefined;V2beta1ExternalMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"metricSelector",baseName:"metricSelector",type:"V1LabelSelector"}]},74687:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscaler=void 0;class V2beta1HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscaler.attributeTypeMap}}t.V2beta1HorizontalPodAutoscaler=V2beta1HorizontalPodAutoscaler;V2beta1HorizontalPodAutoscaler.discriminator=undefined;V2beta1HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta1HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta1HorizontalPodAutoscalerStatus"}]},89728:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerCondition=void 0;class V2beta1HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerCondition.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerCondition=V2beta1HorizontalPodAutoscalerCondition;V2beta1HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta1HorizontalPodAutoscalerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},89151:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerList=void 0;class V2beta1HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerList.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerList=V2beta1HorizontalPodAutoscalerList;V2beta1HorizontalPodAutoscalerList.discriminator=undefined;V2beta1HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},8786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerSpec=void 0;class V2beta1HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerSpec=V2beta1HorizontalPodAutoscalerSpec;V2beta1HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta1HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta1CrossVersionObjectReference"}]},66258:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1HorizontalPodAutoscalerStatus=void 0;class V2beta1HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V2beta1HorizontalPodAutoscalerStatus=V2beta1HorizontalPodAutoscalerStatus;V2beta1HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta1HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},98064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1MetricSpec=void 0;class V2beta1MetricSpec{static getAttributeTypeMap(){return V2beta1MetricSpec.attributeTypeMap}}t.V2beta1MetricSpec=V2beta1MetricSpec;V2beta1MetricSpec.discriminator=undefined;V2beta1MetricSpec.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta1ContainerResourceMetricSource"},{name:"external",baseName:"external",type:"V2beta1ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}]},25083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1MetricStatus=void 0;class V2beta1MetricStatus{static getAttributeTypeMap(){return V2beta1MetricStatus.attributeTypeMap}}t.V2beta1MetricStatus=V2beta1MetricStatus;V2beta1MetricStatus.discriminator=undefined;V2beta1MetricStatus.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta1ContainerResourceMetricStatus"},{name:"external",baseName:"external",type:"V2beta1ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta1ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta1PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta1ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}]},30639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ObjectMetricSource=void 0;class V2beta1ObjectMetricSource{static getAttributeTypeMap(){return V2beta1ObjectMetricSource.attributeTypeMap}}t.V2beta1ObjectMetricSource=V2beta1ObjectMetricSource;V2beta1ObjectMetricSource.discriminator=undefined;V2beta1ObjectMetricSource.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"},{name:"targetValue",baseName:"targetValue",type:"string"}]},5950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ObjectMetricStatus=void 0;class V2beta1ObjectMetricStatus{static getAttributeTypeMap(){return V2beta1ObjectMetricStatus.attributeTypeMap}}t.V2beta1ObjectMetricStatus=V2beta1ObjectMetricStatus;V2beta1ObjectMetricStatus.discriminator=undefined;V2beta1ObjectMetricStatus.attributeTypeMap=[{name:"averageValue",baseName:"averageValue",type:"string"},{name:"currentValue",baseName:"currentValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"target",baseName:"target",type:"V2beta1CrossVersionObjectReference"}]},18291:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1PodsMetricSource=void 0;class V2beta1PodsMetricSource{static getAttributeTypeMap(){return V2beta1PodsMetricSource.attributeTypeMap}}t.V2beta1PodsMetricSource=V2beta1PodsMetricSource;V2beta1PodsMetricSource.discriminator=undefined;V2beta1PodsMetricSource.attributeTypeMap=[{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},83162:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1PodsMetricStatus=void 0;class V2beta1PodsMetricStatus{static getAttributeTypeMap(){return V2beta1PodsMetricStatus.attributeTypeMap}}t.V2beta1PodsMetricStatus=V2beta1PodsMetricStatus;V2beta1PodsMetricStatus.discriminator=undefined;V2beta1PodsMetricStatus.attributeTypeMap=[{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"metricName",baseName:"metricName",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},10150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ResourceMetricSource=void 0;class V2beta1ResourceMetricSource{static getAttributeTypeMap(){return V2beta1ResourceMetricSource.attributeTypeMap}}t.V2beta1ResourceMetricSource=V2beta1ResourceMetricSource;V2beta1ResourceMetricSource.discriminator=undefined;V2beta1ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"targetAverageUtilization",baseName:"targetAverageUtilization",type:"number"},{name:"targetAverageValue",baseName:"targetAverageValue",type:"string"}]},29521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta1ResourceMetricStatus=void 0;class V2beta1ResourceMetricStatus{static getAttributeTypeMap(){return V2beta1ResourceMetricStatus.attributeTypeMap}}t.V2beta1ResourceMetricStatus=V2beta1ResourceMetricStatus;V2beta1ResourceMetricStatus.discriminator=undefined;V2beta1ResourceMetricStatus.attributeTypeMap=[{name:"currentAverageUtilization",baseName:"currentAverageUtilization",type:"number"},{name:"currentAverageValue",baseName:"currentAverageValue",type:"string"},{name:"name",baseName:"name",type:"string"}]},53209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ContainerResourceMetricSource=void 0;class V2beta2ContainerResourceMetricSource{static getAttributeTypeMap(){return V2beta2ContainerResourceMetricSource.attributeTypeMap}}t.V2beta2ContainerResourceMetricSource=V2beta2ContainerResourceMetricSource;V2beta2ContainerResourceMetricSource.discriminator=undefined;V2beta2ContainerResourceMetricSource.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"name",baseName:"name",type:"string"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},69602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ContainerResourceMetricStatus=void 0;class V2beta2ContainerResourceMetricStatus{static getAttributeTypeMap(){return V2beta2ContainerResourceMetricStatus.attributeTypeMap}}t.V2beta2ContainerResourceMetricStatus=V2beta2ContainerResourceMetricStatus;V2beta2ContainerResourceMetricStatus.discriminator=undefined;V2beta2ContainerResourceMetricStatus.attributeTypeMap=[{name:"container",baseName:"container",type:"string"},{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"name",baseName:"name",type:"string"}]},85029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2CrossVersionObjectReference=void 0;class V2beta2CrossVersionObjectReference{static getAttributeTypeMap(){return V2beta2CrossVersionObjectReference.attributeTypeMap}}t.V2beta2CrossVersionObjectReference=V2beta2CrossVersionObjectReference;V2beta2CrossVersionObjectReference.discriminator=undefined;V2beta2CrossVersionObjectReference.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"name",baseName:"name",type:"string"}]},75145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ExternalMetricSource=void 0;class V2beta2ExternalMetricSource{static getAttributeTypeMap(){return V2beta2ExternalMetricSource.attributeTypeMap}}t.V2beta2ExternalMetricSource=V2beta2ExternalMetricSource;V2beta2ExternalMetricSource.discriminator=undefined;V2beta2ExternalMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},12390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ExternalMetricStatus=void 0;class V2beta2ExternalMetricStatus{static getAttributeTypeMap(){return V2beta2ExternalMetricStatus.attributeTypeMap}}t.V2beta2ExternalMetricStatus=V2beta2ExternalMetricStatus;V2beta2ExternalMetricStatus.discriminator=undefined;V2beta2ExternalMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},34096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HPAScalingPolicy=void 0;class V2beta2HPAScalingPolicy{static getAttributeTypeMap(){return V2beta2HPAScalingPolicy.attributeTypeMap}}t.V2beta2HPAScalingPolicy=V2beta2HPAScalingPolicy;V2beta2HPAScalingPolicy.discriminator=undefined;V2beta2HPAScalingPolicy.attributeTypeMap=[{name:"periodSeconds",baseName:"periodSeconds",type:"number"},{name:"type",baseName:"type",type:"string"},{name:"value",baseName:"value",type:"number"}]},33665:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HPAScalingRules=void 0;class V2beta2HPAScalingRules{static getAttributeTypeMap(){return V2beta2HPAScalingRules.attributeTypeMap}}t.V2beta2HPAScalingRules=V2beta2HPAScalingRules;V2beta2HPAScalingRules.discriminator=undefined;V2beta2HPAScalingRules.attributeTypeMap=[{name:"policies",baseName:"policies",type:"Array"},{name:"selectPolicy",baseName:"selectPolicy",type:"string"},{name:"stabilizationWindowSeconds",baseName:"stabilizationWindowSeconds",type:"number"}]},96952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscaler=void 0;class V2beta2HorizontalPodAutoscaler{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscaler.attributeTypeMap}}t.V2beta2HorizontalPodAutoscaler=V2beta2HorizontalPodAutoscaler;V2beta2HorizontalPodAutoscaler.discriminator=undefined;V2beta2HorizontalPodAutoscaler.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ObjectMeta"},{name:"spec",baseName:"spec",type:"V2beta2HorizontalPodAutoscalerSpec"},{name:"status",baseName:"status",type:"V2beta2HorizontalPodAutoscalerStatus"}]},41473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerBehavior=void 0;class V2beta2HorizontalPodAutoscalerBehavior{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerBehavior.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerBehavior=V2beta2HorizontalPodAutoscalerBehavior;V2beta2HorizontalPodAutoscalerBehavior.discriminator=undefined;V2beta2HorizontalPodAutoscalerBehavior.attributeTypeMap=[{name:"scaleDown",baseName:"scaleDown",type:"V2beta2HPAScalingRules"},{name:"scaleUp",baseName:"scaleUp",type:"V2beta2HPAScalingRules"}]},67231:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerCondition=void 0;class V2beta2HorizontalPodAutoscalerCondition{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerCondition.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerCondition=V2beta2HorizontalPodAutoscalerCondition;V2beta2HorizontalPodAutoscalerCondition.discriminator=undefined;V2beta2HorizontalPodAutoscalerCondition.attributeTypeMap=[{name:"lastTransitionTime",baseName:"lastTransitionTime",type:"Date"},{name:"message",baseName:"message",type:"string"},{name:"reason",baseName:"reason",type:"string"},{name:"status",baseName:"status",type:"string"},{name:"type",baseName:"type",type:"string"}]},46788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerList=void 0;class V2beta2HorizontalPodAutoscalerList{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerList.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerList=V2beta2HorizontalPodAutoscalerList;V2beta2HorizontalPodAutoscalerList.discriminator=undefined;V2beta2HorizontalPodAutoscalerList.attributeTypeMap=[{name:"apiVersion",baseName:"apiVersion",type:"string"},{name:"items",baseName:"items",type:"Array"},{name:"kind",baseName:"kind",type:"string"},{name:"metadata",baseName:"metadata",type:"V1ListMeta"}]},17298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerSpec=void 0;class V2beta2HorizontalPodAutoscalerSpec{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerSpec=V2beta2HorizontalPodAutoscalerSpec;V2beta2HorizontalPodAutoscalerSpec.discriminator=undefined;V2beta2HorizontalPodAutoscalerSpec.attributeTypeMap=[{name:"behavior",baseName:"behavior",type:"V2beta2HorizontalPodAutoscalerBehavior"},{name:"maxReplicas",baseName:"maxReplicas",type:"number"},{name:"metrics",baseName:"metrics",type:"Array"},{name:"minReplicas",baseName:"minReplicas",type:"number"},{name:"scaleTargetRef",baseName:"scaleTargetRef",type:"V2beta2CrossVersionObjectReference"}]},60715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2HorizontalPodAutoscalerStatus=void 0;class V2beta2HorizontalPodAutoscalerStatus{static getAttributeTypeMap(){return V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap}}t.V2beta2HorizontalPodAutoscalerStatus=V2beta2HorizontalPodAutoscalerStatus;V2beta2HorizontalPodAutoscalerStatus.discriminator=undefined;V2beta2HorizontalPodAutoscalerStatus.attributeTypeMap=[{name:"conditions",baseName:"conditions",type:"Array"},{name:"currentMetrics",baseName:"currentMetrics",type:"Array"},{name:"currentReplicas",baseName:"currentReplicas",type:"number"},{name:"desiredReplicas",baseName:"desiredReplicas",type:"number"},{name:"lastScaleTime",baseName:"lastScaleTime",type:"Date"},{name:"observedGeneration",baseName:"observedGeneration",type:"number"}]},73280:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricIdentifier=void 0;class V2beta2MetricIdentifier{static getAttributeTypeMap(){return V2beta2MetricIdentifier.attributeTypeMap}}t.V2beta2MetricIdentifier=V2beta2MetricIdentifier;V2beta2MetricIdentifier.discriminator=undefined;V2beta2MetricIdentifier.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"selector",baseName:"selector",type:"V1LabelSelector"}]},54941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricSpec=void 0;class V2beta2MetricSpec{static getAttributeTypeMap(){return V2beta2MetricSpec.attributeTypeMap}}t.V2beta2MetricSpec=V2beta2MetricSpec;V2beta2MetricSpec.discriminator=undefined;V2beta2MetricSpec.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta2ContainerResourceMetricSource"},{name:"external",baseName:"external",type:"V2beta2ExternalMetricSource"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricSource"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricSource"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricSource"},{name:"type",baseName:"type",type:"string"}]},5415:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricStatus=void 0;class V2beta2MetricStatus{static getAttributeTypeMap(){return V2beta2MetricStatus.attributeTypeMap}}t.V2beta2MetricStatus=V2beta2MetricStatus;V2beta2MetricStatus.discriminator=undefined;V2beta2MetricStatus.attributeTypeMap=[{name:"containerResource",baseName:"containerResource",type:"V2beta2ContainerResourceMetricStatus"},{name:"external",baseName:"external",type:"V2beta2ExternalMetricStatus"},{name:"object",baseName:"object",type:"V2beta2ObjectMetricStatus"},{name:"pods",baseName:"pods",type:"V2beta2PodsMetricStatus"},{name:"resource",baseName:"resource",type:"V2beta2ResourceMetricStatus"},{name:"type",baseName:"type",type:"string"}]},17383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricTarget=void 0;class V2beta2MetricTarget{static getAttributeTypeMap(){return V2beta2MetricTarget.attributeTypeMap}}t.V2beta2MetricTarget=V2beta2MetricTarget;V2beta2MetricTarget.discriminator=undefined;V2beta2MetricTarget.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"type",baseName:"type",type:"string"},{name:"value",baseName:"value",type:"string"}]},61416:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2MetricValueStatus=void 0;class V2beta2MetricValueStatus{static getAttributeTypeMap(){return V2beta2MetricValueStatus.attributeTypeMap}}t.V2beta2MetricValueStatus=V2beta2MetricValueStatus;V2beta2MetricValueStatus.discriminator=undefined;V2beta2MetricValueStatus.attributeTypeMap=[{name:"averageUtilization",baseName:"averageUtilization",type:"number"},{name:"averageValue",baseName:"averageValue",type:"string"},{name:"value",baseName:"value",type:"string"}]},56126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ObjectMetricSource=void 0;class V2beta2ObjectMetricSource{static getAttributeTypeMap(){return V2beta2ObjectMetricSource.attributeTypeMap}}t.V2beta2ObjectMetricSource=V2beta2ObjectMetricSource;V2beta2ObjectMetricSource.discriminator=undefined;V2beta2ObjectMetricSource.attributeTypeMap=[{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},60958:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ObjectMetricStatus=void 0;class V2beta2ObjectMetricStatus{static getAttributeTypeMap(){return V2beta2ObjectMetricStatus.attributeTypeMap}}t.V2beta2ObjectMetricStatus=V2beta2ObjectMetricStatus;V2beta2ObjectMetricStatus.discriminator=undefined;V2beta2ObjectMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"describedObject",baseName:"describedObject",type:"V2beta2CrossVersionObjectReference"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},46865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2PodsMetricSource=void 0;class V2beta2PodsMetricSource{static getAttributeTypeMap(){return V2beta2PodsMetricSource.attributeTypeMap}}t.V2beta2PodsMetricSource=V2beta2PodsMetricSource;V2beta2PodsMetricSource.discriminator=undefined;V2beta2PodsMetricSource.attributeTypeMap=[{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},78411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2PodsMetricStatus=void 0;class V2beta2PodsMetricStatus{static getAttributeTypeMap(){return V2beta2PodsMetricStatus.attributeTypeMap}}t.V2beta2PodsMetricStatus=V2beta2PodsMetricStatus;V2beta2PodsMetricStatus.discriminator=undefined;V2beta2PodsMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"metric",baseName:"metric",type:"V2beta2MetricIdentifier"}]},23137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ResourceMetricSource=void 0;class V2beta2ResourceMetricSource{static getAttributeTypeMap(){return V2beta2ResourceMetricSource.attributeTypeMap}}t.V2beta2ResourceMetricSource=V2beta2ResourceMetricSource;V2beta2ResourceMetricSource.discriminator=undefined;V2beta2ResourceMetricSource.attributeTypeMap=[{name:"name",baseName:"name",type:"string"},{name:"target",baseName:"target",type:"V2beta2MetricTarget"}]},849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.V2beta2ResourceMetricStatus=void 0;class V2beta2ResourceMetricStatus{static getAttributeTypeMap(){return V2beta2ResourceMetricStatus.attributeTypeMap}}t.V2beta2ResourceMetricStatus=V2beta2ResourceMetricStatus;V2beta2ResourceMetricStatus.discriminator=undefined;V2beta2ResourceMetricStatus.attributeTypeMap=[{name:"current",baseName:"current",type:"V2beta2MetricValueStatus"},{name:"name",baseName:"name",type:"string"}]},17451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.VersionInfo=void 0;class VersionInfo{static getAttributeTypeMap(){return VersionInfo.attributeTypeMap}}t.VersionInfo=VersionInfo;VersionInfo.discriminator=undefined;VersionInfo.attributeTypeMap=[{name:"buildDate",baseName:"buildDate",type:"string"},{name:"compiler",baseName:"compiler",type:"string"},{name:"gitCommit",baseName:"gitCommit",type:"string"},{name:"gitTreeState",baseName:"gitTreeState",type:"string"},{name:"gitVersion",baseName:"gitVersion",type:"string"},{name:"goVersion",baseName:"goVersion",type:"string"},{name:"major",baseName:"major",type:"string"},{name:"minor",baseName:"minor",type:"string"},{name:"platform",baseName:"platform",type:"string"}]},89679:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(75636);n.__exportStar(i(14958),t);n.__exportStar(i(5434),t);n.__exportStar(i(56664),t);n.__exportStar(i(48698),t);n.__exportStar(i(7633),t);n.__exportStar(i(62864),t);n.__exportStar(i(32390),t);n.__exportStar(i(74949),t);n.__exportStar(i(18122),t);n.__exportStar(i(44756),t);n.__exportStar(i(88029),t);n.__exportStar(i(23091),t);n.__exportStar(i(12743),t);n.__exportStar(i(54815),t);n.__exportStar(i(91188),t)},88029:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeInformer=t.ERROR=t.DELETE=t.UPDATE=t.ADD=void 0;const n=i(5434);const r=i(7633);t.ADD="add";t.UPDATE="update";t.DELETE="delete";t.ERROR="error";function makeInformer(e,t,i){const s=new r.Watch(e);return new n.ListWatch(t,s,i,false)}t.makeInformer=makeInformer},44756:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Log=void 0;const n=i(75636);const r=i(48699);class Log{constructor(e){this.config=e}log(e,t,i,s,a,o={}){return n.__awaiter(this,void 0,void 0,function*(){const n=`/api/v1/namespaces/${e}/pods/${t}/log`;const u=this.config.getCurrentCluster();if(!u){throw new Error("No currently active cluster")}const c=u.server+n;const l={method:"GET",qs:Object.assign(Object.assign({},o),{container:i}),uri:c};yield this.config.applyToRequest(l);const p=r(l,(e,t,i)=>{if(e){a(e)}else if(t&&t.statusCode!==200){a(i)}else{a(null)}}).on("response",e=>{if(e.statusCode===200){p.pipe(s)}});return p})}}t.Log=Log},12743:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.KubernetesObjectApi=void 0;const n=i(75636);const r=i(48699);const s=i(56664);var a;(function(e){e["JsonPatch"]="application/json-patch+json";e["MergePatch"]="application/merge-patch+json";e["StrategicMergePatch"]="application/strategic-merge-patch+json"})(a||(a={}));class KubernetesObjectApi extends s.ApisApi{constructor(){super(...arguments);this.defaultNamespace="default";this.apiVersionResourceCache={}}static makeApiClient(e){const t=e.makeApiClient(KubernetesObjectApi);t.setDefaultNamespace(e);return t}create(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling create.")}const n=yield this.specUriPath(e,"create");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){o.fieldManager=s.ObjectSerializer.serialize(r,"string")}const c={method:"POST",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"KubernetesObject")};return this.requestPromise(c)})}delete(e,t,i,r,a,o,u,c={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling delete.")}const n=yield this.specUriPath(e,"delete");const l={};const p=this.generateHeaders(c.headers);if(t!==undefined){l.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){l.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){l.gracePeriodSeconds=s.ObjectSerializer.serialize(r,"number")}if(a!==undefined){l.orphanDependents=s.ObjectSerializer.serialize(a,"boolean")}if(o!==undefined){l.propagationPolicy=s.ObjectSerializer.serialize(o,"string")}const d={method:"DELETE",qs:l,headers:p,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(u,"V1DeleteOptions")};return this.requestPromise(d,"V1Status")})}patch(e,t,i,r,a,o={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling patch.")}const n=yield this.specUriPath(e,"patch");const u={};const c=this.generateHeaders(o.headers,"PATCH");if(t!==undefined){u.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){u.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){u.fieldManager=s.ObjectSerializer.serialize(r,"string")}if(a!==undefined){u.force=s.ObjectSerializer.serialize(a,"boolean")}const l={method:"PATCH",qs:u,headers:c,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"object")};return this.requestPromise(l)})}read(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling read.")}const n=yield this.specUriPath(e,"read");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.exact=s.ObjectSerializer.serialize(i,"boolean")}if(r!==undefined){o.export=s.ObjectSerializer.serialize(r,"boolean")}const c={method:"GET",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true};return this.requestPromise(c)})}replace(e,t,i,r,a={headers:{}}){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter spec was null or undefined when calling replace.")}const n=yield this.specUriPath(e,"replace");const o={};const u=this.generateHeaders(a.headers);if(t!==undefined){o.pretty=s.ObjectSerializer.serialize(t,"string")}if(i!==undefined){o.dryRun=s.ObjectSerializer.serialize(i,"string")}if(r!==undefined){o.fieldManager=s.ObjectSerializer.serialize(r,"string")}const c={method:"PUT",qs:o,headers:u,uri:n,useQuerystring:this._useQuerystring,json:true,body:s.ObjectSerializer.serialize(e,"KubernetesObject")};return this.requestPromise(c)})}setDefaultNamespace(e){if(e.currentContext){const t=e.getContextObject(e.currentContext);if(t&&t.namespace){this.defaultNamespace=t.namespace}}return this.defaultNamespace}specUriPath(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(!e.kind){throw new Error("Required spec property kind is not set")}if(!e.apiVersion){e.apiVersion="v1"}if(!e.metadata){e.metadata={}}const i=yield this.resource(e.apiVersion,e.kind);if(!i){throw new Error(`Unrecognized API version and kind: ${e.apiVersion} ${e.kind}`)}if(i.namespaced&&!e.metadata.namespace){e.metadata.namespace=this.defaultNamespace}const n=[this.apiVersionPath(e.apiVersion)];if(i.namespaced&&e.metadata.namespace){n.push("namespaces",encodeURIComponent(String(e.metadata.namespace)))}n.push(i.name);if(t!=="create"){if(!e.metadata.name){throw new Error("Required spec property name is not set")}n.push(encodeURIComponent(String(e.metadata.name)))}return n.join("/").toLowerCase()})}apiVersionPath(e){const t=e.includes("/")?"apis":"api";return[this.basePath,t,e].join("/")}generateHeaders(e,t="GET"){const i=Object.assign({},this._defaultHeaders);i.accept="application/json";if(t==="PATCH"){i["content-type"]=a.StrategicMergePatch}Object.assign(i,e);return i}resource(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(e===null||e===undefined){throw new Error("Required parameter apiVersion was null or undefined when calling resource")}if(t===null||t===undefined){throw new Error("Required parameter kind was null or undefined when calling resource")}if(this.apiVersionResourceCache[e]){const i=this.apiVersionResourceCache[e].resources.find(e=>e.kind===t);if(i){return i}}const i=this.apiVersionPath(e);const n={};const r=this.generateHeaders({});const s={method:"GET",qs:n,headers:r,uri:i,useQuerystring:this._useQuerystring,json:true};try{const i=yield this.requestPromise(s,"V1APIResourceList");this.apiVersionResourceCache[e]=i.body;return this.apiVersionResourceCache[e].resources.find(e=>e.kind===t)}catch(i){i.message=`Failed to fetch resource metadata for ${e}/${t}: ${i.message}`;throw i}})}requestPromise(e,t="KubernetesObject"){return n.__awaiter(this,void 0,void 0,function*(){let i=Promise.resolve();if(this.authentications.BearerToken.apiKey){i=i.then(()=>this.authentications.BearerToken.applyToRequest(e))}i=i.then(()=>this.authentications.default.applyToRequest(e));let n=i;for(const t of this.interceptors){n=n.then(()=>t(e))}yield n;return new Promise((i,n)=>{r(e,(e,r,a)=>{if(e){n(e)}else{a=s.ObjectSerializer.deserialize(a,t);if(r.statusCode&&r.statusCode>=200&&r.statusCode<=299){i({response:r,body:a})}else{n(new s.HttpError(r,a,r.statusCode))}}})})})}}t.KubernetesObjectApi=KubernetesObjectApi},41691:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.OpenIDConnectAuth=void 0;const n=i(75636);const r=i(53140);const s=i(3487);const a=i(31669);class OpenIDConnectAuth{constructor(){this.currentTokenExpiration=0}static decodeJWT(e){const t=e.split(".");if(t.length!==3){return null}const i=JSON.parse((new a.TextDecoder).decode(s.base64url.parse(t[0],{loose:true})));const n=JSON.parse((new a.TextDecoder).decode(s.base64url.parse(t[1],{loose:true})));const r=t[2];return{header:i,payload:n,signature:r}}static expirationFromToken(e){const t=OpenIDConnectAuth.decodeJWT(e);if(!t){return 0}return t.payload.exp}isAuthProvider(e){if(!e.authProvider){return false}return e.authProvider.name==="oidc"}applyAuthentication(e,t,i){return n.__awaiter(this,void 0,void 0,function*(){const n=yield this.getToken(e,i);if(n){t.headers.Authorization=`Bearer ${n}`}})}getToken(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(!e.authProvider.config){return null}if(!e.authProvider.config["client-secret"]){e.authProvider.config["client-secret"]=""}if(!e.authProvider.config||!e.authProvider.config["id-token"]){return null}return this.refresh(e,t)})}refresh(e,t){return n.__awaiter(this,void 0,void 0,function*(){if(this.currentTokenExpiration===0){this.currentTokenExpiration=OpenIDConnectAuth.expirationFromToken(e.authProvider.config["id-token"])}if(Date.now()/1e3>this.currentTokenExpiration){if(!e.authProvider.config["client-id"]||!e.authProvider.config["refresh-token"]||!e.authProvider.config["idp-issuer-url"]){return null}const i=t?t:yield this.getClient(e);const n=yield i.refresh(e.authProvider.config["refresh-token"]);e.authProvider.config["id-token"]=n.id_token;e.authProvider.config["refresh-token"]=n.refresh_token;this.currentTokenExpiration=n.expires_at||0}return e.authProvider.config["id-token"]})}getClient(e){return n.__awaiter(this,void 0,void 0,function*(){const t=yield r.Issuer.discover(e.authProvider.config["idp-issuer-url"]);return new t.Client({client_id:e.authProvider.config["client-id"],client_secret:e.authProvider.config["client-secret"]})})}}t.OpenIDConnectAuth=OpenIDConnectAuth},91188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PatchUtils=void 0;class PatchUtils{}t.PatchUtils=PatchUtils;PatchUtils.PATCH_FORMAT_JSON_PATCH="application/json-patch+json";PatchUtils.PATCH_FORMAT_JSON_MERGE_PATCH="application/merge-patch+json";PatchUtils.PATCH_FORMAT_STRATEGIC_MERGE_PATCH="application/strategic-merge-patch+json";PatchUtils.PATCH_FORMAT_APPLY_YAML="application/apply-patch+yaml"},32390:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PortForward=void 0;const n=i(75636);const r=i(71191);const s=i(31669);const a=i(47581);class PortForward{constructor(e,t,i){this.handler=i||new a.WebSocketHandler(e);this.disconnectOnErr=s.isUndefined(t)?true:t}portForward(e,t,i,s,o,u,c=0){return n.__awaiter(this,void 0,void 0,function*(){if(i.length===0){throw new Error("You must provide at least one port to forward to.")}if(i.length>1){throw new Error("Only one port is currently supported for port-forward")}const n={ports:i[0]};const l=r.stringify(n);const p=[];i.forEach((e,t)=>{p[t*2]=true;p[t*2+1]=true});const d=`/api/v1/namespaces/${e}/pods/${t}/portforward?${l}`;const f=()=>{return this.handler.connect(d,null,(e,t)=>{if(e>=i.length*2){return!this.disconnectOnErr}if(p[e]){t=t.slice(2);p[e]=false}if(e%2===1){if(o){o.write(t)}}else{s.write(t)}return true})};if(c<1){const e=yield f();a.WebSocketHandler.handleStandardInput(e,u,0);return e}return a.WebSocketHandler.restartableHandleStandardInput(f,u,0,c)})}}t.PortForward=PortForward},76023:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isResizable=t.TerminalSizeQueue=void 0;const n=i(92413);class TerminalSizeQueue extends n.Readable{constructor(e={}){super(Object.assign(Object.assign({},e),{read(){}}))}handleResizes(e){this.resize(getTerminalSize(e));e.on("resize",()=>this.resize(getTerminalSize(e)))}resize(e){this.push(JSON.stringify(e))}}t.TerminalSizeQueue=TerminalSizeQueue;function isResizable(e){if(e==null){return false}const t="rows"in e;const i="columns"in e;const n=typeof e.on==="function";return t&&i&&n}t.isResizable=isResizable;function getTerminalSize(e){return{height:e.rows,width:e.columns}}},23091:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.topNodes=t.NodeStatus=t.ResourceUsage=void 0;const n=i(75636);const r=i(26318);class ResourceUsage{constructor(e,t,i){this.Capacity=e;this.RequestTotal=t;this.LimitTotal=i}}t.ResourceUsage=ResourceUsage;class NodeStatus{constructor(e,t,i){this.Node=e;this.CPU=t;this.Memory=i}}t.NodeStatus=NodeStatus;function topNodes(e){return n.__awaiter(this,void 0,void 0,function*(){const t=yield e.listNode();const i=[];for(const n of t.body.items){const t=r.quantityToScalar(n.status.allocatable.cpu);const s=r.quantityToScalar(n.status.allocatable.memory);let a=0;let o=0;let u=0;let c=0;let l=yield r.podsForNode(e,n.metadata.name);l=l.filter(e=>e.status.phase==="Running");l.forEach(e=>{const t=r.totalCPU(e);a+=t.request;o+=t.limit;const i=r.totalMemory(e);u+=i.request;c+=i.limit});const p=new ResourceUsage(t,a,o);const d=new ResourceUsage(s,u,c);i.push(new NodeStatus(n,p,d))}return i})}t.topNodes=topNodes},74949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},26318:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.totalForResource=t.totalMemory=t.totalCPU=t.ResourceStatus=t.quantityToScalar=t.podsForNode=void 0;const n=i(75636);function podsForNode(e,t){return n.__awaiter(this,void 0,void 0,function*(){const i=yield e.listPodForAllNamespaces();return i.body.items.filter(e=>e.spec.nodeName===t)})}t.podsForNode=podsForNode;function quantityToScalar(e){if(!e){return 0}if(e.endsWith("m")){return parseInt(e.substr(0,e.length-1),10)/1e3}if(e.endsWith("Ki")){return parseInt(e.substr(0,e.length-2),10)*1024}const t=parseInt(e,10);if(isNaN(t)){throw new Error("Unknown quantity "+e)}return t}t.quantityToScalar=quantityToScalar;class ResourceStatus{constructor(e,t,i){this.request=e;this.limit=t;this.resourceType=i}}t.ResourceStatus=ResourceStatus;function totalCPU(e){return totalForResource(e,"cpu")}t.totalCPU=totalCPU;function totalMemory(e){return totalForResource(e,"memory")}t.totalMemory=totalMemory;function totalForResource(e,t){let i=0;let n=0;e.spec.containers.forEach(e=>{if(e.resources){if(e.resources.requests){i+=quantityToScalar(e.resources.requests[t])}if(e.resources.limits){n+=quantityToScalar(e.resources.limits[t])}}});return new ResourceStatus(i,n,t)}t.totalForResource=totalForResource},7633:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Watch=t.DefaultRequest=void 0;const n=i(75636);const r=i(29700);const s=i(48699);class DefaultRequest{constructor(e){this.requestImpl=e?e:s}webRequest(e){const t=this.requestImpl(e);t.pause();t.on("response",e=>{if(e.statusCode===200){t.resume()}else{t.emit("error",new Error(e.statusMessage))}});return t}}t.DefaultRequest=DefaultRequest;class Watch{constructor(e,t){this.config=e;if(t){this.requestImpl=t}else{this.requestImpl=new DefaultRequest}}watch(e,t,i,s){return n.__awaiter(this,void 0,void 0,function*(){const n=this.config.getCurrentCluster();if(!n){throw new Error("No currently active cluster")}const a=n.server+e;t.watch=true;const o={};const u={method:"GET",qs:t,headers:o,uri:a,useQuerystring:true,json:true,pool:false};yield this.config.applyToRequest(u);let c;let l=false;const p=e=>{if(!l){c.abort();l=true;s(e)}};c=this.requestImpl.webRequest(u);const d=r.createStream();c.on("error",p);d.on("error",p);d.on("close",()=>p(null));d.on("data",e=>{try{const t=JSON.parse(e);i(t.type,t.object,t)}catch(e){}});c.pipe(d);return c})}}t.Watch=Watch;Watch.SERVER_SIDE_CLOSE={error:"Connection closed on server"}},47581:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.WebSocketHandler=void 0;const n=i(75636);const r=i(64713);const s=["v4.channel.k8s.io","v3.channel.k8s.io","v2.channel.k8s.io","channel.k8s.io"];class WebSocketHandler{constructor(e,t){this.config=e;this.socketFactory=t}static handleStandardStreams(e,t,i,n){if(t.length<1){return null}if(i&&e===WebSocketHandler.StdoutStream){i.write(t)}else if(n&&e===WebSocketHandler.StderrStream){n.write(t)}else if(e===WebSocketHandler.StatusStream){if(i&&i!==process.stdout){i.end()}if(n&&n!==process.stderr){n.end()}return JSON.parse(t.toString("utf8"))}else{throw new Error("Unknown stream: "+e)}return null}static handleStandardInput(e,t,i=0){t.on("data",t=>{const n=Buffer.alloc(t.length+1);n.writeInt8(i,0);if(t instanceof Buffer){t.copy(n,1)}else{n.write(t,1)}e.send(n)});t.on("end",()=>{e.close()});return true}static processData(e,t,i,s=0,a=3){return n.__awaiter(this,void 0,void 0,function*(){const n=Buffer.alloc(e.length+1);n.writeInt8(s,0);if(e instanceof Buffer){e.copy(n,1)}else{n.write(e,1)}let o=0;for(;o=a){throw new Error("can't send data to ws")}return t})}static restartableHandleStandardInput(e,t,i=0,r=3){if(r<0){throw new Error("retryCount can't be lower than 0.")}let s=Promise.resolve();let a=null;t.on("data",t=>{s=s.then(()=>n.__awaiter(this,void 0,void 0,function*(){a=yield WebSocketHandler.processData(t,a,e,i,r)}))});t.on("end",()=>{if(a){a.close()}});return()=>a}connect(e,t,i){return n.__awaiter(this,void 0,void 0,function*(){const n=this.config.getCurrentCluster();if(!n){throw new Error("No cluster is defined.")}const a=n.server;const o=a.startsWith("https://");const u=o?a.substr(8):a.substr(7);const c=o?"wss":"ws";const l=`${c}://${u}${e}`;const p={};yield this.config.applytoHTTPSOptions(p);return yield new Promise((e,n)=>{const a=this.socketFactory?this.socketFactory(l,p):new r(l,s,p);let o=false;a.onopen=(()=>{o=true;e(a)});a.onerror=(e=>{if(!o){n(e)}});a.onmessage=(({data:e})=>{if(typeof e==="string"){if(t&&!t(e)){a.close()}}else if(e instanceof Buffer){const t=e.readInt8(0);if(i&&!i(t,e.slice(1))){a.close()}}})})})}}t.WebSocketHandler=WebSocketHandler;WebSocketHandler.StdinStream=0;WebSocketHandler.StdoutStream=1;WebSocketHandler.StderrStream=2;WebSocketHandler.StatusStream=3;WebSocketHandler.ResizeStream=4},18122:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.dumpYaml=t.loadAllYaml=t.loadYaml=void 0;const n=i(21917);function loadYaml(e,t){return n.safeLoad(e,t)}t.loadYaml=loadYaml;function loadAllYaml(e,t){return n.safeLoadAll(e,undefined,t)}t.loadAllYaml=loadAllYaml;function dumpYaml(e,t){return n.safeDump(e,t)}t.dumpYaml=dumpYaml},40334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});async function auth(e){const t=e.split(/\./).length===3?"app":/^v\d+\./.test(e)?"installation":"oauth";return{type:"token",token:e,tokenType:t}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,i,n){const r=t.endpoint.merge(i,n);r.headers.authorization=withAuthorizationPrefix(e);return t(r)}const i=function createTokenAuth(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)})};t.createTokenAuth=i},76762:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(45030);var r=i(83682);var s=i(36234);var a=i(88467);var o=i(40334);function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var i={};var n=Object.keys(e);var r,s;for(s=0;s=0)continue;i[r]=e[r]}return i}function _objectWithoutProperties(e,t){if(e==null)return{};var i=_objectWithoutPropertiesLoose(e,t);var n,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,n))continue;i[n]=e[n]}}return i}const u="3.2.1";class Octokit{constructor(e={}){const t=new r.Collection;const i={baseUrl:s.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};i.headers["user-agent"]=[e.userAgent,`octokit-core.js/${u} ${n.getUserAgent()}`].filter(Boolean).join(" ");if(e.baseUrl){i.baseUrl=e.baseUrl}if(e.previews){i.mediaType.previews=e.previews}if(e.timeZone){i.headers["time-zone"]=e.timeZone}this.request=s.request.defaults(i);this.graphql=a.withCustomRequest(this.request).defaults(i);this.log=Object.assign({debug:()=>{},info:()=>{},warn:console.warn.bind(console),error:console.error.bind(console)},e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=(async()=>({type:"unauthenticated"}))}else{const i=o.createTokenAuth(e.auth);t.wrap("request",i.hook);this.auth=i}}else{const{authStrategy:i}=e,n=_objectWithoutProperties(e,["authStrategy"]);const r=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",r.hook);this.auth=r}const c=this.constructor;c.plugins.forEach(t=>{Object.assign(this,t(this,e))})}static defaults(e){const t=class extends(this){constructor(...t){const i=t[0]||{};if(typeof e==="function"){super(e(i));return}super(Object.assign({},e,i,i.userAgent&&e.userAgent?{userAgent:`${i.userAgent} ${e.userAgent}`}:null))}};return t}static plugin(...e){var t;const i=this.plugins;const n=(t=class extends(this){},t.plugins=i.concat(e.filter(e=>!i.includes(e))),t);return n}}Octokit.VERSION=u;Octokit.plugins=[];t.Octokit=Octokit},59440:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(70558);var r=i(45030);function lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce((t,i)=>{t[i.toLowerCase()]=e[i];return t},{})}function mergeDeep(e,t){const i=Object.assign({},e);Object.keys(t).forEach(r=>{if(n.isPlainObject(t[r])){if(!(r in e))Object.assign(i,{[r]:t[r]});else i[r]=mergeDeep(e[r],t[r])}else{Object.assign(i,{[r]:t[r]})}});return i}function removeUndefinedProperties(e){for(const t in e){if(e[t]===undefined){delete e[t]}}return e}function merge(e,t,i){if(typeof t==="string"){let[e,n]=t.split(" ");i=Object.assign(n?{method:e,url:n}:{url:e},i)}else{i=Object.assign({},t)}i.headers=lowercaseKeys(i.headers);removeUndefinedProperties(i);removeUndefinedProperties(i.headers);const n=mergeDeep(e||{},i);if(e&&e.mediaType.previews.length){n.mediaType.previews=e.mediaType.previews.filter(e=>!n.mediaType.previews.includes(e)).concat(n.mediaType.previews)}n.mediaType.previews=n.mediaType.previews.map(e=>e.replace(/-preview/,""));return n}function addQueryParameters(e,t){const i=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+i+n.map(e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`}).join("&")}const s=/\{[^}]+\}/g;function removeNonChars(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match(s);if(!t){return[]}return t.map(removeNonChars).reduce((e,t)=>e.concat(t),[])}function omit(e,t){return Object.keys(e).filter(e=>!t.includes(e)).reduce((t,i)=>{t[i]=e[i];return t},{})}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,t,i){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(i){return encodeUnreserved(i)+"="+t}else{return t}}function isDefined(e){return e!==undefined&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,i,n){var r=e[i],s=[];if(isDefined(r)&&r!==""){if(typeof r==="string"||typeof r==="number"||typeof r==="boolean"){r=r.toString();if(n&&n!=="*"){r=r.substring(0,parseInt(n,10))}s.push(encodeValue(t,r,isKeyOperator(t)?i:""))}else{if(n==="*"){if(Array.isArray(r)){r.filter(isDefined).forEach(function(e){s.push(encodeValue(t,e,isKeyOperator(t)?i:""))})}else{Object.keys(r).forEach(function(e){if(isDefined(r[e])){s.push(encodeValue(t,r[e],e))}})}}else{const e=[];if(Array.isArray(r)){r.filter(isDefined).forEach(function(i){e.push(encodeValue(t,i))})}else{Object.keys(r).forEach(function(i){if(isDefined(r[i])){e.push(encodeUnreserved(i));e.push(encodeValue(t,r[i].toString()))}})}if(isKeyOperator(t)){s.push(encodeUnreserved(i)+"="+e.join(","))}else if(e.length!==0){s.push(e.join(","))}}}}else{if(t===";"){if(isDefined(r)){s.push(encodeUnreserved(i))}}else if(r===""&&(t==="&"||t==="?")){s.push(encodeUnreserved(i)+"=")}else if(r===""){s.push("")}}return s}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var i=["+","#",".","/",";","?","&"];return e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(e,n,r){if(n){let e="";const r=[];if(i.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach(function(i){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(i);r.push(getValues(t,e,n[1],n[2]||n[3]))});if(e&&e!=="+"){var s=",";if(e==="?"){s="&"}else if(e!=="#"){s=e}return(r.length!==0?e:"")+r.join(s)}else{return r.join(",")}}else{return encodeReserved(r)}})}function parse(e){let t=e.method.toUpperCase();let i=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let r;let s=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const a=extractUrlVariableNames(i);i=parseUrl(i).expand(s);if(!/^http/.test(i)){i=e.baseUrl+i}const o=Object.keys(e).filter(e=>a.includes(e)).concat("baseUrl");const u=omit(s,o);const c=/application\/octet-stream/i.test(n.accept);if(!c){if(e.mediaType.format){n.accept=n.accept.split(/,/).map(t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")}if(e.mediaType.previews.length){const t=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map(t=>{const i=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${i}`}).join(",")}}if(["GET","HEAD"].includes(t)){i=addQueryParameters(i,u)}else{if("data"in u){r=u.data}else{if(Object.keys(u).length){r=u}else{n["content-length"]=0}}}if(!n["content-type"]&&typeof r!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof r==="undefined"){r=""}return Object.assign({method:t,url:i,headers:n},typeof r!=="undefined"?{body:r}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,i){return parse(merge(e,t,i))}function withDefaults(e,t){const i=merge(e,t);const n=endpointWithDefaults.bind(null,i);return Object.assign(n,{DEFAULTS:i,defaults:withDefaults.bind(null,i),merge:merge.bind(null,i),parse:parse})}const a="6.0.9";const o=`octokit-endpoint.js/${a} ${r.getUserAgent()}`;const u={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":o},mediaType:{format:"",previews:[]}};const c=withDefaults(null,u);t.endpoint=c},70558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,i;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;i=t.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},88467:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=i(36234);var r=i(45030);const s="4.5.7";class GraphqlError extends Error{constructor(e,t){const i=t.data.errors[0].message;super(i);Object.assign(this,t.data);Object.assign(this,{headers:t.headers});this.name="GraphqlError";this.request=e;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}const a=["method","baseUrl","url","headers","request","query","mediaType"];const o=/\/api\/v3\/?$/;function graphql(e,t,i){if(typeof t==="string"&&i&&"query"in i){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}const n=typeof t==="string"?Object.assign({query:t},i):t;const r=Object.keys(n).reduce((e,t)=>{if(a.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e},{});const s=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(o.test(s)){r.url=s.replace(o,"/api/graphql")}return e(r).then(e=>{if(e.data.errors){const t={};for(const i of Object.keys(e.headers)){t[i]=e.headers[i]}throw new GraphqlError(r,{headers:t,data:e.data})}return e.data.data})}function withDefaults(e,t){const i=e.defaults(t);const r=(e,t)=>{return graphql(i,e,t)};return Object.assign(r,{defaults:withDefaults.bind(null,i),endpoint:n.request.endpoint})}const u=withDefaults(n.request,{headers:{"user-agent":`octokit-graphql.js/${s} ${r.getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return withDefaults(e,{method:"POST",url:"/graphql"})}t.graphql=u;t.withCustomRequest=withCustomRequest},64193:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i="2.6.0";function normalizePaginatedListResponse(e){const t="total_count"in e.data&&!("url"in e.data);if(!t)return e;const i=e.data.incomplete_results;const n=e.data.repository_selection;const r=e.data.total_count;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;const s=Object.keys(e.data)[0];const a=e.data[s];e.data=a;if(typeof i!=="undefined"){e.data.incomplete_results=i}if(typeof n!=="undefined"){e.data.repository_selection=n}e.data.total_count=r;return e}function iterator(e,t,i){const n=typeof t==="function"?t.endpoint(i):e.request.endpoint(t,i);const r=typeof t==="function"?t:e.request;const s=n.method;const a=n.headers;let o=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!o)return{done:true};const e=await r({method:s,url:o,headers:a});const t=normalizePaginatedListResponse(e);o=((t.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1];return{value:t}}})}}function paginate(e,t,i,n){if(typeof i==="function"){n=i;i=undefined}return gather(e,[],iterator(e,t,i)[Symbol.asyncIterator](),n)}function gather(e,t,i,n){return i.next().then(r=>{if(r.done){return t}let s=false;function done(){s=true}t=t.concat(n?n(r.value,done):r.value.data);if(s){return t}return gather(e,t,i,n)})}const n=Object.assign(paginate,{iterator:iterator});function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=i;t.composePaginateRest=n;t.paginateRest=paginateRest},83044:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i={actions:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],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}"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],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"],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"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"]},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"],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}"],checkToken:["POST /applications/{client_id}/token"],createContentAttachment:["POST /content_references/{content_reference_id}/attachments",{mediaType:{previews:["corsair"]}}],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],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"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],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"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"]},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",{mediaType:{previews:["antiope"]}}],createSuite:["POST /repos/{owner}/{repo}/check-suites",{mediaType:{previews:["antiope"]}}],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}",{mediaType:{previews:["antiope"]}}],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",{mediaType:{previews:["antiope"]}}],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs",{mediaType:{previews:["antiope"]}}],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",{mediaType:{previews:["antiope"]}}],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites",{mediaType:{previews:["antiope"]}}],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest",{mediaType:{previews:["antiope"]}}],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences",{mediaType:{previews:["antiope"]}}],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}",{mediaType:{previews:["antiope"]}}]},codeScanning:{getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct",{mediaType:{previews:["scarlet-witch"]}}],getConductCode:["GET /codes_of_conduct/{key}",{mediaType:{previews:["scarlet-witch"]}}],getForRepo:["GET /repos/{owner}/{repo}/community/code_of_conduct",{mediaType:{previews:["scarlet-witch"]}}]},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:{getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits",{mediaType:{previews:["sombra"]}}],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits",{mediaType:{previews:["sombra"]}}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",{mediaType:{previews:["mockingbird"]}}],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],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"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import"],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive",{mediaType:{previews:["wyandotte"]}}],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors"],getImportStatus:["GET /repos/{owner}/{repo}/import"],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}",{mediaType:{previews:["wyandotte"]}}],listForAuthenticatedUser:["GET /user/migrations",{mediaType:{previews:["wyandotte"]}}],listForOrg:["GET /orgs/{org}/migrations",{mediaType:{previews:["wyandotte"]}}],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{mediaType:{previews:["wyandotte"]}}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}"],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs"],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock",{mediaType:{previews:["wyandotte"]}}],updateImport:["PATCH /repos/{owner}/{repo}/import"]},orgs:{blockUser:["PUT /orgs/{org}/blocks/{username}"],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}"],createInvitation:["POST /orgs/{org}/invitations"],createWebhook:["POST /orgs/{org}/hooks"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],get:["GET /orgs/{org}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],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"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],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}"],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}"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],createCard:["POST /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],createColumn:["POST /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],createForAuthenticatedUser:["POST /user/projects",{mediaType:{previews:["inertia"]}}],createForOrg:["POST /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],createForRepo:["POST /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],delete:["DELETE /projects/{project_id}",{mediaType:{previews:["inertia"]}}],deleteCard:["DELETE /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],deleteColumn:["DELETE /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],get:["GET /projects/{project_id}",{mediaType:{previews:["inertia"]}}],getCard:["GET /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],getColumn:["GET /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission",{mediaType:{previews:["inertia"]}}],listCards:["GET /projects/columns/{column_id}/cards",{mediaType:{previews:["inertia"]}}],listCollaborators:["GET /projects/{project_id}/collaborators",{mediaType:{previews:["inertia"]}}],listColumns:["GET /projects/{project_id}/columns",{mediaType:{previews:["inertia"]}}],listForOrg:["GET /orgs/{org}/projects",{mediaType:{previews:["inertia"]}}],listForRepo:["GET /repos/{owner}/{repo}/projects",{mediaType:{previews:["inertia"]}}],listForUser:["GET /users/{username}/projects",{mediaType:{previews:["inertia"]}}],moveCard:["POST /projects/columns/cards/{card_id}/moves",{mediaType:{previews:["inertia"]}}],moveColumn:["POST /projects/columns/{column_id}/moves",{mediaType:{previews:["inertia"]}}],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}",{mediaType:{previews:["inertia"]}}],update:["PATCH /projects/{project_id}",{mediaType:{previews:["inertia"]}}],updateCard:["PATCH /projects/columns/cards/{card_id}",{mediaType:{previews:["inertia"]}}],updateColumn:["PATCH /projects/columns/{column_id}",{mediaType:{previews:["inertia"]}}]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],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",{mediaType:{previews:["lydian"]}}],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}}],deleteLegacy:["DELETE /reactions/{reaction_id}",{mediaType:{previews:["squirrel-girl"]}},{deprecated:"octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy"}],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",{mediaType:{previews:["squirrel-girl"]}}]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createPagesSite:["POST /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],createRelease:["POST /repos/{owner}/{repo}/releases"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate",{mediaType:{previews:["baptiste"]}}],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages",{mediaType:{previews:["switcheroo"]}}],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],downloadArchive:["GET /repos/{owner}/{repo}/{archive_format}/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes",{mediaType:{previews:["london"]}}],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts",{mediaType:{previews:["dorian"]}}],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures",{mediaType:{previews:["zzzax"]}}],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile",{mediaType:{previews:["black-panther"]}}],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head",{mediaType:{previews:["groot"]}}],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],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",{mediaType:{previews:["groot"]}}],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],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"}],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics",{mediaType:{previews:["mercy"]}}],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}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_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}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits",{mediaType:{previews:["cloak"]}}],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics",{mediaType:{previews:["mercy"]}}],users:["GET /search/users"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}",{mediaType:{previews:["inertia"]}}],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects",{mediaType:{previews:["inertia"]}}],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],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"],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"],createPublicSshKeyForAuthenticated:["POST /user/keys"],deleteEmailForAuthenticated:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{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}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};const n="4.2.1";function endpointsToMethods(e,t){const i={};for(const[n,r]of Object.entries(t)){for(const[t,s]of Object.entries(r)){const[r,a,o]=s;const[u,c]=r.split(/ /);const l=Object.assign({method:u,url:c},a);if(!i[n]){i[n]={}}const p=i[n];if(o){p[t]=decorate(e,n,t,l,o);continue}p[t]=e.request.defaults(l)}}return i}function decorate(e,t,i,n,r){const s=e.request.defaults(n);function withDecorations(...n){let a=s.endpoint.merge(...n);if(r.mapToData){a=Object.assign({},a,{data:a[r.mapToData],[r.mapToData]:undefined});return s(a)}if(r.renamed){const[n,s]=r.renamed;e.log.warn(`octokit.${t}.${i}() has been renamed to octokit.${n}.${s}()`)}if(r.deprecated){e.log.warn(r.deprecated)}if(r.renamedParameters){const a=s.endpoint.merge(...n);for(const[n,s]of Object.entries(r.renamedParameters)){if(n in a){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${i}()". Use "${s}" instead`);if(!(s in a)){a[s]=a[n]}delete a[n]}}return s(a)}return s(...n)}return Object.assign(withDecorations,s)}function restEndpointMethods(e){return endpointsToMethods(e,i)}restEndpointMethods.VERSION=n;t.restEndpointMethods=restEndpointMethods},10537:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=i(58932);var r=_interopDefault(i(1223));const s=r(e=>console.warn(e));class RequestError extends Error{constructor(e,t,i){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=t;Object.defineProperty(this,"code",{get(){s(new n.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return t}});this.headers=i.headers||{};const r=Object.assign({},i.request);if(i.request.headers.authorization){r.headers=Object.assign({},i.request.headers,{authorization:i.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}r.url=r.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=r}}t.RequestError=RequestError},36234:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=i(59440);var r=i(45030);var s=i(49062);var a=_interopDefault(i(80467));var o=i(10537);const u="5.4.10";function getBufferResponse(e){return e.arrayBuffer()}function fetchWrapper(e){if(s.isPlainObject(e.body)||Array.isArray(e.body)){e.body=JSON.stringify(e.body)}let t={};let i;let n;const r=e.request&&e.request.fetch||a;return r(e.url,Object.assign({method:e.method,body:e.body,headers:e.headers,redirect:e.redirect},e.request)).then(r=>{n=r.url;i=r.status;for(const e of r.headers){t[e[0]]=e[1]}if(i===204||i===205){return}if(e.method==="HEAD"){if(i<400){return}throw new o.RequestError(r.statusText,i,{headers:t,request:e})}if(i===304){throw new o.RequestError("Not modified",i,{headers:t,request:e})}if(i>=400){return r.text().then(n=>{const r=new o.RequestError(n,i,{headers:t,request:e});try{let e=JSON.parse(r.message);Object.assign(r,e);let t=e.errors;r.message=r.message+": "+t.map(JSON.stringify).join(", ")}catch(e){}throw r})}const s=r.headers.get("content-type");if(/application\/json/.test(s)){return r.json()}if(!s||/^text\/|charset=utf-8$/.test(s)){return r.text()}return getBufferResponse(r)}).then(e=>{return{status:i,url:n,headers:t,data:e}}).catch(i=>{if(i instanceof o.RequestError){throw i}throw new o.RequestError(i.message,500,{headers:t,request:e})})}function withDefaults(e,t){const i=e.defaults(t);const n=function(e,t){const n=i.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(i.parse(n))}const r=(e,t)=>{return fetchWrapper(i.parse(i.merge(e,t)))};Object.assign(r,{endpoint:i,defaults:withDefaults.bind(null,i)});return n.request.hook(r,n)};return Object.assign(n,{endpoint:i,defaults:withDefaults.bind(null,i)})}const c=withDefaults(n.endpoint,{headers:{"user-agent":`octokit-request.js/${u} ${r.getUserAgent()}`}});t.request=c},49062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,i;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;i=t.prototype;if(isObject(i)===false)return false;if(i.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},39436:(e,t,i)=>{const{define:n}=i(93998);const r=i(33318);const s=i(90998);const a=i(5017);const o=i(2246);e.exports={base:r,constants:s,decoders:a,define:n,encoders:o}},93998:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(2246);const s=i(5017);e.exports.define=function define(e,t){return new Entity(e,t)};function Entity(e,t){this.name=e;this.body=t;this.decoders={};this.encoders={}}Entity.prototype._createNamed=function createNamed(e){const t=this.name;function Generated(e){this._initNamed(e,t)}n(Generated,e);Generated.prototype._initNamed=function _initNamed(t,i){e.call(this,t,i)};return new Generated(this)};Entity.prototype._getDecoder=function _getDecoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.decoders,e)){this.decoders[e]=this._createNamed(s[e])}return this.decoders[e]};Entity.prototype.decode=function decode(e,t,i){return this._getDecoder(t).decode(e,i)};Entity.prototype._getEncoder=function _getEncoder(e){e=e||"der";if(!Object.prototype.hasOwnProperty.call(this.encoders,e)){this.encoders[e]=this._createNamed(r[e])}return this.encoders[e]};Entity.prototype.encode=function encode(e,t,i){return this._getEncoder(t).encode(e,i)}},28424:(e,t,i)=>{const{inherits:n}=i(31669);const{Reporter:r}=i(93026);function DecoderBuffer(e,t){r.call(this,t);if(!Buffer.isBuffer(e)){this.error("Input not Buffer");return}this.base=e;this.offset=0;this.length=e.length}n(DecoderBuffer,r);DecoderBuffer.isDecoderBuffer=function isDecoderBuffer(e){if(e instanceof DecoderBuffer){return true}const t=typeof e==="object"&&Buffer.isBuffer(e.base)&&e.constructor.name==="DecoderBuffer"&&typeof e.offset==="number"&&typeof e.length==="number"&&typeof e.save==="function"&&typeof e.restore==="function"&&typeof e.isEmpty==="function"&&typeof e.readUInt8==="function"&&typeof e.skip==="function"&&typeof e.raw==="function";return t};DecoderBuffer.prototype.save=function save(){return{offset:this.offset,reporter:r.prototype.save.call(this)}};DecoderBuffer.prototype.restore=function restore(e){const t=new DecoderBuffer(this.base);t.offset=e.offset;t.length=this.offset;this.offset=e.offset;r.prototype.restore.call(this,e.reporter);return t};DecoderBuffer.prototype.isEmpty=function isEmpty(){return this.offset===this.length};DecoderBuffer.prototype.readUInt8=function readUInt8(e){if(this.offset+1<=this.length){return this.base.readUInt8(this.offset++,true)}else{return this.error(e||"DecoderBuffer overrun")}};DecoderBuffer.prototype.skip=function skip(e,t){if(!(this.offset+e<=this.length)){return this.error(t||"DecoderBuffer overrun")}const i=new DecoderBuffer(this.base);i._reporterState=this._reporterState;i.offset=this.offset;i.length=this.offset+e;this.offset+=e;return i};DecoderBuffer.prototype.raw=function raw(e){return this.base.slice(e?e.offset:this.offset,this.length)};function EncoderBuffer(e,t){if(Array.isArray(e)){this.length=0;this.value=e.map(function(e){if(!EncoderBuffer.isEncoderBuffer(e)){e=new EncoderBuffer(e,t)}this.length+=e.length;return e},this)}else if(typeof e==="number"){if(!(e>=0&&e<=255)){return t.error("non-byte EncoderBuffer value")}this.value=e;this.length=1}else if(typeof e==="string"){this.value=e;this.length=Buffer.byteLength(e)}else if(Buffer.isBuffer(e)){this.value=e;this.length=e.length}else{return t.error(`Unsupported type: ${typeof e}`)}}EncoderBuffer.isEncoderBuffer=function isEncoderBuffer(e){if(e instanceof EncoderBuffer){return true}const t=typeof e==="object"&&e.constructor.name==="EncoderBuffer"&&typeof e.length==="number"&&typeof e.join==="function";return t};EncoderBuffer.prototype.join=function join(e,t){if(!e){e=Buffer.alloc(this.length)}if(!t){t=0}if(this.length===0){return e}if(Array.isArray(this.value)){this.value.forEach(function(i){i.join(e,t);t+=i.length})}else{if(typeof this.value==="number"){e[t]=this.value}else if(typeof this.value==="string"){e.write(this.value,t)}else if(Buffer.isBuffer(this.value)){this.value.copy(e,t)}t+=this.length}return e};e.exports={DecoderBuffer:DecoderBuffer,EncoderBuffer:EncoderBuffer}},33318:(e,t,i)=>{const{Reporter:n}=i(93026);const{DecoderBuffer:r,EncoderBuffer:s}=i(28424);const a=i(48674);e.exports={DecoderBuffer:r,EncoderBuffer:s,Node:a,Reporter:n}},48674:(e,t,i)=>{const{strict:n}=i(42357);const{Reporter:r}=i(93026);const{DecoderBuffer:s,EncoderBuffer:a}=i(28424);const o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"];const u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);const c=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Node(e,t,i){const n={};this._baseState=n;n.name=i;n.enc=e;n.parent=t||null;n.children=null;n.tag=null;n.args=null;n.reverseArgs=null;n.choice=null;n.optional=false;n.any=false;n.obj=false;n.use=null;n.useDecoder=null;n.key=null;n.default=null;n.explicit=null;n.implicit=null;n.contains=null;if(!n.parent){n.children=[];this._wrap()}}const l=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function clone(){const e=this._baseState;const t={};l.forEach(function(i){t[i]=e[i]});const i=new this.constructor(t.parent);i._baseState=t;return i};Node.prototype._wrap=function wrap(){const e=this._baseState;u.forEach(function(t){this[t]=function _wrappedMethod(){const i=new this.constructor(this);e.children.push(i);return i[t].apply(i,arguments)}},this)};Node.prototype._init=function init(e){const t=this._baseState;n(t.parent===null);e.call(this);t.children=t.children.filter(function(e){return e._baseState.parent===this},this);n.equal(t.children.length,1,"Root node can have only one child")};Node.prototype._useArgs=function useArgs(e){const t=this._baseState;const i=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this);if(i.length!==0){n(t.children===null);t.children=i;i.forEach(function(e){e._baseState.parent=this},this)}if(e.length!==0){n(t.args===null);t.args=e;t.reverseArgs=e.map(function(e){if(typeof e!=="object"||e.constructor!==Object){return e}const t={};Object.keys(e).forEach(function(i){if(i==(i|0)){i|=0}const n=e[i];t[n]=i});return t})}};c.forEach(function(e){Node.prototype[e]=function _overrided(){const t=this._baseState;throw new Error(`${e} not implemented for encoding: ${t.enc}`)}});o.forEach(function(e){Node.prototype[e]=function _tagMethod(){const t=this._baseState;const i=Array.prototype.slice.call(arguments);n(t.tag===null);t.tag=e;this._useArgs(i);return this}});Node.prototype.use=function use(e){n(e);const t=this._baseState;n(t.use===null);t.use=e;return this};Node.prototype.optional=function optional(){const e=this._baseState;e.optional=true;return this};Node.prototype.def=function def(e){const t=this._baseState;n(t.default===null);t.default=e;t.optional=true;return this};Node.prototype.explicit=function explicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.explicit=e;return this};Node.prototype.implicit=function implicit(e){const t=this._baseState;n(t.explicit===null&&t.implicit===null);t.implicit=e;return this};Node.prototype.obj=function obj(){const e=this._baseState;const t=Array.prototype.slice.call(arguments);e.obj=true;if(t.length!==0){this._useArgs(t)}return this};Node.prototype.key=function key(e){const t=this._baseState;n(t.key===null);t.key=e;return this};Node.prototype.any=function any(){const e=this._baseState;e.any=true;return this};Node.prototype.choice=function choice(e){const t=this._baseState;n(t.choice===null);t.choice=e;this._useArgs(Object.keys(e).map(function(t){return e[t]}));return this};Node.prototype.contains=function contains(e){const t=this._baseState;n(t.use===null);t.contains=e;return this};Node.prototype._decode=function decode(e,t){const i=this._baseState;if(i.parent===null){return e.wrapResult(i.children[0]._decode(e,t))}let n=i.default;let r=true;let a=null;if(i.key!==null){a=e.enterKey(i.key)}if(i.optional){let n=null;if(i.explicit!==null){n=i.explicit}else if(i.implicit!==null){n=i.implicit}else if(i.tag!==null){n=i.tag}if(n===null&&!i.any){const n=e.save();try{if(i.choice===null){this._decodeGeneric(i.tag,e,t)}else{this._decodeChoice(e,t)}r=true}catch(e){r=false}e.restore(n)}else{r=this._peekTag(e,n,i.any);if(e.isError(r)){return r}}}let o;if(i.obj&&r){o=e.enterObject()}if(r){if(i.explicit!==null){const t=this._decodeTag(e,i.explicit);if(e.isError(t)){return t}e=t}const r=e.offset;if(i.use===null&&i.choice===null){let t;if(i.any){t=e.save()}const r=this._decodeTag(e,i.implicit!==null?i.implicit:i.tag,i.any);if(e.isError(r)){return r}if(i.any){n=e.raw(t)}else{e=r}}if(t&&t.track&&i.tag!==null){t.track(e.path(),r,e.length,"tagged")}if(t&&t.track&&i.tag!==null){t.track(e.path(),e.offset,e.length,"content")}if(i.any){}else if(i.choice===null){n=this._decodeGeneric(i.tag,e,t)}else{n=this._decodeChoice(e,t)}if(e.isError(n)){return n}if(!i.any&&i.choice===null&&i.children!==null){i.children.forEach(function decodeChildren(i){i._decode(e,t)})}if(i.contains&&(i.tag==="octstr"||i.tag==="bitstr")){const r=new s(n);n=this._getUse(i.contains,e._reporterState.obj)._decode(r,t)}}if(i.obj&&r){n=e.leaveObject(o)}if(i.key!==null&&(n!==null||r===true)){e.leaveKey(a,i.key,n)}else if(a!==null){e.exitKey(a)}return n};Node.prototype._decodeGeneric=function decodeGeneric(e,t,i){const n=this._baseState;if(e==="seq"||e==="set"){return null}if(e==="seqof"||e==="setof"){return this._decodeList(t,e,n.args[0],i)}else if(/str$/.test(e)){return this._decodeStr(t,e,i)}else if(e==="objid"&&n.args){return this._decodeObjid(t,n.args[0],n.args[1],i)}else if(e==="objid"){return this._decodeObjid(t,null,null,i)}else if(e==="gentime"||e==="utctime"){return this._decodeTime(t,e,i)}else if(e==="null_"){return this._decodeNull(t,i)}else if(e==="bool"){return this._decodeBool(t,i)}else if(e==="objDesc"){return this._decodeStr(t,e,i)}else if(e==="int"||e==="enum"){return this._decodeInt(t,n.args&&n.args[0],i)}if(n.use!==null){return this._getUse(n.use,t._reporterState.obj)._decode(t,i)}else{return t.error(`unknown tag: ${e}`)}};Node.prototype._getUse=function _getUse(e,t){const i=this._baseState;i.useDecoder=this._use(e,t);n(i.useDecoder._baseState.parent===null);i.useDecoder=i.useDecoder._baseState.children[0];if(i.implicit!==i.useDecoder._baseState.implicit){i.useDecoder=i.useDecoder.clone();i.useDecoder._baseState.implicit=i.implicit}return i.useDecoder};Node.prototype._decodeChoice=function decodeChoice(e,t){const i=this._baseState;let n=null;let r=false;Object.keys(i.choice).some(function(s){const a=e.save();const o=i.choice[s];try{const i=o._decode(e,t);if(e.isError(i)){return false}n={type:s,value:i};r=true}catch(t){e.restore(a);return false}return true},this);if(!r){return e.error("Choice not matched")}return n};Node.prototype._createEncoderBuffer=function createEncoderBuffer(e){return new a(e,this.reporter)};Node.prototype._encode=function encode(e,t,i){const n=this._baseState;if(n.default!==null&&n.default===e){return}const r=this._encodeValue(e,t,i);if(r===undefined){return}if(this._skipDefault(r,t,i)){return}return r};Node.prototype._encodeValue=function encode(e,t,i){const n=this._baseState;if(n.parent===null){return n.children[0]._encode(e,t||new r)}let s=null;this.reporter=t;if(n.optional&&e===undefined){if(n.default!==null){e=n.default}else{return}}let a=null;let o=false;if(n.any){s=this._createEncoderBuffer(e)}else if(n.choice){s=this._encodeChoice(e,t)}else if(n.contains){a=this._getUse(n.contains,i)._encode(e,t);o=true}else if(n.children){a=n.children.map(function(i){if(i._baseState.tag==="null_"){return i._encode(null,t,e)}if(i._baseState.key===null){return t.error("Child should have a key")}const n=t.enterKey(i._baseState.key);if(typeof e!=="object"){return t.error("Child expected, but input is not object")}const r=i._encode(e[i._baseState.key],t,e);t.leaveKey(n);return r},this).filter(function(e){return e});a=this._createEncoderBuffer(a)}else{if(n.tag==="seqof"||n.tag==="setof"){if(!(n.args&&n.args.length===1)){return t.error(`Too many args for: ${n.tag}`)}if(!Array.isArray(e)){return t.error("seqof/setof, but data is not Array")}const i=this.clone();i._baseState.implicit=null;a=this._createEncoderBuffer(e.map(function(i){const n=this._baseState;return this._getUse(n.args[0],e)._encode(i,t)},i))}else if(n.use!==null){s=this._getUse(n.use,i)._encode(e,t)}else{a=this._encodePrimitive(n.tag,e);o=true}}if(!n.any&&n.choice===null){const e=n.implicit!==null?n.implicit:n.tag;const i=n.implicit===null?"universal":"context";if(e===null){if(n.use===null){t.error("Tag could be omitted only for .use()")}}else{if(n.use===null){s=this._encodeComposite(e,o,i,a)}}}if(n.explicit!==null){s=this._encodeComposite(n.explicit,false,"context",s)}return s};Node.prototype._encodeChoice=function encodeChoice(e,t){const i=this._baseState;const r=i.choice[e.type];if(!r){n(false,`${e.type} not found in ${JSON.stringify(Object.keys(i.choice))}`)}return r._encode(e.value,t)};Node.prototype._encodePrimitive=function encodePrimitive(e,t){const i=this._baseState;if(/str$/.test(e)){return this._encodeStr(t,e)}else if(e==="objid"&&i.args){return this._encodeObjid(t,i.reverseArgs[0],i.args[1])}else if(e==="objid"){return this._encodeObjid(t,null,null)}else if(e==="gentime"||e==="utctime"){return this._encodeTime(t,e)}else if(e==="null_"){return this._encodeNull()}else if(e==="int"||e==="enum"){return this._encodeInt(t,i.args&&i.reverseArgs[0])}else if(e==="bool"){return this._encodeBool(t)}else if(e==="objDesc"){return this._encodeStr(t,e)}else{throw new Error(`Unsupported tag: ${e}`)}};Node.prototype._isNumstr=function isNumstr(e){return/^[0-9 ]*$/.test(e)};Node.prototype._isPrintstr=function isPrintstr(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)};e.exports=Node},93026:(e,t,i)=>{const{inherits:n}=i(31669);function Reporter(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}Reporter.prototype.isError=function isError(e){return e instanceof ReporterError};Reporter.prototype.save=function save(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}};Reporter.prototype.restore=function restore(e){const t=this._reporterState;t.obj=e.obj;t.path=t.path.slice(0,e.pathLen)};Reporter.prototype.enterKey=function enterKey(e){return this._reporterState.path.push(e)};Reporter.prototype.exitKey=function exitKey(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)};Reporter.prototype.leaveKey=function leaveKey(e,t,i){const n=this._reporterState;this.exitKey(e);if(n.obj!==null){n.obj[t]=i}};Reporter.prototype.path=function path(){return this._reporterState.path.join("/")};Reporter.prototype.enterObject=function enterObject(){const e=this._reporterState;const t=e.obj;e.obj={};return t};Reporter.prototype.leaveObject=function leaveObject(e){const t=this._reporterState;const i=t.obj;t.obj=e;return i};Reporter.prototype.error=function error(e){let t;const i=this._reporterState;const n=e instanceof ReporterError;if(n){t=e}else{t=new ReporterError(i.path.map(function(e){return`[${JSON.stringify(e)}]`}).join(""),e.message||e,e.stack)}if(!i.options.partial){throw t}if(!n){i.errors.push(t)}return t};Reporter.prototype.wrapResult=function wrapResult(e){const t=this._reporterState;if(!t.options.partial){return e}return{result:this.isError(e)?null:e,errors:t.errors}};function ReporterError(e,t){this.path=e;this.rethrow(t)}n(ReporterError,Error);ReporterError.prototype.rethrow=function rethrow(e){this.message=`${e} at: ${this.path||"(shallow)"}`;if(Error.captureStackTrace){Error.captureStackTrace(this,ReporterError)}if(!this.stack){try{throw new Error(this.message)}catch(e){this.stack=e.stack}}return this};t.Reporter=Reporter},96018:(e,t)=>{function reverse(e){const t={};Object.keys(e).forEach(function(i){if((i|0)==i){i=i|0}const n=e[i];t[n]=i});return t}t.tagClass={0:"universal",1:"application",2:"context",3:"private"};t.tagClassByName=reverse(t.tagClass);t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};t.tagByName=reverse(t.tag)},90998:(e,t,i)=>{e.exports={der:i(96018)}},44798:(e,t,i)=>{const{inherits:n}=i(31669);const{DecoderBuffer:r}=i(28424);const s=i(48674);const a=i(96018);function DERDecoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DERDecoder.prototype.decode=function decode(e,t){if(!r.isDecoderBuffer(e)){e=new r(e,t)}return this.tree._decode(e,t)};function DERNode(e){s.call(this,"der",e)}n(DERNode,s);DERNode.prototype._peekTag=function peekTag(e,t,i){if(e.isEmpty()){return false}const n=e.save();const r=derDecodeTag(e,`Failed to peek tag: "${t}"`);if(e.isError(r)){return r}e.restore(n);return r.tag===t||r.tagStr===t||r.tagStr+"of"===t||i};DERNode.prototype._decodeTag=function decodeTag(e,t,i){const n=derDecodeTag(e,`Failed to decode tag of "${t}"`);if(e.isError(n)){return n}let r=derDecodeLen(e,n.primitive,`Failed to get length of "${t}"`);if(e.isError(r)){return r}if(!i&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t){return e.error(`Failed to match tag: "${t}"`)}if(n.primitive||r!==null){return e.skip(r,`Failed to match body of: "${t}"`)}const s=e.save();const a=this._skipUntilEnd(e,`Failed to skip indefinite length body: "${this.tag}"`);if(e.isError(a)){return a}r=e.offset-s.offset;e.restore(s);return e.skip(r,`Failed to match body of: "${t}"`)};DERNode.prototype._skipUntilEnd=function skipUntilEnd(e,t){for(;;){const i=derDecodeTag(e,t);if(e.isError(i)){return i}const n=derDecodeLen(e,i.primitive,t);if(e.isError(n)){return n}let r;if(i.primitive||n!==null){r=e.skip(n)}else{r=this._skipUntilEnd(e,t)}if(e.isError(r)){return r}if(i.tagStr==="end"){break}}};DERNode.prototype._decodeList=function decodeList(e,t,i,n){const r=[];while(!e.isEmpty()){const t=this._peekTag(e,"end");if(e.isError(t)){return t}const s=i.decode(e,"der",n);if(e.isError(s)&&t){break}r.push(s)}return r};DERNode.prototype._decodeStr=function decodeStr(e,t){if(t==="bitstr"){const t=e.readUInt8();if(e.isError(t)){return t}return{unused:t,data:e.raw()}}else if(t==="bmpstr"){const t=e.raw();if(t.length%2===1){return e.error("Decoding of string type: bmpstr length mismatch")}let i="";for(let e=0;e>6];const r=(i&32)===0;if((i&31)===31){let n=i;i=0;while((n&128)===128){n=e.readUInt8(t);if(e.isError(n)){return n}i<<=7;i|=n&127}}else{i&=31}const s=a.tag[i];return{cls:n,primitive:r,tag:i,tagStr:s}}function derDecodeLen(e,t,i){let n=e.readUInt8(i);if(e.isError(n)){return n}if(!t&&n===128){return null}if((n&128)===0){return n}const r=n&127;if(r>4){return e.error("length octect is too long")}n=0;for(let t=0;t{e.exports={der:i(44798),pem:i(33956)}},33956:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(44798);function PEMDecoder(e){r.call(this,e);this.enc="pem"}n(PEMDecoder,r);PEMDecoder.prototype.decode=function decode(e,t){const i=e.toString().split(/[\r\n]+/g);const n=t.label.toUpperCase();const s=/^-----(BEGIN|END) ([^-]+)-----$/;let a=-1;let o=-1;for(let e=0;e{const{inherits:n}=i(31669);const r=i(48674);const s=i(96018);function DEREncoder(e){this.enc="der";this.name=e.name;this.entity=e;this.tree=new DERNode;this.tree._init(e.body)}DEREncoder.prototype.encode=function encode(e,t){return this.tree._encode(e,t).join()};function DERNode(e){r.call(this,"der",e)}n(DERNode,r);DERNode.prototype._encodeComposite=function encodeComposite(e,t,i,n){const r=encodeTag(e,t,i,this.reporter);if(n.length<128){const e=Buffer.alloc(2);e[0]=r;e[1]=n.length;return this._createEncoderBuffer([e,n])}let s=1;for(let e=n.length;e>=256;e>>=8){s++}const a=Buffer.alloc(1+1+s);a[0]=r;a[1]=128|s;for(let e=1+s,t=n.length;t>0;e--,t>>=8){a[e]=t&255}return this._createEncoderBuffer([a,n])};DERNode.prototype._encodeStr=function encodeStr(e,t){if(t==="bitstr"){return this._createEncoderBuffer([e.unused|0,e.data])}else if(t==="bmpstr"){const t=Buffer.alloc(e.length*2);for(let i=0;i=40){return this.reporter.error("Second objid identifier OOB")}e.splice(0,2,e[0]*40+e[1])}let n=0;for(let t=0;t=128;i>>=7){n++}}const r=Buffer.alloc(n);let s=r.length-1;for(let t=e.length-1;t>=0;t--){let i=e[t];r[s--]=i&127;while((i>>=7)>0){r[s--]=128|i&127}}return this._createEncoderBuffer(r)};function two(e){if(e<10){return`0${e}`}else{return e}}DERNode.prototype._encodeTime=function encodeTime(e,t){let i;const n=new Date(e);if(t==="gentime"){i=[two(n.getUTCFullYear()),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else if(t==="utctime"){i=[two(n.getUTCFullYear()%100),two(n.getUTCMonth()+1),two(n.getUTCDate()),two(n.getUTCHours()),two(n.getUTCMinutes()),two(n.getUTCSeconds()),"Z"].join("")}else{this.reporter.error(`Encoding ${t} time is not supported yet`)}return this._encodeStr(i,"octstr")};DERNode.prototype._encodeNull=function encodeNull(){return this._createEncoderBuffer("")};function bnToBuf(e){var t=BigInt(e).toString(16);if(t.length%2){t="0"+t}var i=t.length/2;var n=new Uint8Array(i);var r=0;var s=0;while(r=256;t>>=8){i++}const n=new Array(i);for(let t=n.length-1;t>=0;t--){n[t]=e&255;e>>=8}if(n[0]&128){n.unshift(0)}return this._createEncoderBuffer(Buffer.from(n))};DERNode.prototype._encodeBool=function encodeBool(e){return this._createEncoderBuffer(e?255:0)};DERNode.prototype._use=function use(e,t){if(typeof e==="function"){e=e(t)}return e._getEncoder("der").tree};DERNode.prototype._skipDefault=function skipDefault(e,t,i){const n=this._baseState;let r;if(n.default===null){return false}const s=e.join();if(n.defaultBuffer===undefined){n.defaultBuffer=this._encodeValue(n.default,t,i).join()}if(s.length!==n.defaultBuffer.length){return false}for(r=0;r=31){return n.error("Multi-octet tag encoding unsupported")}if(!t){r|=32}r|=s.tagClassByName[i||"universal"]<<6;return r}e.exports=DEREncoder},2246:(e,t,i)=>{e.exports={der:i(20846),pem:i(26217)}},26217:(e,t,i)=>{const{inherits:n}=i(31669);const r=i(20846);function PEMEncoder(e){r.call(this,e);this.enc="pem"}n(PEMEncoder,r);PEMEncoder.prototype.encode=function encode(e,t){const i=r.prototype.encode.call(this,e);const n=i.toString("base64");const s=[`-----BEGIN ${t.label}-----`];for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function isTypedArrayName(e){return i.includes(e)}const n=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement",...i];function isObjectTypeName(e){return n.includes(e)}const r=["null","undefined","string","number","bigint","boolean","symbol"];function isPrimitiveTypeName(e){return r.includes(e)}function isOfType(e){return t=>typeof t===e}const{toString:s}=Object.prototype;const a=e=>{const t=s.call(e).slice(8,-1);if(/HTML\w+Element/.test(t)&&is.domElement(e)){return"HTMLElement"}if(isObjectTypeName(t)){return t}return undefined};const o=e=>t=>a(t)===e;function is(e){if(e===null){return"null"}switch(typeof e){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(is.observable(e)){return"Observable"}if(is.array(e)){return"Array"}if(is.buffer(e)){return"Buffer"}const t=a(e);if(t){return t}if(e instanceof String||e instanceof Boolean||e instanceof Number){throw new TypeError("Please don't use object wrappers for primitive types")}return"Object"}is.undefined=isOfType("undefined");is.string=isOfType("string");const u=isOfType("number");is.number=(e=>u(e)&&!is.nan(e));is.bigint=isOfType("bigint");is.function_=isOfType("function");is.null_=(e=>e===null);is.class_=(e=>is.function_(e)&&e.toString().startsWith("class "));is.boolean=(e=>e===true||e===false);is.symbol=isOfType("symbol");is.numericString=(e=>is.string(e)&&!is.emptyStringOrWhitespace(e)&&!Number.isNaN(Number(e)));is.array=((e,t)=>{if(!Array.isArray(e)){return false}if(!is.function_(t)){return true}return e.every(t)});is.buffer=(e=>{var t,i,n,r;return(r=(n=(i=(t=e)===null||t===void 0?void 0:t.constructor)===null||i===void 0?void 0:i.isBuffer)===null||n===void 0?void 0:n.call(i,e))!==null&&r!==void 0?r:false});is.nullOrUndefined=(e=>is.null_(e)||is.undefined(e));is.object=(e=>!is.null_(e)&&(typeof e==="object"||is.function_(e)));is.iterable=(e=>{var t;return is.function_((t=e)===null||t===void 0?void 0:t[Symbol.iterator])});is.asyncIterable=(e=>{var t;return is.function_((t=e)===null||t===void 0?void 0:t[Symbol.asyncIterator])});is.generator=(e=>is.iterable(e)&&is.function_(e.next)&&is.function_(e.throw));is.asyncGenerator=(e=>is.asyncIterable(e)&&is.function_(e.next)&&is.function_(e.throw));is.nativePromise=(e=>o("Promise")(e));const c=e=>{var t,i;return is.function_((t=e)===null||t===void 0?void 0:t.then)&&is.function_((i=e)===null||i===void 0?void 0:i.catch)};is.promise=(e=>is.nativePromise(e)||c(e));is.generatorFunction=o("GeneratorFunction");is.asyncGeneratorFunction=(e=>a(e)==="AsyncGeneratorFunction");is.asyncFunction=(e=>a(e)==="AsyncFunction");is.boundFunction=(e=>is.function_(e)&&!e.hasOwnProperty("prototype"));is.regExp=o("RegExp");is.date=o("Date");is.error=o("Error");is.map=(e=>o("Map")(e));is.set=(e=>o("Set")(e));is.weakMap=(e=>o("WeakMap")(e));is.weakSet=(e=>o("WeakSet")(e));is.int8Array=o("Int8Array");is.uint8Array=o("Uint8Array");is.uint8ClampedArray=o("Uint8ClampedArray");is.int16Array=o("Int16Array");is.uint16Array=o("Uint16Array");is.int32Array=o("Int32Array");is.uint32Array=o("Uint32Array");is.float32Array=o("Float32Array");is.float64Array=o("Float64Array");is.bigInt64Array=o("BigInt64Array");is.bigUint64Array=o("BigUint64Array");is.arrayBuffer=o("ArrayBuffer");is.sharedArrayBuffer=o("SharedArrayBuffer");is.dataView=o("DataView");is.directInstanceOf=((e,t)=>Object.getPrototypeOf(e)===t.prototype);is.urlInstance=(e=>o("URL")(e));is.urlString=(e=>{if(!is.string(e)){return false}try{new URL(e);return true}catch(e){return false}});is.truthy=(e=>Boolean(e));is.falsy=(e=>!e);is.nan=(e=>Number.isNaN(e));is.primitive=(e=>is.null_(e)||isPrimitiveTypeName(typeof e));is.integer=(e=>Number.isInteger(e));is.safeInteger=(e=>Number.isSafeInteger(e));is.plainObject=(e=>{if(s.call(e)!=="[object Object]"){return false}const t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})});is.typedArray=(e=>isTypedArrayName(a(e)));const l=e=>is.safeInteger(e)&&e>=0;is.arrayLike=(e=>!is.nullOrUndefined(e)&&!is.function_(e)&&l(e.length));is.inRange=((e,t)=>{if(is.number(t)){return e>=Math.min(0,t)&&e<=Math.max(t,0)}if(is.array(t)&&t.length===2){return e>=Math.min(...t)&&e<=Math.max(...t)}throw new TypeError(`Invalid range: ${JSON.stringify(t)}`)});const p=1;const d=["innerHTML","ownerDocument","style","attributes","nodeValue"];is.domElement=(e=>{return is.object(e)&&e.nodeType===p&&is.string(e.nodeName)&&!is.plainObject(e)&&d.every(t=>t in e)});is.observable=(e=>{var t,i,n,r;if(!e){return false}if(e===((i=(t=e)[Symbol.observable])===null||i===void 0?void 0:i.call(t))){return true}if(e===((r=(n=e)["@@observable"])===null||r===void 0?void 0:r.call(n))){return true}return false});is.nodeStream=(e=>is.object(e)&&is.function_(e.pipe)&&!is.observable(e));is.infinite=(e=>e===Infinity||e===-Infinity);const f=e=>t=>is.integer(t)&&Math.abs(t%2)===e;is.evenInteger=f(0);is.oddInteger=f(1);is.emptyArray=(e=>is.array(e)&&e.length===0);is.nonEmptyArray=(e=>is.array(e)&&e.length>0);is.emptyString=(e=>is.string(e)&&e.length===0);is.nonEmptyString=(e=>is.string(e)&&e.length>0);const h=e=>is.string(e)&&!/\S/.test(e);is.emptyStringOrWhitespace=(e=>is.emptyString(e)||h(e));is.emptyObject=(e=>is.object(e)&&!is.map(e)&&!is.set(e)&&Object.keys(e).length===0);is.nonEmptyObject=(e=>is.object(e)&&!is.map(e)&&!is.set(e)&&Object.keys(e).length>0);is.emptySet=(e=>is.set(e)&&e.size===0);is.nonEmptySet=(e=>is.set(e)&&e.size>0);is.emptyMap=(e=>is.map(e)&&e.size===0);is.nonEmptyMap=(e=>is.map(e)&&e.size>0);const m=(e,t,i)=>{if(!is.function_(t)){throw new TypeError(`Invalid predicate: ${JSON.stringify(t)}`)}if(i.length===0){throw new TypeError("Invalid number of values")}return e.call(i,t)};is.any=((e,...t)=>{const i=is.array(e)?e:[e];return i.some(e=>m(Array.prototype.some,e,t))});is.all=((e,...t)=>m(Array.prototype.every,e,t));const b=(e,t,i)=>{if(!e){throw new TypeError(`Expected value which is \`${t}\`, received value of type \`${is(i)}\`.`)}};t.assert={undefined:e=>b(is.undefined(e),"undefined",e),string:e=>b(is.string(e),"string",e),number:e=>b(is.number(e),"number",e),bigint:e=>b(is.bigint(e),"bigint",e),function_:e=>b(is.function_(e),"Function",e),null_:e=>b(is.null_(e),"null",e),class_:e=>b(is.class_(e),"Class",e),boolean:e=>b(is.boolean(e),"boolean",e),symbol:e=>b(is.symbol(e),"symbol",e),numericString:e=>b(is.numericString(e),"string with a number",e),array:(e,t)=>{const i=b;i(is.array(e),"Array",e);if(t){e.forEach(t)}},buffer:e=>b(is.buffer(e),"Buffer",e),nullOrUndefined:e=>b(is.nullOrUndefined(e),"null or undefined",e),object:e=>b(is.object(e),"Object",e),iterable:e=>b(is.iterable(e),"Iterable",e),asyncIterable:e=>b(is.asyncIterable(e),"AsyncIterable",e),generator:e=>b(is.generator(e),"Generator",e),asyncGenerator:e=>b(is.asyncGenerator(e),"AsyncGenerator",e),nativePromise:e=>b(is.nativePromise(e),"native Promise",e),promise:e=>b(is.promise(e),"Promise",e),generatorFunction:e=>b(is.generatorFunction(e),"GeneratorFunction",e),asyncGeneratorFunction:e=>b(is.asyncGeneratorFunction(e),"AsyncGeneratorFunction",e),asyncFunction:e=>b(is.asyncFunction(e),"AsyncFunction",e),boundFunction:e=>b(is.boundFunction(e),"Function",e),regExp:e=>b(is.regExp(e),"RegExp",e),date:e=>b(is.date(e),"Date",e),error:e=>b(is.error(e),"Error",e),map:e=>b(is.map(e),"Map",e),set:e=>b(is.set(e),"Set",e),weakMap:e=>b(is.weakMap(e),"WeakMap",e),weakSet:e=>b(is.weakSet(e),"WeakSet",e),int8Array:e=>b(is.int8Array(e),"Int8Array",e),uint8Array:e=>b(is.uint8Array(e),"Uint8Array",e),uint8ClampedArray:e=>b(is.uint8ClampedArray(e),"Uint8ClampedArray",e),int16Array:e=>b(is.int16Array(e),"Int16Array",e),uint16Array:e=>b(is.uint16Array(e),"Uint16Array",e),int32Array:e=>b(is.int32Array(e),"Int32Array",e),uint32Array:e=>b(is.uint32Array(e),"Uint32Array",e),float32Array:e=>b(is.float32Array(e),"Float32Array",e),float64Array:e=>b(is.float64Array(e),"Float64Array",e),bigInt64Array:e=>b(is.bigInt64Array(e),"BigInt64Array",e),bigUint64Array:e=>b(is.bigUint64Array(e),"BigUint64Array",e),arrayBuffer:e=>b(is.arrayBuffer(e),"ArrayBuffer",e),sharedArrayBuffer:e=>b(is.sharedArrayBuffer(e),"SharedArrayBuffer",e),dataView:e=>b(is.dataView(e),"DataView",e),urlInstance:e=>b(is.urlInstance(e),"URL",e),urlString:e=>b(is.urlString(e),"string with a URL",e),truthy:e=>b(is.truthy(e),"truthy",e),falsy:e=>b(is.falsy(e),"falsy",e),nan:e=>b(is.nan(e),"NaN",e),primitive:e=>b(is.primitive(e),"primitive",e),integer:e=>b(is.integer(e),"integer",e),safeInteger:e=>b(is.safeInteger(e),"integer",e),plainObject:e=>b(is.plainObject(e),"plain object",e),typedArray:e=>b(is.typedArray(e),"TypedArray",e),arrayLike:e=>b(is.arrayLike(e),"array-like",e),domElement:e=>b(is.domElement(e),"HTMLElement",e),observable:e=>b(is.observable(e),"Observable",e),nodeStream:e=>b(is.nodeStream(e),"Node.js Stream",e),infinite:e=>b(is.infinite(e),"infinite number",e),emptyArray:e=>b(is.emptyArray(e),"empty array",e),nonEmptyArray:e=>b(is.nonEmptyArray(e),"non-empty array",e),emptyString:e=>b(is.emptyString(e),"empty string",e),nonEmptyString:e=>b(is.nonEmptyString(e),"non-empty string",e),emptyStringOrWhitespace:e=>b(is.emptyStringOrWhitespace(e),"empty string or whitespace",e),emptyObject:e=>b(is.emptyObject(e),"empty object",e),nonEmptyObject:e=>b(is.nonEmptyObject(e),"non-empty object",e),emptySet:e=>b(is.emptySet(e),"empty set",e),nonEmptySet:e=>b(is.nonEmptySet(e),"non-empty set",e),emptyMap:e=>b(is.emptyMap(e),"empty map",e),nonEmptyMap:e=>b(is.nonEmptyMap(e),"non-empty map",e),evenInteger:e=>b(is.evenInteger(e),"even integer",e),oddInteger:e=>b(is.oddInteger(e),"odd integer",e),directInstanceOf:(e,t)=>b(is.directInstanceOf(e,t),"T",e),inRange:(e,t)=>b(is.inRange(e,t),"in range",e),any:(e,...t)=>b(is.any(e,...t),"predicate returns truthy for any value",t),all:(e,...t)=>b(is.all(e,...t),"predicate returns truthy for all values",t)};Object.defineProperties(is,{class:{value:is.class_},function:{value:is.function_},null:{value:is.null_}});Object.defineProperties(t.assert,{class:{value:t.assert.class_},function:{value:t.assert.function_},null:{value:t.assert.null_}});t.default=is;e.exports=is;e.exports.default=is;e.exports.assert=t.assert},48097:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(96214);const r=Number(process.versions.node.split(".")[0]);const s=e=>{const t={start:Date.now(),socket:undefined,lookup:undefined,connect:undefined,secureConnect:undefined,upload:undefined,response:undefined,end:undefined,error:undefined,abort:undefined,phases:{wait:undefined,dns:undefined,tcp:undefined,tls:undefined,request:undefined,firstByte:undefined,download:undefined,total:undefined}};e.timings=t;const i=e=>{const i=e.emit.bind(e);e.emit=((n,...r)=>{if(n==="error"){t.error=Date.now();t.phases.total=t.error-t.start;e.emit=i}return i(n,...r)})};i(e);e.prependOnceListener("abort",()=>{t.abort=Date.now();if(!t.response||r>=13){t.phases.total=Date.now()-t.start}});const s=e=>{t.socket=Date.now();t.phases.wait=t.socket-t.start;const i=()=>{t.lookup=Date.now();t.phases.dns=t.lookup-t.socket};e.prependOnceListener("lookup",i);n.default(e,{connect:()=>{t.connect=Date.now();if(t.lookup===undefined){e.removeListener("lookup",i);t.lookup=t.connect;t.phases.dns=t.lookup-t.socket}t.phases.tcp=t.connect-t.lookup},secureConnect:()=>{t.secureConnect=Date.now();t.phases.tls=t.secureConnect-t.connect}})};if(e.socket){s(e.socket)}else{e.prependOnceListener("socket",s)}const a=()=>{var e;t.upload=Date.now();t.phases.request=t.upload-(e=t.secureConnect,e!==null&&e!==void 0?e:t.connect)};const o=()=>{if(typeof e.writableFinished==="boolean"){return e.writableFinished}return e.finished&&e.outputSize===0&&(!e.socket||e.socket.writableLength===0)};if(o()){a()}else{e.prependOnceListener("finish",a)}e.prependOnceListener("response",e=>{t.response=Date.now();t.phases.firstByte=t.response-t.upload;e.timings=t;i(e);e.prependOnceListener("end",()=>{t.end=Date.now();t.phases.download=t.end-t.response;t.phases.total=t.end-t.start})});return t};t.default=s;e.exports=s;e.exports.default=s},61231:(e,t,i)=>{"use strict";const n=i(98043);const r=i(27972);const s=e=>e.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,"");class AggregateError extends Error{constructor(e){if(!Array.isArray(e)){throw new TypeError(`Expected input to be an Array, got ${typeof e}`)}e=[...e].map(e=>{if(e instanceof Error){return e}if(e!==null&&typeof e==="object"){return Object.assign(new Error(e.message),e)}return new Error(e)});let t=e.map(e=>{return typeof e.stack==="string"?s(r(e.stack)):String(e)}).join("\n");t="\n"+n(t,4);super(t);this.name="AggregateError";Object.defineProperty(this,"_errors",{value:e})}*[Symbol.iterator](){for(const e of this._errors){yield e}}}e.exports=AggregateError},64941:(e,t,i)=>{"use strict";var n=i(875),r=i(63896),s=i(93679),a=i(37605),o=i(30969),u=i(66627),c=i(68561),l=i(21412),p=i(76578);e.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=i(80890);var d=i(53297);Ajv.prototype.addKeyword=d.add;Ajv.prototype.getKeyword=d.get;Ajv.prototype.removeKeyword=d.remove;Ajv.prototype.validateKeyword=d.validate;var f=i(25726);Ajv.ValidationError=f.Validation;Ajv.MissingRefError=f.MissingRef;Ajv.$dataMetaSchema=l;var h="http://json-schema.org/draft-07/schema";var m=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var b=["/properties"];function Ajv(e){if(!(this instanceof Ajv))return new Ajv(e);e=this._opts=p.copy(e)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=u(e.format);this._cache=e.cache||new s;this._loadingSchemas={};this._compilations=[];this.RULES=c();this._getId=chooseGetId(e);e.loopRequired=e.loopRequired||Infinity;if(e.errorDataPath=="property")e._errorDataPathProperty=true;if(e.serialize===undefined)e.serialize=o;this._metaOpts=getMetaSchemaOptions(this);if(e.formats)addInitialFormats(this);if(e.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof e.meta=="object")this.addMetaSchema(e.meta);if(e.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(e,t){var i;if(typeof e=="string"){i=this.getSchema(e);if(!i)throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);i=n.validate||this._compile(n)}var r=i(t);if(i.$async!==true)this.errors=i.errors;return r}function compile(e,t){var i=this._addSchema(e,undefined,t);return i.validate||this._compile(i)}function addSchema(e,t,i,n){if(Array.isArray(e)){for(var s=0;s{"use strict";var t=e.exports=function Cache(){this._cache={}};t.prototype.put=function Cache_put(e,t){this._cache[e]=t};t.prototype.get=function Cache_get(e){return this._cache[e]};t.prototype.del=function Cache_del(e){delete this._cache[e]};t.prototype.clear=function Cache_clear(){this._cache={}}},80890:(e,t,i)=>{"use strict";var n=i(25726).MissingRef;e.exports=compileAsync;function compileAsync(e,t,i){var r=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof t=="function"){i=t;t=undefined}var s=loadMetaSchemaOf(e).then(function(){var i=r._addSchema(e,undefined,t);return i.validate||_compileAsync(i)});if(i){s.then(function(e){i(null,e)},i)}return s;function loadMetaSchemaOf(e){var t=e.$schema;return t&&!r.getSchema(t)?compileAsync.call(r,{$ref:t},true):Promise.resolve()}function _compileAsync(e){try{return r._compile(e)}catch(e){if(e instanceof n)return loadMissingSchema(e);throw e}function loadMissingSchema(i){var n=i.missingSchema;if(added(n))throw new Error("Schema "+n+" is loaded but "+i.missingRef+" cannot be resolved");var s=r._loadingSchemas[n];if(!s){s=r._loadingSchemas[n]=r._opts.loadSchema(n);s.then(removePromise,removePromise)}return s.then(function(e){if(!added(n)){return loadMetaSchemaOf(e).then(function(){if(!added(n))r.addSchema(e,n,undefined,t)})}}).then(function(){return _compileAsync(e)});function removePromise(){delete r._loadingSchemas[n]}function added(e){return r._refs[e]||r._schemas[e]}}}}},25726:(e,t,i)=>{"use strict";var n=i(63896);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function MissingRefError(e,t,i){this.message=i||MissingRefError.message(e,t);this.missingRef=n.url(e,t);this.missingSchema=n.normalizeId(n.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},66627:(e,t,i)=>{"use strict";var n=i(76578);var r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var s=[0,31,28,31,30,31,30,31,31,30,31,30,31];var a=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var o=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var u=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var c=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var l=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var p=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var d=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var f=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var h=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var m=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return n.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:p,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:d,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":c,"uri-template":l,url:p,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:o,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:d,"json-pointer":f,"json-pointer-uri-fragment":h,"relative-json-pointer":m};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var t=e.match(r);if(!t)return false;var i=+t[1];var n=+t[2];var a=+t[3];return n>=1&&n<=12&&a>=1&&a<=(n==2&&isLeapYear(i)?29:s[n])}function time(e,t){var i=e.match(a);if(!i)return false;var n=i[1];var r=i[2];var s=i[3];var o=i[5];return(n<=23&&r<=59&&s<=59||n==23&&r==59&&s==60)&&(!t||o)}var b=/t|\s/i;function date_time(e){var t=e.split(b);return t.length==2&&date(t[0])&&time(t[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&u.test(e)}var y=/[^\\]\\Z/;function regex(e){if(y.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},875:(e,t,i)=>{"use strict";var n=i(63896),r=i(76578),s=i(25726),a=i(30969);var o=i(49585);var u=r.ucs2length;var c=i(28206);var l=s.Validation;e.exports=compile;function compile(e,t,i,p){var d=this,f=this._opts,h=[undefined],m={},b=[],g={},y=[],S={},v=[];t=t||{schema:e,refVal:h,refs:m};var w=checkCompiling.call(this,e,t,p);var j=this._compilations[w.index];if(w.compiling)return j.callValidate=callValidate;var z=this._formats;var O=this.RULES;try{var k=localCompile(e,t,i,p);j.validate=k;var C=j.callValidate;if(C){C.schema=k.schema;C.errors=null;C.refs=k.refs;C.refVal=k.refVal;C.root=k.root;C.$async=k.$async;if(f.sourceCode)C.source=k.source}return k}finally{endCompiling.call(this,e,t,p)}function callValidate(){var e=j.validate;var t=e.apply(this,arguments);callValidate.errors=e.errors;return t}function localCompile(e,i,a,p){var g=!i||i&&i.schema==e;if(i.schema!=t.schema)return compile.call(d,e,i,a,p);var S=e.$async===true;var w=o({isTop:true,schema:e,isRoot:g,baseId:p,root:i,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:s.MissingRef,RULES:O,validate:o,util:r,resolve:n,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:f,formats:z,logger:d.logger,self:d});w=vars(h,refValCode)+vars(b,patternCode)+vars(y,defaultCode)+vars(v,customRuleCode)+w;if(f.processCode)w=f.processCode(w,e);var j;try{var k=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",w);j=k(d,O,z,t,h,y,v,c,u,l);h[0]=j}catch(e){d.logger.error("Error compiling schema, function code:",w);throw e}j.schema=e;j.errors=null;j.refs=m;j.refVal=h;j.root=g?j:i;if(S)j.$async=true;if(f.sourceCode===true){j.source={code:w,patterns:b,defaults:y}}return j}function resolveRef(e,r,s){r=n.url(e,r);var a=m[r];var o,u;if(a!==undefined){o=h[a];u="refVal["+a+"]";return resolvedRef(o,u)}if(!s&&t.refs){var c=t.refs[r];if(c!==undefined){o=t.refVal[c];u=addLocalRef(r,o);return resolvedRef(o,u)}}u=addLocalRef(r);var l=n.call(d,localCompile,t,r);if(l===undefined){var p=i&&i[r];if(p){l=n.inlineRef(p,f.inlineRefs)?p:compile.call(d,p,t,i,e)}}if(l===undefined){removeLocalRef(r)}else{replaceLocalRef(r,l);return resolvedRef(l,u)}}function addLocalRef(e,t){var i=h.length;h[i]=t;m[e]=i;return"refVal"+i}function removeLocalRef(e){delete m[e]}function replaceLocalRef(e,t){var i=m[e];h[i]=t}function resolvedRef(e,t){return typeof e=="object"||typeof e=="boolean"?{code:t,schema:e,inline:true}:{code:t,$async:e&&!!e.$async}}function usePattern(e){var t=g[e];if(t===undefined){t=g[e]=b.length;b[t]=e}return"pattern"+t}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return r.toQuotedString(e);case"object":if(e===null)return"null";var t=a(e);var i=S[t];if(i===undefined){i=S[t]=y.length;y[i]=e}return"default"+i}}function useCustomRule(e,t,i,n){if(d._opts.validateSchema!==false){var r=e.definition.dependencies;if(r&&!r.every(function(e){return Object.prototype.hasOwnProperty.call(i,e)}))throw new Error("parent schema must have all required keywords: "+r.join(","));var s=e.definition.validateSchema;if(s){var a=s(t);if(!a){var o="keyword schema is invalid: "+d.errorsText(s.errors);if(d._opts.validateSchema=="log")d.logger.error(o);else throw new Error(o)}}}var u=e.definition.compile,c=e.definition.inline,l=e.definition.macro;var p;if(u){p=u.call(d,t,i,n)}else if(l){p=l.call(d,t,i,n);if(f.validateSchema!==false)d.validateSchema(p,true)}else if(c){p=c.call(d,n,e.keyword,t,i)}else{p=e.definition.validate;if(!p)return}if(p===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var h=v.length;v[h]=p;return{code:"customRule"+h,validate:p}}}function checkCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)return{index:n,compiling:true};n=this._compilations.length;this._compilations[n]={schema:e,root:t,baseId:i};return{index:n,compiling:false}}function endCompiling(e,t,i){var n=compIndex.call(this,e,t,i);if(n>=0)this._compilations.splice(n,1)}function compIndex(e,t,i){for(var n=0;n{"use strict";var n=i(70020),r=i(28206),s=i(76578),a=i(37605),o=i(52533);e.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(e,t,i){var n=this._refs[i];if(typeof n=="string"){if(this._refs[n])n=this._refs[n];else return resolve.call(this,e,t,n)}n=n||this._schemas[i];if(n instanceof a){return inlineRef(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n)}var r=resolveSchema.call(this,t,i);var s,o,u;if(r){s=r.schema;t=r.root;u=r.baseId}if(s instanceof a){o=s.validate||e.call(this,s.schema,t,undefined,u)}else if(s!==undefined){o=inlineRef(s,this._opts.inlineRefs)?s:e.call(this,s,t,undefined,u)}return o}function resolveSchema(e,t){var i=n.parse(t),r=_getFullPath(i),s=getFullPath(this._getId(e.schema));if(Object.keys(e.schema).length===0||r!==s){var o=normalizeId(r);var u=this._refs[o];if(typeof u=="string"){return resolveRecursive.call(this,e,u,i)}else if(u instanceof a){if(!u.validate)this._compile(u);e=u}else{u=this._schemas[o];if(u instanceof a){if(!u.validate)this._compile(u);if(o==normalizeId(t))return{schema:u,root:e,baseId:s};e=u}else{return}}if(!e.schema)return;s=getFullPath(this._getId(e.schema))}return getJsonPointer.call(this,i,s,e.schema,e)}function resolveRecursive(e,t,i){var n=resolveSchema.call(this,e,t);if(n){var r=n.schema;var s=n.baseId;e=n.root;var a=this._getId(r);if(a)s=resolveUrl(s,a);return getJsonPointer.call(this,i,s,r,e)}}var u=s.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(e,t,i,n){e.fragment=e.fragment||"";if(e.fragment.slice(0,1)!="/")return;var r=e.fragment.split("/");for(var a=1;a{"use strict";var n=i(85810),r=i(76578).toHash;e.exports=function rules(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var t=["type","$comment"];var i=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var s=["number","integer","string","array","object","boolean","null"];e.all=r(t);e.types=r(s);e.forEach(function(i){i.rules=i.rules.map(function(i){var r;if(typeof i=="object"){var s=Object.keys(i)[0];r=i[s];i=s;r.forEach(function(i){t.push(i);e.all[i]=true})}t.push(i);var a=e.all[i]={keyword:i,code:n[i],implements:r};return a});e.all.$comment={keyword:"$comment",code:n.$comment};if(i.type)e.types[i.type]=i});e.keywords=r(t.concat(i));e.custom={};return e}},37605:(e,t,i)=>{"use strict";var n=i(76578);e.exports=SchemaObject;function SchemaObject(e){n.copy(e,this)}},64580:e=>{"use strict";e.exports=function ucs2length(e){var t=0,i=e.length,n=0,r;while(n=55296&&r<=56319&&n{"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:i(28206),ucs2length:i(64580),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,t){t=t||{};for(var i in e)t[i]=e[i];return t}function checkDataType(e,t,i,n){var r=n?" !== ":" === ",s=n?" || ":" && ",a=n?"!":"",o=n?"":"!";switch(e){case"null":return t+r+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+s+"typeof "+t+r+'"object"'+s+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+s+o+"("+t+" % 1)"+s+t+r+t+(i?s+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+r+'"'+e+'"'+(i?s+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+r+'"'+e+'"'}}function checkDataTypes(e,t,i){switch(e.length){case 1:return checkDataType(e[0],t,i,true);default:var n="";var r=toHash(e);if(r.array&&r.object){n=r.null?"(":"(!"+t+" || ";n+="typeof "+t+' !== "object")';delete r.null;delete r.array;delete r.object}if(r.number)delete r.integer;for(var s in r)n+=(n?" && ":"")+checkDataType(s,t,i,true);return n}}var n=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,t){if(Array.isArray(t)){var i=[];for(var r=0;r=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return i[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);s="data"+(t-n||"");if(!r)return s}var c=s;var l=r.split("/");for(var p=0;p{"use strict";var t=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];e.exports=function(e,i){for(var n=0;n{"use strict";var n=i(40038);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:n.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:n.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},7404:e=>{"use strict";e.exports=function generate__limit(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h=t=="maximum",m=h?"exclusiveMaximum":"exclusiveMinimum",b=e.schema[m],g=e.opts.$data&&b&&b.$data,y=h?"<":">",S=h?">":"<",l=undefined;if(!(d||typeof a=="number"||a===undefined)){throw new Error(t+" must be number")}if(!(g||b===undefined||typeof b=="number"||typeof b=="boolean")){throw new Error(m+" must be number or boolean")}if(g){var v=e.util.getData(b.$data,s,e.dataPathArr),w="exclusive"+r,j="exclType"+r,z="exclIsNumber"+r,O="op"+r,k="' + "+O+" + '";n+=" var schemaExcl"+r+" = "+v+"; ";v="schemaExcl"+r;n+=" var "+w+"; var "+j+" = typeof "+v+"; if ("+j+" != 'boolean' && "+j+" != 'undefined' && "+j+" != 'number') { ";var l=m;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: '"+m+" should be boolean' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var T=n;n=C.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+j+" == 'number' ? ( ("+w+" = "+f+" === undefined || "+v+" "+y+"= "+f+") ? "+p+" "+S+"= "+v+" : "+p+" "+S+" "+f+" ) : ( ("+w+" = "+v+" === true) ? "+p+" "+S+"= "+f+" : "+p+" "+S+" "+f+" ) || "+p+" !== "+p+") { var op"+r+" = "+w+" ? '"+y+"' : '"+y+"='; ";if(a===undefined){l=m;u=e.errSchemaPath+"/"+m;f=v;d=g}}else{var z=typeof b=="number",k=y;if(z&&d){var O="'"+k+"'";n+=" if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" ( "+f+" === undefined || "+b+" "+y+"= "+f+" ? "+p+" "+S+"= "+b+" : "+p+" "+S+" "+f+" ) || "+p+" !== "+p+") { "}else{if(z&&a===undefined){w=true;l=m;u=e.errSchemaPath+"/"+m;f=b;S+="="}else{if(z)f=Math[h?"min":"max"](b,a);if(b===(z?f:true)){w=true;l=m;u=e.errSchemaPath+"/"+m;S+="="}else{w=false;k+="="}}var O="'"+k+"'";n+=" if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+p+" "+S+" "+f+" || "+p+" !== "+p+") { "}}l=l||t;var C=C||[];C.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+O+", limit: "+f+", exclusive: "+w+" } ";if(e.opts.messages!==false){n+=" , message: 'should be "+k+" ";if(d){n+="' + "+f}else{n+=""+f+"'"}}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var T=n;n=C.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+T+"]); "}else{n+=" validate.errors = ["+T+"]; return false; "}}else{n+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}return n}},64683:e=>{"use strict";e.exports=function generate__limitItems(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxItems"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" "+p+".length "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxItems"){n+="more"}else{n+="fewer"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" items' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},52114:e=>{"use strict";e.exports=function generate__limitLength(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxLength"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}if(e.opts.unicode===false){n+=" "+p+".length "}else{n+=" ucs2length("+p+") "}n+=" "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT be ";if(t=="maxLength"){n+="longer"}else{n+="shorter"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" characters' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},71142:e=>{"use strict";e.exports=function generate__limitProperties(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!(d||typeof a=="number")){throw new Error(t+" must be number")}var h=t=="maxProperties"?">":"<";n+="if ( ";if(d){n+=" ("+f+" !== undefined && typeof "+f+" != 'number') || "}n+=" Object.keys("+p+").length "+h+" "+f+") { ";var l=t;var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+f+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have ";if(t=="maxProperties"){n+="more"}else{n+="fewer"}n+=" than ";if(d){n+="' + "+f+" + '"}else{n+=""+a}n+=" properties' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},89443:e=>{"use strict";e.exports=function generate_allOf(e,t,i){var n=" ";var r=e.schema[t];var s=e.schemaPath+e.util.getProperty(t);var a=e.errSchemaPath+"/"+t;var o=!e.opts.allErrors;var u=e.util.copy(e);var c="";u.level++;var l="valid"+u.level;var p=u.baseId,d=true;var f=r;if(f){var h,m=-1,b=f.length-1;while(m0||h===false:e.util.schemaHasRules(h,e.RULES.all)){d=false;u.schema=h;u.schemaPath=s+"["+m+"]";u.errSchemaPath=a+"/"+m;n+=" "+e.validate(u)+" ";u.baseId=p;if(o){n+=" if ("+l+") { ";c+="}"}}}}if(o){if(d){n+=" if (true) { "}else{n+=" "+c.slice(0,-1)+" "}}return n}},63093:e=>{"use strict";e.exports=function generate_anyOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b=a.every(function(t){return e.opts.strictKeywords?typeof t=="object"&&Object.keys(t).length>0||t===false:e.util.schemaHasRules(t,e.RULES.all)});if(b){var g=f.baseId;n+=" var "+d+" = errors; var "+p+" = false; ";var y=e.compositeRule;e.compositeRule=f.compositeRule=true;var S=a;if(S){var v,w=-1,j=S.length-1;while(w{"use strict";e.exports=function generate_comment(e,t,i){var n=" ";var r=e.schema[t];var s=e.errSchemaPath+"/"+t;var a=!e.opts.allErrors;var o=e.util.toQuotedString(r);if(e.opts.$comment===true){n+=" console.log("+o+");"}else if(typeof e.opts.$comment=="function"){n+=" self._opts.$comment("+o+", "+e.util.toQuotedString(s)+", validate.root.schema);"}return n}},1661:e=>{"use strict";e.exports=function generate_const(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if(!d){n+=" var schema"+r+" = validate.schema"+o+";"}n+="var "+p+" = equal("+l+", schema"+r+"); if (!"+p+") { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+r+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to constant' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(c){n+=" else { "}return n}},55964:e=>{"use strict";e.exports=function generate_contains(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b="i"+r,g=f.dataLevel=e.dataLevel+1,y="data"+g,S=e.baseId,v=e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all);n+="var "+d+" = errors;var "+p+";";if(v){var w=e.compositeRule;e.compositeRule=f.compositeRule=true;f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+m+" = false; for (var "+b+" = 0; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var j=l+"["+b+"]";f.dataPathArr[g]=b;var z=e.validate(f);f.baseId=S;if(e.util.varOccurences(z,y)<2){n+=" "+e.util.varReplace(z,y,j)+" "}else{n+=" var "+y+" = "+j+"; "+z+" "}n+=" if ("+m+") break; } ";e.compositeRule=f.compositeRule=w;n+=" "+h+" if (!"+m+") {"}else{n+=" if ("+l+".length == 0) {"}var O=O||[];O.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should contain a valid item' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var k=n;n=O.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+k+"]); "}else{n+=" validate.errors = ["+k+"]; return false; "}}else{n+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { ";if(v){n+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "}if(e.opts.allErrors){n+=" } "}return n}},5912:e=>{"use strict";e.exports=function generate_custom(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l;var p="data"+(s||"");var d="valid"+r;var f="errs__"+r;var h=e.opts.$data&&a&&a.$data,m;if(h){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";m="schema"+r}else{m=a}var b=this,g="definition"+r,y=b.definition,S="";var v,w,j,z,O;if(h&&y.$data){O="keywordValidate"+r;var k=y.validateSchema;n+=" var "+g+" = RULES.custom['"+t+"'].definition; var "+O+" = "+g+".validate;"}else{z=e.useCustomRule(b,a,e.schema,e);if(!z)return;m="validate.schema"+o;O=z.code;v=y.compile;w=y.inline;j=y.macro}var C=O+".errors",T="i"+r,_="ruleErr"+r,A=y.async;if(A&&!e.async)throw new Error("async keyword in sync schema");if(!(w||j)){n+=""+C+" = null;"}n+="var "+f+" = errors;var "+d+";";if(h&&y.$data){S+="}";n+=" if ("+m+" === undefined) { "+d+" = true; } else { ";if(k){S+="}";n+=" "+d+" = "+g+".validateSchema("+m+"); if ("+d+") { "}}if(w){if(y.statements){n+=" "+z.validate+" "}else{n+=" "+d+" = "+z.validate+"; "}}else if(j){var E=e.util.copy(e);var S="";E.level++;var R="valid"+E.level;E.schema=z.validate;E.schemaPath="";var x=e.compositeRule;e.compositeRule=E.compositeRule=true;var N=e.validate(E).replace(/validate\.schema/g,O);e.compositeRule=E.compositeRule=x;n+=" "+N}else{var V=V||[];V.push(n);n="";n+=" "+O+".call( ";if(e.opts.passContext){n+="this"}else{n+="self"}if(v||y.schema===false){n+=" , "+p+" "}else{n+=" , "+m+" , "+p+" , validate.schema"+e.schemaPath+" "}n+=" , (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var P=s?"data"+(s-1||""):"parentData",M=s?e.dataPathArr[s]:"parentDataProperty";n+=" , "+P+" , "+M+" , rootData ) ";var B=n;n=V.pop();if(y.errors===false){n+=" "+d+" = ";if(A){n+="await "}n+=""+B+"; "}else{if(A){C="customErrors"+r;n+=" var "+C+" = null; try { "+d+" = await "+B+"; } catch (e) { "+d+" = false; if (e instanceof ValidationError) "+C+" = e.errors; else throw e; } "}else{n+=" "+C+" = null; "+d+" = "+B+"; "}}}if(y.modifying){n+=" if ("+P+") "+p+" = "+P+"["+M+"];"}n+=""+S;if(y.valid){if(c){n+=" if (true) { "}}else{n+=" if ( ";if(y.valid===undefined){n+=" !";if(j){n+=""+R}else{n+=""+d}}else{n+=" "+!y.valid+" "}n+=") { ";l=b.keyword;var V=V||[];V.push(n);n="";var V=V||[];V.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(l||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+b.keyword+"' } ";if(e.opts.messages!==false){n+=" , message: 'should pass \""+b.keyword+"\" keyword validation' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "}n+=" } "}else{n+=" {} "}var I=n;n=V.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+I+"]); "}else{n+=" validate.errors = ["+I+"]; return false; "}}else{n+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var D=n;n=V.pop();if(w){if(y.errors){if(y.errors!="full"){n+=" for (var "+T+"="+f+"; "+T+"{"use strict";e.exports=function generate_dependencies(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;var m={},b={},g=e.opts.ownProperties;for(w in a){if(w=="__proto__")continue;var y=a[w];var S=Array.isArray(y)?b:m;S[w]=y}n+="var "+p+" = errors;";var v=e.errorPath;n+="var missing"+r+";";for(var w in b){S=b[w];if(S.length){n+=" if ( "+l+e.util.getProperty(w)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "}if(c){n+=" && ( ";var j=S;if(j){var z,O=-1,k=j.length-1;while(O0||y===false:e.util.schemaHasRules(y,e.RULES.all)){n+=" "+h+" = true; if ( "+l+e.util.getProperty(w)+" !== undefined ";if(g){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(w)+"') "}n+=") { ";d.schema=y;d.schemaPath=o+e.util.getProperty(w);d.errSchemaPath=u+"/"+e.util.escapeFragment(w);n+=" "+e.validate(d)+" ";d.baseId=P;n+=" } ";if(c){n+=" if ("+h+") { ";f+="}"}}}if(c){n+=" "+f+" if ("+p+" == errors) {"}return n}},10163:e=>{"use strict";e.exports=function generate_enum(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h="i"+r,m="schema"+r;if(!d){n+=" var "+m+" = validate.schema"+o+";"}n+="var "+p+";";if(d){n+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"}n+=""+p+" = false;for (var "+h+"=0; "+h+"<"+m+".length; "+h+"++) if (equal("+l+", "+m+"["+h+"])) { "+p+" = true; break; }";if(d){n+=" } "}n+=" if (!"+p+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+r+" } ";if(e.opts.messages!==false){n+=" , message: 'should be equal to one of the allowed values' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var g=n;n=b.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+g+"]); "}else{n+=" validate.errors = ["+g+"]; return false; "}}else{n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" }";if(c){n+=" else { "}return n}},63847:e=>{"use strict";e.exports=function generate_format(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");if(e.opts.format===false){if(c){n+=" if (true) { "}return n}var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}var f=e.opts.unknownFormats,h=Array.isArray(f);if(p){var m="format"+r,b="isObject"+r,g="formatType"+r;n+=" var "+m+" = formats["+d+"]; var "+b+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+g+" = "+b+" && "+m+".type || 'string'; if ("+b+") { ";if(e.async){n+=" var async"+r+" = "+m+".async; "}n+=" "+m+" = "+m+".validate; } if ( ";if(p){n+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "}n+=" (";if(f!="ignore"){n+=" ("+d+" && !"+m+" ";if(h){n+=" && self._opts.unknownFormats.indexOf("+d+") == -1 "}n+=") || "}n+=" ("+m+" && "+g+" == '"+i+"' && !(typeof "+m+" == 'function' ? ";if(e.async){n+=" (async"+r+" ? await "+m+"("+l+") : "+m+"("+l+")) "}else{n+=" "+m+"("+l+") "}n+=" : "+m+".test("+l+"))))) {"}else{var m=e.formats[a];if(!m){if(f=="ignore"){e.logger.warn('unknown format "'+a+'" ignored in schema at path "'+e.errSchemaPath+'"');if(c){n+=" if (true) { "}return n}else if(h&&f.indexOf(a)>=0){if(c){n+=" if (true) { "}return n}else{throw new Error('unknown format "'+a+'" is used in schema at path "'+e.errSchemaPath+'"')}}var b=typeof m=="object"&&!(m instanceof RegExp)&&m.validate;var g=b&&m.type||"string";if(b){var y=m.async===true;m=m.validate}if(g!=i){if(c){n+=" if (true) { "}return n}if(y){if(!e.async)throw new Error("async format in sync schema");var S="formats"+e.util.getProperty(a)+".validate";n+=" if (!(await "+S+"("+l+"))) { "}else{n+=" if (! ";var S="formats"+e.util.getProperty(a);if(b)S+=".validate";if(typeof m=="function"){n+=" "+S+"("+l+") "}else{n+=" "+S+".test("+l+") "}n+=") { "}}var v=v||[];v.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ";if(p){n+=""+d}else{n+=""+e.util.toQuotedString(a)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match format \"";if(p){n+="' + "+d+" + '"}else{n+=""+e.util.escapeQuotes(a)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(a)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var w=n;n=v.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+w+"]); "}else{n+=" validate.errors = ["+w+"]; return false; "}}else{n+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}return n}},80862:e=>{"use strict";e.exports=function generate_if(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);f.level++;var h="valid"+f.level;var m=e.schema["then"],b=e.schema["else"],g=m!==undefined&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===false:e.util.schemaHasRules(m,e.RULES.all)),y=b!==undefined&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===false:e.util.schemaHasRules(b,e.RULES.all)),S=f.baseId;if(g||y){var v;f.createErrors=false;f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" var "+d+" = errors; var "+p+" = true; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=true;n+=" "+e.validate(f)+" ";f.baseId=S;f.createErrors=true;n+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } ";e.compositeRule=f.compositeRule=w;if(g){n+=" if ("+h+") { ";f.schema=e.schema["then"];f.schemaPath=e.schemaPath+".then";f.errSchemaPath=e.errSchemaPath+"/then";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+p+" = "+h+"; ";if(g&&y){v="ifClause"+r;n+=" var "+v+" = 'then'; "}else{v="'then'"}n+=" } ";if(y){n+=" else { "}}else{n+=" if (!"+h+") { "}if(y){f.schema=e.schema["else"];f.schemaPath=e.schemaPath+".else";f.errSchemaPath=e.errSchemaPath+"/else";n+=" "+e.validate(f)+" ";f.baseId=S;n+=" "+p+" = "+h+"; ";if(g&&y){v="ifClause"+r;n+=" var "+v+" = 'else'; "}else{v="'else'"}n+=" } "}n+=" if (!"+p+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+v+" } ";if(e.opts.messages!==false){n+=" , message: 'should match \"' + "+v+" + '\" schema' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+=" } ";if(c){n+=" else { "}}else{if(c){n+=" if (true) { "}}return n}},85810:(e,t,i)=>{"use strict";e.exports={$ref:i(42393),allOf:i(89443),anyOf:i(63093),$comment:i(30134),const:i(1661),contains:i(55964),dependencies:i(2591),enum:i(10163),format:i(63847),if:i(80862),items:i(54408),maximum:i(7404),minimum:i(7404),maxItems:i(64683),minItems:i(64683),maxLength:i(52114),minLength:i(52114),maxProperties:i(71142),minProperties:i(71142),multipleOf:i(39772),not:i(60750),oneOf:i(6106),pattern:i(13912),properties:i(52924),propertyNames:i(19195),required:i(8420),uniqueItems:i(24995),validate:i(49585)}},54408:e=>{"use strict";e.exports=function generate_items(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b="i"+r,g=f.dataLevel=e.dataLevel+1,y="data"+g,S=e.baseId;n+="var "+d+" = errors;var "+p+";";if(Array.isArray(a)){var v=e.schema.additionalItems;if(v===false){n+=" "+p+" = "+l+".length <= "+a.length+"; ";var w=u;u=e.errSchemaPath+"/additionalItems";n+=" if (!"+p+") { ";var j=j||[];j.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+a.length+" } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have more than "+a.length+" items' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var z=n;n=j.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+z+"]); "}else{n+=" validate.errors = ["+z+"]; return false; "}}else{n+=" var err = "+z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";u=w;if(c){h+="}";n+=" else { "}}var O=a;if(O){var k,C=-1,T=O.length-1;while(C0||k===false:e.util.schemaHasRules(k,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+C+") { ";var _=l+"["+C+"]";f.schema=k;f.schemaPath=o+"["+C+"]";f.errSchemaPath=u+"/"+C;f.errorPath=e.util.getPathExpr(e.errorPath,C,e.opts.jsonPointers,true);f.dataPathArr[g]=C;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}n+=" } ";if(c){n+=" if ("+m+") { ";h+="}"}}}}if(typeof v=="object"&&(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===false:e.util.schemaHasRules(v,e.RULES.all))){f.schema=v;f.schemaPath=e.schemaPath+".additionalItems";f.errSchemaPath=e.errSchemaPath+"/additionalItems";n+=" "+m+" = true; if ("+l+".length > "+a.length+") { for (var "+b+" = "+a.length+"; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var _=l+"["+b+"]";f.dataPathArr[g]=b;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}if(c){n+=" if (!"+m+") break; "}n+=" } } ";if(c){n+=" if ("+m+") { ";h+="}"}}}else if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){f.schema=a;f.schemaPath=o;f.errSchemaPath=u;n+=" for (var "+b+" = "+0+"; "+b+" < "+l+".length; "+b+"++) { ";f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,true);var _=l+"["+b+"]";f.dataPathArr[g]=b;var A=e.validate(f);f.baseId=S;if(e.util.varOccurences(A,y)<2){n+=" "+e.util.varReplace(A,y,_)+" "}else{n+=" var "+y+" = "+_+"; "+A+" "}if(c){n+=" if (!"+m+") break; "}n+=" }"}if(c){n+=" "+h+" if ("+d+" == errors) {"}return n}},39772:e=>{"use strict";e.exports=function generate_multipleOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}if(!(p||typeof a=="number")){throw new Error(t+" must be number")}n+="var division"+r+";if (";if(p){n+=" "+d+" !== undefined && ( typeof "+d+" != 'number' || "}n+=" (division"+r+" = "+l+" / "+d+", ";if(e.opts.multipleOfPrecision){n+=" Math.abs(Math.round(division"+r+") - division"+r+") > 1e-"+e.opts.multipleOfPrecision+" "}else{n+=" division"+r+" !== parseInt(division"+r+") "}n+=" ) ";if(p){n+=" ) "}n+=" ) { ";var f=f||[];f.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+d+" } ";if(e.opts.messages!==false){n+=" , message: 'should be multiple of ";if(p){n+="' + "+d}else{n+=""+d+"'"}}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var h=n;n=f.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+h+"]); "}else{n+=" validate.errors = ["+h+"]; return false; "}}else{n+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},60750:e=>{"use strict";e.exports=function generate_not(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);d.level++;var f="valid"+d.level;if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a;d.schemaPath=o;d.errSchemaPath=u;n+=" var "+p+" = errors; ";var h=e.compositeRule;e.compositeRule=d.compositeRule=true;d.createErrors=false;var m;if(d.opts.allErrors){m=d.opts.allErrors;d.opts.allErrors=false}n+=" "+e.validate(d)+" ";d.createErrors=true;if(m)d.opts.allErrors=m;e.compositeRule=d.compositeRule=h;n+=" if ("+f+") { ";var b=b||[];b.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var g=n;n=b.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+g+"]); "}else{n+=" validate.errors = ["+g+"]; return false; "}}else{n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ";if(e.opts.allErrors){n+=" } "}}else{n+=" var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'should NOT be valid' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(c){n+=" if (false) { "}}return n}},6106:e=>{"use strict";e.exports=function generate_oneOf(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d="errs__"+r;var f=e.util.copy(e);var h="";f.level++;var m="valid"+f.level;var b=f.baseId,g="prevValid"+r,y="passingSchemas"+r;n+="var "+d+" = errors , "+g+" = false , "+p+" = false , "+y+" = null; ";var S=e.compositeRule;e.compositeRule=f.compositeRule=true;var v=a;if(v){var w,j=-1,z=v.length-1;while(j0||w===false:e.util.schemaHasRules(w,e.RULES.all)){f.schema=w;f.schemaPath=o+"["+j+"]";f.errSchemaPath=u+"/"+j;n+=" "+e.validate(f)+" ";f.baseId=b}else{n+=" var "+m+" = true; "}if(j){n+=" if ("+m+" && "+g+") { "+p+" = false; "+y+" = ["+y+", "+j+"]; } else { ";h+="}"}n+=" if ("+m+") { "+p+" = "+g+" = true; "+y+" = "+j+"; }"}}e.compositeRule=f.compositeRule=S;n+=""+h+"if (!"+p+") { var err = ";if(e.createErrors!==false){n+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+y+" } ";if(e.opts.messages!==false){n+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(vErrors); "}else{n+=" validate.errors = vErrors; return false; "}}n+="} else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; }";if(e.opts.allErrors){n+=" } "}return n}},13912:e=>{"use strict";e.exports=function generate_pattern(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p=e.opts.$data&&a&&a.$data,d;if(p){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";d="schema"+r}else{d=a}var f=p?"(new RegExp("+d+"))":e.usePattern(a);n+="if ( ";if(p){n+=" ("+d+" !== undefined && typeof "+d+" != 'string') || "}n+=" !"+f+".test("+l+") ) { ";var h=h||[];h.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ";if(p){n+=""+d}else{n+=""+e.util.toQuotedString(a)}n+=" } ";if(e.opts.messages!==false){n+=" , message: 'should match pattern \"";if(p){n+="' + "+d+" + '"}else{n+=""+e.util.escapeQuotes(a)}n+="\"' "}if(e.opts.verbose){n+=" , schema: ";if(p){n+="validate.schema"+o}else{n+=""+e.util.toQuotedString(a)}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var m=n;n=h.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+m+"]); "}else{n+=" validate.errors = ["+m+"]; return false; "}}else{n+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+="} ";if(c){n+=" else { "}return n}},52924:e=>{"use strict";e.exports=function generate_properties(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;var m="key"+r,b="idx"+r,g=d.dataLevel=e.dataLevel+1,y="data"+g,S="dataProperties"+r;var v=Object.keys(a||{}).filter(notProto),w=e.schema.patternProperties||{},j=Object.keys(w).filter(notProto),z=e.schema.additionalProperties,O=v.length||j.length,k=z===false,C=typeof z=="object"&&Object.keys(z).length,T=e.opts.removeAdditional,_=k||C||T,A=e.opts.ownProperties,E=e.baseId;var R=e.schema.required;if(R&&!(e.opts.$data&&R.$data)&&R.length8){n+=" || validate.schema"+o+".hasOwnProperty("+m+") "}else{var N=v;if(N){var V,P=-1,M=N.length-1;while(P0||$===false:e.util.schemaHasRules($,e.RULES.all)){var ee=e.util.getProperty(V),W=l+ee,te=J&&$.default!==undefined;d.schema=$;d.schemaPath=o+ee;d.errSchemaPath=u+"/"+e.util.escapeFragment(V);d.errorPath=e.util.getPath(e.errorPath,V,e.opts.jsonPointers);d.dataPathArr[g]=e.util.toQuotedString(V);var F=e.validate(d);d.baseId=E;if(e.util.varOccurences(F,y)<2){F=e.util.varReplace(F,y,W);var ie=W}else{var ie=y;n+=" var "+y+" = "+W+"; "}if(te){n+=" "+F+" "}else{if(x&&x[V]){n+=" if ( "+ie+" === undefined ";if(A){n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=") { "+h+" = false; ";var L=e.errorPath,Q=u,ne=e.util.escapeQuotes(V);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(L,V,e.opts.jsonPointers)}u=e.errSchemaPath+"/required";var H=H||[];H.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+ne+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+ne+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var K=n;n=H.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+K+"]); "}else{n+=" validate.errors = ["+K+"]; return false; "}}else{n+=" var err = "+K+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}u=Q;e.errorPath=L;n+=" } else { "}else{if(c){n+=" if ( "+ie+" === undefined ";if(A){n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=") { "+h+" = true; } else { "}else{n+=" if ("+ie+" !== undefined ";if(A){n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(V)+"') "}n+=" ) { "}}n+=" "+F+" } "}}if(c){n+=" if ("+h+") { ";f+="}"}}}}if(j.length){var re=j;if(re){var I,se=-1,ae=re.length-1;while(se0||$===false:e.util.schemaHasRules($,e.RULES.all)){d.schema=$;d.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(I);d.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(I);if(A){n+=" "+S+" = "+S+" || Object.keys("+l+"); for (var "+b+"=0; "+b+"<"+S+".length; "+b+"++) { var "+m+" = "+S+"["+b+"]; "}else{n+=" for (var "+m+" in "+l+") { "}n+=" if ("+e.usePattern(I)+".test("+m+")) { ";d.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var W=l+"["+m+"]";d.dataPathArr[g]=m;var F=e.validate(d);d.baseId=E;if(e.util.varOccurences(F,y)<2){n+=" "+e.util.varReplace(F,y,W)+" "}else{n+=" var "+y+" = "+W+"; "+F+" "}if(c){n+=" if (!"+h+") break; "}n+=" } ";if(c){n+=" else "+h+" = true; "}n+=" } ";if(c){n+=" if ("+h+") { ";f+="}"}}}}}if(c){n+=" "+f+" if ("+p+" == errors) {"}return n}},19195:e=>{"use strict";e.exports=function generate_propertyNames(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="errs__"+r;var d=e.util.copy(e);var f="";d.level++;var h="valid"+d.level;n+="var "+p+" = errors;";if(e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0||a===false:e.util.schemaHasRules(a,e.RULES.all)){d.schema=a;d.schemaPath=o;d.errSchemaPath=u;var m="key"+r,b="idx"+r,g="i"+r,y="' + "+m+" + '",S=d.dataLevel=e.dataLevel+1,v="data"+S,w="dataProperties"+r,j=e.opts.ownProperties,z=e.baseId;if(j){n+=" var "+w+" = undefined; "}if(j){n+=" "+w+" = "+w+" || Object.keys("+l+"); for (var "+b+"=0; "+b+"<"+w+".length; "+b+"++) { var "+m+" = "+w+"["+b+"]; "}else{n+=" for (var "+m+" in "+l+") { "}n+=" var startErrs"+r+" = errors; ";var O=m;var k=e.compositeRule;e.compositeRule=d.compositeRule=true;var C=e.validate(d);d.baseId=z;if(e.util.varOccurences(C,v)<2){n+=" "+e.util.varReplace(C,v,O)+" "}else{n+=" var "+v+" = "+O+"; "+C+" "}e.compositeRule=d.compositeRule=k;n+=" if (!"+h+") { for (var "+g+"=startErrs"+r+"; "+g+"{"use strict";e.exports=function generate_ref(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.errSchemaPath+"/"+t;var u=!e.opts.allErrors;var c="data"+(s||"");var l="valid"+r;var p,d;if(a=="#"||a=="#/"){if(e.isRoot){p=e.async;d="validate"}else{p=e.root.schema.$async===true;d="root.refVal[0]"}}else{var f=e.resolveRef(e.baseId,a,e.isRoot);if(f===undefined){var h=e.MissingRefError.message(e.baseId,a);if(e.opts.missingRefs=="fail"){e.logger.error(h);var m=m||[];m.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(o)+" , params: { ref: '"+e.util.escapeQuotes(a)+"' } ";if(e.opts.messages!==false){n+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(a)+"' "}if(e.opts.verbose){n+=" , schema: "+e.util.toQuotedString(a)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "}n+=" } "}else{n+=" {} "}var b=n;n=m.pop();if(!e.compositeRule&&u){if(e.async){n+=" throw new ValidationError(["+b+"]); "}else{n+=" validate.errors = ["+b+"]; return false; "}}else{n+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(u){n+=" if (false) { "}}else if(e.opts.missingRefs=="ignore"){e.logger.warn(h);if(u){n+=" if (true) { "}}else{throw new e.MissingRefError(e.baseId,a,h)}}else if(f.inline){var g=e.util.copy(e);g.level++;var y="valid"+g.level;g.schema=f.schema;g.schemaPath="";g.errSchemaPath=a;var S=e.validate(g).replace(/validate\.schema/g,f.code);n+=" "+S+" ";if(u){n+=" if ("+y+") { "}}else{p=f.$async===true||e.async&&f.$async!==false;d=f.code}}if(d){var m=m||[];m.push(n);n="";if(e.opts.passContext){n+=" "+d+".call(this, "}else{n+=" "+d+"( "}n+=" "+c+", (dataPath || '')";if(e.errorPath!='""'){n+=" + "+e.errorPath}var v=s?"data"+(s-1||""):"parentData",w=s?e.dataPathArr[s]:"parentDataProperty";n+=" , "+v+" , "+w+", rootData) ";var j=n;n=m.pop();if(p){if(!e.async)throw new Error("async schema referenced by sync schema");if(u){n+=" var "+l+"; "}n+=" try { await "+j+"; ";if(u){n+=" "+l+" = true; "}n+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(u){n+=" "+l+" = false; "}n+=" } ";if(u){n+=" if ("+l+") { "}}else{n+=" if (!"+j+") { if (vErrors === null) vErrors = "+d+".errors; else vErrors = vErrors.concat("+d+".errors); errors = vErrors.length; } ";if(u){n+=" else { "}}}return n}},8420:e=>{"use strict";e.exports=function generate_required(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}var h="schema"+r;if(!d){if(a.length0||v===false:e.util.schemaHasRules(v,e.RULES.all)))){m[m.length]=g}}}}else{var m=a}}if(d||m.length){var w=e.errorPath,j=d||m.length>=e.opts.loopRequired,z=e.opts.ownProperties;if(c){n+=" var missing"+r+"; ";if(j){if(!d){n+=" var "+h+" = validate.schema"+o+"; "}var O="i"+r,k="schema"+r+"["+O+"]",C="' + "+k+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(w,k,e.opts.jsonPointers)}n+=" var "+p+" = true; ";if(d){n+=" if (schema"+r+" === undefined) "+p+" = true; else if (!Array.isArray(schema"+r+")) "+p+" = false; else {"}n+=" for (var "+O+" = 0; "+O+" < "+h+".length; "+O+"++) { "+p+" = "+l+"["+h+"["+O+"]] !== undefined ";if(z){n+=" && Object.prototype.hasOwnProperty.call("+l+", "+h+"["+O+"]) "}n+="; if (!"+p+") break; } ";if(d){n+=" } "}n+=" if (!"+p+") { ";var T=T||[];T.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+C+"' } ";if(e.opts.messages!==false){n+=" , message: '";if(e.opts._errorDataPathProperty){n+="is a required property"}else{n+="should have required property \\'"+C+"\\'"}n+="' "}if(e.opts.verbose){n+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var _=n;n=T.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+_+"]); "}else{n+=" validate.errors = ["+_+"]; return false; "}}else{n+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } else { "}else{n+=" if ( ";var A=m;if(A){var E,O=-1,R=A.length-1;while(O{"use strict";e.exports=function generate_uniqueItems(e,t,i){var n=" ";var r=e.level;var s=e.dataLevel;var a=e.schema[t];var o=e.schemaPath+e.util.getProperty(t);var u=e.errSchemaPath+"/"+t;var c=!e.opts.allErrors;var l="data"+(s||"");var p="valid"+r;var d=e.opts.$data&&a&&a.$data,f;if(d){n+=" var schema"+r+" = "+e.util.getData(a.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=a}if((a||d)&&e.opts.uniqueItems!==false){if(d){n+=" var "+p+"; if ("+f+" === false || "+f+" === undefined) "+p+" = true; else if (typeof "+f+" != 'boolean') "+p+" = false; else { "}n+=" var i = "+l+".length , "+p+" = true , j; if (i > 1) { ";var h=e.schema.items&&e.schema.items.type,m=Array.isArray(h);if(!h||h=="object"||h=="array"||m&&(h.indexOf("object")>=0||h.indexOf("array")>=0)){n+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+p+" = false; break outer; } } } "}else{n+=" var itemIndices = {}, item; for (;i--;) { var item = "+l+"[i]; ";var b="checkDataType"+(m?"s":"");n+=" if ("+e.util[b](h,"item",e.opts.strictNumbers,true)+") continue; ";if(m){n+=" if (typeof item == 'string') item = '\"' + item; "}n+=" if (typeof itemIndices[item] == 'number') { "+p+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}n+=" } ";if(d){n+=" } "}n+=" if (!"+p+") { ";var g=g||[];g.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){n+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){n+=" , schema: ";if(d){n+="validate.schema"+o}else{n+=""+a}n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}n+=" } "}else{n+=" {} "}var y=n;n=g.pop();if(!e.compositeRule&&c){if(e.async){n+=" throw new ValidationError(["+y+"]); "}else{n+=" validate.errors = ["+y+"]; return false; "}}else{n+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}n+=" } ";if(c){n+=" else { "}}else{if(c){n+=" if (true) { "}}return n}},49585:e=>{"use strict";e.exports=function generate_validate(e,t,i){var n="";var r=e.schema.$async===true,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),a=e.self._getId(e.schema);if(e.opts.strictKeywords){var o=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(o){var u="unknown keyword: "+o;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop){n+=" var validate = ";if(r){e.async=true;n+="async "}n+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(a&&(e.opts.sourceCode||e.opts.processCode)){n+=" "+("/*# sourceURL="+a+" */")+" "}}if(typeof e.schema=="boolean"||!(s||e.schema.$ref)){var t="false schema";var c=e.level;var l=e.dataLevel;var p=e.schema[t];var d=e.schemaPath+e.util.getProperty(t);var f=e.errSchemaPath+"/"+t;var h=!e.opts.allErrors;var m;var b="data"+(l||"");var g="valid"+c;if(e.schema===false){if(e.isTop){h=true}else{n+=" var "+g+" = false; "}var y=y||[];y.push(n);n="";if(e.createErrors!==false){n+=" { keyword: '"+(m||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ";if(e.opts.messages!==false){n+=" , message: 'boolean schema is false' "}if(e.opts.verbose){n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+b+" "}n+=" } "}else{n+=" {} "}var S=n;n=y.pop();if(!e.compositeRule&&h){if(e.async){n+=" throw new ValidationError(["+S+"]); "}else{n+=" validate.errors = ["+S+"]; return false; "}}else{n+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(r){n+=" return data; "}else{n+=" validate.errors = null; return true; "}}else{n+=" var "+g+" = true; "}}if(e.isTop){n+=" }; return validate; "}return n}if(e.isTop){var v=e.isTop,c=e.level=0,l=e.dataLevel=0,b="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[""];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}n+=" var vErrors = null; ";n+=" var errors = 0; ";n+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,l=e.dataLevel,b="data"+(l||"");if(a)e.baseId=e.resolve.url(e.baseId,a);if(r&&!e.async)throw new Error("async schema in sync schema");n+=" var errs_"+c+" = errors;"}var g="valid"+c,h=!e.opts.allErrors,j="",z="";var m;var O=e.schema.type,k=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===true){if(k){if(O.indexOf("null")==-1)O=O.concat("null")}else if(O!="null"){O=[O,"null"];k=true}}if(k&&O.length==1){O=O[0];k=false}if(e.schema.$ref&&s){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){s=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){n+=" "+e.RULES.all.$comment.code(e,"$comment")}if(O){if(e.opts.coerceTypes){var C=e.util.coerceToTypes(e.opts.coerceTypes,O)}var T=e.RULES.types[O];if(C||k||T===true||T&&!$shouldUseGroup(T)){var d=e.schemaPath+".type",f=e.errSchemaPath+"/type";var d=e.schemaPath+".type",f=e.errSchemaPath+"/type",_=k?"checkDataTypes":"checkDataType";n+=" if ("+e.util[_](O,b,e.opts.strictNumbers,true)+") { ";if(C){var A="dataType"+c,E="coerced"+c;n+=" var "+A+" = typeof "+b+"; var "+E+" = undefined; ";if(e.opts.coerceTypes=="array"){n+=" if ("+A+" == 'object' && Array.isArray("+b+") && "+b+".length == 1) { "+b+" = "+b+"[0]; "+A+" = typeof "+b+"; if ("+e.util.checkDataType(e.schema.type,b,e.opts.strictNumbers)+") "+E+" = "+b+"; } "}n+=" if ("+E+" !== undefined) ; ";var R=C;if(R){var x,N=-1,V=R.length-1;while(N{"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i;var r=i(5912);var s=i(10458);e.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(e,t){var i=this.RULES;if(i.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,true);var s=t.type;if(Array.isArray(s)){for(var a=0;a{e.exports={newInvalidAsn1Error:function(e){var t=new Error;t.name="InvalidAsn1Error";t.message=e||"";return t}}},194:(e,t,i)=>{var n=i(99348);var r=i(42473);var s=i(20290);var a=i(43200);e.exports={Reader:s,Writer:a};for(var o in r){if(r.hasOwnProperty(o))e.exports[o]=r[o]}for(var u in n){if(n.hasOwnProperty(u))e.exports[u]=n[u]}},20290:(e,t,i)=>{var n=i(42357);var r=i(15118).Buffer;var s=i(42473);var a=i(99348);var o=a.newInvalidAsn1Error;function Reader(e){if(!e||!r.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e;this._size=e.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=this._buf[this._offset]&255;if(!e)this._offset+=1;return t};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(e){if(e===undefined)e=this._offset;if(e>=this._size)return null;var t=this._buf[e++]&255;if(t===null)return null;if((t&128)===128){t&=127;if(t===0)throw o("Indefinite length not supported");if(t>4)throw o("encoding too long");if(this._size-ethis._size-n)return null;this._offset=n;if(this.length===0)return t?r.alloc(0):"";var a=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return t?a:a.toString("utf8")};Reader.prototype.readOID=function(e){if(!e)e=s.OID;var t=this.readString(e,true);if(t===null)return null;var i=[];var n=0;for(var r=0;r>0);return i.join(".")};Reader.prototype._readTag=function(e){n.ok(e!==undefined);var t=this.peek();if(t===null)return null;if(t!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var i=this.readLength(this._offset+1);if(i===null)return null;if(this.length>4)throw o("Integer too long: "+this.length);if(this.length>this._size-i)return null;this._offset=i;var r=this._buf[this._offset];var s=0;for(var a=0;a>0};e.exports=Reader},42473:e=>{e.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},43200:(e,t,i)=>{var n=i(42357);var r=i(15118).Buffer;var s=i(42473);var a=i(99348);var o=a.newInvalidAsn1Error;var u={size:1024,growthFactor:8};function merge(e,t){n.ok(e);n.equal(typeof e,"object");n.ok(t);n.equal(typeof t,"object");var i=Object.getOwnPropertyNames(e);i.forEach(function(i){if(t[i])return;var n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n)});return t}function Writer(e){e=merge(u,e||{});this._buf=r.alloc(e.size||1024);this._size=this._buf.length;this._offset=0;this._options=e;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw o(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=e};Writer.prototype.writeInt=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=s.Integer;var i=4;while(((e&4286578688)===0||(e&4286578688)===4286578688>>0)&&i>1){i--;e<<=8}if(i>4)throw o("BER ints cannot be > 0xffffffff");this._ensure(2+i);this._buf[this._offset++]=t;this._buf[this._offset++]=i;while(i-- >0){this._buf[this._offset++]=(e&4278190080)>>>24;e<<=8}};Writer.prototype.writeNull=function(){this.writeByte(s.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(e,t){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof t!=="number")t=s.Enumeration;return this.writeInt(e,t)};Writer.prototype.writeBoolean=function(e,t){if(typeof e!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof t!=="number")t=s.Boolean;this._ensure(3);this._buf[this._offset++]=t;this._buf[this._offset++]=1;this._buf[this._offset++]=e?255:0};Writer.prototype.writeString=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string (was: "+typeof e+")");if(typeof t!=="number")t=s.OctetString;var i=r.byteLength(e);this.writeByte(t);this.writeLength(i);if(i){this._ensure(i);this._buf.write(e,this._offset);this._offset+=i}};Writer.prototype.writeBuffer=function(e,t){if(typeof t!=="number")throw new TypeError("tag must be a number");if(!r.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(t);this.writeLength(e.length);this._ensure(e.length);e.copy(this._buf,this._offset,0,e.length);this._offset+=e.length};Writer.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})};Writer.prototype.writeOID=function(e,t){if(typeof e!=="string")throw new TypeError("argument must be a string");if(typeof t!=="number")t=s.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");function encodeOctet(e,t){if(t<128){e.push(t)}else if(t<16384){e.push(t>>>7|128);e.push(t&127)}else if(t<2097152){e.push(t>>>14|128);e.push((t>>>7|128)&255);e.push(t&127)}else if(t<268435456){e.push(t>>>21|128);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}else{e.push((t>>>28|128)&255);e.push((t>>>21|128)&255);e.push((t>>>14|128)&255);e.push((t>>>7|128)&255);e.push(t&127)}}var i=e.split(".");var n=[];n.push(parseInt(i[0],10)*40+parseInt(i[1],10));i.slice(2).forEach(function(e){encodeOctet(n,parseInt(e,10))});var r=this;this._ensure(2+n.length);this.writeByte(t);this.writeLength(n.length);n.forEach(function(e){r.writeByte(e)})};Writer.prototype.writeLength=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(e<=127){this._buf[this._offset++]=e}else if(e<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=e}else if(e<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else if(e<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=e>>16;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else{throw o("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(e){if(typeof e!=="number")e=s.Sequence|s.Constructor;this.writeByte(e);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var e=this._seq.pop();var t=e+3;var i=this._offset-t;if(i<=127){this._shift(t,i,-2);this._buf[e]=i}else if(i<=255){this._shift(t,i,-1);this._buf[e]=129;this._buf[e+1]=i}else if(i<=65535){this._buf[e]=130;this._buf[e+1]=i>>8;this._buf[e+2]=i}else if(i<=16777215){this._shift(t,i,1);this._buf[e]=131;this._buf[e+1]=i>>16;this._buf[e+2]=i>>8;this._buf[e+3]=i}else{throw o("Sequence too long")}};Writer.prototype._shift=function(e,t,i){n.ok(e!==undefined);n.ok(t!==undefined);n.ok(i);this._buf.copy(this._buf,e+i,e,e+t);this._offset+=i};Writer.prototype._ensure=function(e){n.ok(e);if(this._size-this._offset{var n=i(194);e.exports={Ber:n,BerReader:n.Reader,BerWriter:n.Writer}},66631:(e,t,i)=>{var n=i(42357);var r=i(92413).Stream;var s=i(31669);var a=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _toss(e,t,i,r,a){throw new n.AssertionError({message:s.format("%s (%s) is required",e,t),actual:a===undefined?typeof r:a(r),expected:t,operator:i||"===",stackStartFunction:_toss.caller})}function _getClass(e){return Object.prototype.toString.call(e).slice(8,-1)}function noop(){}var o={bool:{check:function(e){return typeof e==="boolean"}},func:{check:function(e){return typeof e==="function"}},string:{check:function(e){return typeof e==="string"}},object:{check:function(e){return typeof e==="object"&&e!==null}},number:{check:function(e){return typeof e==="number"&&!isNaN(e)}},finite:{check:function(e){return typeof e==="number"&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof r},operator:"instanceof",actual:_getClass},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:_getClass},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:_getClass},uuid:{check:function(e){return typeof e==="string"&&a.test(e)},operator:"isUUID"}};function _setExports(e){var t=Object.keys(o);var i;if(process.env.NODE_NDEBUG){i=noop}else{i=function(e,t){if(!e){_toss(t,"true",e)}}}t.forEach(function(t){if(e){i[t]=noop;return}var n=o[t];i[t]=function(e,i){if(!n.check(e)){_toss(i,t,n.operator,e,n.actual)}}});t.forEach(function(t){var n="optional"+_capitalize(t);if(e){i[n]=noop;return}var r=o[t];i[n]=function(e,i){if(e===undefined||e===null){return}if(!r.check(e)){_toss(i,t,r.operator,e,r.actual)}}});t.forEach(function(t){var n="arrayOf"+_capitalize(t);if(e){i[n]=noop;return}var r=o[t];var s="["+t+"]";i[n]=function(e,t){if(!Array.isArray(e)){_toss(t,s,r.operator,e,r.actual)}var i;for(i=0;i{e.exports={parallel:i(8210),serial:i(50445),serialOrdered:i(3578)}},1700:e=>{e.exports=abort;function abort(e){Object.keys(e.jobs).forEach(clean.bind(e));e.jobs={}}function clean(e){if(typeof this.jobs[e]=="function"){this.jobs[e]()}}},72794:(e,t,i)=>{var n=i(15295);e.exports=async;function async(e){var t=false;n(function(){t=true});return function async_callback(i,r){if(t){e(i,r)}else{n(function nextTick_callback(){e(i,r)})}}}},15295:e=>{e.exports=defer;function defer(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(t){t(e)}else{setTimeout(e,0)}}},9023:(e,t,i)=>{var n=i(72794),r=i(1700);e.exports=iterate;function iterate(e,t,i,n){var s=i["keyedList"]?i["keyedList"][i.index]:i.index;i.jobs[s]=runJob(t,s,e[s],function(e,t){if(!(s in i.jobs)){return}delete i.jobs[s];if(e){r(i)}else{i.results[s]=t}n(e,i.results)})}function runJob(e,t,i,r){var s;if(e.length==2){s=e(i,n(r))}else{s=e(i,t,n(r))}return s}},42474:e=>{e.exports=state;function state(e,t){var i=!Array.isArray(e),n={index:0,keyedList:i||t?Object.keys(e):null,jobs:{},results:i?{}:[],size:i?Object.keys(e).length:e.length};if(t){n.keyedList.sort(i?t:function(i,n){return t(e[i],e[n])})}return n}},37942:(e,t,i)=>{var n=i(1700),r=i(72794);e.exports=terminator;function terminator(e){if(!Object.keys(this.jobs).length){return}this.index=this.size;n(this);r(e)(null,this.results)}},8210:(e,t,i)=>{var n=i(9023),r=i(42474),s=i(37942);e.exports=parallel;function parallel(e,t,i){var a=r(e);while(a.index<(a["keyedList"]||e).length){n(e,t,a,function(e,t){if(e){i(e,t);return}if(Object.keys(a.jobs).length===0){i(null,a.results);return}});a.index++}return s.bind(a,i)}},50445:(e,t,i)=>{var n=i(3578);e.exports=serial;function serial(e,t,i){return n(e,t,null,i)}},3578:(e,t,i)=>{var n=i(9023),r=i(42474),s=i(37942);e.exports=serialOrdered;e.exports.ascending=ascending;e.exports.descending=descending;function serialOrdered(e,t,i,a){var o=r(e,i);n(e,t,o,function iteratorHandler(i,r){if(i){a(i,r);return}o.index++;if(o.index<(o["keyedList"]||e).length){n(e,t,o,iteratorHandler);return}a(null,o.results)});return s.bind(o,a)}function ascending(e,t){return et?1:0}function descending(e,t){return-1*ascending(e,t)}},96342:(e,t,i)=>{var n=i(76417),r=i(78835).parse;var s=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function authorization(e){return"AWS "+e.key+":"+sign(e)}e.exports=authorization;e.exports.authorization=authorization;function hmacSha1(e){return n.createHmac("sha1",e.secret).update(e.message).digest("base64")}e.exports.hmacSha1=hmacSha1;function sign(e){e.message=stringToSign(e);return hmacSha1(e)}e.exports.sign=sign;function signQuery(e){e.message=queryStringToSign(e);return hmacSha1(e)}e.exports.signQuery=signQuery;function stringToSign(e){var t=e.amazonHeaders||"";if(t)t+="\n";var i=[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource];return i.join("\n")}e.exports.stringToSign=stringToSign;function queryStringToSign(e){return"GET\n\n\n"+e.date+"\n"+e.resource}e.exports.queryStringToSign=queryStringToSign;function canonicalizeHeaders(e){var t=[],i=Object.keys(e);for(var n=0,r=i.length;n{var n=t,r=i(78835),s=i(71191),a=i(76417),o=i(74225),u=o(1e3);function hmac(e,t,i){return a.createHmac("sha256",e).update(t,"utf8").digest(i)}function hash(e,t){return a.createHash("sha256").update(e,"utf8").digest(t)}function encodeRfc3986(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function encodeRfc3986Full(e){return encodeRfc3986(encodeURIComponent(e))}var c={authorization:true,connection:true,"x-amzn-trace-id":true,"user-agent":true,expect:true,"presigned-expires":true,range:true};function RequestSigner(e,t){if(typeof e==="string")e=r.parse(e);var i=e.headers=e.headers||{},n=(!this.service||!this.region)&&this.matchHost(e.hostname||e.host||i.Host||i.host);this.request=e;this.credentials=t||this.defaultCredentials();this.service=e.service||n[0]||"";this.region=e.region||n[1]||"us-east-1";if(this.service==="email")this.service="ses";if(!e.method&&e.body)e.method="POST";if(!i.Host&&!i.host){i.Host=e.hostname||e.host||this.createHost();if(e.port)i.Host+=":"+e.port}if(!e.hostname&&!e.host)e.hostname=i.Host||i.host;this.isCodeCommitGit=this.service==="codecommit"&&e.method==="GIT"}RequestSigner.prototype.matchHost=function(e){var t=(e||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/);var i=(t||[]).slice(1,3);if(i[1]==="es")i=i.reverse();if(i[1]=="s3"){i[0]="s3";i[1]="us-east-1"}else{for(var n=0;n<2;n++){if(/^s3-/.test(i[n])){i[1]=i[n].slice(3);i[0]="s3";break}}}return i};RequestSigner.prototype.isSingleRegion=function(){if(["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1")return true;return["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0};RequestSigner.prototype.createHost=function(){var e=this.isSingleRegion()?"":"."+this.region,t=this.service==="ses"?"email":this.service;return t+e+".amazonaws.com"};RequestSigner.prototype.prepareRequest=function(){this.parsePath();var e=this.request,t=e.headers,i;if(e.signQuery){this.parsedPath.query=i=this.parsedPath.query||{};if(this.credentials.sessionToken)i["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!i["X-Amz-Expires"])i["X-Amz-Expires"]=86400;if(i["X-Amz-Date"])this.datetime=i["X-Amz-Date"];else i["X-Amz-Date"]=this.getDateTime();i["X-Amz-Algorithm"]="AWS4-HMAC-SHA256";i["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString();i["X-Amz-SignedHeaders"]=this.signedHeaders()}else{if(!e.doNotModifyHeaders&&!this.isCodeCommitGit){if(e.body&&!t["Content-Type"]&&!t["content-type"])t["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8";if(e.body&&!t["Content-Length"]&&!t["content-length"])t["Content-Length"]=Buffer.byteLength(e.body);if(this.credentials.sessionToken&&!t["X-Amz-Security-Token"]&&!t["x-amz-security-token"])t["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!t["X-Amz-Content-Sha256"]&&!t["x-amz-content-sha256"])t["X-Amz-Content-Sha256"]=hash(this.request.body||"","hex");if(t["X-Amz-Date"]||t["x-amz-date"])this.datetime=t["X-Amz-Date"]||t["x-amz-date"];else t["X-Amz-Date"]=this.getDateTime()}delete t.Authorization;delete t.authorization}};RequestSigner.prototype.sign=function(){if(!this.parsedPath)this.prepareRequest();if(this.request.signQuery){this.parsedPath.query["X-Amz-Signature"]=this.signature()}else{this.request.headers.Authorization=this.authHeader()}this.request.path=this.formatPath();return this.request};RequestSigner.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,"");if(this.isCodeCommitGit)this.datetime=this.datetime.slice(0,-1)}return this.datetime};RequestSigner.prototype.getDate=function(){return this.getDateTime().substr(0,8)};RequestSigner.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")};RequestSigner.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),i,n,r,s=u.get(t);if(!s){i=hmac("AWS4"+this.credentials.secretAccessKey,e);n=hmac(i,this.region);r=hmac(n,this.service);s=hmac(r,"aws4_request");u.set(t,s)}return hmac(s,this.stringToSign(),"hex")};RequestSigner.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),hash(this.canonicalString(),"hex")].join("\n")};RequestSigner.prototype.canonicalString=function(){if(!this.parsedPath)this.prepareRequest();var e=this.parsedPath.path,t=this.parsedPath.query,i=this.request.headers,n="",r=this.service!=="s3",s=this.service==="s3"||this.request.doNotEncodePath,a=this.service==="s3",o=this.service==="s3",u;if(this.service==="s3"&&this.request.signQuery){u="UNSIGNED-PAYLOAD"}else if(this.isCodeCommitGit){u=""}else{u=i["X-Amz-Content-Sha256"]||i["x-amz-content-sha256"]||hash(this.request.body||"","hex")}if(t){var c=Object.keys(t).reduce(function(e,i){if(!i)return e;e[encodeRfc3986Full(i)]=!Array.isArray(t[i])?t[i]:o?t[i][0]:t[i];return e},{});var l=[];Object.keys(c).sort().forEach(function(e){if(!Array.isArray(c[e])){l.push(e+"="+encodeRfc3986Full(c[e]))}else{c[e].map(encodeRfc3986Full).sort().forEach(function(t){l.push(e+"="+t)})}});n=l.join("&")}if(e!=="/"){if(r)e=e.replace(/\/{2,}/g,"/");e=e.split("/").reduce(function(e,t){if(r&&t===".."){e.pop()}else if(!r||t!=="."){if(s)t=decodeURIComponent(t.replace(/\+/g," "));e.push(encodeRfc3986Full(t))}return e},[]).join("/");if(e[0]!=="/")e="/"+e;if(a)e=e.replace(/%2F/g,"/")}return[this.request.method||"GET",e,n,this.canonicalHeaders()+"\n",this.signedHeaders(),u].join("\n")};RequestSigner.prototype.canonicalHeaders=function(){var e=this.request.headers;function trimAll(e){return e.toString().trim().replace(/\s+/g," ")}return Object.keys(e).filter(function(e){return c[e.toLowerCase()]==null}).sort(function(e,t){return e.toLowerCase()=0){i=s.parse(e.slice(t+1));e=e.slice(0,t)}this.parsedPath={path:e,query:i}};RequestSigner.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;if(!t)return e;if(t[""]!=null)delete t[""];return e+"?"+encodeRfc3986(s.stringify(t))};n.RequestSigner=RequestSigner;n.sign=function(e,t){return new RequestSigner(e,t).sign()}},74225:e=>{e.exports=function(e){return new LruCache(e)};function LruCache(e){this.capacity=e|0;this.map=Object.create(null);this.list=new DoublyLinkedList}LruCache.prototype.get=function(e){var t=this.map[e];if(t==null)return undefined;this.used(t);return t.val};LruCache.prototype.set=function(e,t){var i=this.map[e];if(i!=null){i.val=t}else{if(!this.capacity)this.prune();if(!this.capacity)return false;i=new DoublyLinkedNode(e,t);this.map[e]=i;this.capacity--}this.used(i);return true};LruCache.prototype.used=function(e){this.list.moveToFront(e)};LruCache.prototype.prune=function(){var e=this.list.pop();if(e!=null){delete this.map[e.key];this.capacity++}};function DoublyLinkedList(){this.firstNode=null;this.lastNode=null}DoublyLinkedList.prototype.moveToFront=function(e){if(this.firstNode==e)return;this.remove(e);if(this.firstNode==null){this.firstNode=e;this.lastNode=e;e.prev=null;e.next=null}else{e.prev=null;e.next=this.firstNode;e.next.prev=e;this.firstNode=e}};DoublyLinkedList.prototype.pop=function(){var e=this.lastNode;if(e!=null){this.remove(e)}return e};DoublyLinkedList.prototype.remove=function(e){if(this.firstNode==e){this.firstNode=e.next}else if(e.prev!=null){e.prev.next=e.next}if(this.lastNode==e){this.lastNode=e.prev}else if(e.next!=null){e.next.prev=e.prev}};function DoublyLinkedNode(e,t){this.key=e;this.val=t;this.prev=null;this.next=null}},9417:e=>{"use strict";e.exports=balanced;function balanced(e,t,i){if(e instanceof RegExp)e=maybeMatch(e,i);if(t instanceof RegExp)t=maybeMatch(t,i);var n=range(e,t,i);return n&&{start:n[0],end:n[1],pre:i.slice(0,n[0]),body:i.slice(n[0]+e.length,n[1]),post:i.slice(n[1]+t.length)}}function maybeMatch(e,t){var i=t.match(e);return i?i[0]:null}balanced.range=range;function range(e,t,i){var n,r,s,a,o;var u=i.indexOf(e);var c=i.indexOf(t,u+1);var l=u;if(u>=0&&c>0){n=[];s=i.length;while(l>=0&&!o){if(l==u){n.push(l);u=i.indexOf(e,l+1)}else if(n.length==1){o=[n.pop(),c]}else{r=n.pop();if(r=0?u:c}if(n.length){o=[s,a]}}return o}},45447:(e,t,i)=>{"use strict";var n=i(68729).lowlevel.crypto_hash;var r=0;var s=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])];this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};function F(e,t,i){return(e[0][t[i+3]]+e[1][t[i+2]]^e[2][t[i+1]])+e[3][t[i]]}s.prototype.encipher=function(e,t){if(t===undefined){t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset)}e[0]^=this.P[0];for(var i=1;i<16;i+=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i+1]}var n=e[0];e[0]=e[1]^this.P[17];e[1]=n};s.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);if(e.byteOffset!==0)t=t.subarray(e.byteOffset);e[0]^=this.P[17];for(var i=16;i>0;i-=2){e[1]^=F(this.S,t,0)^this.P[i];e[0]^=F(this.S,t,4)^this.P[i-1]}var n=e[0];e[0]=e[1]^this.P[0];e[1]=n};function stream2word(e,t){var i,n=0;for(i=0;i<4;i++,r++){if(r>=t)r=0;n=n<<8|e[r]}return n}s.prototype.expand0state=function(e,t){var i=new Uint32Array(2),n,s;var a=new Uint8Array(i.buffer);for(n=0,r=0;n<18;n++){this.P[n]^=stream2word(e,t)}r=0;for(n=0;n<18;n+=2){this.encipher(i,a);this.P[n]=i[0];this.P[n+1]=i[1]}for(n=0;n<4;n++){for(s=0;s<256;s+=2){this.encipher(i,a);this.S[n][s]=i[0];this.S[n][s+1]=i[1]}}};s.prototype.expandstate=function(e,t,i,n){var s=new Uint32Array(2),a,o;for(a=0,r=0;a<18;a++){this.P[a]^=stream2word(i,n)}for(a=0,r=0;a<18;a+=2){s[0]^=stream2word(e,t);s[1]^=stream2word(e,t);this.encipher(s);this.P[a]=s[0];this.P[a+1]=s[1]}for(a=0;a<4;a++){for(o=0;o<256;o+=2){s[0]^=stream2word(e,t);s[1]^=stream2word(e,t);this.encipher(s);this.S[a][o]=s[0];this.S[a][o+1]=s[1]}}r=0};s.prototype.enc=function(e,t){for(var i=0;i>>24;i[4*o+2]=r[o]>>>16;i[4*o+1]=r[o]>>>8;i[4*o+0]=r[o]}}function bcrypt_pbkdf(e,t,i,r,s,a,u){var c=new Uint8Array(64),l=new Uint8Array(64),p=new Uint8Array(o),d=new Uint8Array(o),f=new Uint8Array(r+4),h,m,b,g,y,S,v=a;if(u<1)return-1;if(t===0||r===0||a===0||a>p.byteLength*p.byteLength||r>1<<20)return-1;g=Math.floor((a+p.byteLength-1)/p.byteLength);b=Math.floor((a+g-1)/g);for(h=0;h0;S++){f[r+0]=S>>>24;f[r+1]=S>>>16;f[r+2]=S>>>8;f[r+3]=S;n(l,f,r+4);bcrypt_hash(c,l,d);for(h=p.byteLength;h--;)p[h]=d[h];for(h=1;h=v)break;s[y]=p[h]}a-=h}return 0}e.exports={BLOCKS:a,HASHSIZE:o,hash:bcrypt_hash,pbkdf:bcrypt_pbkdf}},83682:(e,t,i)=>{var n=i(44670);var r=i(5549);var s=i(6819);var a=Function.bind;var o=a.bind(a);function bindApi(e,t,i){var n=o(s,null).apply(null,i?[t,i]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach(function(n){var s=i?[t,n,i]:[t,n];e[n]=e.api[n]=o(r,null).apply(null,s)})}function HookSingular(){var e="h";var t={registry:{}};var i=n.bind(null,t,e);bindApi(i,t,e);return i}function HookCollection(){var e={registry:{}};var t=n.bind(null,e);bindApi(t,e);return t}var u=false;function Hook(){if(!u){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');u=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},5549:e=>{e.exports=addHook;function addHook(e,t,i,n){var r=n;if(!e.registry[i]){e.registry[i]=[]}if(t==="before"){n=function(e,t){return Promise.resolve().then(r.bind(null,t)).then(e.bind(null,t))}}if(t==="after"){n=function(e,t){var i;return Promise.resolve().then(e.bind(null,t)).then(function(e){i=e;return r(i,t)}).then(function(){return i})}}if(t==="error"){n=function(e,t){return Promise.resolve().then(e.bind(null,t)).catch(function(e){return r(e,t)})}}e.registry[i].push({hook:n,orig:r})}},44670:e=>{e.exports=register;function register(e,t,i,n){if(typeof i!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(function(t,i){return register.bind(null,e,i,t,n)},i)()}return Promise.resolve().then(function(){if(!e.registry[t]){return i(n)}return e.registry[t].reduce(function(e,t){return t.hook.bind(null,e,n)},i)()})}},6819:e=>{e.exports=removeHook;function removeHook(e,t,i){if(!e.registry[t]){return}var n=e.registry[t].map(function(e){return e.orig}).indexOf(i);if(n===-1){return}e.registry[t].splice(n,1)}},33717:(e,t,i)=>{var n=i(86891);var r=i(9417);e.exports=expandTop;var s="\0SLASH"+Math.random()+"\0";var a="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var u="\0COMMA"+Math.random()+"\0";var c="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(s).split("\\{").join(a).split("\\}").join(o).split("\\,").join(u).split("\\.").join(c)}function unescapeBraces(e){return e.split(s).join("\\").split(a).join("{").split(o).join("}").split(u).join(",").split(c).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var i=r("{","}",e);if(!i)return e.split(",");var n=i.pre;var s=i.body;var a=i.post;var o=n.split(",");o[o.length-1]+="{"+s+"}";var u=parseCommaParts(a);if(a.length){o[o.length-1]+=u.shift();o.push.apply(o,u)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var i=[];var s=r("{","}",e);if(!s||/\$$/.test(s.pre))return[e];var a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body);var u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body);var c=a||u;var l=s.body.indexOf(",")>=0;if(!c&&!l){if(s.post.match(/,.*\}/)){e=s.pre+"{"+s.body+o+s.post;return expand(e)}return[e]}var p;if(c){p=s.body.split(/\.\./)}else{p=parseCommaParts(s.body);if(p.length===1){p=expand(p[0],false).map(embrace);if(p.length===1){var d=s.post.length?expand(s.post,false):[""];return d.map(function(e){return s.pre+p[0]+e})}}}var f=s.pre;var d=s.post.length?expand(s.post,false):[""];var h;if(c){var m=numeric(p[0]);var b=numeric(p[1]);var g=Math.max(p[0].length,p[1].length);var y=p.length==3?Math.abs(numeric(p[2])):1;var S=lte;var v=b0){var k=new Array(O+1).join("0");if(j<0)z="-"+k+z.slice(1);else z=k+z}}}h.push(z)}}else{h=n(p,function(e){return expand(e,false)})}for(var C=0;C{var n=i(92413),r=i(31669),s=i(78213);e.exports=function(t,i){return e.exports.createStream(t,i)};e.exports.createStream=function(e,t){if(e){return createLineStream(e,t)}else{return new LineStream(t)}};e.exports.createLineStream=function(e){console.log("WARNING: byline#createLineStream is deprecated and will be removed soon");return createLineStream(e)};function createLineStream(e,t){if(!e){throw new Error("expected readStream")}if(!e.readable){throw new Error("readStream must be readable")}var i=new LineStream(t);e.pipe(i);return i}e.exports.LineStream=LineStream;function LineStream(e){n.Transform.call(this,e);e=e||{};this._readableState.objectMode=true;this._lineBuffer=[];this._keepEmptyLines=e.keepEmptyLines||false;this._lastChunkEndedWithCR=false;var t=this;this.on("pipe",function(e){if(!t.encoding){if(e instanceof n.Readable){t.encoding=e._readableState.encoding}}})}r.inherits(LineStream,n.Transform);LineStream.prototype._transform=function(e,t,i){t=t||"utf8";if(Buffer.isBuffer(e)){if(t=="buffer"){e=e.toString();t="utf8"}else{e=e.toString(t)}}this._chunkEncoding=t;var n=e.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/g);if(this._lastChunkEndedWithCR&&e[0]=="\n"){n.shift()}if(this._lineBuffer.length>0){this._lineBuffer[this._lineBuffer.length-1]+=n[0];n.shift()}this._lastChunkEndedWithCR=e[e.length-1]=="\r";this._lineBuffer=this._lineBuffer.concat(n);this._pushBuffer(t,1,i)};LineStream.prototype._pushBuffer=function(e,t,i){while(this._lineBuffer.length>t){var n=this._lineBuffer.shift();if(this._keepEmptyLines||n.length>0){if(!this.push(this._reencode(n,e))){var r=this;s.setImmediate(function(){r._pushBuffer(e,t,i)});return}}}i()};LineStream.prototype._flush=function(e){this._pushBuffer(this._chunkEncoding,0,e)};LineStream.prototype._reencode=function(e,t){if(this.encoding&&this.encoding!=t){return new Buffer(e,t).toString(this.encoding)}else if(this.encoding){return e}else{return new Buffer(e,t)}}},2286:(e,t,i)=>{"use strict";const{V4MAPPED:n,ADDRCONFIG:r,ALL:s,promises:{Resolver:a},lookup:o}=i(40881);const{promisify:u}=i(31669);const c=i(12087);const l=Symbol("cacheableLookupCreateConnection");const p=Symbol("cacheableLookupInstance");const d=Symbol("expires");const f=typeof s==="number";const h=e=>{if(!(e&&typeof e.createConnection==="function")){throw new Error("Expected an Agent instance as the first argument")}};const m=e=>{for(const t of e){if(t.family===6){continue}t.address=`::ffff:${t.address}`;t.family=6}};const b=()=>{let e=false;let t=false;for(const i of Object.values(c.networkInterfaces())){for(const n of i){if(n.internal){continue}if(n.family==="IPv6"){t=true}else{e=true}if(e&&t){return{has4:e,has6:t}}}}return{has4:e,has6:t}};const g=e=>{return Symbol.iterator in e};const y={ttl:true};const S={all:true};class CacheableLookup{constructor({cache:e=new Map,maxTtl:t=Infinity,fallbackDuration:i=3600,errorTtl:n=.15,resolver:r=new a,lookup:s=o}={}){this.maxTtl=t;this.errorTtl=n;this._cache=e;this._resolver=r;this._dnsLookup=u(s);if(this._resolver instanceof a){this._resolve4=this._resolver.resolve4.bind(this._resolver);this._resolve6=this._resolver.resolve6.bind(this._resolver)}else{this._resolve4=u(this._resolver.resolve4.bind(this._resolver));this._resolve6=u(this._resolver.resolve6.bind(this._resolver))}this._iface=b();this._pending={};this._nextRemovalTime=false;this._hostnamesToFallback=new Set;if(i<1){this._fallback=false}else{this._fallback=true;const e=setInterval(()=>{this._hostnamesToFallback.clear()},i*1e3);if(e.unref){e.unref()}}this.lookup=this.lookup.bind(this);this.lookupAsync=this.lookupAsync.bind(this)}set servers(e){this.clear();this._resolver.setServers(e)}get servers(){return this._resolver.getServers()}lookup(e,t,i){if(typeof t==="function"){i=t;t={}}else if(typeof t==="number"){t={family:t}}if(!i){throw new Error("Callback must be a function.")}this.lookupAsync(e,t).then(e=>{if(t.all){i(null,e)}else{i(null,e.address,e.family,e.expires,e.ttl)}},i)}async lookupAsync(e,t={}){if(typeof t==="number"){t={family:t}}let i=await this.query(e);if(t.family===6){const e=i.filter(e=>e.family===6);if(t.hints&n){if(f&&t.hints&s||e.length===0){m(i)}else{i=e}}else{i=e}}else if(t.family===4){i=i.filter(e=>e.family===4)}if(t.hints&r){const{_iface:e}=this;i=i.filter(t=>t.family===6?e.has6:e.has4)}if(i.length===0){const t=new Error(`cacheableLookup ENOTFOUND ${e}`);t.code="ENOTFOUND";t.hostname=e;throw t}if(t.all){return i}return i[0]}async query(e){let t=await this._cache.get(e);if(!t){const i=this._pending[e];if(i){t=await i}else{const i=this.queryAndCache(e);this._pending[e]=i;try{t=await i}finally{delete this._pending[e]}}}t=t.map(e=>{return{...e}});return t}async _resolve(e){const t=async e=>{try{return await e}catch(e){if(e.code==="ENODATA"||e.code==="ENOTFOUND"){return[]}throw e}};const[i,n]=await Promise.all([this._resolve4(e,y),this._resolve6(e,y)].map(e=>t(e)));let r=0;let s=0;let a=0;const o=Date.now();for(const e of i){e.family=4;e.expires=o+e.ttl*1e3;r=Math.max(r,e.ttl)}for(const e of n){e.family=6;e.expires=o+e.ttl*1e3;s=Math.max(s,e.ttl)}if(i.length>0){if(n.length>0){a=Math.min(r,s)}else{a=r}}else{a=s}return{entries:[...i,...n],cacheTtl:a}}async _lookup(e){try{const t=await this._dnsLookup(e,{all:true});return{entries:t,cacheTtl:0}}catch(e){return{entries:[],cacheTtl:0}}}async _set(e,t,i){if(this.maxTtl>0&&i>0){i=Math.min(i,this.maxTtl)*1e3;t[d]=Date.now()+i;try{await this._cache.set(e,t,i)}catch(e){this.lookupAsync=(async()=>{const t=new Error("Cache Error. Please recreate the CacheableLookup instance.");t.cause=e;throw t})}if(g(this._cache)){this._tick(i)}}}async queryAndCache(e){if(this._hostnamesToFallback.has(e)){return this._dnsLookup(e,S)}let t=await this._resolve(e);if(t.entries.length===0&&this._fallback){t=await this._lookup(e);if(t.entries.length!==0){this._hostnamesToFallback.add(e)}}const i=t.entries.length===0?this.errorTtl:t.cacheTtl;await this._set(e,t.entries,i);return t.entries}_tick(e){const t=this._nextRemovalTime;if(!t||e{this._nextRemovalTime=false;let e=Infinity;const t=Date.now();for(const[i,n]of this._cache){const r=n[d];if(t>=r){this._cache.delete(i)}else if(r{if(!("lookup"in t)){t.lookup=this.lookup}return e[l](t,i)})}uninstall(e){h(e);if(e[l]){if(e[p]!==this){throw new Error("The agent is not owned by this CacheableLookup instance")}e.createConnection=e[l];delete e[l];delete e[p]}}updateInterfaceInfo(){const{_iface:e}=this;this._iface=b();if(e.has4&&!this._iface.has4||e.has6&&!this._iface.has6){this._cache.clear()}}clear(e){if(e){this._cache.delete(e);return}this._cache.clear()}}e.exports=CacheableLookup;e.exports.default=CacheableLookup},78116:(e,t,i)=>{"use strict";const n=i(28614);const r=i(78835);const s=i(17952);const a=i(21766);const o=i(61002);const u=i(9004);const c=i(9662);const l=i(81312);const p=i(51531);class CacheableRequest{constructor(e,t){if(typeof e!=="function"){throw new TypeError("Parameter `request` must be a function")}this.cache=new p({uri:typeof t==="string"&&t,store:typeof t!=="string"&&t,namespace:"cacheable-request"});return this.createCacheableRequest(e)}createCacheableRequest(e){return(t,i)=>{let p;if(typeof t==="string"){p=normalizeUrlObject(r.parse(t));t={}}else if(t instanceof r.URL){p=normalizeUrlObject(r.parse(t.toString()));t={}}else{const[e,...i]=(t.path||"").split("?");const n=i.length>0?`?${i.join("?")}`:"";p=normalizeUrlObject({...t,pathname:e,search:n})}t={headers:{},method:"GET",cache:true,strictTtl:false,automaticFailover:false,...t,...urlObjectToRequestOptions(p)};t.headers=c(t.headers);const d=new n;const f=s(r.format(p),{stripWWW:false,removeTrailingSlash:false,stripAuthentication:false});const h=`${t.method}:${f}`;let m=false;let b=false;const g=t=>{b=true;let n=false;let r;const s=new Promise(e=>{r=(()=>{if(!n){n=true;e()}})});const c=e=>{if(m&&!t.forceRefresh){e.status=e.statusCode;const i=o.fromObject(m.cachePolicy).revalidatedPolicy(t,e);if(!i.modified){const t=i.policy.responseHeaders();e=new u(m.statusCode,t,m.body,m.url);e.cachePolicy=i.policy;e.fromCache=true}}if(!e.fromCache){e.cachePolicy=new o(t,e,t);e.fromCache=false}let r;if(t.cache&&e.cachePolicy.storable()){r=l(e);(async()=>{try{const i=a.buffer(e);await Promise.race([s,new Promise(t=>e.once("end",t))]);if(n){return}const r=await i;const o={cachePolicy:e.cachePolicy.toObject(),url:e.url,statusCode:e.fromCache?m.statusCode:e.statusCode,body:r};let u=t.strictTtl?e.cachePolicy.timeToLive():undefined;if(t.maxTtl){u=u?Math.min(u,t.maxTtl):t.maxTtl}await this.cache.set(h,o,u)}catch(e){d.emit("error",new CacheableRequest.CacheError(e))}})()}else if(t.cache&&m){(async()=>{try{await this.cache.delete(h)}catch(e){d.emit("error",new CacheableRequest.CacheError(e))}})()}d.emit("response",r||e);if(typeof i==="function"){i(r||e)}};try{const i=e(t,c);i.once("error",r);i.once("abort",r);d.emit("request",i)}catch(e){d.emit("error",new CacheableRequest.RequestError(e))}};(async()=>{const e=async e=>{await Promise.resolve();const t=e.cache?await this.cache.get(h):undefined;if(typeof t==="undefined"){return g(e)}const n=o.fromObject(t.cachePolicy);if(n.satisfiesWithoutRevalidation(e)&&!e.forceRefresh){const e=n.responseHeaders();const r=new u(t.statusCode,e,t.body,t.url);r.cachePolicy=n;r.fromCache=true;d.emit("response",r);if(typeof i==="function"){i(r)}}else{m=t;e.headers=n.revalidationHeaders(e);g(e)}};const n=e=>d.emit("error",new CacheableRequest.CacheError(e));this.cache.once("error",n);d.on("response",()=>this.cache.removeListener("error",n));try{await e(t)}catch(e){if(t.automaticFailover&&!b){g(t)}d.emit("error",new CacheableRequest.CacheError(e))}})();return d}}}function urlObjectToRequestOptions(e){const t={...e};t.path=`${e.pathname||"/"}${e.search||""}`;delete t.pathname;delete t.search;return t}function normalizeUrlObject(e){return{protocol:e.protocol,auth:e.auth,hostname:e.hostname||e.host||"localhost",port:e.port,pathname:e.pathname,search:e.search}}CacheableRequest.RequestError=class extends Error{constructor(e){super(e.message);this.name="RequestError";Object.assign(this,e)}};CacheableRequest.CacheError=class extends Error{constructor(e){super(e.message);this.name="CacheError";Object.assign(this,e)}};e.exports=CacheableRequest},35684:e=>{function Caseless(e){this.dict=e||{}}Caseless.prototype.set=function(e,t,i){if(typeof e==="object"){for(var n in e){this.set(n,e[n],t)}}else{if(typeof i==="undefined")i=true;var r=this.has(e);if(!i&&r)this.dict[r]=this.dict[r]+","+t;else this.dict[r||e]=t;return r}};Caseless.prototype.has=function(e){var t=Object.keys(this.dict),e=e.toLowerCase();for(var i=0;i{"use strict";const n=i(35747);const r=i(85622);const s=n.lchown?"lchown":"chown";const a=n.lchownSync?"lchownSync":"chownSync";const o=n.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/);const u=(e,t,i)=>{try{return n[a](e,t,i)}catch(e){if(e.code!=="ENOENT")throw e}};const c=(e,t,i)=>{try{return n.chownSync(e,t,i)}catch(e){if(e.code!=="ENOENT")throw e}};const l=o?(e,t,i,r)=>s=>{if(!s||s.code!=="EISDIR")r(s);else n.chown(e,t,i,r)}:(e,t,i,n)=>n;const p=o?(e,t,i)=>{try{return u(e,t,i)}catch(n){if(n.code!=="EISDIR")throw n;c(e,t,i)}}:(e,t,i)=>u(e,t,i);const d=process.version;let f=(e,t,i)=>n.readdir(e,t,i);let h=(e,t)=>n.readdirSync(e,t);if(/^v4\./.test(d))f=((e,t,i)=>n.readdir(e,i));const m=(e,t,i,r)=>{n[s](e,t,i,l(e,t,i,e=>{r(e&&e.code!=="ENOENT"?e:null)}))};const b=(e,t,i,s,a)=>{if(typeof t==="string")return n.lstat(r.resolve(e,t),(n,r)=>{if(n)return a(n.code!=="ENOENT"?n:null);r.name=t;b(e,r,i,s,a)});if(t.isDirectory()){g(r.resolve(e,t.name),i,s,n=>{if(n)return a(n);const o=r.resolve(e,t.name);m(o,i,s,a)})}else{const n=r.resolve(e,t.name);m(n,i,s,a)}};const g=(e,t,i,n)=>{f(e,{withFileTypes:true},(r,s)=>{if(r){if(r.code==="ENOENT")return n();else if(r.code!=="ENOTDIR"&&r.code!=="ENOTSUP")return n(r)}if(r||!s.length)return m(e,t,i,n);let a=s.length;let o=null;const u=r=>{if(o)return;if(r)return n(o=r);if(--a===0)return m(e,t,i,n)};s.forEach(n=>b(e,n,t,i,u))})};const y=(e,t,i,s)=>{if(typeof t==="string"){try{const i=n.lstatSync(r.resolve(e,t));i.name=t;t=i}catch(e){if(e.code==="ENOENT")return;else throw e}}if(t.isDirectory())S(r.resolve(e,t.name),i,s);p(r.resolve(e,t.name),i,s)};const S=(e,t,i)=>{let n;try{n=h(e,{withFileTypes:true})}catch(n){if(n.code==="ENOENT")return;else if(n.code==="ENOTDIR"||n.code==="ENOTSUP")return p(e,t,i);else throw n}if(n&&n.length)n.forEach(n=>y(e,n,t,i));return p(e,t,i)};e.exports=g;g.sync=S},27972:(e,t,i)=>{"use strict";const n=i(12087);const r=/\s+at.*(?:\(|\s)(.*)\)?/;const s=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/;const a=typeof n.homedir==="undefined"?"":n.homedir();e.exports=((e,t)=>{t=Object.assign({pretty:false},t);return e.replace(/\\/g,"/").split("\n").filter(e=>{const t=e.match(r);if(t===null||!t[1]){return true}const i=t[1];if(i.includes(".app/Contents/Resources/electron.asar")||i.includes(".app/Contents/Resources/default_app.asar")){return false}return!s.test(i)}).filter(e=>e.trim()!=="").map(e=>{if(t.pretty){return e.replace(r,(e,t)=>e.replace(t,t.replace(a,"~")))}return e}).join("\n")})},69372:e=>{"use strict";const t=["destroy","setTimeout","socket","headers","trailers","rawHeaders","statusCode","httpVersion","httpVersionMinor","httpVersionMajor","rawTrailers","statusMessage"];e.exports=((e,i)=>{const n=new Set(Object.keys(e).concat(t));for(const t of n){if(t in i){continue}i[t]=typeof e[t]==="function"?e[t].bind(e):e[t]}})},81312:(e,t,i)=>{"use strict";const n=i(92413).PassThrough;const r=i(69372);const s=e=>{if(!(e&&e.pipe)){throw new TypeError("Parameter `response` must be a response stream.")}const t=new n;r(e,t);return e.pipe(t)};e.exports=s},85443:(e,t,i)=>{var n=i(31669);var r=i(92413).Stream;var s=i(18611);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}n.inherits(CombinedStream,r);CombinedStream.create=function(e){var t=new this;e=e||{};for(var i in e){t[i]=e[i]}return t};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var t=CombinedStream.isStreamLike(e);if(t){if(!(e instanceof s)){var i=s.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=i}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,t){r.prototype.pipe.call(this,e,t);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var t=e;t(function(e){var t=CombinedStream.isStreamLike(e);if(t){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var t=CombinedStream.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var i=e;this.write(i);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){if(!t.dataSize){return}e.dataSize+=t.dataSize});if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},86891:e=>{e.exports=function(e,i){var n=[];for(var r=0;r{var i;function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}i=isArray;function isBoolean(e){return typeof e==="boolean"}i=isBoolean;function isNull(e){return e===null}i=isNull;function isNullOrUndefined(e){return e==null}i=isNullOrUndefined;function isNumber(e){return typeof e==="number"}i=isNumber;function isString(e){return typeof e==="string"}i=isString;function isSymbol(e){return typeof e==="symbol"}i=isSymbol;function isUndefined(e){return e===void 0}i=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}i=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}i=isObject;function isDate(e){return objectToString(e)==="[object Date]"}i=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.VZ=isError;function isFunction(e){return typeof e==="function"}i=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}i=isPrimitive;i=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},82391:(e,t,i)=>{"use strict";const{Transform:n,PassThrough:r}=i(92413);const s=i(78761);const a=i(42610);e.exports=(e=>{const t=(e.headers["content-encoding"]||"").toLowerCase();if(!["gzip","deflate","br"].includes(t)){return e}const i=t==="br";if(i&&typeof s.createBrotliDecompress!=="function"){e.destroy(new Error("Brotli is not supported on Node.js < 12"));return e}let o=true;const u=new n({transform(e,t,i){o=false;i(null,e)},flush(e){e()}});const c=new r({autoDestroy:false,destroy(t,i){e.destroy();i(t)}});const l=i?s.createBrotliDecompress():s.createUnzip();l.once("error",t=>{if(o&&!e.readable){c.end();return}c.destroy(t)});a(e,c);e.pipe(u).pipe(l).pipe(c);return c})},96214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function isTLSSocket(e){return e.encrypted}const i=(e,t)=>{let i;if(typeof t==="function"){const e=t;i={connect:e}}else{i=t}const n=typeof i.connect==="function";const r=typeof i.secureConnect==="function";const s=typeof i.close==="function";const a=()=>{if(n){i.connect()}if(isTLSSocket(e)&&r){if(e.authorized){i.secureConnect()}else if(!e.authorizationError){e.once("secureConnect",i.secureConnect)}}if(s){e.once("close",i.close)}};if(e.writable&&!e.connecting){a()}else if(e.connecting){e.once("connect",a)}else if(e.destroyed&&s){i.close(e._hadError)}};t.default=i;e.exports=i;e.exports.default=i},18611:(e,t,i)=>{var n=i(92413).Stream;var r=i(31669);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}r.inherits(DelayedStream,n);DelayedStream.create=function(e,t){var i=new this;t=t||{};for(var n in t){i[n]=t[n]}i.source=e;var r=e.emit;e.emit=function(){i._handleEmit(arguments);return r.apply(e,arguments)};e.on("error",function(){});if(i.pauseStream){e.pause()}return i};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=n.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},58932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class Deprecation extends Error{constructor(e){super(e);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}t.Deprecation=Deprecation},49865:(e,t,i)=>{var n=i(76417);var r=i(85587).BigInteger;var s=i(3943).ECPointFp;var a=i(15118).Buffer;t.ECCurves=i(41452);function unstupid(e,t){return e.length>=t?e:unstupid("0"+e,t)}t.ECKey=function(e,t,i){var s;var o=e();var u=o.getN();var c=Math.floor(u.bitLength()/8);if(t){if(i){var e=o.getCurve();this.P=e.decodePointHex(t.toString("hex"))}else{if(t.length!=c)return false;s=new r(t.toString("hex"),16)}}else{var l=u.subtract(r.ONE);var p=new r(n.randomBytes(u.bitLength()));s=p.mod(l).add(r.ONE);this.P=o.getG().multiply(s)}if(this.P){this.PublicKey=a.from(o.getCurve().encodeCompressedPointHex(this.P),"hex")}if(s){this.PrivateKey=a.from(unstupid(s.toString(16),c*2),"hex");this.deriveSharedSecret=function(e){if(!e||!e.P)return false;var t=e.P.multiply(s);return a.from(unstupid(t.getX().toBigInteger().toString(16),c*2),"hex")}}}},3943:(e,t,i)=>{var n=i(85587).BigInteger;var r=n.prototype.Barrett;function ECFieldElementFp(e,t){this.x=t;this.q=e}function feFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.x.equals(e.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(e){return new ECFieldElementFp(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function feFpSubtract(e){return new ECFieldElementFp(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function feFpMultiply(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}ECFieldElementFp.prototype.equals=feFpEquals;ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger;ECFieldElementFp.prototype.negate=feFpNegate;ECFieldElementFp.prototype.add=feFpAdd;ECFieldElementFp.prototype.subtract=feFpSubtract;ECFieldElementFp.prototype.multiply=feFpMultiply;ECFieldElementFp.prototype.square=feFpSquare;ECFieldElementFp.prototype.divide=feFpDivide;function ECPointFp(e,t,i,r){this.curve=e;this.x=t;this.y=i;if(r==null){this.z=n.ONE}else{this.z=r}this.zinv=null}function pointFpGetX(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.x.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpGetY(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.y.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpEquals(e){if(e==this)return true;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var t,i;t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);if(!t.equals(n.ZERO))return false;i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);return i.equals(n.ZERO)}function pointFpIsInfinity(){if(this.x==null&&this.y==null)return true;return this.z.equals(n.ZERO)&&!this.y.toBigInteger().equals(n.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);var i=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(n.ZERO.equals(i)){if(n.ZERO.equals(t)){return this.twice()}return this.curve.getInfinity()}var r=new n("3");var s=this.x.toBigInteger();var a=this.y.toBigInteger();var o=e.x.toBigInteger();var u=e.y.toBigInteger();var c=i.square();var l=c.multiply(i);var p=s.multiply(c);var d=t.square().multiply(this.z);var f=d.subtract(p.shiftLeft(1)).multiply(e.z).subtract(l).multiply(i).mod(this.curve.q);var h=p.multiply(r).multiply(t).subtract(a.multiply(l)).subtract(d.multiply(t)).multiply(e.z).add(t.multiply(l)).mod(this.curve.q);var m=l.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(f),this.curve.fromBigInteger(h),m)}function pointFpTwice(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var e=new n("3");var t=this.x.toBigInteger();var i=this.y.toBigInteger();var r=i.multiply(this.z);var s=r.multiply(i).mod(this.curve.q);var a=this.curve.a.toBigInteger();var o=t.square().multiply(e);if(!n.ZERO.equals(a)){o=o.add(this.z.square().multiply(a))}o=o.mod(this.curve.q);var u=o.square().subtract(t.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(r).mod(this.curve.q);var c=o.multiply(e).multiply(t).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(o.square().multiply(o)).mod(this.curve.q);var l=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(c),l)}function pointFpMultiply(e){if(this.isInfinity())return this;if(e.signum()==0)return this.curve.getInfinity();var t=e;var i=t.multiply(new n("3"));var r=this.negate();var s=this;var a;for(a=i.bitLength()-2;a>0;--a){s=s.twice();var o=i.testBit(a);var u=t.testBit(a);if(o!=u){s=s.add(o?this:r)}}return s}function pointFpMultiplyTwo(e,t,i){var n;if(e.bitLength()>i.bitLength())n=e.bitLength()-1;else n=i.bitLength()-1;var r=this.curve.getInfinity();var s=this.add(t);while(n>=0){r=r.twice();if(e.testBit(n)){if(i.testBit(n)){r=r.add(s)}else{r=r.add(this)}}else{if(i.testBit(n)){r=r.add(t)}}--n}return r}ECPointFp.prototype.getX=pointFpGetX;ECPointFp.prototype.getY=pointFpGetY;ECPointFp.prototype.equals=pointFpEquals;ECPointFp.prototype.isInfinity=pointFpIsInfinity;ECPointFp.prototype.negate=pointFpNegate;ECPointFp.prototype.add=pointFpAdd;ECPointFp.prototype.twice=pointFpTwice;ECPointFp.prototype.multiply=pointFpMultiply;ECPointFp.prototype.multiplyTwo=pointFpMultiplyTwo;function ECCurveFp(e,t,i){this.q=e;this.a=this.fromBigInteger(t);this.b=this.fromBigInteger(i);this.infinity=new ECPointFp(this,null,null);this.reducer=new r(this.q)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(e){return new ECFieldElementFp(this.q,e)}function curveReduce(e){this.reducer.reduce(e)}function curveFpDecodePointHex(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var t=(e.length-2)/2;var i=e.substr(2,t);var r=e.substr(t+2,t);return new ECPointFp(this,this.fromBigInteger(new n(i,16)),this.fromBigInteger(new n(r,16)));default:return null}}function curveFpEncodePointHex(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16);var i=e.getY().toBigInteger().toString(16);var n=this.getQ().toString(16).length;if(n%2!=0)n++;while(t.length128){var t=this.q.shiftRight(e-64);if(t.intValue()==-1){this.r=n.ONE.shiftLeft(e).subtract(this.q)}}return this.r};ECFieldElementFp.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))};ECFieldElementFp.prototype.modReduce=function(e){if(this.getR()!=null){var t=q.bitLength();while(e.bitLength()>t+1){var i=e.shiftRight(t);var r=e.subtract(i.shiftLeft(t));if(!this.getR().equals(n.ONE)){i=i.multiply(this.getR())}e=i.add(r)}while(e.compareTo(q)>=0){e=e.subtract(q)}}else{e=e.mod(q)}return e};ECFieldElementFp.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new ECFieldElementFp(this.q,this.x.modPow(this.q.shiftRight(2).add(n.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(n.ONE);var i=t.shiftRight(1);if(!this.x.modPow(i,this.q).equals(n.ONE)){return null}var r=t.shiftRight(2);var s=r.shiftLeft(1).add(n.ONE);var a=this.x;var o=modDouble(modDouble(a));var u,c;do{var l;do{l=new n(this.q.bitLength(),new SecureRandom)}while(l.compareTo(this.q)>=0||!l.multiply(l).subtract(o).modPow(i,this.q).equals(t));var p=this.lucasSequence(l,a,s);u=p[0];c=p[1];if(this.modMult(c,c).equals(o)){if(c.testBit(0)){c=c.add(q)}c=c.shiftRight(1);return new ECFieldElementFp(q,c)}}while(u.equals(n.ONE)||u.equals(t));return null};ECFieldElementFp.prototype.lucasSequence=function(e,t,i){var r=i.bitLength();var s=i.getLowestSetBit();var a=n.ONE;var o=n.TWO;var u=e;var c=n.ONE;var l=n.ONE;for(var p=r-1;p>=s+1;--p){c=this.modMult(c,l);if(i.testBit(p)){l=this.modMult(c,t);a=this.modMult(a,u);o=this.modReduce(u.multiply(o).subtract(e.multiply(c)));u=this.modReduce(u.multiply(u).subtract(l.shiftLeft(1)))}else{l=c;a=this.modReduce(a.multiply(o).subtract(c));u=this.modReduce(u.multiply(o).subtract(e.multiply(c)));o=this.modReduce(o.multiply(o).subtract(c.shiftLeft(1)))}}c=this.modMult(c,l);l=this.modMult(c,t);a=this.modReduce(a.multiply(o).subtract(c));o=this.modReduce(u.multiply(o).subtract(e.multiply(c)));c=this.modMult(c,l);for(var p=1;p<=s;++p){a=this.modMult(a,o);o=this.modReduce(o.multiply(o).subtract(c.shiftLeft(1)));c=this.modMult(c,c)}return[a,o]};var s={ECCurveFp:ECCurveFp,ECPointFp:ECPointFp,ECFieldElementFp:ECFieldElementFp};e.exports=s},41452:(e,t,i)=>{var n=i(85587).BigInteger;var r=i(3943).ECCurveFp;function X9ECParameters(e,t,i,n){this.curve=e;this.g=t;this.n=i;this.h=n}function x9getCurve(){return this.curve}function x9getG(){return this.g}function x9getN(){return this.n}function x9getH(){return this.h}X9ECParameters.prototype.getCurve=x9getCurve;X9ECParameters.prototype.getG=x9getG;X9ECParameters.prototype.getN=x9getN;X9ECParameters.prototype.getH=x9getH;function fromHex(e){return new n(e,16)}function secp128r1(){var e=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("E87579C11079F43DD824993C2CEE5ED3");var s=fromHex("FFFFFFFE0000000075A30D1B9038A115");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"161FF7528B899B2D0C28607CA52C5B86"+"CF5AC8395BAFEB13C02DA292DDED7A83");return new X9ECParameters(o,u,s,a)}function secp160k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73");var t=n.ZERO;var i=fromHex("7");var s=fromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB"+"938CF935318FDCED6BC28286531733C3F03C4FEE");return new X9ECParameters(o,u,s,a)}function secp160r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC");var i=fromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45");var s=fromHex("0100000000000000000001F4C8F927AED3CA752257");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"4A96B5688EF573284664698968C38BB913CBFC82"+"23A628553168947D59DCC912042351377AC5FB32");return new X9ECParameters(o,u,s,a)}function secp192k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37");var t=n.ZERO;var i=fromHex("3");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D"+"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new X9ECParameters(o,u,s,a)}function secp192r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC");var i=fromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012"+"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new X9ECParameters(o,u,s,a)}function secp224r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001");var t=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE");var i=fromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"+"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new X9ECParameters(o,u,s,a)}function secp256r1(){var e=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF");var t=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC");var i=fromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B");var s=fromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551");var a=n.ONE;var o=new r(e,t,i);var u=o.decodePointHex("04"+"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296"+"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new X9ECParameters(o,u,s,a)}function getSECCurveByName(e){if(e=="secp128r1")return secp128r1();if(e=="secp160k1")return secp160k1();if(e=="secp160r1")return secp160r1();if(e=="secp192k1")return secp192k1();if(e=="secp192r1")return secp192r1();if(e=="secp224r1")return secp224r1();if(e=="secp256r1")return secp256r1();return null}e.exports={secp128r1:secp128r1,secp160k1:secp160k1,secp160r1:secp160r1,secp192k1:secp192k1,secp192r1:secp192r1,secp224r1:secp224r1,secp256r1:secp256r1}},81205:(e,t,i)=>{var n=i(1223);var r=function(){};var s=function(e){return e.setHeader&&typeof e.abort==="function"};var a=function(e){return e.stdio&&Array.isArray(e.stdio)&&e.stdio.length===3};var o=function(e,t,i){if(typeof t==="function")return o(e,null,t);if(!t)t={};i=n(i||r);var u=e._writableState;var c=e._readableState;var l=t.readable||t.readable!==false&&e.readable;var p=t.writable||t.writable!==false&&e.writable;var d=false;var f=function(){if(!e.writable)h()};var h=function(){p=false;if(!l)i.call(e)};var m=function(){l=false;if(!p)i.call(e)};var b=function(t){i.call(e,t?new Error("exited with error code: "+t):null)};var g=function(t){i.call(e,t)};var y=function(){process.nextTick(S)};var S=function(){if(d)return;if(l&&!(c&&(c.ended&&!c.destroyed)))return i.call(e,new Error("premature close"));if(p&&!(u&&(u.ended&&!u.destroyed)))return i.call(e,new Error("premature close"))};var v=function(){e.req.on("finish",h)};if(s(e)){e.on("complete",h);e.on("abort",y);if(e.req)v();else e.on("request",v)}else if(p&&!u){e.on("end",f);e.on("close",f)}if(a(e))e.on("exit",b);e.on("end",m);e.on("finish",h);if(t.error!==false)e.on("error",g);e.on("close",y);return function(){d=true;e.removeListener("complete",h);e.removeListener("abort",y);e.removeListener("request",v);if(e.req)e.req.removeListener("finish",h);e.removeListener("end",f);e.removeListener("close",f);e.removeListener("finish",h);e.removeListener("exit",b);e.removeListener("end",m);e.removeListener("error",g);e.removeListener("close",y)}};e.exports=o},52997:e=>{"use strict";function assign(e,t){for(const i in t){Object.defineProperty(e,i,{value:t[i],enumerable:true,configurable:true})}return e}function createError(e,t,i){if(!e||typeof e==="string"){throw new TypeError("Please pass an Error to err-code")}if(!i){i={}}if(typeof t==="object"){i=t;t=undefined}if(t!=null){i.code=t}try{return assign(e,i)}catch(t){i.message=e.message;i.stack=e.stack;const n=function(){};n.prototype=Object.create(Object.getPrototypeOf(e));return assign(new n,i)}}e.exports=createError},55447:(e,t,i)=>{"use strict";const n=i(85622);const r=i(63129);const s=i(1678);const a=i(85515);const o=i(20502);const u=i(41554);const c=i(71336);const l=i(31330);const p=i(24931);const d=i(64689);const f=i(10166);const h=1e3*1e3*10;function handleArgs(e,t,i){let r;i=Object.assign({extendEnv:true,env:{}},i);if(i.extendEnv){i.env=Object.assign({},process.env,i.env)}if(i.__winShell===true){delete i.__winShell;r={command:e,args:t,options:i,file:e,original:{cmd:e,args:t}}}else{r=s._parse(e,t,i)}i=Object.assign({maxBuffer:h,buffer:true,stripEof:true,preferLocal:true,localDir:r.options.cwd||process.cwd(),encoding:"utf8",reject:true,cleanup:true},r.options);i.stdio=f(i);if(i.preferLocal){i.env=o.env(Object.assign({},i,{cwd:i.localDir}))}if(i.detached){i.cleanup=false}if(process.platform==="win32"&&n.basename(r.command)==="cmd.exe"){r.args.unshift("/q")}return{cmd:r.command,args:r.args,opts:i,parsed:r}}function handleInput(e,t){if(t===null||t===undefined){return}if(u(t)){t.pipe(e.stdin)}else{e.stdin.end(t)}}function handleOutput(e,t){if(t&&e.stripEof){t=a(t)}return t}function handleShell(e,t,i){let n="/bin/sh";let r=["-c",t];i=Object.assign({},i);if(process.platform==="win32"){i.__winShell=true;n=process.env.comspec||"cmd.exe";r=["/s","/c",`"${t}"`];i.windowsVerbatimArguments=true}if(i.shell){n=i.shell;delete i.shell}return e(n,r,i)}function getStream(e,t,{encoding:i,buffer:n,maxBuffer:r}){if(!e[t]){return null}let s;if(!n){s=new Promise((i,n)=>{e[t].once("end",i).once("error",n)})}else if(i){s=c(e[t],{encoding:i,maxBuffer:r})}else{s=c.buffer(e[t],{maxBuffer:r})}return s.catch(e=>{e.stream=t;e.message=`${t} ${e.message}`;throw e})}function makeError(e,t){const{stdout:i,stderr:n}=e;let r=e.error;const{code:s,signal:a}=e;const{parsed:o,joinedCmd:u}=t;const c=t.timedOut||false;if(!r){let e="";if(Array.isArray(o.opts.stdio)){if(o.opts.stdio[2]!=="inherit"){e+=e.length>0?n:`\n${n}`}if(o.opts.stdio[1]!=="inherit"){e+=`\n${i}`}}else if(o.opts.stdio!=="inherit"){e=`\n${n}${i}`}r=new Error(`Command failed: ${u}${e}`);r.code=s<0?d(s):s}r.stdout=i;r.stderr=n;r.failed=true;r.signal=a||null;r.cmd=u;r.timedOut=c;return r}function joinCmd(e,t){let i=e;if(Array.isArray(t)&&t.length>0){i+=" "+t.join(" ")}return i}e.exports=((e,t,i)=>{const n=handleArgs(e,t,i);const{encoding:a,buffer:o,maxBuffer:u}=n.opts;const c=joinCmd(e,t);let d;try{d=r.spawn(n.cmd,n.args,n.opts)}catch(e){return Promise.reject(e)}let f;if(n.opts.cleanup){f=p(()=>{d.kill()})}let h=null;let m=false;const b=()=>{if(h){clearTimeout(h);h=null}if(f){f()}};if(n.opts.timeout>0){h=setTimeout(()=>{h=null;m=true;d.kill(n.opts.killSignal)},n.opts.timeout)}const g=new Promise(e=>{d.on("exit",(t,i)=>{b();e({code:t,signal:i})});d.on("error",t=>{b();e({error:t})});if(d.stdin){d.stdin.on("error",t=>{b();e({error:t})})}});function destroy(){if(d.stdout){d.stdout.destroy()}if(d.stderr){d.stderr.destroy()}}const y=()=>l(Promise.all([g,getStream(d,"stdout",{encoding:a,buffer:o,maxBuffer:u}),getStream(d,"stderr",{encoding:a,buffer:o,maxBuffer:u})]).then(e=>{const t=e[0];t.stdout=e[1];t.stderr=e[2];if(t.error||t.code!==0||t.signal!==null){const e=makeError(t,{joinedCmd:c,parsed:n,timedOut:m});e.killed=e.killed||d.killed;if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,t.stdout),stderr:handleOutput(n.opts,t.stderr),code:0,failed:false,killed:false,signal:null,cmd:c,timedOut:false}}),destroy);s._enoent.hookChildProcess(d,n.parsed);handleInput(d,n.opts.input);d.then=((e,t)=>y().then(e,t));d.catch=(e=>y().catch(e));return d});e.exports.stdout=((...t)=>e.exports(...t).then(e=>e.stdout));e.exports.stderr=((...t)=>e.exports(...t).then(e=>e.stderr));e.exports.shell=((t,i)=>handleShell(e.exports,t,i));e.exports.sync=((e,t,i)=>{const n=handleArgs(e,t,i);const s=joinCmd(e,t);if(u(n.opts.input)){throw new TypeError("The `input` option cannot be a stream in sync mode")}const a=r.spawnSync(n.cmd,n.args,n.opts);a.code=a.status;if(a.error||a.status!==0||a.signal!==null){const e=makeError(a,{joinedCmd:s,parsed:n});if(!n.opts.reject){return e}throw e}return{stdout:handleOutput(n.opts,a.stdout),stderr:handleOutput(n.opts,a.stderr),code:0,failed:false,signal:null,cmd:s,timedOut:false}});e.exports.shellSync=((t,i)=>handleShell(e.exports.sync,t,i))},64689:(e,t,i)=>{"use strict";const n=i(31669);let r;if(typeof n.getSystemErrorName==="function"){e.exports=n.getSystemErrorName}else{try{r=process.binding("uv");if(typeof r.errname!=="function"){throw new TypeError("uv.errname is not a function")}}catch(e){console.error("execa/lib/errname: unable to establish process.binding('uv')",e);r=null}e.exports=(e=>errname(r,e))}e.exports.__test__=errname;function errname(e,t){if(e){return e.errname(t)}if(!(t<0)){throw new Error("err >= 0")}return`Unknown system error ${t}`}},10166:e=>{"use strict";const t=["stdin","stdout","stderr"];const i=e=>t.some(t=>Boolean(e[t]));e.exports=(e=>{if(!e){return null}if(e.stdio&&i(e)){throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${t.map(e=>`\`${e}\``).join(", ")}`)}if(typeof e.stdio==="string"){return e.stdio}const n=e.stdio||[];if(!Array.isArray(n)){throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof n}\``)}const r=[];const s=Math.max(n.length,t.length);for(let i=0;i{"use strict";const n=i(63129);const r=i(73756);const s=i(35419);function spawn(e,t,i){const a=r(e,t,i);const o=n.spawn(a.command,a.args,a.options);s.hookChildProcess(o,a);return o}function spawnSync(e,t,i){const a=r(e,t,i);const o=n.spawnSync(a.command,a.args,a.options);o.error=o.error||s.verifyENOENTSync(o.status,a);return o}e.exports=spawn;e.exports.spawn=spawn;e.exports.sync=spawnSync;e.exports._parse=r;e.exports._enoent=s},35419:e=>{"use strict";const t=process.platform==="win32";function notFoundError(e,t){return Object.assign(new Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function hookChildProcess(e,i){if(!t){return}const n=e.emit;e.emit=function(t,r){if(t==="exit"){const t=verifyENOENT(r,i,"spawn");if(t){return n.call(e,"error",t)}}return n.apply(e,arguments)}}function verifyENOENT(e,i){if(t&&e===1&&!i.file){return notFoundError(i.original,"spawn")}return null}function verifyENOENTSync(e,i){if(t&&e===1&&!i.file){return notFoundError(i.original,"spawnSync")}return null}e.exports={hookChildProcess:hookChildProcess,verifyENOENT:verifyENOENT,verifyENOENTSync:verifyENOENTSync,notFoundError:notFoundError}},73756:(e,t,i)=>{"use strict";const n=i(85622);const r=i(38560);const s=i(19727);const a=i(79482);const o=i(17295);const u=i(55232);const c=process.platform==="win32";const l=/\.(?:com|exe)$/i;const p=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;const d=r(()=>u.satisfies(process.version,"^4.8.0 || ^5.7.0 || >= 6.0.0",true))||false;function detectShebang(e){e.file=s(e);const t=e.file&&o(e.file);if(t){e.args.unshift(e.file);e.command=t;return s(e)}return e.file}function parseNonShell(e){if(!c){return e}const t=detectShebang(e);const i=!l.test(t);if(e.options.forceShell||i){const i=p.test(t);e.command=n.normalize(e.command);e.command=a.command(e.command);e.args=e.args.map(e=>a.argument(e,i));const r=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${r}"`];e.command=process.env.comspec||"cmd.exe";e.options.windowsVerbatimArguments=true}return e}function parseShell(e){if(d){return e}const t=[e.command].concat(e.args).join(" ");if(c){e.command=typeof e.options.shell==="string"?e.options.shell:process.env.comspec||"cmd.exe";e.args=["/d","/s","/c",`"${t}"`];e.options.windowsVerbatimArguments=true}else{if(typeof e.options.shell==="string"){e.command=e.options.shell}else if(process.platform==="android"){e.command="/system/bin/sh"}else{e.command="/bin/sh"}e.args=["-c",t]}return e}function parse(e,t,i){if(t&&!Array.isArray(t)){i=t;t=null}t=t?t.slice(0):[];i=Object.assign({},i);const n={command:e,args:t,options:i,file:undefined,original:{command:e,args:t}};return i.shell?parseShell(n):parseNonShell(n)}e.exports=parse},79482:e=>{"use strict";const t=/([()\][%!^"`<>&|;, *?])/g;function escapeCommand(e){e=e.replace(t,"^$1");return e}function escapeArgument(e,i){e=`${e}`;e=e.replace(/(\\*)"/g,'$1$1\\"');e=e.replace(/(\\*)$/,"$1$1");e=`"${e}"`;e=e.replace(t,"^$1");if(i){e=e.replace(t,"^$1")}return e}e.exports.command=escapeCommand;e.exports.argument=escapeArgument},17295:(e,t,i)=>{"use strict";const n=i(35747);const r=i(52665);function readShebang(e){const t=150;let i;if(Buffer.alloc){i=Buffer.alloc(t)}else{i=new Buffer(t);i.fill(0)}let s;try{s=n.openSync(e,"r");n.readSync(s,i,0,t,0);n.closeSync(s)}catch(e){}return r(i.toString())}e.exports=readShebang},19727:(e,t,i)=>{"use strict";const n=i(85622);const r=i(93008);const s=i(20539)();function resolveCommandAttempt(e,t){const i=process.cwd();const a=e.options.cwd!=null;if(a){try{process.chdir(e.options.cwd)}catch(e){}}let o;try{o=r.sync(e.command,{path:(e.options.env||process.env)[s],pathExt:t?n.delimiter:undefined})}catch(e){}finally{process.chdir(i)}if(o){o=n.resolve(a?e.options.cwd:"",o)}return o}function resolveCommand(e){return resolveCommandAttempt(e)||resolveCommandAttempt(e,true)}e.exports=resolveCommand},7740:(e,t,i)=>{"use strict";const{PassThrough:n}=i(92413);e.exports=(e=>{e=Object.assign({},e);const{array:t}=e;let{encoding:i}=e;const r=i==="buffer";let s=false;if(t){s=!(i||r)}else{i=i||"utf8"}if(r){i=null}let a=0;const o=[];const u=new n({objectMode:s});if(i){u.setEncoding(i)}u.on("data",e=>{o.push(e);if(s){a=o.length}else{a+=e.length}});u.getBufferedValue=(()=>{if(t){return o}return r?Buffer.concat(o,a):o.join("")});u.getBufferedLength=(()=>a);return u})},71336:(e,t,i)=>{"use strict";const n=i(18341);const r=i(7740);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t=Object.assign({maxBuffer:Infinity},t);const{maxBuffer:i}=t;let s;return new Promise((a,o)=>{const u=e=>{if(e){e.bufferedData=s.getBufferedValue()}o(e)};s=n(e,r(t),e=>{if(e){u(e);return}a()});s.on("data",()=>{if(s.getBufferedLength()>i){u(new MaxBufferError)}})}).then(()=>s.getBufferedValue())}e.exports=getStream;e.exports.buffer=((e,t)=>getStream(e,Object.assign({},t,{encoding:"buffer"})));e.exports.array=((e,t)=>getStream(e,Object.assign({},t,{array:true})));e.exports.MaxBufferError=MaxBufferError},55232:(e,t)=>{t=e.exports=SemVer;var i;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){i=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{i=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var n=256;var r=Number.MAX_SAFE_INTEGER||9007199254740991;var s=16;var a=t.re=[];var o=t.src=[];var u=0;var c=u++;o[c]="0|[1-9]\\d*";var l=u++;o[l]="[0-9]+";var p=u++;o[p]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var d=u++;o[d]="("+o[c]+")\\."+"("+o[c]+")\\."+"("+o[c]+")";var f=u++;o[f]="("+o[l]+")\\."+"("+o[l]+")\\."+"("+o[l]+")";var h=u++;o[h]="(?:"+o[c]+"|"+o[p]+")";var m=u++;o[m]="(?:"+o[l]+"|"+o[p]+")";var b=u++;o[b]="(?:-("+o[h]+"(?:\\."+o[h]+")*))";var g=u++;o[g]="(?:-?("+o[m]+"(?:\\."+o[m]+")*))";var y=u++;o[y]="[0-9A-Za-z-]+";var S=u++;o[S]="(?:\\+("+o[y]+"(?:\\."+o[y]+")*))";var v=u++;var w="v?"+o[d]+o[b]+"?"+o[S]+"?";o[v]="^"+w+"$";var j="[v=\\s]*"+o[f]+o[g]+"?"+o[S]+"?";var z=u++;o[z]="^"+j+"$";var O=u++;o[O]="((?:<|>)?=?)";var k=u++;o[k]=o[l]+"|x|X|\\*";var C=u++;o[C]=o[c]+"|x|X|\\*";var T=u++;o[T]="[v=\\s]*("+o[C]+")"+"(?:\\.("+o[C]+")"+"(?:\\.("+o[C]+")"+"(?:"+o[b]+")?"+o[S]+"?"+")?)?";var _=u++;o[_]="[v=\\s]*("+o[k]+")"+"(?:\\.("+o[k]+")"+"(?:\\.("+o[k]+")"+"(?:"+o[g]+")?"+o[S]+"?"+")?)?";var A=u++;o[A]="^"+o[O]+"\\s*"+o[T]+"$";var E=u++;o[E]="^"+o[O]+"\\s*"+o[_]+"$";var R=u++;o[R]="(?:^|[^\\d])"+"(\\d{1,"+s+"})"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:\\.(\\d{1,"+s+"}))?"+"(?:$|[^\\d])";var x=u++;o[x]="(?:~>?)";var N=u++;o[N]="(\\s*)"+o[x]+"\\s+";a[N]=new RegExp(o[N],"g");var V="$1~";var P=u++;o[P]="^"+o[x]+o[T]+"$";var M=u++;o[M]="^"+o[x]+o[_]+"$";var B=u++;o[B]="(?:\\^)";var I=u++;o[I]="(\\s*)"+o[B]+"\\s+";a[I]=new RegExp(o[I],"g");var D="$1^";var q=u++;o[q]="^"+o[B]+o[T]+"$";var L=u++;o[L]="^"+o[B]+o[_]+"$";var U=u++;o[U]="^"+o[O]+"\\s*("+j+")$|^$";var Q=u++;o[Q]="^"+o[O]+"\\s*("+w+")$|^$";var H=u++;o[H]="(\\s*)"+o[O]+"\\s*("+j+"|"+o[T]+")";a[H]=new RegExp(o[H],"g");var K="$1$2$3";var G=u++;o[G]="^\\s*("+o[T]+")"+"\\s+-\\s+"+"("+o[T]+")"+"\\s*$";var W=u++;o[W]="^\\s*("+o[_]+")"+"\\s+-\\s+"+"("+o[_]+")"+"\\s*$";var F=u++;o[F]="(<|>)?=?\\s*\\*";for(var J=0;Jn){return null}var i=t.loose?a[z]:a[v];if(!i.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var i=parse(e,t);return i?i.version:null}t.clean=clean;function clean(e,t){var i=parse(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>n){throw new TypeError("version is longer than "+n+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}i("SemVer",e,t);this.options=t;this.loose=!!t.loose;var s=e.trim().match(t.loose?a[z]:a[v]);if(!s){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+s[1];this.minor=+s[2];this.patch=+s[3];if(this.major>r||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>r||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>r||this.patch<0){throw new TypeError("Invalid patch version")}if(!s[4]){this.prerelease=[]}else{this.prerelease=s[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[i]==="number"){this.prerelease[i]++;i=-2}}if(i===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,i,n){if(typeof i==="string"){n=i;i=undefined}try{return new SemVer(e,i).inc(t,n).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var i=parse(e);var n=parse(t);var r="";if(i.prerelease.length||n.prerelease.length){r="pre";var s="prerelease"}for(var a in i){if(a==="major"||a==="minor"||a==="patch"){if(i[a]!==n[a]){return r+a}}}return s}}t.compareIdentifiers=compareIdentifiers;var Y=/^[0-9]+$/;function compareIdentifiers(e,t){var i=Y.test(e);var n=Y.test(t);if(i&&n){e=+e;t=+t}return e===t?0:i&&!n?-1:n&&!i?1:e0}t.lt=lt;function lt(e,t,i){return compare(e,t,i)<0}t.eq=eq;function eq(e,t,i){return compare(e,t,i)===0}t.neq=neq;function neq(e,t,i){return compare(e,t,i)!==0}t.gte=gte;function gte(e,t,i){return compare(e,t,i)>=0}t.lte=lte;function lte(e,t,i){return compare(e,t,i)<=0}t.cmp=cmp;function cmp(e,t,i,n){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e===i;case"!==":if(typeof e==="object")e=e.version;if(typeof i==="object")i=i.version;return e!==i;case"":case"=":case"==":return eq(e,i,n);case"!=":return neq(e,i,n);case">":return gt(e,i,n);case">=":return gte(e,i,n);case"<":return lt(e,i,n);case"<=":return lte(e,i,n);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}i("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===X){this.value=""}else{this.value=this.operator+this.semver.version}i("comp",this)}var X={};Comparator.prototype.parse=function(e){var t=this.options.loose?a[U]:a[Q];var i=e.match(t);if(!i){throw new TypeError("Invalid comparator: "+e)}this.operator=i[1];if(this.operator==="="){this.operator=""}if(!i[2]){this.semver=X}else{this.semver=new SemVer(i[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){i("Comparator.test",e,this.options.loose);if(this.semver===X){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var i;if(this.operator===""){i=new Range(e.value,t);return satisfies(this.value,i,t)}else if(e.operator===""){i=new Range(this.value,t);return satisfies(e.semver,i,t)}var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var r=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var s=this.semver.version===e.semver.version;var a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var o=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var u=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return n||r||s&&a||o||u};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length});if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var n=t?a[W]:a[G];e=e.replace(n,hyphenReplace);i("hyphen replace",e);e=e.replace(a[H],K);i("comparator trim",e,a[H]);e=e.replace(a[N],V);e=e.replace(a[I],D);e=e.split(/\s+/).join(" ");var r=t?a[U]:a[Q];var s=e.split(" ").map(function(e){return parseComparator(e,this.options)},this).join(" ").split(/\s+/);if(this.options.loose){s=s.filter(function(e){return!!e.match(r)})}s=s.map(function(e){return new Comparator(e,this.options)},this);return s};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some(function(i){return i.every(function(i){return e.set.some(function(e){return e.every(function(e){return i.intersects(e,t)})})})})};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function parseComparator(e,t){i("comp",e,t);e=replaceCarets(e,t);i("caret",e);e=replaceTildes(e,t);i("tildes",e);e=replaceXRanges(e,t);i("xrange",e);e=replaceStars(e,t);i("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map(function(e){return replaceTilde(e,t)}).join(" ")}function replaceTilde(e,t){var n=t.loose?a[M]:a[P];return e.replace(n,function(t,n,r,s,a){i("tilde",e,t,n,r,s,a);var o;if(isX(n)){o=""}else if(isX(r)){o=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){o=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"}else if(a){i("replaceTilde pr",a);o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+(+r+1)+".0"}else{o=">="+n+"."+r+"."+s+" <"+n+"."+(+r+1)+".0"}i("tilde return",o);return o})}function replaceCarets(e,t){return e.trim().split(/\s+/).map(function(e){return replaceCaret(e,t)}).join(" ")}function replaceCaret(e,t){i("caret",e,t);var n=t.loose?a[L]:a[q];return e.replace(n,function(t,n,r,s,a){i("caret",e,t,n,r,s,a);var o;if(isX(n)){o=""}else if(isX(r)){o=">="+n+".0.0 <"+(+n+1)+".0.0"}else if(isX(s)){if(n==="0"){o=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0"}else{o=">="+n+"."+r+".0 <"+(+n+1)+".0.0"}}else if(a){i("replaceCaret pr",a);if(n==="0"){if(r==="0"){o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+r+"."+(+s+1)}else{o=">="+n+"."+r+"."+s+"-"+a+" <"+n+"."+(+r+1)+".0"}}else{o=">="+n+"."+r+"."+s+"-"+a+" <"+(+n+1)+".0.0"}}else{i("no pr");if(n==="0"){if(r==="0"){o=">="+n+"."+r+"."+s+" <"+n+"."+r+"."+(+s+1)}else{o=">="+n+"."+r+"."+s+" <"+n+"."+(+r+1)+".0"}}else{o=">="+n+"."+r+"."+s+" <"+(+n+1)+".0.0"}}i("caret return",o);return o})}function replaceXRanges(e,t){i("replaceXRanges",e,t);return e.split(/\s+/).map(function(e){return replaceXRange(e,t)}).join(" ")}function replaceXRange(e,t){e=e.trim();var n=t.loose?a[E]:a[A];return e.replace(n,function(t,n,r,s,a,o){i("xRange",e,t,n,r,s,a,o);var u=isX(r);var c=u||isX(s);var l=c||isX(a);var p=l;if(n==="="&&p){n=""}if(u){if(n===">"||n==="<"){t="<0.0.0"}else{t="*"}}else if(n&&p){if(c){s=0}a=0;if(n===">"){n=">=";if(c){r=+r+1;s=0;a=0}else{s=+s+1;a=0}}else if(n==="<="){n="<";if(c){r=+r+1}else{s=+s+1}}t=n+r+"."+s+"."+a}else if(c){t=">="+r+".0.0 <"+(+r+1)+".0.0"}else if(l){t=">="+r+"."+s+".0 <"+r+"."+(+s+1)+".0"}i("xRange return",t);return t})}function replaceStars(e,t){i("replaceStars",e,t);return e.trim().replace(a[F],"")}function hyphenReplace(e,t,i,n,r,s,a,o,u,c,l,p,d){if(isX(i)){t=""}else if(isX(n)){t=">="+i+".0.0"}else if(isX(r)){t=">="+i+"."+n+".0"}else{t=">="+t}if(isX(u)){o=""}else if(isX(c)){o="<"+(+u+1)+".0.0"}else if(isX(l)){o="<"+u+"."+(+c+1)+".0"}else if(p){o="<="+u+"."+c+"."+l+"-"+p}else{o="<="+o}return(t+" "+o).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var s=e[r].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,i){try{t=new Range(t,i)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,i){var n=null;var r=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||r.compare(e)===-1){n=e;r=new SemVer(n,i)}}});return n}t.minSatisfying=minSatisfying;function minSatisfying(e,t,i){var n=null;var r=null;try{var s=new Range(t,i)}catch(e){return null}e.forEach(function(e){if(s.test(e)){if(!n||r.compare(e)===1){n=e;r=new SemVer(n,i)}}});return n}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var i=new SemVer("0.0.0");if(e.test(i)){return i}i=new SemVer("0.0.0-0");if(e.test(i)){return i}i=null;for(var n=0;n":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||gt(i,t)){i=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}if(i&&e.test(i)){return i}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,i){return outside(e,t,"<",i)}t.gtr=gtr;function gtr(e,t,i){return outside(e,t,">",i)}t.outside=outside;function outside(e,t,i,n){e=new SemVer(e,n);t=new Range(t,n);var r,s,a,o,u;switch(i){case">":r=gt;s=lte;a=lt;o=">";u=">=";break;case"<":r=lt;s=gte;a=gt;o="<";u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,n)){return false}for(var c=0;c=0.0.0")}p=p||e;d=d||e;if(r(e.semver,p.semver,n)){p=e}else if(a(e.semver,d.semver,n)){d=e}});if(p.operator===o||p.operator===u){return false}if((!d.operator||d.operator===o)&&s(e,d.semver)){return false}else if(d.operator===u&&a(e,d.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var i=parse(e,t);return i&&i.prerelease.length?i.prerelease:null}t.intersects=intersects;function intersects(e,t,i){e=new Range(e,i);t=new Range(t,i);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(a[R]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},52665:(e,t,i)=>{"use strict";var n=i(27433);e.exports=function(e){var t=e.match(n);if(!t){return null}var i=t[0].replace(/#! ?/,"").split(" ");var r=i[0].split("/").pop();var s=i[1];return r==="env"?s:r+(s?" "+s:"")}},27433:e=>{"use strict";e.exports=/^#!.*/},93008:(e,t,i)=>{e.exports=which;which.sync=whichSync;var n=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys";var r=i(85622);var s=n?";":":";var a=i(97126);function getNotFoundError(e){var t=new Error("not found: "+e);t.code="ENOENT";return t}function getPathInfo(e,t){var i=t.colon||s;var r=t.path||process.env.PATH||"";var a=[""];r=r.split(i);var o="";if(n){r.unshift(process.cwd());o=t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM";a=o.split(i);if(e.indexOf(".")!==-1&&a[0]!=="")a.unshift("")}if(e.match(/\//)||n&&e.match(/\\/))r=[""];return{env:r,ext:a,extExe:o}}function which(e,t,i){if(typeof t==="function"){i=t;t={}}var n=getPathInfo(e,t);var s=n.env;var o=n.ext;var u=n.extExe;var c=[];(function F(n,l){if(n===l){if(t.all&&c.length)return i(null,c);else return i(getNotFoundError(e))}var p=s[n];if(p.charAt(0)==='"'&&p.slice(-1)==='"')p=p.slice(1,-1);var d=r.join(p,e);if(!p&&/^\.[\\\/]/.test(e)){d=e.slice(0,2)+d}(function E(e,r){if(e===r)return F(n+1,l);var s=o[e];a(d+s,{pathExt:u},function(n,a){if(!n&&a){if(t.all)c.push(d+s);else return i(null,d+s)}return E(e+1,r)})})(0,o.length)})(0,s.length)}function whichSync(e,t){t=t||{};var i=getPathInfo(e,t);var n=i.env;var s=i.ext;var o=i.extExe;var u=[];for(var c=0,l=n.length;c{"use strict";var t=Object.prototype.hasOwnProperty;var i=Object.prototype.toString;var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var s=function isArray(e){if(typeof Array.isArray==="function"){return Array.isArray(e)}return i.call(e)==="[object Array]"};var a=function isPlainObject(e){if(!e||i.call(e)!=="[object Object]"){return false}var n=t.call(e,"constructor");var r=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r){return false}var s;for(s in e){}return typeof s==="undefined"||t.call(e,s)};var o=function setProperty(e,t){if(n&&t.name==="__proto__"){n(e,t.name,{enumerable:true,configurable:true,value:t.newValue,writable:true})}else{e[t.name]=t.newValue}};var u=function getProperty(e,i){if(i==="__proto__"){if(!t.call(e,i)){return void 0}else if(r){return r(e,i).value}}return e[i]};e.exports=function extend(){var e,t,i,n,r,c;var l=arguments[0];var p=1;var d=arguments.length;var f=false;if(typeof l==="boolean"){f=l;l=arguments[1]||{};p=2}if(l==null||typeof l!=="object"&&typeof l!=="function"){l={}}for(;p{var n=i(42357);var r=i(31669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var s=Array.prototype.slice.call(arguments,1);var a,o,u,c;var l,p,d,f,h;var m="";var b=1;n.equal("string",typeof e);while((h=i.exec(e))!==null){m+=h[1];e=e.substring(h[0].length);a=h[2]||"";o=h[3]||0;u=h[4]||"";c=h[6];l=false;d=false;p=" ";if(c=="%"){m+="%";continue}if(s.length===0)throw new Error("too few args to sprintf");f=s.shift();b++;if(a.match(/[\' #]/))throw new Error("unsupported flags: "+a);if(u.length>0)throw new Error("non-zero precision not supported");if(a.match(/-/))l=true;if(a.match(/0/))p="0";if(a.match(/\+/))d=true;switch(c){case"s":if(f===undefined||f===null)throw new Error("argument "+b+": attempted to print undefined or null "+"as a string");m+=doPad(p,o,l,f.toString());break;case"d":f=Math.floor(f);case"f":d=d&&f>0?"+":"";m+=d+doPad(p,o,l,f.toString());break;case"x":m+=doPad(p,o,l,f.toString(16));break;case"j":if(o===0)o=10;m+=r.inspect(f,false,o);break;case"r":m+=dumpException(f);break;default:throw new Error("unsupported conversion: "+c)}}m+=e;return m}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var r=n;while(r.length{"use strict";e.exports=function equal(e,t){if(e===t)return true;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return false;var i,n,r;if(Array.isArray(e)){i=e.length;if(i!=t.length)return false;for(n=i;n--!==0;)if(!equal(e[n],t[n]))return false;return true}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();r=Object.keys(e);i=r.length;if(i!==Object.keys(t).length)return false;for(n=i;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[n]))return false;for(n=i;n--!==0;){var s=r[n];if(!equal(e[s],t[s]))return false}return true}return e!==e&&t!==t}},30969:e=>{"use strict";e.exports=function(e,t){if(!t)t={};if(typeof t==="function")t={cmp:t};var i=typeof t.cycles==="boolean"?t.cycles:false;var n=t.cmp&&function(e){return function(t){return function(i,n){var r={key:i,value:t[i]};var s={key:n,value:t[n]};return e(r,s)}}}(t.cmp);var r=[];return function stringify(e){if(e&&e.toJSON&&typeof e.toJSON==="function"){e=e.toJSON()}if(e===undefined)return;if(typeof e=="number")return isFinite(e)?""+e:"null";if(typeof e!=="object")return JSON.stringify(e);var t,s;if(Array.isArray(e)){s="[";for(t=0;t{e.exports=ForeverAgent;ForeverAgent.SSL=ForeverAgentSSL;var n=i(31669),r=i(98605).Agent,s=i(11631),a=i(4016),o=i(57211).Agent;function getConnectionName(e,t){var i="";if(typeof e==="string"){i=e+":"+t}else{i=e.host+":"+e.port+":"+(e.localAddress?e.localAddress+":":":")}return i}function ForeverAgent(e){var t=this;t.options=e||{};t.requests={};t.sockets={};t.freeSockets={};t.maxSockets=t.options.maxSockets||r.defaultMaxSockets;t.minSockets=t.options.minSockets||ForeverAgent.defaultMinSockets;t.on("free",function(e,i,n){var r=getConnectionName(i,n);if(t.requests[r]&&t.requests[r].length){t.requests[r].shift().onSocket(e)}else if(t.sockets[r].length0&&!e.useChunkedEncodingByDefault){var s=this.freeSockets[n].pop();s.removeListener("error",s._onIdleError);delete s._onIdleError;e._reusedSocket=true;e.onSocket(s)}else{this.addRequestNoreuse(e,t,i)}};ForeverAgent.prototype.removeSocket=function(e,t,i,n){if(this.sockets[t]){var r=this.sockets[t].indexOf(e);if(r!==-1){this.sockets[t].splice(r,1)}}else if(this.sockets[t]&&this.sockets[t].length===0){delete this.sockets[t];delete this.requests[t]}if(this.freeSockets[t]){var r=this.freeSockets[t].indexOf(e);if(r!==-1){this.freeSockets[t].splice(r,1);if(this.freeSockets[t].length===0){delete this.freeSockets[t]}}}if(this.requests[t]&&this.requests[t].length){this.createSocket(t,i,n).emit("free")}};function ForeverAgentSSL(e){ForeverAgent.call(this,e)}n.inherits(ForeverAgentSSL,ForeverAgent);ForeverAgentSSL.prototype.createConnection=createConnectionSSL;ForeverAgentSSL.prototype.addRequestNoreuse=o.prototype.addRequest;function createConnectionSSL(e,t,i){if(typeof e==="object"){i=e}else if(typeof t==="object"){i=t}else if(typeof i==="object"){i=i}else{i={}}if(typeof e==="number"){i.port=e}if(typeof t==="string"){i.host=t}return a.connect(i)}},27714:(e,t,i)=>{"use strict";const n=i(41077);const r=i(28614).EventEmitter;const s=i(35747);let a=s.writev;if(!a){const e=process.binding("fs");const t=e.FSReqWrap||e.FSReqCallback;a=((i,n,r,s)=>{const a=(e,t)=>s(e,t,n);const o=new t;o.oncomplete=a;e.writeBuffers(i,n,r,o)})}const o=Symbol("_autoClose");const u=Symbol("_close");const c=Symbol("_ended");const l=Symbol("_fd");const p=Symbol("_finished");const d=Symbol("_flags");const f=Symbol("_flush");const h=Symbol("_handleChunk");const m=Symbol("_makeBuf");const b=Symbol("_mode");const g=Symbol("_needDrain");const y=Symbol("_onerror");const S=Symbol("_onopen");const v=Symbol("_onread");const w=Symbol("_onwrite");const j=Symbol("_open");const z=Symbol("_path");const O=Symbol("_pos");const k=Symbol("_queue");const C=Symbol("_read");const T=Symbol("_readSize");const _=Symbol("_reading");const A=Symbol("_remain");const E=Symbol("_size");const R=Symbol("_write");const x=Symbol("_writing");const N=Symbol("_defaultFlag");const V=Symbol("_errored");class ReadStream extends n{constructor(e,t){t=t||{};super(t);this.readable=true;this.writable=false;if(typeof e!=="string")throw new TypeError("path must be a string");this[V]=false;this[l]=typeof t.fd==="number"?t.fd:null;this[z]=e;this[T]=t.readSize||16*1024*1024;this[_]=false;this[E]=typeof t.size==="number"?t.size:Infinity;this[A]=this[E];this[o]=typeof t.autoClose==="boolean"?t.autoClose:true;if(typeof this[l]==="number")this[C]();else this[j]()}get fd(){return this[l]}get path(){return this[z]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[j](){s.open(this[z],"r",(e,t)=>this[S](e,t))}[S](e,t){if(e)this[y](e);else{this[l]=t;this.emit("open",t);this[C]()}}[m](){return Buffer.allocUnsafe(Math.min(this[T],this[A]))}[C](){if(!this[_]){this[_]=true;const e=this[m]();if(e.length===0)return process.nextTick(()=>this[v](null,0,e));s.read(this[l],e,0,e.length,null,(e,t,i)=>this[v](e,t,i))}}[v](e,t,i){this[_]=false;if(e)this[y](e);else if(this[h](t,i))this[C]()}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.close(e,e=>e?this.emit("error",e):this.emit("close"))}}[y](e){this[_]=true;this[u]();this.emit("error",e)}[h](e,t){let i=false;this[A]-=e;if(e>0)i=super.write(ethis[S](e,t))}[S](e,t){if(this[N]&&this[d]==="r+"&&e&&e.code==="ENOENT"){this[d]="w";this[j]()}else if(e)this[y](e);else{this[l]=t;this.emit("open",t);this[f]()}}end(e,t){if(e)this.write(e,t);this[c]=true;if(!this[x]&&!this[k].length&&typeof this[l]==="number")this[w](null,0);return this}write(e,t){if(typeof e==="string")e=Buffer.from(e,t);if(this[c]){this.emit("error",new Error("write() after end()"));return false}if(this[l]===null||this[x]||this[k].length){this[k].push(e);this[g]=true;return false}this[x]=true;this[R](e);return true}[R](e){s.write(this[l],e,0,e.length,this[O],(e,t)=>this[w](e,t))}[w](e,t){if(e)this[y](e);else{if(this[O]!==null)this[O]+=t;if(this[k].length)this[f]();else{this[x]=false;if(this[c]&&!this[p]){this[p]=true;this[u]();this.emit("finish")}else if(this[g]){this[g]=false;this.emit("drain")}}}}[f](){if(this[k].length===0){if(this[c])this[w](null,0)}else if(this[k].length===1)this[R](this[k].pop());else{const e=this[k];this[k]=[];a(this[l],e,this[O],(e,t)=>this[w](e,t))}}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.close(e,e=>e?this.emit("error",e):this.emit("close"))}}}class WriteStreamSync extends WriteStream{[j](){let e;if(this[N]&&this[d]==="r+"){try{e=s.openSync(this[z],this[d],this[b])}catch(e){if(e.code==="ENOENT"){this[d]="w";return this[j]()}else throw e}}else e=s.openSync(this[z],this[d],this[b]);this[S](null,e)}[u](){if(this[o]&&typeof this[l]==="number"){const e=this[l];this[l]=null;s.closeSync(e);this.emit("close")}}[R](e){let t=true;try{this[w](null,s.writeSync(this[l],e,0,e.length,this[O]));t=false}finally{if(t)try{this[u]()}catch(e){}}}}t.ReadStream=ReadStream;t.ReadStreamSync=ReadStreamSync;t.WriteStream=WriteStream;t.WriteStreamSync=WriteStreamSync},46863:(e,t,i)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var n=i(35747);var r=n.realpath;var s=n.realpathSync;var a=process.version;var o=/^v[0-5]\./.test(a);var u=i(71734);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,i){if(o){return r(e,t,i)}if(typeof t==="function"){i=t;t=null}r(e,t,function(n,r){if(newError(n)){u.realpath(e,t,i)}else{i(n,r)}})}function realpathSync(e,t){if(o){return s(e,t)}try{return s(e,t)}catch(i){if(newError(i)){return u.realpathSync(e,t)}else{throw i}}}function monkeypatch(){n.realpath=realpath;n.realpathSync=realpathSync}function unmonkeypatch(){n.realpath=r;n.realpathSync=s}},71734:(e,t,i)=>{var n=i(85622);var r=process.platform==="win32";var s=i(35747);var a=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(a){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=n.normalize;if(r){var u=/(.*?)(?:[\/\\]+|$)/g}else{var u=/(.*?)(?:[\/]+|$)/g}if(r){var c=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var c=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=n.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var i=e,a={},o={};var l;var p;var d;var f;start();function start(){var t=c.exec(e);l=t[0].length;p=t[0];d=t[0];f="";if(r&&!o[d]){s.lstatSync(d);o[d]=true}}while(l=e.length){if(t)t[a]=e;return i(null,e)}u.lastIndex=p;var n=u.exec(e);h=d;d+=n[0];f=h+n[1];p=u.lastIndex;if(l[f]||t&&t[f]===f){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,f)){return gotResolvedLink(t[f])}return s.lstat(f,gotStat)}function gotStat(e,n){if(e)return i(e);if(!n.isSymbolicLink()){l[f]=true;if(t)t[f]=f;return process.nextTick(LOOP)}if(!r){var a=n.dev.toString(32)+":"+n.ino.toString(32);if(o.hasOwnProperty(a)){return gotTarget(null,o[a],f)}}s.stat(f,function(e){if(e)return i(e);s.readlink(f,function(e,t){if(!r)o[a]=t;gotTarget(e,t)})})}function gotTarget(e,r,s){if(e)return i(e);var a=n.resolve(h,r);if(t)t[s]=a;gotResolvedLink(a)}function gotResolvedLink(t){e=n.resolve(t,e.slice(p));start()}}},91585:(e,t,i)=>{"use strict";const{PassThrough:n}=i(92413);e.exports=(e=>{e={...e};const{array:t}=e;let{encoding:i}=e;const r=i==="buffer";let s=false;if(t){s=!(i||r)}else{i=i||"utf8"}if(r){i=null}const a=new n({objectMode:s});if(i){a.setEncoding(i)}let o=0;const u=[];a.on("data",e=>{u.push(e);if(s){o=u.length}else{o+=e.length}});a.getBufferedValue=(()=>{if(t){return u}return r?Buffer.concat(u,o):u.join("")});a.getBufferedLength=(()=>o);return a})},21766:(e,t,i)=>{"use strict";const{constants:n}=i(64293);const r=i(18341);const s=i(91585);class MaxBufferError extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function getStream(e,t){if(!e){return Promise.reject(new Error("Expected a stream"))}t={maxBuffer:Infinity,...t};const{maxBuffer:i}=t;let a;await new Promise((o,u)=>{const c=e=>{if(e&&a.getBufferedLength()<=n.MAX_LENGTH){e.bufferedData=a.getBufferedValue()}u(e)};a=r(e,s(t),e=>{if(e){c(e);return}o()});a.on("data",()=>{if(a.getBufferedLength()>i){c(new MaxBufferError)}})});return a.getBufferedValue()}e.exports=getStream;e.exports.default=getStream;e.exports.buffer=((e,t)=>getStream(e,{...t,encoding:"buffer"}));e.exports.array=((e,t)=>getStream(e,{...t,array:true}));e.exports.MaxBufferError=MaxBufferError},47625:(e,t,i)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var n=i(85622);var r=i(83973);var s=i(38714);var a=r.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var i=e.replace(/(\/\*\*)+$/,"");t=new a(i,{dot:true})}return{matcher:new a(e,{dot:true}),gmatcher:t}}function setopts(e,t,i){if(!i)i={};if(i.matchBase&&-1===t.indexOf("/")){if(i.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!i.silent;e.pattern=t;e.strict=i.strict!==false;e.realpath=!!i.realpath;e.realpathCache=i.realpathCache||Object.create(null);e.follow=!!i.follow;e.dot=!!i.dot;e.mark=!!i.mark;e.nodir=!!i.nodir;if(e.nodir)e.mark=true;e.sync=!!i.sync;e.nounique=!!i.nounique;e.nonull=!!i.nonull;e.nosort=!!i.nosort;e.nocase=!!i.nocase;e.stat=!!i.stat;e.noprocess=!!i.noprocess;e.absolute=!!i.absolute;e.maxLength=i.maxLength||Infinity;e.cache=i.cache||Object.create(null);e.statCache=i.statCache||Object.create(null);e.symlinks=i.symlinks||Object.create(null);setupIgnores(e,i);e.changedCwd=false;var r=process.cwd();if(!ownProp(i,"cwd"))e.cwd=r;else{e.cwd=n.resolve(i.cwd);e.changedCwd=e.cwd!==r}e.root=i.root||n.resolve(e.cwd,"/");e.root=n.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=s(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!i.nomount;i.nonegate=true;i.nocomment=true;e.minimatch=new a(t,i);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var i=t?[]:Object.create(null);for(var n=0,r=e.matches.length;n{e.exports=glob;var n=i(35747);var r=i(46863);var s=i(83973);var a=s.Minimatch;var o=i(44124);var u=i(28614).EventEmitter;var c=i(85622);var l=i(42357);var p=i(38714);var d=i(29010);var f=i(47625);var h=f.alphasort;var m=f.alphasorti;var b=f.setopts;var g=f.ownProp;var y=i(52492);var S=i(31669);var v=f.childrenIgnored;var w=f.isIgnored;var j=i(1223);function glob(e,t,i){if(typeof t==="function")i=t,t={};if(!t)t={};if(t.sync){if(i)throw new TypeError("callback provided to sync glob");return d(e,t)}return new Glob(e,t,i)}glob.sync=d;var z=glob.GlobSync=d.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var i=Object.keys(t);var n=i.length;while(n--){e[i[n]]=t[i[n]]}return e}glob.hasMagic=function(e,t){var i=extend({},t);i.noprocess=true;var n=new Glob(e,i);var r=n.minimatch.set;if(!e)return false;if(r.length>1)return true;for(var s=0;sthis.maxLength)return t();if(!this.stat&&g(this.cache,i)){var s=this.cache[i];if(Array.isArray(s))s="DIR";if(!r||s==="DIR")return t(null,s);if(r&&s==="FILE")return t()}var a;var o=this.statCache[i];if(o!==undefined){if(o===false)return t(null,o);else{var u=o.isDirectory()?"DIR":"FILE";if(r&&u==="FILE")return t();else return t(null,u,o)}}var c=this;var l=y("stat\0"+i,lstatcb_);if(l)n.lstat(i,l);function lstatcb_(r,s){if(s&&s.isSymbolicLink()){return n.stat(i,function(n,r){if(n)c._stat2(e,i,null,s,t);else c._stat2(e,i,n,r,t)})}else{c._stat2(e,i,r,s,t)}}};Glob.prototype._stat2=function(e,t,i,n,r){if(i&&(i.code==="ENOENT"||i.code==="ENOTDIR")){this.statCache[t]=false;return r()}var s=e.slice(-1)==="/";this.statCache[t]=n;if(t.slice(-1)==="/"&&n&&!n.isDirectory())return r(null,false,n);var a=true;if(n)a=n.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(s&&a==="FILE")return r();return r(null,a,n)}},29010:(e,t,i)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var n=i(35747);var r=i(46863);var s=i(83973);var a=s.Minimatch;var o=i(91957).Glob;var u=i(31669);var c=i(85622);var l=i(42357);var p=i(38714);var d=i(47625);var f=d.alphasort;var h=d.alphasorti;var m=d.setopts;var b=d.ownProp;var g=d.childrenIgnored;var y=d.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);m(this,e,t);if(this.noprocess)return this;var i=this.minimatch.set.length;this.matches=new Array(i);for(var n=0;nthis.maxLength)return false;if(!this.stat&&b(this.cache,t)){var r=this.cache[t];if(Array.isArray(r))r="DIR";if(!i||r==="DIR")return r;if(i&&r==="FILE")return false}var s;var a=this.statCache[t];if(!a){var o;try{o=n.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{a=n.statSync(t)}catch(e){a=o}}else{a=o}}this.statCache[t]=a;var r=true;if(a)r=a.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||r;if(i&&r==="FILE")return false;return r};GlobSync.prototype._mark=function(e){return d.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return d.makeAbs(this,e)}},26457:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(64597);function createRejection(e,...t){const i=(async()=>{if(e instanceof n.RequestError){try{for(const i of t){if(i){for(const t of i){e=await t(e)}}}}catch(t){e=t}}throw e})();const r=()=>i;i.json=r;i.text=r;i.buffer=r;i.on=r;return i}t.default=createRejection},36056:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});const s=i(28614);const a=i(7678);const o=i(19072);const u=i(64597);const c=i(88220);const l=i(60094);const p=i(53021);const d=i(34500);const f=i(49298);const h=["request","response","redirect","uploadProgress","downloadProgress"];function asPromise(e){let t;let i;const n=new s.EventEmitter;const r=new o((s,o,m)=>{const b=g=>{const y=new l.default(undefined,e);y.retryCount=g;y._noPipe=true;m(()=>y.destroy());m.shouldReject=false;m(()=>o(new u.CancelError(y)));t=y;y.once("response",async e=>{var t;e.retryCount=g;if(e.request.aborted){return}let n;try{n=await d.default(y);e.rawBody=n}catch(e){return}if(y._isAboutToError){return}const r=((t=e.headers["content-encoding"])!==null&&t!==void 0?t:"").toLowerCase();const a=["gzip","deflate","br"].includes(r);const{options:o}=y;if(a&&!o.decompress){e.body=n}else{try{e.body=c.default(e,o.responseType,o.parseJson,o.encoding)}catch(t){e.body=n.toString();if(f.isResponseOk(e)){y._beforeError(t);return}}}try{for(const[t,i]of o.hooks.afterResponse.entries()){e=await i(e,async e=>{const i=l.default.normalizeArguments(undefined,{...e,retry:{calculateDelay:()=>0},throwHttpErrors:false,resolveBodyOnly:false},o);i.hooks.afterResponse=i.hooks.afterResponse.slice(0,t);for(const e of i.hooks.beforeRetry){await e(i)}const n=asPromise(i);m(()=>{n.catch(()=>{});n.cancel()});return n})}}catch(e){y._beforeError(new u.RequestError(e.message,e,y));return}if(!f.isResponseOk(e)){y._beforeError(new u.HTTPError(e));return}i=e;s(y.options.resolveBodyOnly?e.body:e)});const S=e=>{if(r.isCanceled){return}const{options:t}=y;if(e instanceof u.HTTPError&&!t.throwHttpErrors){const{response:t}=e;s(y.options.resolveBodyOnly?t.body:t);return}o(e)};y.once("error",S);const v=y.options.body;y.once("retry",(e,t)=>{var i,n;if(v===((i=t.request)===null||i===void 0?void 0:i.options.body)&&a.default.nodeStream((n=t.request)===null||n===void 0?void 0:n.options.body)){S(t);return}b(e)});p.default(y,n,h)};b(0)});r.on=((e,t)=>{n.on(e,t);return r});const m=e=>{const t=(async()=>{await r;const{options:t}=i.request;return c.default(i,e,t.parseJson,t.encoding)})();Object.defineProperties(t,Object.getOwnPropertyDescriptors(r));return t};r.json=(()=>{const{headers:e}=t.options;if(!t.writableFinished&&e.accept===undefined){e.accept="application/json"}return m("json")});r.buffer=(()=>m("buffer"));r.text=(()=>m("text"));return r}t.default=asPromise;r(i(64597),t)},41048:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);const r=(e,t)=>{if(n.default.null_(e.encoding)){throw new TypeError("To get a Buffer, set `options.responseType` to `buffer` instead")}n.assert.any([n.default.string,n.default.undefined],e.encoding);n.assert.any([n.default.boolean,n.default.undefined],e.resolveBodyOnly);n.assert.any([n.default.boolean,n.default.undefined],e.methodRewriting);n.assert.any([n.default.boolean,n.default.undefined],e.isStream);n.assert.any([n.default.string,n.default.undefined],e.responseType);if(e.responseType===undefined){e.responseType="text"}const{retry:i}=e;if(t){e.retry={...t.retry}}else{e.retry={calculateDelay:e=>e.computedValue,limit:0,methods:[],statusCodes:[],errorCodes:[],maxRetryAfter:undefined}}if(n.default.object(i)){e.retry={...e.retry,...i};e.retry.methods=[...new Set(e.retry.methods.map(e=>e.toUpperCase()))];e.retry.statusCodes=[...new Set(e.retry.statusCodes)];e.retry.errorCodes=[...new Set(e.retry.errorCodes)]}else if(n.default.number(i)){e.retry.limit=i}if(n.default.undefined(e.retry.maxRetryAfter)){e.retry.maxRetryAfter=Math.min(...[e.timeout.request,e.timeout.connect].filter(n.default.number))}if(n.default.object(e.pagination)){if(t){e.pagination={...t.pagination,...e.pagination}}const{pagination:i}=e;if(!n.default.function_(i.transform)){throw new Error("`options.pagination.transform` must be implemented")}if(!n.default.function_(i.shouldContinue)){throw new Error("`options.pagination.shouldContinue` must be implemented")}if(!n.default.function_(i.filter)){throw new TypeError("`options.pagination.filter` must be implemented")}if(!n.default.function_(i.paginate)){throw new Error("`options.pagination.paginate` must be implemented")}}if(e.responseType==="json"&&e.headers.accept===undefined){e.headers.accept="application/json"}return e};t.default=r},88220:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(64597);const r=(e,t,i,r)=>{const{rawBody:s}=e;try{if(t==="text"){return s.toString(r)}if(t==="json"){return s.length===0?"":i(s.toString())}if(t==="buffer"){return s}throw new n.ParseError({message:`Unknown body type '${t}'`,name:"Error"},e)}catch(t){throw new n.ParseError(t,e)}};t.default=r},64597:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});t.CancelError=t.ParseError=void 0;const s=i(60094);class ParseError extends s.RequestError{constructor(e,t){const{options:i}=t.request;super(`${e.message} in "${i.url.toString()}"`,e,t.request);this.name="ParseError"}}t.ParseError=ParseError;class CancelError extends s.RequestError{constructor(e){super("Promise was canceled",{},e);this.name="CancelError"}get isCanceled(){return true}}t.CancelError=CancelError;r(i(60094),t)},93462:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.retryAfterStatusCodes=void 0;t.retryAfterStatusCodes=new Set([413,429,503]);const i=({attemptCount:e,retryOptions:t,error:i,retryAfter:n})=>{if(e>t.limit){return 0}const r=t.methods.includes(i.options.method);const s=t.errorCodes.includes(i.code);const a=i.response&&t.statusCodes.includes(i.response.statusCode);if(!r||!s&&!a){return 0}if(i.response){if(n){if(t.maxRetryAfter===undefined||n>t.maxRetryAfter){return 0}return n}if(i.response.statusCode===413){return 0}}const o=Math.random()*100;return 2**(e-1)*1e3+o};t.default=i},60094:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.UnsupportedProtocolError=t.ReadError=t.TimeoutError=t.UploadError=t.CacheError=t.HTTPError=t.MaxRedirectsError=t.RequestError=t.setNonEnumerableProperties=t.knownHookEvents=t.withoutBody=t.kIsNormalizedAlready=void 0;const n=i(31669);const r=i(92413);const s=i(35747);const a=i(78835);const o=i(98605);const u=i(98605);const c=i(57211);const l=i(48097);const p=i(2286);const d=i(78116);const f=i(82391);const h=i(54645);const m=i(9662);const b=i(7678);const g=i(94564);const y=i(90040);const S=i(53021);const v=i(52454);const w=i(8026);const j=i(9219);const z=i(7288);const O=i(34500);const k=i(94993);const C=i(49298);const T=i(397);const _=i(41048);const A=i(93462);let E;const R=Symbol("request");const x=Symbol("response");const N=Symbol("responseSize");const V=Symbol("downloadedSize");const P=Symbol("bodySize");const M=Symbol("uploadedSize");const B=Symbol("serverResponsesPiped");const I=Symbol("unproxyEvents");const D=Symbol("isFromCache");const q=Symbol("cancelTimeouts");const L=Symbol("startedReading");const U=Symbol("stopReading");const Q=Symbol("triggerRead");const H=Symbol("body");const K=Symbol("jobs");const G=Symbol("originalResponse");const W=Symbol("retryTimeout");t.kIsNormalizedAlready=Symbol("isNormalizedAlready");const F=b.default.string(process.versions.brotli);t.withoutBody=new Set(["GET","HEAD"]);t.knownHookEvents=["init","beforeRequest","beforeRedirect","beforeError","beforeRetry","afterResponse"];function validateSearchParameters(e){for(const t in e){const i=e[t];if(!b.default.string(i)&&!b.default.number(i)&&!b.default.boolean(i)&&!b.default.null_(i)&&!b.default.undefined(i)){throw new TypeError(`The \`searchParams\` value '${String(i)}' must be a string, number, boolean or null`)}}}function isClientRequest(e){return b.default.object(e)&&!("statusCode"in e)}const J=new z.default;const Y=async e=>new Promise((t,i)=>{const n=e=>{i(e)};if(!e.pending){t()}e.once("error",n);e.once("ready",()=>{e.off("error",n);t()})});const X=new Set([300,301,302,303,304,307,308]);const Z=["context","body","json","form"];t.setNonEnumerableProperties=((e,t)=>{const i={};for(const t of e){if(!t){continue}for(const e of Z){if(!(e in t)){continue}i[e]={writable:true,configurable:true,enumerable:false,value:t[e]}}}Object.defineProperties(t,i)});class RequestError extends Error{constructor(e,t,i){var n;super(e);Error.captureStackTrace(this,this.constructor);this.name="RequestError";this.code=t.code;if(i instanceof Request){Object.defineProperty(this,"request",{enumerable:false,value:i});Object.defineProperty(this,"response",{enumerable:false,value:i[x]});Object.defineProperty(this,"options",{enumerable:false,value:i.options})}else{Object.defineProperty(this,"options",{enumerable:false,value:i})}this.timings=(n=this.request)===null||n===void 0?void 0:n.timings;if(b.default.string(t.stack)&&b.default.string(this.stack)){const e=this.stack.indexOf(this.message)+this.message.length;const i=this.stack.slice(e).split("\n").reverse();const n=t.stack.slice(t.stack.indexOf(t.message)+t.message.length).split("\n").reverse();while(n.length!==0&&n[0]===i[0]){i.shift()}this.stack=`${this.stack.slice(0,e)}${i.reverse().join("\n")}${n.reverse().join("\n")}`}}}t.RequestError=RequestError;class MaxRedirectsError extends RequestError{constructor(e){super(`Redirected ${e.options.maxRedirects} times. Aborting.`,{},e);this.name="MaxRedirectsError"}}t.MaxRedirectsError=MaxRedirectsError;class HTTPError extends RequestError{constructor(e){super(`Response code ${e.statusCode} (${e.statusMessage})`,{},e.request);this.name="HTTPError"}}t.HTTPError=HTTPError;class CacheError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="CacheError"}}t.CacheError=CacheError;class UploadError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="UploadError"}}t.UploadError=UploadError;class TimeoutError extends RequestError{constructor(e,t,i){super(e.message,e,i);this.name="TimeoutError";this.event=e.event;this.timings=t}}t.TimeoutError=TimeoutError;class ReadError extends RequestError{constructor(e,t){super(e.message,e,t);this.name="ReadError"}}t.ReadError=ReadError;class UnsupportedProtocolError extends RequestError{constructor(e){super(`Unsupported protocol "${e.url.protocol}"`,{},e);this.name="UnsupportedProtocolError"}}t.UnsupportedProtocolError=UnsupportedProtocolError;const $=["socket","connect","continue","information","upgrade","timeout"];class Request extends r.Duplex{constructor(e,i={},n){super({autoDestroy:false,highWaterMark:0});this[V]=0;this[M]=0;this.requestInitialized=false;this[B]=new Set;this.redirects=[];this[U]=false;this[Q]=false;this[K]=[];this.retryCount=0;this._progressCallbacks=[];const r=()=>this._unlockWrite();const a=()=>this._lockWrite();this.on("pipe",e=>{e.prependListener("data",r);e.on("data",a);e.prependListener("end",r);e.on("end",a)});this.on("unpipe",e=>{e.off("data",r);e.off("data",a);e.off("end",r);e.off("end",a)});this.on("pipe",e=>{if(e instanceof u.IncomingMessage){this.options.headers={...e.headers,...this.options.headers}}});const{json:o,body:c,form:l}=i;if(o||c||l){this._lockWrite()}if(t.kIsNormalizedAlready in i){this.options=i}else{try{this.options=this.constructor.normalizeArguments(e,i,n)}catch(e){if(b.default.nodeStream(i.body)){i.body.destroy()}this.destroy(e);return}}(async()=>{var e;try{if(this.options.body instanceof s.ReadStream){await Y(this.options.body)}const{url:t}=this.options;if(!t){throw new TypeError("Missing `url` property")}this.requestUrl=t.toString();decodeURI(this.requestUrl);await this._finalizeBody();await this._makeRequest();if(this.destroyed){(e=this[R])===null||e===void 0?void 0:e.destroy();return}for(const e of this[K]){e()}this[K].length=0;this.requestInitialized=true}catch(e){if(e instanceof RequestError){this._beforeError(e);return}if(!this.destroyed){this.destroy(e)}}})()}static normalizeArguments(e,i,r){var s,o,u,c,l;const f=i;if(b.default.object(e)&&!b.default.urlInstance(e)){i={...r,...e,...i}}else{if(e&&i&&i.url!==undefined){throw new TypeError("The `url` option is mutually exclusive with the `input` argument")}i={...r,...i};if(e!==undefined){i.url=e}if(b.default.urlInstance(i.url)){i.url=new a.URL(i.url.toString())}}if(i.cache===false){i.cache=undefined}if(i.dnsCache===false){i.dnsCache=undefined}b.assert.any([b.default.string,b.default.undefined],i.method);b.assert.any([b.default.object,b.default.undefined],i.headers);b.assert.any([b.default.string,b.default.urlInstance,b.default.undefined],i.prefixUrl);b.assert.any([b.default.object,b.default.undefined],i.cookieJar);b.assert.any([b.default.object,b.default.string,b.default.undefined],i.searchParams);b.assert.any([b.default.object,b.default.string,b.default.undefined],i.cache);b.assert.any([b.default.object,b.default.number,b.default.undefined],i.timeout);b.assert.any([b.default.object,b.default.undefined],i.context);b.assert.any([b.default.object,b.default.undefined],i.hooks);b.assert.any([b.default.boolean,b.default.undefined],i.decompress);b.assert.any([b.default.boolean,b.default.undefined],i.ignoreInvalidCookies);b.assert.any([b.default.boolean,b.default.undefined],i.followRedirect);b.assert.any([b.default.number,b.default.undefined],i.maxRedirects);b.assert.any([b.default.boolean,b.default.undefined],i.throwHttpErrors);b.assert.any([b.default.boolean,b.default.undefined],i.http2);b.assert.any([b.default.boolean,b.default.undefined],i.allowGetBody);b.assert.any([b.default.string,b.default.undefined],i.localAddress);b.assert.any([k.isDnsLookupIpVersion,b.default.undefined],i.dnsLookupIpVersion);b.assert.any([b.default.object,b.default.undefined],i.https);b.assert.any([b.default.boolean,b.default.undefined],i.rejectUnauthorized);if(i.https){b.assert.any([b.default.boolean,b.default.undefined],i.https.rejectUnauthorized);b.assert.any([b.default.function_,b.default.undefined],i.https.checkServerIdentity);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.certificateAuthority);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.key);b.assert.any([b.default.string,b.default.object,b.default.array,b.default.undefined],i.https.certificate);b.assert.any([b.default.string,b.default.undefined],i.https.passphrase);b.assert.any([b.default.string,b.default.buffer,b.default.array,b.default.undefined],i.https.pfx)}b.assert.any([b.default.object,b.default.undefined],i.cacheOptions);if(b.default.string(i.method)){i.method=i.method.toUpperCase()}else{i.method="GET"}if(i.headers===(r===null||r===void 0?void 0:r.headers)){i.headers={...i.headers}}else{i.headers=m({...r===null||r===void 0?void 0:r.headers,...i.headers})}if("slashes"in i){throw new TypeError("The legacy `url.Url` has been deprecated. Use `URL` instead.")}if("auth"in i){throw new TypeError("Parameter `auth` is deprecated. Use `username` / `password` instead.")}if("searchParams"in i){if(i.searchParams&&i.searchParams!==(r===null||r===void 0?void 0:r.searchParams)){let e;if(b.default.string(i.searchParams)||i.searchParams instanceof a.URLSearchParams){e=new a.URLSearchParams(i.searchParams)}else{validateSearchParameters(i.searchParams);e=new a.URLSearchParams;for(const t in i.searchParams){const n=i.searchParams[t];if(n===null){e.append(t,"")}else if(n!==undefined){e.append(t,n)}}}(s=r===null||r===void 0?void 0:r.searchParams)===null||s===void 0?void 0:s.forEach((t,i)=>{if(!e.has(i)){e.append(i,t)}});i.searchParams=e}}i.username=(o=i.username)!==null&&o!==void 0?o:"";i.password=(u=i.password)!==null&&u!==void 0?u:"";if(b.default.undefined(i.prefixUrl)){i.prefixUrl=(c=r===null||r===void 0?void 0:r.prefixUrl)!==null&&c!==void 0?c:""}else{i.prefixUrl=i.prefixUrl.toString();if(i.prefixUrl!==""&&!i.prefixUrl.endsWith("/")){i.prefixUrl+="/"}}if(b.default.string(i.url)){if(i.url.startsWith("/")){throw new Error("`input` must not start with a slash when using `prefixUrl`")}i.url=j.default(i.prefixUrl+i.url,i)}else if(b.default.undefined(i.url)&&i.prefixUrl!==""||i.protocol){i.url=j.default(i.prefixUrl,i)}if(i.url){if("port"in i){delete i.port}let{prefixUrl:e}=i;Object.defineProperty(i,"prefixUrl",{set:t=>{const n=i.url;if(!n.href.startsWith(t)){throw new Error(`Cannot change \`prefixUrl\` from ${e} to ${t}: ${n.href}`)}i.url=new a.URL(t+n.href.slice(e.length));e=t},get:()=>e});let{protocol:t}=i.url;if(t==="unix:"){t="http:";i.url=new a.URL(`http://unix${i.url.pathname}${i.url.search}`)}if(i.searchParams){i.url.search=i.searchParams.toString()}if(t!=="http:"&&t!=="https:"){throw new UnsupportedProtocolError(i)}if(i.username===""){i.username=i.url.username}else{i.url.username=i.username}if(i.password===""){i.password=i.url.password}else{i.url.password=i.password}}const{cookieJar:h}=i;if(h){let{setCookie:e,getCookieString:t}=h;b.assert.function_(e);b.assert.function_(t);if(e.length===4&&t.length===0){e=n.promisify(e.bind(i.cookieJar));t=n.promisify(t.bind(i.cookieJar));i.cookieJar={setCookie:e,getCookieString:t}}}const{cache:g}=i;if(g){if(!J.has(g)){J.set(g,new d((e,t)=>{const i=e[R](e,t);if(b.default.promise(i)){i.once=((e,t)=>{if(e==="error"){i.catch(t)}else if(e==="abort"){(async()=>{try{const e=await i;e.once("abort",t)}catch(e){}})()}else{throw new Error(`Unknown HTTP2 promise event: ${e}`)}return i})}return i},g))}}i.cacheOptions={...i.cacheOptions};if(i.dnsCache===true){if(!E){E=new p.default}i.dnsCache=E}else if(!b.default.undefined(i.dnsCache)&&!i.dnsCache.lookup){throw new TypeError(`Parameter \`dnsCache\` must be a CacheableLookup instance or a boolean, got ${b.default(i.dnsCache)}`)}if(b.default.number(i.timeout)){i.timeout={request:i.timeout}}else if(r&&i.timeout!==r.timeout){i.timeout={...r.timeout,...i.timeout}}else{i.timeout={...i.timeout}}if(!i.context){i.context={}}const y=i.hooks===(r===null||r===void 0?void 0:r.hooks);i.hooks={...i.hooks};for(const e of t.knownHookEvents){if(e in i.hooks){if(b.default.array(i.hooks[e])){i.hooks[e]=[...i.hooks[e]]}else{throw new TypeError(`Parameter \`${e}\` must be an Array, got ${b.default(i.hooks[e])}`)}}else{i.hooks[e]=[]}}if(r&&!y){for(const e of t.knownHookEvents){const t=r.hooks[e];if(t.length>0){i.hooks[e]=[...r.hooks[e],...i.hooks[e]]}}}if("family"in i){T.default('"options.family" was never documented, please use "options.dnsLookupIpVersion"')}if(r===null||r===void 0?void 0:r.https){i.https={...r.https,...i.https}}if("rejectUnauthorized"in i){T.default('"options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"')}if("checkServerIdentity"in i){T.default('"options.checkServerIdentity" was never documented, please use "options.https.checkServerIdentity"')}if("ca"in i){T.default('"options.ca" was never documented, please use "options.https.certificateAuthority"')}if("key"in i){T.default('"options.key" was never documented, please use "options.https.key"')}if("cert"in i){T.default('"options.cert" was never documented, please use "options.https.certificate"')}if("passphrase"in i){T.default('"options.passphrase" was never documented, please use "options.https.passphrase"')}if("pfx"in i){T.default('"options.pfx" was never documented, please use "options.https.pfx"')}if("followRedirects"in i){throw new TypeError("The `followRedirects` option does not exist. Use `followRedirect` instead.")}if(i.agent){for(const e in i.agent){if(e!=="http"&&e!=="https"&&e!=="http2"){throw new TypeError(`Expected the \`options.agent\` properties to be \`http\`, \`https\` or \`http2\`, got \`${e}\``)}}}i.maxRedirects=(l=i.maxRedirects)!==null&&l!==void 0?l:0;t.setNonEnumerableProperties([r,f],i);return _.default(i,r)}_lockWrite(){const e=()=>{throw new TypeError("The payload has been already provided")};this.write=e;this.end=e}_unlockWrite(){this.write=super.write;this.end=super.end}async _finalizeBody(){const{options:e}=this;const{headers:i}=e;const n=!b.default.undefined(e.form);const s=!b.default.undefined(e.json);const o=!b.default.undefined(e.body);const u=n||s||o;const c=t.withoutBody.has(e.method)&&!(e.method==="GET"&&e.allowGetBody);this._cannotHaveBody=c;if(u){if(c){throw new TypeError(`The \`${e.method}\` method cannot be used with a body`)}if([o,n,s].filter(e=>e).length>1){throw new TypeError("The `body`, `json` and `form` options are mutually exclusive")}if(o&&!(e.body instanceof r.Readable)&&!b.default.string(e.body)&&!b.default.buffer(e.body)&&!y.default(e.body)){throw new TypeError("The `body` option must be a stream.Readable, string or Buffer")}if(n&&!b.default.object(e.form)){throw new TypeError("The `form` option must be an Object")}{const t=!b.default.string(i["content-type"]);if(o){if(y.default(e.body)&&t){i["content-type"]=`multipart/form-data; boundary=${e.body.getBoundary()}`}this[H]=e.body}else if(n){if(t){i["content-type"]="application/x-www-form-urlencoded"}this[H]=new a.URLSearchParams(e.form).toString()}else{if(t){i["content-type"]="application/json"}this[H]=e.stringifyJson(e.json)}const r=await g.default(this[H],e.headers);if(b.default.undefined(i["content-length"])&&b.default.undefined(i["transfer-encoding"])){if(!c&&!b.default.undefined(r)){i["content-length"]=String(r)}}}}else if(c){this._lockWrite()}else{this._unlockWrite()}this[P]=Number(i["content-length"])||undefined}async _onResponseBase(e){const{options:t}=this;const{url:i}=t;this[G]=e;if(t.decompress){e=f(e)}const n=e.statusCode;const r=e;r.statusMessage=r.statusMessage?r.statusMessage:o.STATUS_CODES[n];r.url=t.url.toString();r.requestUrl=this.requestUrl;r.redirectUrls=this.redirects;r.request=this;r.isFromCache=e.fromCache||false;r.ip=this.ip;r.retryCount=this.retryCount;this[D]=r.isFromCache;this[N]=Number(e.headers["content-length"])||undefined;this[x]=e;e.once("end",()=>{this[N]=this[V];this.emit("downloadProgress",this.downloadProgress)});e.once("error",t=>{e.destroy();this._beforeError(new ReadError(t,this))});e.once("aborted",()=>{this._beforeError(new ReadError({name:"Error",message:"The server aborted pending request",code:"ECONNRESET"},this))});this.emit("downloadProgress",this.downloadProgress);const s=e.headers["set-cookie"];if(b.default.object(t.cookieJar)&&s){let e=s.map(async e=>t.cookieJar.setCookie(e,i.toString()));if(t.ignoreInvalidCookies){e=e.map(async e=>e.catch(()=>{}))}try{await Promise.all(e)}catch(e){this._beforeError(e);return}}if(t.followRedirect&&e.headers.location&&X.has(n)){e.resume();if(this[R]){this[q]();delete this[R];this[I]()}const s=n===303&&t.method!=="GET"&&t.method!=="HEAD";if(s||!t.methodRewriting){t.method="GET";if("body"in t){delete t.body}if("json"in t){delete t.json}if("form"in t){delete t.form}this[H]=undefined;delete t.headers["content-length"]}if(this.redirects.length>=t.maxRedirects){this._beforeError(new MaxRedirectsError(this));return}try{const n=Buffer.from(e.headers.location,"binary").toString();const s=new a.URL(n,i);const o=s.toString();decodeURI(o);if(s.hostname!==i.hostname||s.port!==i.port){if("host"in t.headers){delete t.headers.host}if("cookie"in t.headers){delete t.headers.cookie}if("authorization"in t.headers){delete t.headers.authorization}if(t.username||t.password){t.username="";t.password=""}}else{s.username=t.username;s.password=t.password}this.redirects.push(o);t.url=s;for(const e of t.hooks.beforeRedirect){await e(t,r)}this.emit("redirect",r,t);await this._makeRequest()}catch(e){this._beforeError(e);return}return}if(t.isStream&&t.throwHttpErrors&&!C.isResponseOk(r)){this._beforeError(new HTTPError(r));return}e.on("readable",()=>{if(this[Q]){this._read()}});this.on("resume",()=>{e.resume()});this.on("pause",()=>{e.pause()});e.once("end",()=>{this.push(null)});this.emit("response",e);for(const i of this[B]){if(i.headersSent){continue}for(const n in e.headers){const r=t.decompress?n!=="content-encoding":true;const s=e.headers[n];if(r){i.setHeader(n,s)}}i.statusCode=n}}async _onResponse(e){try{await this._onResponseBase(e)}catch(e){this._beforeError(e)}}_onRequest(e){const{options:t}=this;const{timeout:i,url:n}=t;l.default(e);this[q]=v.default(e,i,n);const r=t.cache?"cacheableResponse":"response";e.once(r,e=>{void this._onResponse(e)});e.once("error",t=>{var i;e.destroy();(i=e.res)===null||i===void 0?void 0:i.removeAllListeners("end");t=t instanceof v.TimeoutError?new TimeoutError(t,this.timings,this):new RequestError(t.message,t,this);this._beforeError(t)});this[I]=S.default(e,this,$);this[R]=e;this.emit("uploadProgress",this.uploadProgress);const s=this[H];const a=this.redirects.length===0?this:e;if(b.default.nodeStream(s)){s.pipe(a);s.once("error",e=>{this._beforeError(new UploadError(e,this))})}else{this._unlockWrite();if(!b.default.undefined(s)){this._writeRequest(s,undefined,()=>{});a.end();this._lockWrite()}else if(this._cannotHaveBody||this._noPipe){a.end();this._lockWrite()}}this.emit("request",e)}async _createCacheableRequest(e,t){return new Promise((i,n)=>{Object.assign(t,w.default(e));delete t.url;let r;const s=J.get(t.cache)(t,async e=>{e._readableState.autoDestroy=false;if(r){(await r).emit("cacheableResponse",e)}i(e)});t.url=e;s.once("error",n);s.once("request",async e=>{r=e;i(r)})})}async _makeRequest(){var e,t,i,n,r;const{options:s}=this;const{headers:a}=s;for(const e in a){if(b.default.undefined(a[e])){delete a[e]}else if(b.default.null_(a[e])){throw new TypeError(`Use \`undefined\` instead of \`null\` to delete the \`${e}\` header`)}}if(s.decompress&&b.default.undefined(a["accept-encoding"])){a["accept-encoding"]=F?"gzip, deflate, br":"gzip, deflate"}if(s.cookieJar){const e=await s.cookieJar.getCookieString(s.url.toString());if(b.default.nonEmptyString(e)){s.headers.cookie=e}}for(const e of s.hooks.beforeRequest){const t=await e(s);if(!b.default.undefined(t)){s.request=(()=>t);break}}if(s.body&&this[H]!==s.body){this[H]=s.body}const{agent:u,request:l,timeout:p,url:f}=s;if(s.dnsCache&&!("lookup"in s)){s.lookup=s.dnsCache.lookup}if(f.hostname==="unix"){const e=/(?.+?):(?.+)/.exec(`${f.pathname}${f.search}`);if(e===null||e===void 0?void 0:e.groups){const{socketPath:t,path:i}=e.groups;Object.assign(s,{socketPath:t,path:i,host:""})}}const m=f.protocol==="https:";let g;if(s.http2){g=h.auto}else{g=m?c.request:o.request}const y=(e=s.request)!==null&&e!==void 0?e:g;const S=s.cache?this._createCacheableRequest:y;if(u&&!s.http2){s.agent=u[m?"https":"http"]}s[R]=y;delete s.request;delete s.timeout;const v=s;v.shared=(t=s.cacheOptions)===null||t===void 0?void 0:t.shared;v.cacheHeuristic=(i=s.cacheOptions)===null||i===void 0?void 0:i.cacheHeuristic;v.immutableMinTimeToLive=(n=s.cacheOptions)===null||n===void 0?void 0:n.immutableMinTimeToLive;v.ignoreCargoCult=(r=s.cacheOptions)===null||r===void 0?void 0:r.ignoreCargoCult;if(s.dnsLookupIpVersion!==undefined){try{v.family=k.dnsLookupIpVersionToFamily(s.dnsLookupIpVersion)}catch(e){throw new Error("Invalid `dnsLookupIpVersion` option value")}}if(s.https){if("rejectUnauthorized"in s.https){v.rejectUnauthorized=s.https.rejectUnauthorized}if(s.https.checkServerIdentity){v.checkServerIdentity=s.https.checkServerIdentity}if(s.https.certificateAuthority){v.ca=s.https.certificateAuthority}if(s.https.certificate){v.cert=s.https.certificate}if(s.https.key){v.key=s.https.key}if(s.https.passphrase){v.passphrase=s.https.passphrase}if(s.https.pfx){v.pfx=s.https.pfx}}try{let e=await S(f,v);if(b.default.undefined(e)){e=g(f,v)}s.request=l;s.timeout=p;s.agent=u;if(s.https){if("rejectUnauthorized"in s.https){delete v.rejectUnauthorized}if(s.https.checkServerIdentity){delete v.checkServerIdentity}if(s.https.certificateAuthority){delete v.ca}if(s.https.certificate){delete v.cert}if(s.https.key){delete v.key}if(s.https.passphrase){delete v.passphrase}if(s.https.pfx){delete v.pfx}}if(isClientRequest(e)){this._onRequest(e)}else if(this.writable){this.once("finish",()=>{void this._onResponse(e)});this._unlockWrite();this.end();this._lockWrite()}else{void this._onResponse(e)}}catch(e){if(e instanceof d.CacheError){throw new CacheError(e,this)}throw new RequestError(e.message,e,this)}}async _error(e){try{for(const t of this.options.hooks.beforeError){e=await t(e)}}catch(t){e=new RequestError(t.message,t,this)}this.destroy(e)}_beforeError(e){if(this[U]){return}const{options:t}=this;const i=this.retryCount+1;this[U]=true;if(!(e instanceof RequestError)){e=new RequestError(e.message,e,this)}const n=e;const{response:r}=n;void(async()=>{if(r&&!r.body){r.setEncoding(this._readableState.encoding);try{r.rawBody=await O.default(r);r.body=r.rawBody.toString()}catch(e){}}if(this.listenerCount("retry")!==0){let s;try{let e;if(r&&"retry-after"in r.headers){e=Number(r.headers["retry-after"]);if(Number.isNaN(e)){e=Date.parse(r.headers["retry-after"])-Date.now();if(e<=0){e=1}}else{e*=1e3}}s=await t.retry.calculateDelay({attemptCount:i,retryOptions:t.retry,error:n,retryAfter:e,computedValue:A.default({attemptCount:i,retryOptions:t.retry,error:n,retryAfter:e,computedValue:0})})}catch(e){void this._error(new RequestError(e.message,e,this));return}if(s){const t=async()=>{try{for(const e of this.options.hooks.beforeRetry){await e(this.options,n,i)}}catch(t){void this._error(new RequestError(t.message,e,this));return}if(this.destroyed){return}this.destroy();this.emit("retry",i,e)};this[W]=setTimeout(t,s);return}}void this._error(n)})()}_read(){this[Q]=true;const e=this[x];if(e&&!this[U]){if(e.readableLength){this[Q]=false}let t;while((t=e.read())!==null){this[V]+=t.length;this[L]=true;const e=this.downloadProgress;if(e.percent<1){this.emit("downloadProgress",e)}this.push(t)}}}_write(e,t,i){const n=()=>{this._writeRequest(e,t,i)};if(this.requestInitialized){n()}else{this[K].push(n)}}_writeRequest(e,t,i){if(this[R].destroyed){return}this._progressCallbacks.push(()=>{this[M]+=Buffer.byteLength(e,t);const i=this.uploadProgress;if(i.percent<1){this.emit("uploadProgress",i)}});this[R].write(e,t,e=>{if(!e&&this._progressCallbacks.length>0){this._progressCallbacks.shift()()}i(e)})}_final(e){const t=()=>{while(this._progressCallbacks.length!==0){this._progressCallbacks.shift()()}if(!(R in this)){e();return}if(this[R].destroyed){e();return}this[R].end(t=>{if(!t){this[P]=this[M];this.emit("uploadProgress",this.uploadProgress);this[R].emit("upload-complete")}e(t)})};if(this.requestInitialized){t()}else{this[K].push(t)}}_destroy(e,t){var i;this[U]=true;clearTimeout(this[W]);if(R in this){this[q]();if(!((i=this[x])===null||i===void 0?void 0:i.complete)){this[R].destroy()}}if(e!==null&&!b.default.undefined(e)&&!(e instanceof RequestError)){e=new RequestError(e.message,e,this)}t(e)}get _isAboutToError(){return this[U]}get ip(){var e;return(e=this.socket)===null||e===void 0?void 0:e.remoteAddress}get aborted(){var e,t,i;return((t=(e=this[R])===null||e===void 0?void 0:e.destroyed)!==null&&t!==void 0?t:this.destroyed)&&!((i=this[G])===null||i===void 0?void 0:i.complete)}get socket(){var e,t;return(t=(e=this[R])===null||e===void 0?void 0:e.socket)!==null&&t!==void 0?t:undefined}get downloadProgress(){let e;if(this[N]){e=this[V]/this[N]}else if(this[N]===this[V]){e=1}else{e=0}return{percent:e,transferred:this[V],total:this[N]}}get uploadProgress(){let e;if(this[P]){e=this[M]/this[P]}else if(this[P]===this[M]){e=1}else{e=0}return{percent:e,transferred:this[M],total:this[P]}}get timings(){var e;return(e=this[R])===null||e===void 0?void 0:e.timings}get isFromCache(){return this[D]}pipe(e,t){if(this[L]){throw new Error("Failed to pipe. The response has been emitted already.")}if(e instanceof u.ServerResponse){this[B].add(e)}return super.pipe(e,t)}unpipe(e){if(e instanceof u.ServerResponse){this[B].delete(e)}super.unpipe(e);return this}}t.default=Request},94993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.dnsLookupIpVersionToFamily=t.isDnsLookupIpVersion=void 0;const i={auto:0,ipv4:4,ipv6:6};t.isDnsLookupIpVersion=(e=>{return e in i});t.dnsLookupIpVersionToFamily=(e=>{if(t.isDnsLookupIpVersion(e)){return i[e]}throw new Error("Invalid DNS lookup IP version")})},94564:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(35747);const r=i(31669);const s=i(7678);const a=i(90040);const o=r.promisify(n.stat);t.default=(async(e,t)=>{if(t&&"content-length"in t){return Number(t["content-length"])}if(!e){return 0}if(s.default.string(e)){return Buffer.byteLength(e)}if(s.default.buffer(e)){return e.length}if(a.default(e)){return r.promisify(e.getLength.bind(e))()}if(e instanceof n.ReadStream){const{size:t}=await o(e.path);if(t===0){return undefined}return t}return undefined})},34500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=async e=>{const t=[];let i=0;for await(const n of e){t.push(n);i+=Buffer.byteLength(n)}if(Buffer.isBuffer(t[0])){return Buffer.concat(t,i)}return Buffer.from(t.join(""))};t.default=i},90040:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);t.default=(e=>n.default.nodeStream(e)&&n.default.function_(e.getBoundary))},49298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isResponseOk=void 0;t.isResponseOk=(e=>{const{statusCode:t}=e;const i=e.request.options.followRedirect?299:399;return t>=200&&t<=i||t===304})},9219:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(78835);const r=["protocol","host","hostname","port","pathname","search"];t.default=((e,t)=>{var i,s;if(t.path){if(t.pathname){throw new TypeError("Parameters `path` and `pathname` are mutually exclusive.")}if(t.search){throw new TypeError("Parameters `path` and `search` are mutually exclusive.")}if(t.searchParams){throw new TypeError("Parameters `path` and `searchParams` are mutually exclusive.")}}if(t.search&&t.searchParams){throw new TypeError("Parameters `search` and `searchParams` are mutually exclusive.")}if(!e){if(!t.protocol){throw new TypeError("No URL protocol specified")}e=`${t.protocol}//${(s=(i=t.hostname)!==null&&i!==void 0?i:t.host)!==null&&s!==void 0?s:""}`}const a=new n.URL(e);if(t.path){const e=t.path.indexOf("?");if(e===-1){t.pathname=t.path}else{t.pathname=t.path.slice(0,e);t.search=t.path.slice(e+1)}delete t.path}for(const e of r){if(t[e]){a[e]=t[e].toString()}}return a})},53021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function default_1(e,t,i){const n={};for(const r of i){n[r]=((...e)=>{t.emit(r,...e)});e.on(r,n[r])}return()=>{for(const t of i){e.off(t,n[t])}}}t.default=default_1},52454:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.TimeoutError=void 0;const n=i(11631);const r=i(81593);const s=Symbol("reentry");const a=()=>{};class TimeoutError extends Error{constructor(e,t){super(`Timeout awaiting '${t}' for ${e}ms`);this.event=t;this.name="TimeoutError";this.code="ETIMEDOUT"}}t.TimeoutError=TimeoutError;t.default=((e,t,i)=>{if(s in e){return a}e[s]=true;const o=[];const{once:u,unhandleAll:c}=r.default();const l=(e,t,i)=>{var n;const r=setTimeout(t,e,e,i);(n=r.unref)===null||n===void 0?void 0:n.call(r);const s=()=>{clearTimeout(r)};o.push(s);return s};const{host:p,hostname:d}=i;const f=(t,i)=>{e.destroy(new TimeoutError(t,i))};const h=()=>{for(const e of o){e()}c()};e.once("error",t=>{h();if(e.listenerCount("error")===0){throw t}});e.once("close",h);u(e,"response",e=>{u(e,"end",h)});if(typeof t.request!=="undefined"){l(t.request,f,"request")}if(typeof t.socket!=="undefined"){const i=()=>{f(t.socket,"socket")};e.setTimeout(t.socket,i);o.push(()=>{e.removeListener("timeout",i)})}u(e,"socket",r=>{var s;const{socketPath:a}=e;if(r.connecting){const e=Boolean(a!==null&&a!==void 0?a:n.isIP((s=d!==null&&d!==void 0?d:p)!==null&&s!==void 0?s:"")!==0);if(typeof t.lookup!=="undefined"&&!e&&typeof r.address().address==="undefined"){const e=l(t.lookup,f,"lookup");u(r,"lookup",e)}if(typeof t.connect!=="undefined"){const i=()=>l(t.connect,f,"connect");if(e){u(r,"connect",i())}else{u(r,"lookup",e=>{if(e===null){u(r,"connect",i())}})}}if(typeof t.secureConnect!=="undefined"&&i.protocol==="https:"){u(r,"connect",()=>{const e=l(t.secureConnect,f,"secureConnect");u(r,"secureConnect",e)})}}if(typeof t.send!=="undefined"){const i=()=>l(t.send,f,"send");if(r.connecting){u(r,"connect",()=>{u(e,"upload-complete",i())})}else{u(e,"upload-complete",i())}}});if(typeof t.response!=="undefined"){u(e,"upload-complete",()=>{const i=l(t.response,f,"response");u(e,"response",i)})}return h})},81593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.default=(()=>{const e=[];return{once(t,i,n){t.once(i,n);e.push({origin:t,event:i,fn:n})},unhandleAll(){for(const t of e){const{origin:e,event:i,fn:n}=t;e.removeListener(i,n)}e.length=0}}})},8026:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);t.default=(e=>{e=e;const t={protocol:e.protocol,hostname:n.default.string(e.hostname)&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};if(n.default.string(e.port)&&e.port.length>0){t.port=Number(e.port)}if(e.username||e.password){t.auth=`${e.username||""}:${e.password||""}`}return t})},7288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class WeakableMap{constructor(){this.weakMap=new WeakMap;this.map=new Map}set(e,t){if(typeof e==="object"){this.weakMap.set(e,t)}else{this.map.set(e,t)}}get(e){if(typeof e==="object"){return this.weakMap.get(e)}return this.map.get(e)}has(e){if(typeof e==="object"){return this.weakMap.has(e)}return this.map.has(e)}}t.default=WeakableMap},34337:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});t.defaultHandler=void 0;const s=i(7678);const a=i(36056);const o=i(26457);const u=i(60094);const c=i(70285);const l={RequestError:a.RequestError,CacheError:a.CacheError,ReadError:a.ReadError,HTTPError:a.HTTPError,MaxRedirectsError:a.MaxRedirectsError,TimeoutError:a.TimeoutError,ParseError:a.ParseError,CancelError:a.CancelError,UnsupportedProtocolError:a.UnsupportedProtocolError,UploadError:a.UploadError};const p=async e=>new Promise(t=>{setTimeout(t,e)});const{normalizeArguments:d}=u.default;const f=(...e)=>{let t;for(const i of e){t=d(undefined,i,t)}return t};const h=e=>e.isStream?new u.default(undefined,e):a.default(e);const m=e=>"defaults"in e&&"options"in e.defaults;const b=["get","post","put","patch","head","delete"];t.defaultHandler=((e,t)=>t(e));const g=(e,t)=>{if(e){for(const i of e){i(t)}}};const y=e=>{e._rawHandlers=e.handlers;e.handlers=e.handlers.map(e=>(t,i)=>{let n;const r=e(t,e=>{n=i(e);return n});if(r!==n&&!t.isStream&&n){const e=r;const{then:t,catch:i,finally:s}=e;Object.setPrototypeOf(e,Object.getPrototypeOf(n));Object.defineProperties(e,Object.getOwnPropertyDescriptors(n));e.then=t;e.catch=i;e.finally=s}return r});const i=(t,i={},n)=>{var r,c;let l=0;const p=t=>{return e.handlers[l++](t,l===e.handlers.length?h:p)};if(s.default.plainObject(t)){const e={...t,...i};u.setNonEnumerableProperties([t,i],e);i=e;t=undefined}try{let s;try{g(e.options.hooks.init,i);g((r=i.hooks)===null||r===void 0?void 0:r.init,i)}catch(e){s=e}const l=d(t,i,n!==null&&n!==void 0?n:e.options);l[u.kIsNormalizedAlready]=true;if(s){throw new a.RequestError(s.message,s,l)}return p(l)}catch(t){if(i.isStream){throw t}else{return o.default(t,e.options.hooks.beforeError,(c=i.hooks)===null||c===void 0?void 0:c.beforeError)}}};i.extend=((...i)=>{const n=[e.options];let r=[...e._rawHandlers];let s;for(const e of i){if(m(e)){n.push(e.defaults.options);r.push(...e.defaults._rawHandlers);s=e.defaults.mutableDefaults}else{n.push(e);if("handlers"in e){r.push(...e.handlers)}s=e.mutableDefaults}}r=r.filter(e=>e!==t.defaultHandler);if(r.length===0){r.push(t.defaultHandler)}return y({options:f(...n),handlers:r,mutableDefaults:Boolean(s)})});const n=async function*(t,n){let r=d(t,n,e.options);r.resolveBodyOnly=false;const a=r.pagination;if(!s.default.object(a)){throw new TypeError("`options.pagination` must be implemented")}const o=[];let{countLimit:u}=a;let c=0;while(c{const i=[];for await(const r of n(e,t)){i.push(r)}return i});i.paginate.each=n;i.stream=((e,t)=>i(e,{...t,isStream:true}));for(const e of b){i[e]=((t,n)=>i(t,{...n,method:e}));i.stream[e]=((t,n)=>{return i(t,{...n,method:e,isStream:true})})}Object.assign(i,l);Object.defineProperty(i,"defaults",{value:e.mutableDefaults?e:c.default(e),writable:e.mutableDefaults,configurable:e.mutableDefaults,enumerable:true});i.mergeOptions=f;return i};t.default=y;r(i(72613),t)},93061:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){if(n===undefined)n=i;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[i]}})}:function(e,t,i,n){if(n===undefined)n=i;e[n]=t[i]});var r=this&&this.__exportStar||function(e,t){for(var i in e)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,e,i)};Object.defineProperty(t,"__esModule",{value:true});const s=i(78835);const a=i(34337);const o={options:{method:"GET",retry:{limit:2,methods:["GET","PUT","HEAD","DELETE","OPTIONS","TRACE"],statusCodes:[408,413,429,500,502,503,504,521,522,524],errorCodes:["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"],maxRetryAfter:undefined,calculateDelay:({computedValue:e})=>e},timeout:{},headers:{"user-agent":"got (https://github.com/sindresorhus/got)"},hooks:{init:[],beforeRequest:[],beforeRedirect:[],beforeRetry:[],beforeError:[],afterResponse:[]},cache:undefined,dnsCache:undefined,decompress:true,throwHttpErrors:true,followRedirect:true,isStream:false,responseType:"text",resolveBodyOnly:false,maxRedirects:10,prefixUrl:"",methodRewriting:true,ignoreInvalidCookies:false,context:{},http2:false,allowGetBody:false,https:undefined,pagination:{transform:e=>{if(e.request.options.responseType==="json"){return e.body}return JSON.parse(e.body)},paginate:e=>{if(!Reflect.has(e.headers,"link")){return false}const t=e.headers.link.split(",");let i;for(const e of t){const t=e.split(";");if(t[1].includes("next")){i=t[0].trimStart().trim();i=i.slice(1,-1);break}}if(i){const e={url:new s.URL(i)};return e}return false},filter:()=>true,shouldContinue:()=>true,countLimit:Infinity,backoff:0,requestLimit:1e4,stackAllItems:true},parseJson:e=>JSON.parse(e),stringifyJson:e=>JSON.stringify(e),cacheOptions:{}},handlers:[a.defaultHandler],mutableDefaults:false};const u=a.default(o);t.default=u;e.exports=u;e.exports.default=u;e.exports.__esModule=true;r(i(34337),t);r(i(36056),t)},72613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},70285:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(7678);function deepFreeze(e){for(const t of Object.values(e)){if(n.default.plainObject(t)||n.default.array(t)){deepFreeze(t)}}return Object.freeze(e)}t.default=deepFreeze},397:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const i=new Set;t.default=(e=>{if(i.has(e)){return}i.add(e);process.emitWarning(`Got: ${e}`,{type:"DeprecationWarning"})})},13679:(e,t,i)=>{"use strict";e.exports={afterRequest:i(24391),beforeRequest:i(94440),browser:i(99850),cache:i(77654),content:i(73656),cookie:i(67948),creator:i(33412),entry:i(32525),har:i(84943),header:i(68344),log:i(69142),page:i(29075),pageTimings:i(15096),postData:i(73697),query:i(70877),request:i(92084),response:i(20702),timings:i(36941)}},74944:e=>{function HARError(e){var t="validation failed";this.name="HARError";this.message=t;this.errors=e;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(t).stack}}HARError.prototype=Error.prototype;e.exports=HARError},75697:(e,t,i)=>{var n=i(64941);var r=i(74944);var s=i(13679);var a;function createAjvInstance(){var e=new n({allErrors:true});e.addMetaSchema(i(81030));e.addSchema(s);return e}function validate(e,t){t=t||{};a=a||createAjvInstance();var i=a.getSchema(e+".json");return new Promise(function(e,n){var s=i(t);!s?n(new r(i.errors)):e(t)})}t.afterRequest=function(e){return validate("afterRequest",e)};t.beforeRequest=function(e){return validate("beforeRequest",e)};t.browser=function(e){return validate("browser",e)};t.cache=function(e){return validate("cache",e)};t.content=function(e){return validate("content",e)};t.cookie=function(e){return validate("cookie",e)};t.creator=function(e){return validate("creator",e)};t.entry=function(e){return validate("entry",e)};t.har=function(e){return validate("har",e)};t.header=function(e){return validate("header",e)};t.log=function(e){return validate("log",e)};t.page=function(e){return validate("page",e)};t.pageTimings=function(e){return validate("pageTimings",e)};t.postData=function(e){return validate("postData",e)};t.query=function(e){return validate("query",e)};t.request=function(e){return validate("request",e)};t.response=function(e){return validate("response",e)};t.timings=function(e){return validate("timings",e)}},61002:e=>{"use strict";const t=new Set([200,203,204,206,300,301,404,405,410,414,501]);const i=new Set([200,203,204,300,301,302,303,307,308,404,405,410,414,501]);const n=new Set([500,502,503,504]);const r={date:true,connection:true,"keep-alive":true,"proxy-authenticate":true,"proxy-authorization":true,te:true,trailer:true,"transfer-encoding":true,upgrade:true};const s={"content-length":true,"content-encoding":true,"transfer-encoding":true,"content-range":true};function toNumberOrZero(e){const t=parseInt(e,10);return isFinite(t)?t:0}function isErrorResponse(e){if(!e){return true}return n.has(e.status)}function parseCacheControl(e){const t={};if(!e)return t;const i=e.trim().split(/\s*,\s*/);for(const e of i){const[i,n]=e.split(/\s*=\s*/,2);t[i]=n===undefined?true:n.replace(/^"|"$/g,"")}return t}function formatCacheControl(e){let t=[];for(const i in e){const n=e[i];t.push(n===true?i:i+"="+n)}if(!t.length){return undefined}return t.join(", ")}e.exports=class CachePolicy{constructor(e,t,{shared:i,cacheHeuristic:n,immutableMinTimeToLive:r,ignoreCargoCult:s,_fromObject:a}={}){if(a){this._fromObject(a);return}if(!t||!t.headers){throw Error("Response headers missing")}this._assertRequestHasHeaders(e);this._responseTime=this.now();this._isShared=i!==false;this._cacheHeuristic=undefined!==n?n:.1;this._immutableMinTtl=undefined!==r?r:24*3600*1e3;this._status="status"in t?t.status:200;this._resHeaders=t.headers;this._rescc=parseCacheControl(t.headers["cache-control"]);this._method="method"in e?e.method:"GET";this._url=e.url;this._host=e.headers.host;this._noAuthorization=!e.headers.authorization;this._reqHeaders=t.headers.vary?e.headers:null;this._reqcc=parseCacheControl(e.headers["cache-control"]);if(s&&"pre-check"in this._rescc&&"post-check"in this._rescc){delete this._rescc["pre-check"];delete this._rescc["post-check"];delete this._rescc["no-cache"];delete this._rescc["no-store"];delete this._rescc["must-revalidate"];this._resHeaders=Object.assign({},this._resHeaders,{"cache-control":formatCacheControl(this._rescc)});delete this._resHeaders.expires;delete this._resHeaders.pragma}if(t.headers["cache-control"]==null&&/no-cache/.test(t.headers.pragma)){this._rescc["no-cache"]=true}}now(){return Date.now()}storable(){return!!(!this._reqcc["no-store"]&&("GET"===this._method||"HEAD"===this._method||"POST"===this._method&&this._hasExplicitExpiration())&&i.has(this._status)&&!this._rescc["no-store"]&&(!this._isShared||!this._rescc.private)&&(!this._isShared||this._noAuthorization||this._allowsStoringAuthenticated())&&(this._resHeaders.expires||this._rescc["max-age"]||this._isShared&&this._rescc["s-maxage"]||this._rescc.public||t.has(this._status)))}_hasExplicitExpiration(){return this._isShared&&this._rescc["s-maxage"]||this._rescc["max-age"]||this._resHeaders.expires}_assertRequestHasHeaders(e){if(!e||!e.headers){throw Error("Request headers missing")}}satisfiesWithoutRevalidation(e){this._assertRequestHasHeaders(e);const t=parseCacheControl(e.headers["cache-control"]);if(t["no-cache"]||/no-cache/.test(e.headers.pragma)){return false}if(t["max-age"]&&this.age()>t["max-age"]){return false}if(t["min-fresh"]&&this.timeToLive()<1e3*t["min-fresh"]){return false}if(this.stale()){const e=t["max-stale"]&&!this._rescc["must-revalidate"]&&(true===t["max-stale"]||t["max-stale"]>this.age()-this.maxAge());if(!e){return false}}return this._requestMatches(e,false)}_requestMatches(e,t){return(!this._url||this._url===e.url)&&this._host===e.headers.host&&(!e.method||this._method===e.method||t&&"HEAD"===e.method)&&this._varyMatches(e)}_allowsStoringAuthenticated(){return this._rescc["must-revalidate"]||this._rescc.public||this._rescc["s-maxage"]}_varyMatches(e){if(!this._resHeaders.vary){return true}if(this._resHeaders.vary==="*"){return false}const t=this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);for(const i of t){if(e.headers[i]!==this._reqHeaders[i])return false}return true}_copyWithoutHopByHopHeaders(e){const t={};for(const i in e){if(r[i])continue;t[i]=e[i]}if(e.connection){const i=e.connection.trim().split(/\s*,\s*/);for(const e of i){delete t[e]}}if(t.warning){const e=t.warning.split(/,/).filter(e=>{return!/^\s*1[0-9][0-9]/.test(e)});if(!e.length){delete t.warning}else{t.warning=e.join(",").trim()}}return t}responseHeaders(){const e=this._copyWithoutHopByHopHeaders(this._resHeaders);const t=this.age();if(t>3600*24&&!this._hasExplicitExpiration()&&this.maxAge()>3600*24){e.warning=(e.warning?`${e.warning}, `:"")+'113 - "rfc7234 5.5.4"'}e.age=`${Math.round(t)}`;e.date=new Date(this.now()).toUTCString();return e}date(){const e=Date.parse(this._resHeaders.date);if(isFinite(e)){return e}return this._responseTime}age(){let e=this._ageValue();const t=(this.now()-this._responseTime)/1e3;return e+t}_ageValue(){return toNumberOrZero(this._resHeaders.age)}maxAge(){if(!this.storable()||this._rescc["no-cache"]){return 0}if(this._isShared&&(this._resHeaders["set-cookie"]&&!this._rescc.public&&!this._rescc.immutable)){return 0}if(this._resHeaders.vary==="*"){return 0}if(this._isShared){if(this._rescc["proxy-revalidate"]){return 0}if(this._rescc["s-maxage"]){return toNumberOrZero(this._rescc["s-maxage"])}}if(this._rescc["max-age"]){return toNumberOrZero(this._rescc["max-age"])}const e=this._rescc.immutable?this._immutableMinTtl:0;const t=this.date();if(this._resHeaders.expires){const i=Date.parse(this._resHeaders.expires);if(Number.isNaN(i)||ii){return Math.max(e,(t-i)/1e3*this._cacheHeuristic)}}return e}timeToLive(){const e=this.maxAge()-this.age();const t=e+toNumberOrZero(this._rescc["stale-if-error"]);const i=e+toNumberOrZero(this._rescc["stale-while-revalidate"]);return Math.max(0,e,t,i)*1e3}stale(){return this.maxAge()<=this.age()}_useStaleIfError(){return this.maxAge()+toNumberOrZero(this._rescc["stale-if-error"])>this.age()}useStaleWhileRevalidate(){return this.maxAge()+toNumberOrZero(this._rescc["stale-while-revalidate"])>this.age()}static fromObject(e){return new this(undefined,undefined,{_fromObject:e})}_fromObject(e){if(this._responseTime)throw Error("Reinitialized");if(!e||e.v!==1)throw Error("Invalid serialization");this._responseTime=e.t;this._isShared=e.sh;this._cacheHeuristic=e.ch;this._immutableMinTtl=e.imm!==undefined?e.imm:24*3600*1e3;this._status=e.st;this._resHeaders=e.resh;this._rescc=e.rescc;this._method=e.m;this._url=e.u;this._host=e.h;this._noAuthorization=e.a;this._reqHeaders=e.reqh;this._reqcc=e.reqcc}toObject(){return{v:1,t:this._responseTime,sh:this._isShared,ch:this._cacheHeuristic,imm:this._immutableMinTtl,st:this._status,resh:this._resHeaders,rescc:this._rescc,m:this._method,u:this._url,h:this._host,a:this._noAuthorization,reqh:this._reqHeaders,reqcc:this._reqcc}}revalidationHeaders(e){this._assertRequestHasHeaders(e);const t=this._copyWithoutHopByHopHeaders(e.headers);delete t["if-range"];if(!this._requestMatches(e,true)||!this.storable()){delete t["if-none-match"];delete t["if-modified-since"];return t}if(this._resHeaders.etag){t["if-none-match"]=t["if-none-match"]?`${t["if-none-match"]}, ${this._resHeaders.etag}`:this._resHeaders.etag}const i=t["accept-ranges"]||t["if-match"]||t["if-unmodified-since"]||this._method&&this._method!="GET";if(i){delete t["if-modified-since"];if(t["if-none-match"]){const e=t["if-none-match"].split(/,/).filter(e=>{return!/^\s*W\//.test(e)});if(!e.length){delete t["if-none-match"]}else{t["if-none-match"]=e.join(",").trim()}}}else if(this._resHeaders["last-modified"]&&!t["if-modified-since"]){t["if-modified-since"]=this._resHeaders["last-modified"]}return t}revalidatedPolicy(e,t){this._assertRequestHasHeaders(e);if(this._useStaleIfError()&&isErrorResponse(t)){return{modified:false,matches:false,policy:this}}if(!t||!t.headers){throw Error("Response headers missing")}let i=false;if(t.status!==undefined&&t.status!=304){i=false}else if(t.headers.etag&&!/^\s*W\//.test(t.headers.etag)){i=this._resHeaders.etag&&this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag}else if(this._resHeaders.etag&&t.headers.etag){i=this._resHeaders.etag.replace(/^\s*W\//,"")===t.headers.etag.replace(/^\s*W\//,"")}else if(this._resHeaders["last-modified"]){i=this._resHeaders["last-modified"]===t.headers["last-modified"]}else{if(!this._resHeaders.etag&&!this._resHeaders["last-modified"]&&!t.headers.etag&&!t.headers["last-modified"]){i=true}}if(!i){return{policy:new this.constructor(e,t),modified:t.status!=304,matches:false}}const n={};for(const e in this._resHeaders){n[e]=e in t.headers&&!s[e]?t.headers[e]:this._resHeaders[e]}const r=Object.assign({},t,{status:this._status,method:this._method,headers:n});return{policy:new this.constructor(e,r,{shared:this._isShared,cacheHeuristic:this._cacheHeuristic,immutableMinTimeToLive:this._immutableMinTtl}),modified:false,matches:true}}}},42479:(e,t,i)=>{var n=i(95086);var r=i(38143);var s=i(51227);var a=i(65689);e.exports={parse:n.parseRequest,parseRequest:n.parseRequest,sign:r.signRequest,signRequest:r.signRequest,createSigner:r.createSigner,isSigner:r.isSigner,sshKeyToPEM:a.sshKeyToPEM,sshKeyFingerprint:a.fingerprint,pemToRsaSSHKey:a.pemToRsaSSHKey,verify:s.verifySignature,verifySignature:s.verifySignature,verifyHMAC:s.verifyHMAC}},95086:(e,t,i)=>{var n=i(66631);var r=i(31669);var s=i(65689);var a=s.HASH_ALGOS;var o=s.PK_ALGOS;var u=s.HttpSignatureError;var c=s.InvalidAlgorithmError;var l=s.validateAlgorithm;var p={New:0,Params:1};var d={Name:0,Quote:1,Value:2,Comma:3};function ExpiredRequestError(e){u.call(this,e,ExpiredRequestError)}r.inherits(ExpiredRequestError,u);function InvalidHeaderError(e){u.call(this,e,InvalidHeaderError)}r.inherits(InvalidHeaderError,u);function InvalidParamsError(e){u.call(this,e,InvalidParamsError)}r.inherits(InvalidParamsError,u);function MissingHeaderError(e){u.call(this,e,MissingHeaderError)}r.inherits(MissingHeaderError,u);function StrictParsingError(e){u.call(this,e,StrictParsingError)}r.inherits(StrictParsingError,u);e.exports={parseRequest:function parseRequest(e,t){n.object(e,"request");n.object(e.headers,"request.headers");if(t===undefined){t={}}if(t.headers===undefined){t.headers=[e.headers["x-date"]?"x-date":"date"]}n.object(t,"options");n.arrayOfString(t.headers,"options.headers");n.optionalFinite(t.clockSkew,"options.clockSkew");var i=t.authorizationHeaderName||"authorization";if(!e.headers[i]){throw new MissingHeaderError("no "+i+" header "+"present in the request")}t.clockSkew=t.clockSkew||300;var r=0;var s=p.New;var a=d.Name;var o="";var u="";var f={scheme:"",params:{},signingString:""};var h=e.headers[i];for(r=0;r=65&&b<=90||b>=97&&b<=122){o+=m}else if(m==="="){if(o.length===0)throw new InvalidHeaderError("bad param format");a=d.Quote}else{throw new InvalidHeaderError("bad param format")}break;case d.Quote:if(m==='"'){u="";a=d.Value}else{throw new InvalidHeaderError("bad param format")}break;case d.Value:if(m==='"'){f.params[o]=u;a=d.Comma}else{u+=m}break;case d.Comma:if(m===","){o="";a=d.Name}else{throw new InvalidHeaderError("bad param format")}break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!f.params.headers||f.params.headers===""){if(e.headers["x-date"]){f.params.headers=["x-date"]}else{f.params.headers=["date"]}}else{f.params.headers=f.params.headers.split(" ")}if(!f.scheme||f.scheme!=="Signature")throw new InvalidHeaderError('scheme was not "Signature"');if(!f.params.keyId)throw new InvalidHeaderError("keyId was not specified");if(!f.params.algorithm)throw new InvalidHeaderError("algorithm was not specified");if(!f.params.signature)throw new InvalidHeaderError("signature was not specified");f.params.algorithm=f.params.algorithm.toLowerCase();try{l(f.params.algorithm)}catch(e){if(e instanceof c)throw new InvalidParamsError(f.params.algorithm+" is not "+"supported");else throw e}for(r=0;rt.clockSkew*1e3){throw new ExpiredRequestError("clock skew of "+w/1e3+"s was greater than "+t.clockSkew+"s")}}t.headers.forEach(function(e){if(f.params.headers.indexOf(e.toLowerCase())<0)throw new MissingHeaderError(e+" was not a signed header")});if(t.algorithms){if(t.algorithms.indexOf(f.params.algorithm)===-1)throw new InvalidParamsError(f.params.algorithm+" is not a supported algorithm")}f.algorithm=f.params.algorithm.toUpperCase();f.keyId=f.params.keyId;return f}}},38143:(e,t,i)=>{var n=i(66631);var r=i(76417);var s=i(98605);var a=i(31669);var o=i(87022);var u=i(6287);var c=i(65689);var l=i(31669).format;var p=c.HASH_ALGOS;var d=c.PK_ALGOS;var f=c.InvalidAlgorithmError;var h=c.HttpSignatureError;var m=c.validateAlgorithm;var b='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function MissingHeaderError(e){h.call(this,e,MissingHeaderError)}a.inherits(MissingHeaderError,h);function StrictParsingError(e){h.call(this,e,StrictParsingError)}a.inherits(StrictParsingError,h);function RequestSigner(e){n.object(e,"options");var t=[];if(e.algorithm!==undefined){n.string(e.algorithm,"options.algorithm");t=m(e.algorithm)}this.rs_alg=t;if(e.sign!==undefined){n.func(e.sign,"options.sign");this.rs_signFunc=e.sign}else if(t[0]==="hmac"&&e.key!==undefined){n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(typeof e.key!=="string"&&!Buffer.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=r.createHmac(t[1].toUpperCase(),e.key);this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:t[1],toString:function(){return e}}}}else if(e.key!==undefined){var i=e.key;if(typeof i==="string"||Buffer.isBuffer(i))i=o.parsePrivateKey(i);n.ok(o.PrivateKey.isPrivateKey(i,[1,2]),"options.key must be a sshpk.PrivateKey");this.rs_key=i;n.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(!d[i.type]){throw new f(i.type.toUpperCase()+" type "+"keys are not supported")}if(t[0]!==undefined&&i.type!==t[0]){throw new f("options.key must be a "+t[0].toUpperCase()+" key, was given a "+i.type.toUpperCase()+" key instead")}this.rs_signer=i.createSign(t[1])}else{throw new TypeError("options.sign (func) or options.key is required")}this.rs_headers=[];this.rs_lines=[]}RequestSigner.prototype.writeHeader=function(e,t){n.string(e,"header");e=e.toLowerCase();n.string(t,"value");this.rs_headers.push(e);if(this.rs_signFunc){this.rs_lines.push(e+": "+t)}else{var i=e+": "+t;if(this.rs_headers.length>0)i="\n"+i;this.rs_signer.update(i)}return t};RequestSigner.prototype.writeDateHeader=function(){return this.writeHeader("date",u.rfc1123(new Date))};RequestSigner.prototype.writeTarget=function(e,t){n.string(e,"method");n.string(t,"path");e=e.toLowerCase();this.writeHeader("(request-target)",e+" "+t)};RequestSigner.prototype.sign=function(e){n.func(e,"callback");if(this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,i;if(this.rs_signFunc){var r=this.rs_lines.join("\n");var s=this;this.rs_signFunc(r,function(r,a){if(r){e(r);return}try{n.object(a,"signature");n.string(a.keyId,"signature.keyId");n.string(a.algorithm,"signature.algorithm");n.string(a.signature,"signature.signature");t=m(a.algorithm);i=l(b,a.keyId,a.algorithm,s.rs_headers.join(" "),a.signature)}catch(t){e(t);return}e(null,i)})}else{try{var a=this.rs_signer.sign()}catch(t){e(t);return}t=(this.rs_alg[0]||this.rs_key.type)+"-"+a.hashAlgorithm;var o=a.toString();i=l(b,this.rs_keyId,t,this.rs_headers.join(" "),o);e(null,i)}};e.exports={isSigner:function(e){if(typeof e==="object"&&e instanceof RequestSigner)return true;return false},createSigner:function createSigner(e){return new RequestSigner(e)},signRequest:function signRequest(e,t){n.object(e,"request");n.object(t,"options");n.optionalString(t.algorithm,"options.algorithm");n.string(t.keyId,"options.keyId");n.optionalArrayOfString(t.headers,"options.headers");n.optionalString(t.httpVersion,"options.httpVersion");if(!e.getHeader("Date"))e.setHeader("Date",u.rfc1123(new Date));if(!t.headers)t.headers=["date"];if(!t.httpVersion)t.httpVersion="1.1";var i=[];if(t.algorithm){t.algorithm=t.algorithm.toLowerCase();i=m(t.algorithm)}var s;var a="";for(s=0;s{var n=i(66631);var r=i(87022);var s=i(31669);var a={sha1:true,sha256:true,sha512:true};var o={rsa:true,dsa:true,ecdsa:true};function HttpSignatureError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,t||HttpSignatureError);this.message=e;this.name=t.name}s.inherits(HttpSignatureError,Error);function InvalidAlgorithmError(e){HttpSignatureError.call(this,e,InvalidAlgorithmError)}s.inherits(InvalidAlgorithmError,HttpSignatureError);function validateAlgorithm(e){var t=e.toLowerCase().split("-");if(t.length!==2){throw new InvalidAlgorithmError(t[0].toUpperCase()+" is not a "+"valid algorithm")}if(t[0]!=="hmac"&&!o[t[0]]){throw new InvalidAlgorithmError(t[0].toUpperCase()+" type keys "+"are not supported")}if(!a[t[1]]){throw new InvalidAlgorithmError(t[1].toUpperCase()+" is not a "+"supported hash algorithm")}return t}e.exports={HASH_ALGOS:a,PK_ALGOS:o,HttpSignatureError:HttpSignatureError,InvalidAlgorithmError:InvalidAlgorithmError,validateAlgorithm:validateAlgorithm,sshKeyToPEM:function sshKeyToPEM(e){n.string(e,"ssh_key");var t=r.parseKey(e,"ssh");return t.toString("pem")},fingerprint:function fingerprint(e){n.string(e,"ssh_key");var t=r.parseKey(e,"ssh");return t.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function pemToRsaSSHKey(e,t){n.equal("string",typeof e,"typeof pem");var i=r.parseKey(e,"pem");i.comment=t;return i.toString("ssh")}}},51227:(e,t,i)=>{var n=i(66631);var r=i(76417);var s=i(87022);var a=i(65689);var o=a.HASH_ALGOS;var u=a.PK_ALGOS;var c=a.InvalidAlgorithmError;var l=a.HttpSignatureError;var p=a.validateAlgorithm;e.exports={verifySignature:function verifySignature(e,t){n.object(e,"parsedSignature");if(typeof t==="string"||Buffer.isBuffer(t))t=s.parseKey(t);n.ok(s.Key.isKey(t,[1,1]),"pubkey must be a sshpk.Key");var i=p(e.algorithm);if(i[0]==="hmac"||i[0]!==t.type)return false;var r=t.createVerify(i[1]);r.update(e.signingString);return r.verify(e.params.signature,"base64")},verifyHMAC:function verifyHMAC(e,t){n.object(e,"parsedHMAC");n.string(t,"secret");var i=p(e.algorithm);if(i[0]!=="hmac")return false;var s=i[1].toUpperCase();var a=r.createHmac(s,t);a.update(e.signingString);var o=r.createHmac(s,t);o.update(a.digest());o=o.digest();var u=r.createHmac(s,t);u.update(new Buffer(e.params.signature,"base64"));u=u.digest();if(typeof o==="string")return o===u;if(Buffer.isBuffer(o)&&!o.equals)return o.toString("binary")===u.toString("binary");return o.equals(u)}}},79898:(e,t,i)=>{"use strict";const n=i(28614);const r=i(4016);const s=i(97565);const a=i(49273);const o=Symbol("currentStreamsCount");const u=Symbol("request");const c=Symbol("cachedOriginSet");const l=Symbol("gracefullyClosing");const p=["maxDeflateDynamicTableSize","maxSessionMemory","maxHeaderListPairs","maxOutstandingPings","maxReservedRemoteStreams","maxSendHeaderBlockLength","paddingStrategy","localAddress","path","rejectUnauthorized","minDHSize","ca","cert","clientCertEngine","ciphers","key","pfx","servername","minVersion","maxVersion","secureProtocol","crl","honorCipherOrder","ecdhCurve","dhparam","secureOptions","sessionIdContext"];const d=(e,t,i)=>{let n=0;let r=e.length;while(n>>1;if(i(e[s],t)){n=s+1}else{r=s}}return n};const f=(e,t)=>{return e.remoteSettings.maxConcurrentStreams>t.remoteSettings.maxConcurrentStreams};const h=(e,t)=>{for(const i of e){if(i[c].lengtht[c].includes(e))&&i[o]+t[o]<=t.remoteSettings.maxConcurrentStreams){g(i)}}};const m=(e,t)=>{for(const i of e){if(t[c].lengthi[c].includes(e))&&t[o]+i[o]<=i.remoteSettings.maxConcurrentStreams){g(t)}}};const b=({agent:e,isFree:t})=>{const i={};for(const n in e.sessions){const r=e.sessions[n];const s=r.filter(e=>{const i=e[Agent.kCurrentStreamsCount]{e[l]=true;if(e[o]===0){e.close()}};class Agent extends n{constructor({timeout:e=6e4,maxSessions:t=Infinity,maxFreeSessions:i=10,maxCachedTlsSessions:n=100}={}){super();this.sessions={};this.queue={};this.timeout=e;this.maxSessions=t;this.maxFreeSessions=i;this._freeSessionsCount=0;this._sessionsCount=0;this.settings={enablePush:false};this.tlsSessionCache=new a({maxSize:n})}static normalizeOrigin(e,t){if(typeof e==="string"){e=new URL(e)}if(t&&e.hostname!==t){e.hostname=t}return e.origin}normalizeOptions(e){let t="";if(e){for(const i of p){if(e[i]){t+=`:${e[i]}`}}}return t}_tryToCreateNewSession(e,t){if(!(e in this.queue)||!(t in this.queue[e])){return}const i=this.queue[e][t];if(this._sessionsCount{if(Array.isArray(i)){i=[...i];n()}else{i=[{resolve:n,reject:r}]}const a=this.normalizeOptions(t);const p=Agent.normalizeOrigin(e,t&&t.servername);if(p===undefined){for(const{reject:e}of i){e(new TypeError("The `origin` argument needs to be a string or an URL object"))}return}if(a in this.sessions){const e=this.sessions[a];let t=-1;let n=-1;let r;for(const i of e){const e=i.remoteSettings.maxConcurrentStreams;if(e=e||i[l]||i.destroyed){continue}if(!r){t=e}if(s>n){r=i;n=s}}}if(r){if(i.length!==1){for(const{reject:e}of i){const t=new Error(`Expected the length of listeners to be 1, got ${i.length}.\n`+"Please report this to https://github.com/szmarczak/http2-wrapper/");e(t)}return}i[0].resolve(r);return}}if(a in this.queue){if(p in this.queue[a]){this.queue[a][p].listeners.push(...i);this._tryToCreateNewSession(a,p);return}}else{this.queue[a]={}}const b=()=>{if(a in this.queue&&this.queue[a][p]===g){delete this.queue[a][p];if(Object.keys(this.queue[a]).length===0){delete this.queue[a]}}};const g=()=>{const n=`${p}:${a}`;let r=false;try{const y=s.connect(e,{createConnection:this.createConnection,settings:this.settings,session:this.tlsSessionCache.get(n),...t});y[o]=0;y[l]=false;const S=()=>y[o]{this.tlsSessionCache.set(n,e)});y.once("error",e=>{for(const{reject:t}of i){t(e)}this.tlsSessionCache.delete(n)});y.setTimeout(this.timeout,()=>{y.destroy()});y.once("close",()=>{if(r){if(v){this._freeSessionsCount--}this._sessionsCount--;const e=this.sessions[a];e.splice(e.indexOf(y),1);if(e.length===0){delete this.sessions[a]}}else{const e=new Error("Session closed without receiving a SETTINGS frame");e.code="HTTP2WRAPPER_NOSETTINGS";for(const{reject:t}of i){t(e)}b()}this._tryToCreateNewSession(a,p)});const w=()=>{if(!(a in this.queue)||!S()){return}for(const e of y[c]){if(e in this.queue[a]){const{listeners:t}=this.queue[a][e];while(t.length!==0&&S()){t.shift().resolve(y)}const i=this.queue[a];if(i[e].listeners.length===0){delete i[e];if(Object.keys(i).length===0){delete this.queue[a];break}}if(!S()){break}}}};y.on("origin",()=>{y[c]=y.originSet;if(!S()){return}w();h(this.sessions[a],y)});y.once("remoteSettings",()=>{y.ref();y.unref();this._sessionsCount++;if(g.destroyed){const e=new Error("Agent has been destroyed");for(const t of i){t.reject(e)}y.destroy();return}y[c]=y.originSet;{const e=this.sessions;if(a in e){const t=e[a];t.splice(d(t,y,f),0,y)}else{e[a]=[y]}}this._freeSessionsCount+=1;r=true;this.emit("session",y);w();b();if(y[o]===0&&this._freeSessionsCount>this.maxFreeSessions){y.close()}if(i.length!==0){this.getSession(p,t,i);i.length=0}y.on("remoteSettings",()=>{w();h(this.sessions[a],y)})});y[u]=y.request;y.request=((e,t)=>{if(y[l]){throw new Error("The session is gracefully closing. No new streams are allowed.")}const i=y[u](e,t);y.ref();++y[o];if(y[o]===y.remoteSettings.maxConcurrentStreams){this._freeSessionsCount--}i.once("close",()=>{v=S();--y[o];if(!y.destroyed&&!y.closed){m(this.sessions[a],y);if(S()&&!y.closed){if(!v){this._freeSessionsCount++;v=true}const e=y[o]===0;if(e){y.unref()}if(e&&(this._freeSessionsCount>this.maxFreeSessions||y[l])){y.close()}else{h(this.sessions[a],y);w()}}}});return i})}catch(e){for(const t of i){t.reject(e)}b()}};g.listeners=i;g.completed=false;g.destroyed=false;this.queue[a][p]=g;this._tryToCreateNewSession(a,p)})}request(e,t,i,n){return new Promise((r,s)=>{this.getSession(e,t,[{reject:s,resolve:e=>{try{r(e.request(i,n))}catch(e){s(e)}}}])})}createConnection(e,t){return Agent.connect(e,t)}static connect(e,t){t.ALPNProtocols=["h2"];const i=e.port||443;const n=e.hostname||e.host;if(typeof t.servername==="undefined"){t.servername=n}return r.connect(i,n,t)}closeFreeSessions(){for(const e of Object.values(this.sessions)){for(const t of e){if(t[o]===0){t.close()}}}}destroy(e){for(const t of Object.values(this.sessions)){for(const i of t){i.destroy(e)}}for(const e of Object.values(this.queue)){for(const t of Object.values(e)){t.destroyed=true}}this.queue={}}get freeSessions(){return b({agent:this,isFree:true})}get busySessions(){return b({agent:this,isFree:false})}}Agent.kCurrentStreamsCount=o;Agent.kGracefullyClosing=l;e.exports={Agent:Agent,globalAgent:new Agent}},97167:(e,t,i)=>{"use strict";const n=i(98605);const r=i(57211);const s=i(46624);const a=i(49273);const o=i(59632);const u=i(51982);const c=i(92686);const l=new a({maxSize:100});const p=new Map;const d=(e,t,i)=>{t._httpMessage={shouldKeepAlive:true};const n=()=>{e.emit("free",t,i)};t.on("free",n);const r=()=>{e.removeSocket(t,i)};t.on("close",r);const s=()=>{e.removeSocket(t,i);t.off("close",r);t.off("free",n);t.off("agentRemove",s)};t.on("agentRemove",s);e.emit("free",t,i)};const f=async e=>{const t=`${e.host}:${e.port}:${e.ALPNProtocols.sort()}`;if(!l.has(t)){if(p.has(t)){const e=await p.get(t);return e.alpnProtocol}const{path:i,agent:n}=e;e.path=e.socketPath;const a=s(e);p.set(t,a);try{const{socket:s,alpnProtocol:o}=await a;l.set(t,o);e.path=i;if(o==="h2"){s.destroy()}else{const{globalAgent:t}=r;const i=r.Agent.prototype.createConnection;if(n){if(n.createConnection===i){d(n,s,e)}else{s.destroy()}}else if(t.createConnection===i){d(t,s,e)}else{s.destroy()}}p.delete(t);return o}catch(e){p.delete(t);throw e}}return l.get(t)};e.exports=(async(e,t,i)=>{if(typeof e==="string"||e instanceof URL){e=c(new URL(e))}if(typeof t==="function"){i=t;t=undefined}t={ALPNProtocols:["h2","http/1.1"],...e,...t,resolveSocket:true};if(!Array.isArray(t.ALPNProtocols)||t.ALPNProtocols.length===0){throw new Error("The `ALPNProtocols` option must be an Array with at least one entry")}t.protocol=t.protocol||"https:";const s=t.protocol==="https:";t.host=t.hostname||t.host||"localhost";t.session=t.tlsSession;t.servername=t.servername||u(t);t.port=t.port||(s?443:80);t._defaultAgent=s?r.globalAgent:n.globalAgent;const a=t.agent;if(a){if(a.addRequest){throw new Error("The `options.agent` object can contain only `http`, `https` or `http2` properties")}t.agent=a[s?"https":"http"]}if(s){const e=await f(t);if(e==="h2"){if(a){t.agent=a.http2}return new o(t,i)}}return n.request(t,i)});e.exports.protocolCache=l},59632:(e,t,i)=>{"use strict";const n=i(97565);const{Writable:r}=i(92413);const{Agent:s,globalAgent:a}=i(79898);const o=i(82575);const u=i(92686);const c=i(81818);const l=i(11199);const{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_PROTOCOL:d,ERR_HTTP_HEADERS_SENT:f,ERR_INVALID_HTTP_TOKEN:h,ERR_HTTP_INVALID_HEADER_VALUE:m,ERR_INVALID_CHAR:b}=i(7087);const{HTTP2_HEADER_STATUS:g,HTTP2_HEADER_METHOD:y,HTTP2_HEADER_PATH:S,HTTP2_METHOD_CONNECT:v}=n.constants;const w=Symbol("headers");const j=Symbol("origin");const z=Symbol("session");const O=Symbol("options");const k=Symbol("flushedHeaders");const C=Symbol("jobs");const T=/^[\^`\-\w!#$%&*+.|~]+$/;const _=/[^\t\u0020-\u007E\u0080-\u00FF]/;class ClientRequest extends r{constructor(e,t,i){super({autoDestroy:false});const n=typeof e==="string"||e instanceof URL;if(n){e=u(e instanceof URL?e:new URL(e))}if(typeof t==="function"||t===undefined){i=t;t=n?e:{...e}}else{t={...e,...t}}if(t.h2session){this[z]=t.h2session}else if(t.agent===false){this.agent=new s({maxFreeSessions:0})}else if(typeof t.agent==="undefined"||t.agent===null){if(typeof t.createConnection==="function"){this.agent=new s({maxFreeSessions:0});this.agent.createConnection=t.createConnection}else{this.agent=a}}else if(typeof t.agent.request==="function"){this.agent=t.agent}else{throw new p("options.agent",["Agent-like Object","undefined","false"],t.agent)}if(t.protocol&&t.protocol!=="https:"){throw new d(t.protocol,"https:")}const r=t.port||t.defaultPort||this.agent&&this.agent.defaultPort||443;const o=t.hostname||t.host||"localhost";delete t.hostname;delete t.host;delete t.port;const{timeout:c}=t;t.timeout=undefined;this[w]=Object.create(null);this[C]=[];this.socket=null;this.connection=null;this.method=t.method||"GET";this.path=t.path;this.res=null;this.aborted=false;this.reusedSocket=false;if(t.headers){for(const[e,i]of Object.entries(t.headers)){this.setHeader(e,i)}}if(t.auth&&!("authorization"in this[w])){this[w].authorization="Basic "+Buffer.from(t.auth).toString("base64")}t.session=t.tlsSession;t.path=t.socketPath;this[O]=t;if(r===443){this[j]=`https://${o}`;if(!(":authority"in this[w])){this[w][":authority"]=o}}else{this[j]=`https://${o}:${r}`;if(!(":authority"in this[w])){this[w][":authority"]=`${o}:${r}`}}if(c){this.setTimeout(c)}if(i){this.once("response",i)}this[k]=false}get method(){return this[w][y]}set method(e){if(e){this[w][y]=e.toUpperCase()}}get path(){return this[w][S]}set path(e){if(e){this[w][S]=e}}get _mustNotHaveABody(){return this.method==="GET"||this.method==="HEAD"||this.method==="DELETE"}_write(e,t,i){if(this._mustNotHaveABody){i(new Error("The GET, HEAD and DELETE methods must NOT have a body"));return}this.flushHeaders();const n=()=>this._request.write(e,t,i);if(this._request){n()}else{this[C].push(n)}}_final(e){if(this.destroyed){return}this.flushHeaders();const t=()=>{if(this._mustNotHaveABody){e();return}this._request.end(e)};if(this._request){t()}else{this[C].push(t)}}abort(){if(this.res&&this.res.complete){return}if(!this.aborted){process.nextTick(()=>this.emit("abort"))}this.aborted=true;this.destroy()}_destroy(e,t){if(this.res){this.res._dump()}if(this._request){this._request.destroy()}t(e)}async flushHeaders(){if(this[k]||this.destroyed){return}this[k]=true;const e=this.method===v;const t=t=>{this._request=t;if(this.destroyed){t.destroy();return}if(!e){c(t,this,["timeout","continue","close","error"])}const i=e=>{return(...t)=>{if(!this.writable&&!this.destroyed){e(...t)}else{this.once("finish",()=>{e(...t)})}}};t.once("response",i((i,n,r)=>{const s=new o(this.socket,t.readableHighWaterMark);this.res=s;s.req=this;s.statusCode=i[g];s.headers=i;s.rawHeaders=r;s.once("end",()=>{if(this.aborted){s.aborted=true;s.emit("aborted")}else{s.complete=true;s.socket=null;s.connection=null}});if(e){s.upgrade=true;if(this.emit("connect",s,t,Buffer.alloc(0))){this.emit("close")}else{t.destroy()}}else{t.on("data",e=>{if(!s._dumped&&!s.push(e)){t.pause()}});t.once("end",()=>{s.push(null)});if(!this.emit("response",s)){s._dump()}}}));t.once("headers",i(e=>this.emit("information",{statusCode:e[g]})));t.once("trailers",i((e,t,i)=>{const{res:n}=this;n.trailers=e;n.rawTrailers=i}));const{socket:n}=t.session;this.socket=n;this.connection=n;for(const e of this[C]){e()}this.emit("socket",this.socket)};if(this[z]){try{t(this[z].request(this[w]))}catch(e){this.emit("error",e)}}else{this.reusedSocket=true;try{t(await this.agent.request(this[j],this[O],this[w]))}catch(e){this.emit("error",e)}}}getHeader(e){if(typeof e!=="string"){throw new p("name","string",e)}return this[w][e.toLowerCase()]}get headersSent(){return this[k]}removeHeader(e){if(typeof e!=="string"){throw new p("name","string",e)}if(this.headersSent){throw new f("remove")}delete this[w][e.toLowerCase()]}setHeader(e,t){if(this.headersSent){throw new f("set")}if(typeof e!=="string"||!T.test(e)&&!l(e)){throw new h("Header name",e)}if(typeof t==="undefined"){throw new m(t,e)}if(_.test(t)){throw new b("header content",e)}this[w][e.toLowerCase()]=t}setNoDelay(){}setSocketKeepAlive(){}setTimeout(e,t){const i=()=>this._request.setTimeout(e,t);if(this._request){i()}else{this[C].push(i)}return this}get maxHeadersCount(){if(!this.destroyed&&this._request){return this._request.session.localSettings.maxHeaderListSize}return undefined}set maxHeadersCount(e){}}e.exports=ClientRequest},82575:(e,t,i)=>{"use strict";const{Readable:n}=i(92413);class IncomingMessage extends n{constructor(e,t){super({highWaterMark:t,autoDestroy:false});this.statusCode=null;this.statusMessage="";this.httpVersion="2.0";this.httpVersionMajor=2;this.httpVersionMinor=0;this.headers={};this.trailers={};this.req=null;this.aborted=false;this.complete=false;this.upgrade=null;this.rawHeaders=[];this.rawTrailers=[];this.socket=e;this.connection=e;this._dumped=false}_destroy(e){this.req._request.destroy(e)}setTimeout(e,t){this.req.setTimeout(e,t);return this}_dump(){if(!this._dumped){this._dumped=true;this.removeAllListeners("data");this.resume()}}_read(){if(this.req){this.req._request.resume()}}}e.exports=IncomingMessage},54645:(e,t,i)=>{"use strict";const n=i(97565);const r=i(79898);const s=i(59632);const a=i(82575);const o=i(97167);const u=(e,t,i)=>{return new s(e,t,i)};const c=(e,t,i)=>{const n=new s(e,t,i);n.end();return n};e.exports={...n,ClientRequest:s,IncomingMessage:a,...r,request:u,get:c,auto:o}},51982:(e,t,i)=>{"use strict";const n=i(11631);e.exports=(e=>{let t=e.host;const i=e.headers&&e.headers.host;if(i){if(i.startsWith("[")){const e=i.indexOf("]");if(e===-1){t=i}else{t=i.slice(1,-1)}}else{t=i.split(":",1)[0]}}if(n.isIP(t)){return""}return t})},7087:e=>{"use strict";const t=(t,i,n)=>{e.exports[i]=class NodeError extends t{constructor(...e){super(typeof n==="string"?n:n(e));this.name=`${super.name} [${i}]`;this.code=i}}};t(TypeError,"ERR_INVALID_ARG_TYPE",e=>{const t=e[0].includes(".")?"property":"argument";let i=e[1];const n=Array.isArray(i);if(n){i=`${i.slice(0,-1).join(", ")} or ${i.slice(-1)}`}return`The "${e[0]}" ${t} must be ${n?"one of":"of"} type ${i}. Received ${typeof e[2]}`});t(TypeError,"ERR_INVALID_PROTOCOL",e=>{return`Protocol "${e[0]}" not supported. Expected "${e[1]}"`});t(Error,"ERR_HTTP_HEADERS_SENT",e=>{return`Cannot ${e[0]} headers after they are sent to the client`});t(TypeError,"ERR_INVALID_HTTP_TOKEN",e=>{return`${e[0]} must be a valid HTTP token [${e[1]}]`});t(TypeError,"ERR_HTTP_INVALID_HEADER_VALUE",e=>{return`Invalid value "${e[0]} for header "${e[1]}"`});t(TypeError,"ERR_INVALID_CHAR",e=>{return`Invalid character in ${e[0]} [${e[1]}]`})},11199:e=>{"use strict";e.exports=(e=>{switch(e){case":method":case":scheme":case":authority":case":path":return true;default:return false}})},81818:e=>{"use strict";e.exports=((e,t,i)=>{for(const n of i){e.on(n,(...e)=>t.emit(n,...e))}})},92686:e=>{"use strict";e.exports=(e=>{const t={protocol:e.protocol,hostname:typeof e.hostname==="string"&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,host:e.host,hash:e.hash,search:e.search,pathname:e.pathname,href:e.href,path:`${e.pathname||""}${e.search||""}`};if(typeof e.port==="string"&&e.port.length!==0){t.port=Number(e.port)}if(e.username||e.password){t.auth=`${e.username||""}:${e.password||""}`}return t})},98043:e=>{"use strict";e.exports=((e,t=1,i)=>{i={indent:" ",includeEmptyLines:false,...i};if(typeof e!=="string"){throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof e}\``)}if(typeof t!=="number"){throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof t}\``)}if(typeof i.indent!=="string"){throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``)}if(t===0){return e}const n=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return e.replace(n,i.indent.repeat(t))})},52492:(e,t,i)=>{var n=i(62940);var r=Object.create(null);var s=i(1223);e.exports=n(inflight);function inflight(e,t){if(r[e]){r[e].push(t);return null}else{r[e]=[t];return makeres(e)}}function makeres(e){return s(function RES(){var t=r[e];var i=t.length;var n=slice(arguments);try{for(var s=0;si){t.splice(0,i);process.nextTick(function(){RES.apply(null,n)})}else{delete r[e]}}})}function slice(e){var t=e.length;var i=[];for(var n=0;n{try{var n=i(31669);if(typeof n.inherits!=="function")throw"";e.exports=n.inherits}catch(t){e.exports=i(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype;e.prototype=new i;e.prototype.constructor=e}}}},41554:e=>{"use strict";var t=e.exports=function(e){return e!==null&&typeof e==="object"&&typeof e.pipe==="function"};t.writable=function(e){return t(e)&&e.writable!==false&&typeof e._write==="function"&&typeof e._writableState==="object"};t.readable=function(e){return t(e)&&e.readable!==false&&typeof e._read==="function"&&typeof e._readableState==="object"};t.duplex=function(e){return t.writable(e)&&t.readable(e)};t.transform=function(e){return t.duplex(e)&&typeof e._transform==="function"&&typeof e._transformState==="object"}},10657:e=>{e.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var t=Object.prototype.toString;var i={"[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 i[t.call(e)]}},97126:(e,t,i)=>{var n=i(35747);var r;if(process.platform==="win32"||global.TESTING_WINDOWS){r=i(42001)}else{r=i(9728)}e.exports=isexe;isexe.sync=sync;function isexe(e,t,i){if(typeof t==="function"){i=t;t={}}if(!i){if(typeof Promise!=="function"){throw new TypeError("callback not provided")}return new Promise(function(i,n){isexe(e,t||{},function(e,t){if(e){n(e)}else{i(t)}})})}r(e,t||{},function(e,n){if(e){if(e.code==="EACCES"||t&&t.ignoreErrors){e=null;n=false}}i(e,n)})}function sync(e,t){try{return r.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||e.code==="EACCES"){return false}else{throw e}}}},9728:(e,t,i)=>{e.exports=isexe;isexe.sync=sync;var n=i(35747);function isexe(e,t,i){n.stat(e,function(e,n){i(e,e?false:checkStat(n,t))})}function sync(e,t){return checkStat(n.statSync(e),t)}function checkStat(e,t){return e.isFile()&&checkMode(e,t)}function checkMode(e,t){var i=e.mode;var n=e.uid;var r=e.gid;var s=t.uid!==undefined?t.uid:process.getuid&&process.getuid();var a=t.gid!==undefined?t.gid:process.getgid&&process.getgid();var o=parseInt("100",8);var u=parseInt("010",8);var c=parseInt("001",8);var l=o|u;var p=i&c||i&u&&r===a||i&o&&n===s||i&l&&s===0;return p}},42001:(e,t,i)=>{e.exports=isexe;isexe.sync=sync;var n=i(35747);function checkPathExt(e,t){var i=t.pathExt!==undefined?t.pathExt:process.env.PATHEXT;if(!i){return true}i=i.split(";");if(i.indexOf("")!==-1){return true}for(var n=0;n{"use strict";e.exports=i(88867)},83362:(e,t,i)=>{var n=i(92413);function isStream(e){return e instanceof n.Stream}function isReadable(e){return isStream(e)&&typeof e._read=="function"&&typeof e._readableState=="object"}function isWritable(e){return isStream(e)&&typeof e._write=="function"&&typeof e._writableState=="object"}function isDuplex(e){return isReadable(e)&&isWritable(e)}e.exports=isStream;e.exports.isReadable=isReadable;e.exports.isWritable=isWritable;e.exports.isDuplex=isDuplex},52973:e=>{const t={JOSEAlgNotWhitelisted:"ERR_JOSE_ALG_NOT_WHITELISTED",JOSECritNotUnderstood:"ERR_JOSE_CRIT_NOT_UNDERSTOOD",JOSEInvalidEncoding:"ERR_JOSE_INVALID_ENCODING",JOSEMultiError:"ERR_JOSE_MULTIPLE_ERRORS",JOSENotSupported:"ERR_JOSE_NOT_SUPPORTED",JWEDecryptionFailed:"ERR_JWE_DECRYPTION_FAILED",JWEInvalid:"ERR_JWE_INVALID",JWKImportFailed:"ERR_JWK_IMPORT_FAILED",JWKInvalid:"ERR_JWK_INVALID",JWKKeySupport:"ERR_JWK_KEY_SUPPORT",JWKSNoMatchingKey:"ERR_JWKS_NO_MATCHING_KEY",JWSInvalid:"ERR_JWS_INVALID",JWSVerificationFailed:"ERR_JWS_VERIFICATION_FAILED",JWTClaimInvalid:"ERR_JWT_CLAIM_INVALID",JWTExpired:"ERR_JWT_EXPIRED",JWTMalformed:"ERR_JWT_MALFORMED"};const i={JWEDecryptionFailed:"decryption operation failed",JWEInvalid:"JWE invalid",JWKSNoMatchingKey:"no matching key found in the KeyStore",JWSInvalid:"JWS invalid",JWSVerificationFailed:"signature verification failed"};class JOSEError extends Error{constructor(e){super(e);if(e===undefined){this.message=i[this.constructor.name]}this.name=this.constructor.name;this.code=t[this.constructor.name];Error.captureStackTrace(this,this.constructor)}}const n=e=>e instanceof JOSEMultiError;class JOSEMultiError extends JOSEError{constructor(e){super();let t;while((t=e.findIndex(n))&&t!==-1){e.splice(t,1,...e[t])}Object.defineProperty(this,"errors",{value:e})}*[Symbol.iterator](){for(const e of this.errors){yield e}}}e.exports.JOSEError=JOSEError;e.exports.JOSEAlgNotWhitelisted=class JOSEAlgNotWhitelisted extends JOSEError{};e.exports.JOSECritNotUnderstood=class JOSECritNotUnderstood extends JOSEError{};e.exports.JOSEInvalidEncoding=class JOSEInvalidEncoding extends JOSEError{};e.exports.JOSEMultiError=JOSEMultiError;e.exports.JOSENotSupported=class JOSENotSupported extends JOSEError{};e.exports.JWEDecryptionFailed=class JWEDecryptionFailed extends JOSEError{};e.exports.JWEInvalid=class JWEInvalid extends JOSEError{};e.exports.JWKImportFailed=class JWKImportFailed extends JOSEError{};e.exports.JWKInvalid=class JWKInvalid extends JOSEError{};e.exports.JWKKeySupport=class JWKKeySupport extends JOSEError{};e.exports.JWKSNoMatchingKey=class JWKSNoMatchingKey extends JOSEError{};e.exports.JWSInvalid=class JWSInvalid extends JOSEError{};e.exports.JWSVerificationFailed=class JWSVerificationFailed extends JOSEError{};class JWTClaimInvalid extends JOSEError{constructor(e,t="unspecified",i="unspecified"){super(e);this.claim=t;this.reason=i}}e.exports.JWTClaimInvalid=JWTClaimInvalid;e.exports.JWTExpired=class JWTExpired extends JWTClaimInvalid{};e.exports.JWTMalformed=class JWTMalformed extends JOSEError{}},68207:(e,t,i)=>{const n=i(72967);e.exports=function(){this.seq().obj(this.key("algorithm").objid(n),this.key("parameters").optional().choice({namedCurve:this.objid(n),null:this.null_()}))}},37707:(e,t,i)=>{const n=i(72967);e.exports=function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().choice({namedCurve:this.objid(n)}),this.key("publicKey").explicit(1).optional().bitstr())}},16416:(e,t,i)=>{const n=i(39436);const r=new Map;const s=n.define("AlgorithmIdentifier",i(68207));r.set("AlgorithmIdentifier",s);const a=n.define("ECPrivateKey",i(37707));r.set("ECPrivateKey",a);const o=n.define("PrivateKeyInfo",i(58570)(s));r.set("PrivateKeyInfo",o);const u=n.define("PublicKeyInfo",i(5641)(s));r.set("PublicKeyInfo",u);const c=n.define("PrivateKey",i(62624));r.set("PrivateKey",c);const l=n.define("OneAsymmetricKey",i(30424)(s,c));r.set("OneAsymmetricKey",l);const p=n.define("RSAPrivateKey",i(29822));r.set("RSAPrivateKey",p);const d=n.define("RSAPublicKey",i(39542));r.set("RSAPublicKey",d);e.exports=r},72967:e=>{const t={"1 2 840 10045 3 1 7":"P-256","1 3 132 0 10":"secp256k1","1 3 132 0 34":"P-384","1 3 132 0 35":"P-521","1 2 840 10045 2 1":"ecPublicKey","1 2 840 113549 1 1 1":"rsaEncryption","1 3 101 110":"X25519","1 3 101 111":"X448","1 3 101 112":"Ed25519","1 3 101 113":"Ed448"};e.exports=t},30424:e=>{e.exports=((e,t)=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").use(t))}))},62624:e=>{e.exports=function(){this.octstr().contains().obj(this.key("privateKey").octstr())}},58570:e=>{e.exports=(e=>(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(e),this.key("privateKey").octstr())}))},5641:e=>{e.exports=(e=>(function(){this.seq().obj(this.key("algorithm").use(e),this.key("publicKey").bitstr())}))},29822:e=>{e.exports=function(){this.seq().obj(this.key("version").int({0:"two-prime",1:"multi"}),this.key("n").int(),this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int())}},39542:e=>{e.exports=function(){this.seq().obj(this.key("n").int(),this.key("e").int())}},73385:e=>{let t;let i;if(Buffer.isEncoding("base64url")){t=((e,t="utf8")=>Buffer.from(e,t).toString("base64url"));i=(e=>e.toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");t=((t,i="utf8")=>e(Buffer.from(t,i).toString("base64")));i=(t=>e(t.toString("base64")))}const n=e=>{return Buffer.from(e,"base64")};const r=(e,t="utf8")=>{return n(e).toString(t)};const s={encode:e=>{return t(JSON.stringify(e))},decode:(e,t="utf8")=>{return JSON.parse(r(e,t))}};s.decode.try=((e,t="utf8")=>{try{return s.decode(e,t)}catch(i){return r(e,t)}});const a=e=>{let t=BigInt(e).toString(16);if(t.length%2){t=`0${t}`}const i=t.length/2;const n=new Uint8Array(i);let r=0;let s=0;while(ri(Buffer.from(a(e)));e.exports.decode=r;e.exports.decodeToBuffer=n;e.exports.encode=t;e.exports.encodeBuffer=i;e.exports.JSON=s;e.exports.encodeBigInt=o},15010:e=>{e.exports.KEYOBJECT=Symbol("KEYOBJECT");e.exports.PRIVATE_MEMBERS=Symbol("PRIVATE_MEMBERS");e.exports.PUBLIC_MEMBERS=Symbol("PUBLIC_MEMBERS");e.exports.THUMBPRINT_MATERIAL=Symbol("THUMBPRINT_MATERIAL");e.exports.JWK_MEMBERS=Symbol("JWK_MEMBERS");e.exports.KEY_MANAGEMENT_ENCRYPT=Symbol("KEY_MANAGEMENT_ENCRYPT");e.exports.KEY_MANAGEMENT_DECRYPT=Symbol("KEY_MANAGEMENT_DECRYPT");const t={sig:new Set(["sign","verify"]),enc:new Set(["encrypt","decrypt","wrapKey","unwrapKey","deriveKey"])};const i=new Set([...t.sig,...t.enc]);const n=new Set(Object.keys(t));e.exports.USES_MAPPING=t;e.exports.OPS=i;e.exports.USES=n},43653:e=>{e.exports=(e=>JSON.parse(JSON.stringify(e)))},14451:e=>{const t=128;const i=0;const n=32;const r=16;const s=2;const a=r|n|i<<6;const o=s|i<<6;const u=e=>(e/8|0)+(e%8===0?0:1);const c={ES256:u(256),ES256K:u(256),ES384:u(384),ES512:u(521)};const l=(e,i,n)=>{let r=0;while(i+r=t;if(s){--r}return r};e.exports.derToJose=((e,i)=>{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!c[i]){throw new Error(`Unknown algorithm "${i}"`)}const n=c[i];const r=n+1;const s=e.length;let u=0;if(e[u++]!==a){throw new Error('Could not find expected "seq"')}let l=e[u++];if(l===(t|1)){l=e[u++]}if(s-u{if(!Buffer.isBuffer(e)){throw new TypeError("ECDSA signature must be a Buffer")}if(!c[i]){throw new TypeError(`Unknown algorithm "${i}"`)}const n=c[i];const r=e.length;if(r!==n*2){throw new Error(`"${i}" signatures must be "${n*2}" bytes, saw "${r}"`)}const s=l(e,0,n);const u=l(e,n,e.length);const p=n-s;const d=n-u;const f=1+1+p+1+1+d;const h=f{e.exports=(e=>Math.floor(e.getTime()/1e3))},93137:(e,t,i)=>{const{randomBytes:n}=i(76417);const{IVLENGTHS:r}=i(15501);e.exports=(e=>n(r.get(e)/8))},31308:(e,t,i)=>{const n=i(52973);const r=i(57841);const s=i(13468);const{KeyStore:a}=i(24998);e.exports=((e,t=false)=>{if(e instanceof r){return e}if(e instanceof a){if(!t){throw new TypeError("key argument for this operation must not be a JWKS.KeyStore instance")}return e}try{return s(e)}catch(e){if(e instanceof n.JOSEError&&!(e instanceof n.JWKImportFailed)){throw e}let i;if(t){i="key must be an instance of a key instantiated by JWK.asKey, a valid JWK.asKey input, or a JWKS.KeyStore instance"}else{i="key must be an instance of a key instantiated by JWK.asKey, or a valid JWK.asKey input"}throw new TypeError(i)}})},29024:e=>{e.exports=((e={},t={})=>{const i=Object.keys(e);const n=new Set(Object.keys(t));return!i.some(e=>n.has(e))})},41805:e=>{e.exports=(e=>!!e&&e.constructor===Object)},98921:(e,t,i)=>{const{keyObjectSupported:n}=i(32457);let r;let s;let a;let o;let u;if(n){({createPublicKey:r,createPrivateKey:s,createSecretKey:a,KeyObject:o}=i(76417));u=(e=>e)}else{const{EOL:e}=i(12087);const t=i(52973);const n=i(41805);const c=i(16416);const l=Symbol("toInput");const p=Symbol("namedCurve");u=((e,t)=>{if(e instanceof o){return e[l](t)}return a(e)[l](t)});const d=e=>Buffer.from(e.replace(/(?:-----(?:BEGIN|END)(?: (?:RSA|EC))? (?:PRIVATE|PUBLIC) KEY-----|\s)/g,""),"base64");const f=(t,i)=>`-----BEGIN ${i}-----${e}${(t.toString("base64").match(/.{1,64}/g)||[]).join(e)}${e}-----END ${i}-----`;const h=e=>{const i=typeof e==="string"?e:`OID ${e.join(".")}`;throw new t.JOSENotSupported(`${i} is not supported in your Node.js runtime version`)};o=class KeyObject{export({cipher:e,passphrase:i,type:n,format:r}={}){if(this._type==="secret"){return this._buffer}if(this._type==="public"){if(this.asymmetricKeyType==="rsa"){switch(n){case"pkcs1":if(r==="pem"){return this._pem}return d(this._pem);case"spki":{const e=c.get("PublicKeyInfo");const t=e.encode({algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}},publicKey:{unused:0,data:d(this._pem)}},"pem",{label:"PUBLIC KEY"});return r==="pem"?t:d(t)}default:throw new TypeError(`The value ${n} is invalid for option "type"`)}}if(this.asymmetricKeyType==="ec"){if(n!=="spki"){throw new TypeError(`The value ${n} is invalid for option "type"`)}if(r==="pem"){return this._pem}return d(this._pem)}}if(this._type==="private"){if(i!==undefined||e!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(n==="pkcs8"){if(this._pkcs8){if(r==="der"&&typeof this._pkcs8==="string"){return d(this._pkcs8)}if(r==="pem"&&Buffer.isBuffer(this._pkcs8)){return f(this._pkcs8,"PRIVATE KEY")}return this._pkcs8}if(this.asymmetricKeyType==="rsa"){const e=this._asn1;const t=c.get("RSAPrivateKey");const i=t.encode(e);const s=c.get("PrivateKeyInfo");const a=s.encode({version:0,privateKey:i,algorithm:{algorithm:"rsaEncryption",parameters:{type:"null"}}});this._pkcs8=a;return this.export({type:n,format:r})}if(this.asymmetricKeyType==="ec"){const e=this._asn1;const t=c.get("ECPrivateKey");const i=t.encode({version:e.version,privateKey:e.privateKey,publicKey:e.publicKey});const s=c.get("PrivateKeyInfo");const a=s.encode({version:0,privateKey:i,algorithm:{algorithm:"ecPublicKey",parameters:this._asn1.parameters}});this._pkcs8=a;return this.export({type:n,format:r})}}if(this.asymmetricKeyType==="rsa"&&n==="pkcs1"){if(r==="pem"){return this._pem}return d(this._pem)}else if(this.asymmetricKeyType==="ec"&&n==="sec1"){if(r==="pem"){return this._pem}return d(this._pem)}else{throw new TypeError(`The value ${n} is invalid for option "type"`)}}}get type(){return this._type}get asymmetricKeyType(){return this._asymmetricKeyType}get symmetricKeySize(){return this._symmetricKeySize}[l](e){switch(this._type){case"secret":return this._buffer;case"public":return this._pem;default:if(e){if(!("_pub"in this)){this._pub=r(this)}return this._pub[l](false)}return this._pem}}};a=(e=>{if(!Buffer.isBuffer(e)||!e.length){throw new TypeError("input must be a non-empty Buffer instance")}const t=new o;t._buffer=Buffer.from(e);t._symmetricKeySize=e.length;t._type="secret";return t});r=(e=>{if(e instanceof o){if(e.type!=="private"){throw new TypeError(`Invalid key object type ${e.type}, expected private.`)}switch(e.asymmetricKeyType){case"ec":{const t=c.get("PublicKeyInfo");const i=t.encode({algorithm:{algorithm:"ecPublicKey",parameters:e._asn1.parameters},publicKey:e._asn1.publicKey});return r({key:i,format:"der",type:"spki"})}case"rsa":{const t=c.get("RSAPublicKey");const i=t.encode(e._asn1);return r({key:i,format:"der",type:"pkcs1"})}}}if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:i,passphrase:a}=e;let{key:u,type:l}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(i!=="pem"&&i!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let p;if(i==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PUBLIC KEY-----":l="spki";p="PUBLIC KEY";break;case"-----BEGIN RSA PUBLIC KEY-----":l="pkcs1";p="RSA PUBLIC KEY";break;case"-----BEGIN CERTIFICATE-----":throw new t.JOSENotSupported("X.509 certificates are not supported in your Node.js runtime version");case"-----BEGIN PRIVATE KEY-----":case"-----BEGIN EC PRIVATE KEY-----":case"-----BEGIN RSA PRIVATE KEY-----":return r(s(u));default:throw new TypeError("unknown/unsupported PEM type")}}switch(l){case"spki":{const e=c.get("PublicKeyInfo");const t=e.decode(u,i,{label:p});let n,s;switch(t.algorithm.algorithm){case"ecPublicKey":{s=new o;s._asn1=t;s._asymmetricKeyType="ec";s._type="public";s._pem=e.encode(t,"pem",{label:"PUBLIC KEY"});break}case"rsaEncryption":{n="pkcs1";s=r({type:n,key:t.publicKey.data,format:"der"});break}default:h(t.algorithm.algorithm)}return s}case"pkcs1":{const e=c.get("RSAPublicKey");const t=e.decode(u,i,{label:p});if(t.n===BigInt(0)){return r(s({key:u,format:i,type:l,passphrase:a}))}const n=new o;n._asn1=t;n._asymmetricKeyType="rsa";n._type="public";n._pem=e.encode(t,"pem",{label:"RSA PUBLIC KEY"});return n}case"pkcs8":case"sec1":return r(s({format:i,key:u,type:l,passphrase:a}));default:throw new TypeError(`The value ${l} is invalid for option "type"`)}});s=((e,i)=>{if(typeof e==="string"||Buffer.isBuffer(e)){e={key:e,format:"pem"}}if(!n(e)){throw new TypeError("input must be a string, Buffer or an object")}const{format:r,passphrase:a}=e;let{key:u,type:l}=e;if(typeof u!=="string"&&!Buffer.isBuffer(u)){throw new TypeError("key must be a string or Buffer")}if(a!==undefined){throw new t.JOSENotSupported("encrypted private keys are not supported in your Node.js runtime version")}if(r!=="pem"&&r!=="der"){throw new TypeError('format must be one of "pem" or "der"')}let d;if(r==="pem"){u=u.toString();switch(u.split(/\r?\n/g)[0].toString()){case"-----BEGIN PRIVATE KEY-----":l="pkcs8";d="PRIVATE KEY";break;case"-----BEGIN EC PRIVATE KEY-----":l="sec1";d="EC PRIVATE KEY";break;case"-----BEGIN RSA PRIVATE KEY-----":l="pkcs1";d="RSA PRIVATE KEY";break;default:throw new TypeError("unknown/unsupported PEM type")}}switch(l){case"pkcs8":{const e=c.get("PrivateKeyInfo");const t=e.decode(u,r,{label:d});let i,n;switch(t.algorithm.algorithm){case"ecPublicKey":{i="sec1";n=s({type:i,key:t.privateKey,format:"der"},{[p]:t.algorithm.parameters.value});break}case"rsaEncryption":{i="pkcs1";n=s({type:i,key:t.privateKey,format:"der"});break}default:h(t.algorithm.algorithm)}n._pkcs8=u;return n}case"pkcs1":{const e=c.get("RSAPrivateKey");const t=e.decode(u,r,{label:d});const i=new o;i._asn1=t;i._asymmetricKeyType="rsa";i._type="private";i._pem=e.encode(t,"pem",{label:"RSA PRIVATE KEY"});return i}case"sec1":{const e=c.get("ECPrivateKey");let t=e.decode(u,r,{label:d});if(!("parameters"in t)&&!i[p]){throw new Error("invalid sec1")}else if(!("parameters"in t)){t={...t,parameters:{type:"namedCurve",value:i[p]}}}const n=new o;n._asn1=t;n._asymmetricKeyType="ec";n._type="private";n._pem=e.encode(t,"pem",{label:"EC PRIVATE KEY"});return n}default:throw new TypeError(`The value ${l} is invalid for option "type"`)}})}e.exports={createPublicKey:r,createPrivateKey:s,createSecretKey:a,KeyObject:o,asInput:u}},69693:(e,t,i)=>{const{EOL:n}=i(12087);const r=i(52973);const{keyObjectSupported:s}=i(32457);const{createPublicKey:a}=i(98921);const o=i(73385);const u=i(16416);const c=i(53141);const{OKP_CURVES:l,EC_CURVES:p}=i(15501);const d=(e,t)=>`-----BEGIN ${t} KEY-----${n}${(e.match(/.{1,64}/g)||[]).join(n)}${n}-----END ${t} KEY-----`;const f={private(e,t){const i=t.export({type:"pkcs8",format:"der"});const n=u.get("OneAsymmetricKey");const{privateKey:{privateKey:r}}=n.decode(i);return{...f.public(e,a(t)),d:o.encodeBuffer(r)}},public(e,t){const i=t.export({type:"spki",format:"der"});const n=u.get("PublicKeyInfo");const{publicKey:{data:r}}=n.decode(i);return{kty:"OKP",crv:e,x:o.encodeBuffer(r)}}};const h={rsa:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("RSAPrivateKey");const{privateKey:s}=i.decode(t);const{version:a,n:c,e:l,d:p,p:d,q:f,dp:h,dq:m,qi:b}=n.decode(s);if(a!=="two-prime"){throw new r.JOSENotSupported("Private RSA keys with more than two primes are not supported")}return{kty:"RSA",n:o.encodeBigInt(c),e:o.encodeBigInt(l),d:o.encodeBigInt(p),p:o.encodeBigInt(d),q:o.encodeBigInt(f),dp:o.encodeBigInt(h),dq:o.encodeBigInt(m),qi:o.encodeBigInt(b)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const n=u.get("RSAPublicKey");const{publicKey:{data:r}}=i.decode(t);const{n:s,e:a}=n.decode(r);return{kty:"RSA",n:o.encodeBigInt(s),e:o.encodeBigInt(a)}}},ec:{private(e){const t=e.export({type:"pkcs8",format:"der"});const i=u.get("PrivateKeyInfo");const n=u.get("ECPrivateKey");const{privateKey:c,algorithm:{parameters:{value:l}}}=i.decode(t);const{privateKey:p,publicKey:d}=n.decode(c);if(typeof d==="undefined"){if(s){return{...h.ec.public(a(e)),d:o.encodeBuffer(p)}}throw new r.JOSENotSupported("Private EC keys without the public key embedded are not supported in your Node.js runtime version")}const f=d.data.slice(1,(d.data.length-1)/2+1);const m=d.data.slice((d.data.length-1)/2+1);return{kty:"EC",crv:l,d:o.encodeBuffer(p),x:o.encodeBuffer(f),y:o.encodeBuffer(m)}},public(e){const t=e.export({type:"spki",format:"der"});const i=u.get("PublicKeyInfo");const{publicKey:{data:n},algorithm:{parameters:{value:r}}}=i.decode(t);const s=n.slice(1,(n.length-1)/2+1);const a=n.slice((n.length-1)/2+1);return{kty:"EC",crv:r,x:o.encodeBuffer(s),y:o.encodeBuffer(a)}}},ed25519:{private(e){return f.private("Ed25519",e)},public(e){return f.public("Ed25519",e)}},ed448:{private(e){return f.private("Ed448",e)},public(e){return f.public("Ed448",e)}},x25519:{private(e){return f.private("X25519",e)},public(e){return f.public("X25519",e)}},x448:{private(e){return f.private("X448",e)},public(e){return f.public("X448",e)}}};e.exports.keyObjectToJWK=(e=>{if(e.type==="private"){return h[e.asymmetricKeyType].private(e)}return h[e.asymmetricKeyType].public(e)});const m=(e,t)=>({unused:0,data:Buffer.concat([Buffer.alloc(1,4),o.decodeToBuffer(e),o.decodeToBuffer(t)])});const b={RSA:{private(e,{calculateMissingRSAPrimes:t}){const i=u.get("RSAPrivateKey");if("oth"in e){throw new r.JOSENotSupported("Private RSA keys with more than two primes are not supported")}if(e.p||e.q||e.dp||e.dq||e.qi){if(!(e.p&&e.q&&e.dp&&e.dq&&e.qi)){throw new r.JWKInvalid("all other private key parameters must be present when any one of them is present")}}else if(t){e=c(e)}else if(!t){throw new r.JOSENotSupported("importing private RSA keys without all other private key parameters is not enabled, see documentation and its advisory on how and when its ok to enable it")}return i.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`),d:BigInt(`0x${o.decodeToBuffer(e.d).toString("hex")}`),p:BigInt(`0x${o.decodeToBuffer(e.p).toString("hex")}`),q:BigInt(`0x${o.decodeToBuffer(e.q).toString("hex")}`),dp:BigInt(`0x${o.decodeToBuffer(e.dp).toString("hex")}`),dq:BigInt(`0x${o.decodeToBuffer(e.dq).toString("hex")}`),qi:BigInt(`0x${o.decodeToBuffer(e.qi).toString("hex")}`)},"pem",{label:"RSA PRIVATE KEY"})},public(e){const t=u.get("RSAPublicKey");return t.encode({version:0,n:BigInt(`0x${o.decodeToBuffer(e.n).toString("hex")}`),e:BigInt(`0x${o.decodeToBuffer(e.e).toString("hex")}`)},"pem",{label:"RSA PUBLIC KEY"})}},EC:{private(e){const t=u.get("ECPrivateKey");return t.encode({version:1,privateKey:o.decodeToBuffer(e.d),parameters:{type:"namedCurve",value:e.crv},publicKey:m(e.x,e.y)},"pem",{label:"EC PRIVATE KEY"})},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:"ecPublicKey",parameters:{type:"namedCurve",value:e.crv}},publicKey:m(e.x,e.y)},"pem",{label:"PUBLIC KEY"})}},OKP:{private(e){const t=u.get("OneAsymmetricKey");const i=t.encode({version:0,privateKey:{privateKey:o.decodeToBuffer(e.d)},algorithm:{algorithm:e.crv}},"der");i.write("04",12,1,"hex");return d(i.toString("base64"),"PRIVATE")},public(e){const t=u.get("PublicKeyInfo");return t.encode({algorithm:{algorithm:e.crv},publicKey:{unused:0,data:o.decodeToBuffer(e.x)}},"pem",{label:"PUBLIC KEY"})}}};e.exports.jwkToPem=((e,{calculateMissingRSAPrimes:t=false}={})=>{switch(e.kty){case"EC":if(!p.has(e.crv)){throw new r.JOSENotSupported(`unsupported EC key curve: ${e.crv}`)}break;case"OKP":if(!l.has(e.crv)){throw new r.JOSENotSupported(`unsupported OKP key curve: ${e.crv}`)}break;case"RSA":break;default:throw new r.JOSENotSupported(`unsupported key type: ${e.kty}`)}if(e.d){return b[e.kty].private(e,{calculateMissingRSAPrimes:t})}return b[e.kty].public(e)})},20125:e=>{e.exports=(e=>`sha${e.substr(2,3)}`)},53141:(e,t,i)=>{const{randomBytes:n}=i(76417);const r=i(73385);const s=i(52973);const a=BigInt(0);const o=BigInt(1);const u=BigInt(2);const c=e=>{const t=e.toString(16);return r.encodeBuffer(Buffer.from(t.length%2?`0${t}`:t,"hex"))};const l=e=>BigInt(`0x${e.toString("hex")}`);const p=e=>e.toString(2).length;const d=(e,t)=>{let i=a;let n=o;let r=o;let s=a;while(e!==a){const a=t/e;const o=t%e;const u=i-r*a;const c=n-s*a;t=e;e=o;i=r;n=s;r=u;s=c}return i};const f=(e,t)=>{let i=a;while(!((e|t)&o)){e>>=o;t>>=o;i++}while(!(e&o)){e>>=o}do{while(!(t&o)){t>>=o}if(e>t){const i=e;e=t;t=i}t-=e}while(t);return e<{e=g(e,i);let n=o;let r=e;while(t>0){const e=t%u;t=t/u;if(e===o){n=n*r;n=n%i}r=r*r;r=r%i}return n};const m=(e,t)=>{const i=t-e;const n=p(i);let r;do{r=l(b(n))}while(r>i);return r+e};const b=e=>{const t=Math.ceil(e/8);const i=n(t);i[0]=i[0]&2**(e%8)-1;return i};const g=(e,t)=>{e=e%t;return e<0?e+t:e};const y=e=>{let t=e;while(t%u===a){t=t/u}return t};const S=30;const v=22;const w=(e,t,i)=>{const n=y(e*t-o);let r=0;let c;do{r++;if(r===S){throw new s.JWKImportFailed("failed to calculate missing primes")}let e=0;let t=h(m(u,i),n,i);let l=a;while(t!==o){e++;if(e===v){throw new s.JWKImportFailed("failed to calculate missing primes")}l=t;t=t*t%i}if(l!==i-o){c=l}}while(!c);const l=f(c-o,i);const p=i/l;return l>p?{p:l,q:p}:{p:p,q:l}};e.exports=(e=>{const t=l(r.decodeToBuffer(e.e));const i=l(r.decodeToBuffer(e.d));const n=l(r.decodeToBuffer(e.n));if(i>=n){throw new s.JWKInvalid("invalid RSA private exponent")}const{p:a,q:u}=w(t,i,n);const p=i%(a-o);const f=i%(u-o);const h=g(d(g(u,a),a),a);return{...e,p:c(a),q:c(u),dp:c(p),dq:c(f),qi:c(h)}})},32457:(e,t,i)=>{const{diffieHellman:n,KeyObject:r,sign:s,verify:a}=i(76417);const[o,u]=process.version.substr(1).split(".").map(e=>parseInt(e,10));e.exports={oaepHashSupported:o>12||o===12&&u>=9,keyObjectSupported:!!r&&o>=12,edDSASupported:!!s&&!!a,dsaEncodingSupported:o>13||o===13&&u>=2||o===12&&u>=16,improvedDH:!!n}},97305:e=>{const t=60;const i=t*60;const n=i*24;const r=n*7;const s=n*365.25;const a=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i;e.exports=(e=>{const o=a.exec(e);if(!o){throw new TypeError(`invalid time period format ("${e}")`)}const u=parseFloat(o[1]);const c=o[2].toLowerCase();switch(c){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(u);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(u*t);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(u*i);case"day":case"days":case"d":return Math.round(u*n);case"week":case"weeks":case"w":return Math.round(u*r);case"year":case"years":case"yr":case"yrs":case"y":return Math.round(u*s)}})},80820:(e,t,i)=>{const{timingSafeEqual:n}=i(76417);const r=(e,t)=>{if(e.length===t){return e}const i=Buffer.alloc(t);e.copy(i);return i};const s=(e,t)=>{const i=Math.max(e.length,t.length);return n(r(e,i),r(t,i))};e.exports=s},4520:e=>{const t=Math.pow(2,32);e.exports=((e,i=Buffer.allocUnsafe(8))=>{const n=Math.floor(e/t);const r=e%t;i.writeUInt32BE(n,0);i.writeUInt32BE(r,4);return i})},530:(e,t,i)=>{const{JOSECritNotUnderstood:n,JWSInvalid:r}=i(52973);const s=new Set(["alg","jku","jwk","kid","x5u","x5c","x5t","x5t#S256","typ","cty","crit","enc","zip","epk","apu","apv","iv","tag","p2s","p2c"]);e.exports=function validateCrit(e,t,i,a){if(t&&"crit"in t){if(!Array.isArray(t.crit)||t.crit.length===0||t.crit.some(e=>typeof e!=="string"||!e)){throw new e('"crit" Header Parameter MUST be an array of non-empty strings when present')}const o=new Set(a);const u={...t,...i};t.crit.forEach(i=>{if(s.has(i)){throw new e(`The critical list contains a non-extension Header Parameter ${i}`)}if(!o.has(i)){throw new n(`critical "${i}" is not understood`)}if(i==="b64"){if(!("b64"in t)){throw new r('"b64" critical parameter must be integrity protected')}if(typeof t.b64!=="boolean"){throw new r('"b64" critical parameter must be a boolean')}}else if(!(i in u)){throw new e(`critical parameter "${i}" is missing`)}})}if(i&&"crit"in i){throw new e('"crit" Header Parameter MUST be integrity protected when present')}}},16425:(e,t,i)=>{e.exports={JWE:i(72851),JWK:i(67894),JWKS:i(42896),JWS:i(36518),JWT:i(18138),errors:i(52973)}},49651:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const a=i(4520);const o=i(80820);const{KEYOBJECT:u}=i(15010);const{JWEInvalid:c,JWEDecryptionFailed:l}=i(52973);const p=function(e,t,i){if(t.length!==16){throw new c("invalid iv")}if(arguments.length===3){if(i.length!==e/8){throw new c("invalid tag")}}};const d=(e,t,{[u]:i},r,{iv:s,aad:o=Buffer.alloc(0)})=>{const c=i.export();p(e,s);const l=e/8;const d=c.slice(l);const f=n(`aes-${e}-cbc`,d,s);const h=Buffer.concat([f.update(r),f.final()]);const m=Buffer.concat([o,s,h,a(o.length*8)]);const b=c.slice(0,l);const g=t({[u]:b},m).slice(0,l);return{ciphertext:h,tag:g}};const f=(e,t,{[u]:i},n,{iv:s,tag:c=Buffer.alloc(0),aad:d=Buffer.alloc(0)})=>{p(e,s,c);const f=e/8;const h=i.export();const m=h.slice(f);const b=h.slice(0,f);const g=Buffer.concat([d,s,n,a(d.length*8)]);const y=t({[u]:b},g,c).slice(0,f);const S=o(c,y);let v;try{const t=r(`aes-${e}-cbc`,m,s);v=Buffer.concat([t.update(n),t.final()])}catch(e){}if(!v||!S){throw new l}return v};e.exports=((e,t)=>{["A128CBC-HS256","A192CBC-HS384","A256CBC-HS512"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const r=e.sign.get(`HS${n*2}`);if(s().includes(`aes-${n}-cbc`)){e.encrypt.set(i,d.bind(undefined,n,r));e.decrypt.set(i,f.bind(undefined,n,r));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length/2===n)}})})},21239:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const{KEYOBJECT:a}=i(15010);const{JWEInvalid:o,JWEDecryptionFailed:u}=i(52973);const{asInput:c}=i(98921);const l=function(e,t,i){if(t.length!==12){throw new o("invalid iv")}if(arguments.length===3){if(i.length!==16){throw new o("invalid tag")}}};const p=(e,{[a]:t},i,{iv:r,aad:s=Buffer.alloc(0)})=>{const o=c(t,false);l(e,r);const u=n(`aes-${e}-gcm`,o,r,{authTagLength:16});u.setAAD(s);const p=Buffer.concat([u.update(i),u.final()]);const d=u.getAuthTag();return{ciphertext:p,tag:d}};const d=(e,{[a]:t},i,{iv:n,tag:s=Buffer.alloc(0),aad:o=Buffer.alloc(0)})=>{const p=c(t,false);l(e,n,s);try{const t=r(`aes-${e}-gcm`,p,n,{authTagLength:16});t.setAuthTag(s);t.setAAD(o);return Buffer.concat([t.update(i),t.final()])}catch(e){throw new u}};e.exports=((e,t)=>{["A128GCM","A192GCM","A256GCM"].forEach(i=>{const n=parseInt(i.substr(1,3),10);if(s().includes(`aes-${n}-gcm`)){e.encrypt.set(i,p.bind(undefined,n));e.decrypt.set(i,d.bind(undefined,n));t.oct.encrypt[i]=t.oct.decrypt[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},37813:(e,t,i)=>{const n=i(93137);const r=i(73385);e.exports=((e,t)=>{["A128GCMKW","A192GCMKW","A256GCMKW"].forEach(i=>{const s=i.substr(0,7);const a=parseInt(i.substr(1,3),10);const o=e.encrypt.get(s);const u=e.decrypt.get(s);if(o&&u){e.keyManagementEncrypt.set(i,(e,t)=>{const s=n(i);const{ciphertext:a,tag:u}=o(e,t,{iv:s});return{wrapped:a,header:{tag:r.encodeBuffer(u),iv:r.encodeBuffer(s)}}});e.keyManagementDecrypt.set(i,u);t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===a)}})})},80477:(e,t,i)=>{const{createCipheriv:n,createDecipheriv:r,getCiphers:s}=i(76417);const{KEYOBJECT:a}=i(15010);const{asInput:o}=i(98921);const u=e=>{if(e!==undefined&&e.length%8!==0){throw new Error("invalid data length")}};const c=(e,{[a]:t},i)=>{const r=o(t,false);const s=n(e,r,Buffer.alloc(8,"a6","hex"));return{wrapped:Buffer.concat([s.update(i),s.final()])}};const l=(e,{[a]:t},i)=>{const n=o(t,false);u(i);const s=r(e,n,Buffer.alloc(8,"a6","hex"));return Buffer.concat([s.update(i),s.final()])};e.exports=((e,t)=>{["A128KW","A192KW","A256KW"].forEach(i=>{const n=parseInt(i.substr(1,3),10);const r=`aes${n}-wrap`;if(s().includes(r)){e.keyManagementEncrypt.set(i,c.bind(undefined,r));e.keyManagementDecrypt.set(i,l.bind(undefined,r));t.oct.wrapKey[i]=t.oct.unwrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length===n)}})})},94563:(e,t,i)=>{const{improvedDH:n}=i(32457);if(n){const{diffieHellman:t}=i(76417);const{KeyObject:n}=i(98921);const r=i(13468);e.exports=(({keyObject:e},i)=>{if(!(i instanceof n)){({keyObject:i}=r(i))}return t({privateKey:e,publicKey:i})})}else{const{createECDH:t,constants:{POINT_CONVERSION_UNCOMPRESSED:n}}=i(76417);const r=i(73385);const s=e=>{switch(e){case"P-256":return"prime256v1";case"P-384":return"secp384r1";case"P-521":return"secp521r1"}};const a=Buffer.alloc(1,n);const o=(e,t)=>Buffer.concat([a,r.decodeToBuffer(e),r.decodeToBuffer(t)]);e.exports=(({crv:e,d:i},{x:n,y:a})=>{const u=s(e);const c=t(u);c.setPrivateKey(r.decodeToBuffer(i));return c.computeSecret(o(n,a))})}},81417:(e,t,i)=>{const{createHash:n}=i(76417);const r=i(94563);const s=(e,t,i)=>{const r=Math.ceil(t/32);let s;for(let t=1;t<=r;t++){const r=Buffer.allocUnsafe(4+e.length+i.length);r.writeUInt32BE(t,0);e.copy(r,4);i.copy(r,4+e.length);if(!s){s=n("sha256").update(r).digest()}else{s=Buffer.concat([s,n("sha256").update(r).digest()])}}return s.slice(0,t)};const a=(e,t=Buffer.allocUnsafe(4))=>{t.writeUInt32BE(e);return t};const o=e=>Buffer.concat([a(e.length),e]);e.exports=((e,t,i,n,{apu:u=Buffer.alloc(0),apv:c=Buffer.alloc(0)}={},l=r)=>{const p=Buffer.concat([o(Buffer.from(e)),o(u),o(c),a(t)]);const d=l(i,n);return s(d,t/8,p)})},52652:(e,t,i)=>{const{improvedDH:n}=i(32457);const{KEYLENGTHS:r}=i(15501);const{generateSync:s}=i(39377);const a=i(81417);const o=(e,t,{enc:i})=>{const n=s(e.kty,e.crv);const o=a(i,r.get(i),n,e);return{wrapped:o,header:{epk:{kty:e.kty,crv:e.crv,x:n.x,y:n.y}}}};const u=(e,t,i)=>{const{enc:n,epk:s}=i;return a(n,r.get(n),e,s,i)};e.exports=((e,t)=>{e.keyManagementEncrypt.set("ECDH-ES",o);e.keyManagementDecrypt.set("ECDH-ES",u);t.EC.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!=="secp256k1");if(n){t.OKP.deriveKey["ECDH-ES"]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}})},7668:(e,t,i)=>{const{improvedDH:n}=i(32457);const{KEYOBJECT:r}=i(15010);const{generateSync:s}=i(39377);const{ECDH_DERIVE_LENGTHS:a}=i(15501);const o=i(81417);const u=(e,t,i,n)=>{const a=s(i.kty,i.crv);const o=t(a,i,n);const u=e({[r]:o},n);u.header=u.header||{};Object.assign(u.header,{epk:{kty:i.kty,crv:i.crv,x:a.x,y:a.y}});return u};const c=(e,t,i,n,s)=>{const{epk:a}=s;const o=t(i,a,s);return e({[r]:o},n,s)};e.exports=((e,t)=>{["ECDH-ES+A128KW","ECDH-ES+A192KW","ECDH-ES+A256KW"].forEach(i=>{const r=i.substr(-6);const s=e.keyManagementEncrypt.get(r);const l=e.keyManagementDecrypt.get(r);const p=parseInt(i.substr(9,3),10);a.set(i,p);if(s&&l){e.keyManagementEncrypt.set(i,u.bind(undefined,s,o.bind(undefined,i,p)));e.keyManagementDecrypt.set(i,c.bind(undefined,l,o.bind(undefined,i,p)));t.EC.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.crv!=="secp256k1");if(n){t.OKP.deriveKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("x"))}}})});e.exports.wrapKey=u;e.exports.unwrapKey=c},77634:(e,t,i)=>{const{sign:n,verify:r,createSign:s,createVerify:a,getCurves:o}=i(76417);const{derToJose:u,joseToDer:c}=i(14451);const{KEYOBJECT:l}=i(15010);const p=i(20125);const{asInput:d}=i(98921);const{dsaEncodingSupported:f}=i(32457);let h,m;if(f){h=((e,t,{[l]:i},r)=>{if(typeof r==="string"){r=Buffer.from(r)}return n(t,r,{key:d(i,false),dsaEncoding:"ieee-p1363"})});m=((e,t,{[l]:i},n,s)=>{try{return r(t,n,{key:d(i,true),dsaEncoding:"ieee-p1363"},s)}catch(e){return false}})}else{h=((e,t,{[l]:i},n)=>{return u(s(t).update(n).sign(d(i,false)),e)});m=((e,t,{[l]:i},n,r)=>{try{return a(t).update(n).verify(d(i,true),c(r,e))}catch(e){return false}})}const b=e=>{switch(e){case"P-256":return"ES256";case"secp256k1":return"ES256K";case"P-384":return"ES384";case"P-521":return"ES512"}};e.exports=((e,t)=>{const i=[];if(o().includes("prime256v1")){i.push("ES256")}if(o().includes("secp256k1")){i.push("ES256K")}if(o().includes("secp384r1")){i.push("ES384")}if(o().includes("secp521r1")){i.push("ES512")}i.forEach(i=>{const n=p(i);e.sign.set(i,h.bind(undefined,i,n));e.verify.set(i,m.bind(undefined,i,n));t.EC.sign[i]=(e=>e.private&&t.EC.verify[i](e));t.EC.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&b(e.crv)===i)})})},18803:(e,t,i)=>{const{sign:n,verify:r}=i(76417);const{KEYOBJECT:s}=i(15010);const{edDSASupported:a}=i(32457);const o=({[s]:e},t)=>{if(typeof t==="string"){t=Buffer.from(t)}return n(undefined,t,e)};const u=({[s]:e},t,i)=>{return r(undefined,t,e,i)};e.exports=((e,t)=>{if(a){e.sign.set("EdDSA",o);e.verify.set("EdDSA",u);t.OKP.sign.EdDSA=(e=>e.private&&t.OKP.verify.EdDSA(e));t.OKP.verify.EdDSA=(e=>(e.use==="sig"||e.use===undefined)&&e.keyObject.asymmetricKeyType.startsWith("ed"))}})},25866:(e,t,i)=>{const{createHmac:n}=i(76417);const{KEYOBJECT:r}=i(15010);const s=i(80820);const a=i(20125);const{asInput:o}=i(98921);const u=(e,t,{[r]:i},s)=>{const a=n(t,o(i,false));a.update(s);return a.digest()};const c=(e,t,i,n,r)=>{const a=u(e,t,i,n);const o=r;return s(o,a)};e.exports=((e,t)=>{["HS256","HS384","HS512"].forEach(i=>{const n=a(i);e.sign.set(i,u.bind(undefined,i,n));e.verify.set(i,c.bind(undefined,i,n));t.oct.sign[i]=t.oct.verify[i]=(e=>e.use==="sig"||e.use===undefined)})})},50191:(e,t,i)=>{const{JWKKeySupport:n,JOSENotSupported:r}=i(52973);const{KEY_MANAGEMENT_ENCRYPT:s,KEY_MANAGEMENT_DECRYPT:a}=i(15010);const{JWA:o,JWK:u}=i(15501);i(25866)(o,u);i(77634)(o,u);i(18803)(o,u);i(35172)(o,u);i(16984)(o,u);i(72638)(o);i(49651)(o,u);i(21239)(o,u);i(1029)(o,u);i(80477)(o,u);i(37813)(o,u);i(94515)(o,u);i(52652)(o,u);i(7668)(o,u);const c=(e,t,i)=>{const u=`_${t}_${i}`;let l;let p;if(t==="keyManagementEncrypt"){l="key management (encryption)";p=s}else if(t==="keyManagementDecrypt"){l="key management (decryption)";p=a}if(u in e){if(e[u]){return}throw new n(`the key does not support ${i} ${l||t} algorithm`)}let d=true;if(!o[t].has(i)){throw new r(`unsupported ${l||t} alg: ${i}`)}else if(!e.algorithms(p).has(i)){d=false}Object.defineProperty(e,u,{value:d,enumerable:false});if(!d){return c(e,t,i)}};e.exports={check:c,sign:(e,t,i)=>{c(t,"sign",e);return o.sign.get(e)(t,i)},verify:(e,t,i,n)=>{c(t,"verify",e);return o.verify.get(e)(t,i,n)},keyManagementEncrypt:(e,t,i,n)=>{c(t,"keyManagementEncrypt",e);return o.keyManagementEncrypt.get(e)(t,i,n)},keyManagementDecrypt:(e,t,i,n)=>{c(t,"keyManagementDecrypt",e);return o.keyManagementDecrypt.get(e)(t,i,n)},encrypt:(e,t,i,n)=>{c(t,"encrypt",e);return o.encrypt.get(e)(t,i,n)},decrypt:(e,t,i,n)=>{c(t,"decrypt",e);return o.decrypt.get(e)(t,i,n)}}},72638:e=>{const t=()=>Buffer.from("");const i=(e,t,i)=>!i.length;e.exports=((e,n)=>{e.sign.set("none",t);e.verify.set("none",i)})},94515:(e,t,i)=>{const{pbkdf2Sync:n,randomBytes:r}=i(76417);const{KEYOBJECT:s}=i(15010);const a=i(73385);const o=16;const u=Buffer.alloc(1,0);const c=(e,t)=>{return Buffer.concat([Buffer.from(e,"utf8"),u,t])};const l=(e,t,i,u,{[s]:c},l)=>{const p=Math.floor(Math.random()*2049+2048);const d=r(o);const f=i(d);const h=n(c.export(),f,p,e,t);const m=u({[s]:h},l);m.header=m.header||{};Object.assign(m.header,{p2c:p,p2s:a.encodeBuffer(d)});return m};const p=(e,t,i,r,{[s]:a},o,u)=>{const{p2s:c,p2c:l}=u;const p=i(c);const d=n(a.export(),p,l,e,t);return r({[s]:d},o,u)};e.exports=((e,t)=>{["PBES2-HS256+A128KW","PBES2-HS384+A192KW","PBES2-HS512+A256KW"].forEach(i=>{const n=i.substr(-6);const r=e.keyManagementEncrypt.get(n);const s=e.keyManagementDecrypt.get(n);const a=parseInt(i.substr(13,3),10)/8;const o=`sha${i.substr(8,3)}`;if(r&&s){e.keyManagementEncrypt.set(i,l.bind(undefined,a,o,c.bind(undefined,i),r));e.keyManagementDecrypt.set(i,p.bind(undefined,a,o,c.bind(undefined,i),s));t.oct.deriveKey[i]=(e=>e.use==="enc"||e.use===undefined)}})})},1029:(e,t,i)=>{const{publicEncrypt:n,privateDecrypt:r,constants:s}=i(76417);const{oaepHashSupported:a}=i(32457);const{KEYOBJECT:o}=i(15010);const{asInput:u}=i(98921);const c=e=>{switch(e){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return s.RSA_PKCS1_OAEP_PADDING;case"RSA1_5":return s.RSA_PKCS1_PADDING}};const l=e=>{switch(e){case"RSA-OAEP":return"sha1";case"RSA-OAEP-256":return"sha256";case"RSA-OAEP-384":return"sha384";case"RSA-OAEP-512":return"sha512";default:return undefined}};const p=(e,t,{[o]:i},r)=>{const s=u(i,true);return{wrapped:n({key:s,oaepHash:t,padding:e},r)}};const d=(e,t,{[o]:i},n)=>{const s=u(i,false);return r({key:s,oaepHash:t,padding:e},n)};const f={RSA1_5:0,"RSA-OAEP":592,"RSA-OAEP-256":784,"RSA-OAEP-384":1040,"RSA-OAEP-512":1296};e.exports=((e,t)=>{const i=["RSA-OAEP","RSA1_5"];if(a){i.splice(1,0,"RSA-OAEP-256","RSA-OAEP-384","RSA-OAEP-512")}i.forEach(i=>{const n=c(i);const r=l(i);e.keyManagementEncrypt.set(i,p.bind(undefined,n,r));e.keyManagementDecrypt.set(i,d.bind(undefined,n,r));t.RSA.wrapKey[i]=(e=>(e.use==="enc"||e.use===undefined)&&e.length>=f[i]);t.RSA.unwrapKey[i]=(e=>e.private&&(e.use==="enc"||e.use===undefined)&&e.length>=f[i])})})},16984:(e,t,i)=>{const{createSign:n,createVerify:r}=i(76417);const{KEYOBJECT:s}=i(15010);const a=i(20125);const{asInput:o}=i(98921);const u=(e,{[s]:t},i)=>{return n(e).update(i).sign(o(t,false))};const c=(e,{[s]:t},i,n)=>{return r(e).update(i).verify(o(t,true),n)};const l={RS256:0,RS384:624,RS512:752};e.exports=((e,t)=>{["RS256","RS384","RS512"].forEach(i=>{const n=a(i);e.sign.set(i,u.bind(undefined,n));e.verify.set(i,c.bind(undefined,n));t.RSA.sign[i]=(e=>e.private&&t.RSA.verify[i](e));t.RSA.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&e.length>=l[i])})})},35172:(e,t,i)=>{const{createSign:n,createVerify:r,constants:s}=i(76417);const{KEYOBJECT:a}=i(15010);const o=i(20125);const{asInput:u}=i(98921);const c=(e,{[a]:t},i)=>{const r=u(t,false);return n(e).update(i).sign({key:r,padding:s.RSA_PKCS1_PSS_PADDING,saltLength:s.RSA_PSS_SALTLEN_DIGEST})};const l=(e,{[a]:t},i,n)=>{const o=u(t,true);return r(e).update(i).verify({key:o,padding:s.RSA_PKCS1_PSS_PADDING,saltLength:s.RSA_PSS_SALTLEN_DIGEST},n)};const p={PS256:528,PS384:784,PS512:1040};e.exports=((e,t)=>{["PS256","PS384","PS512"].forEach(i=>{const n=o(i);e.sign.set(i,c.bind(undefined,n));e.verify.set(i,l.bind(undefined,n));t.RSA.sign[i]=(e=>e.private&&t.RSA.verify[i](e));t.RSA.verify[i]=(e=>(e.use==="sig"||e.use===undefined)&&e.length>=p[i])})})},73607:(e,t,i)=>{const{inflateRawSync:n}=i(78761);const r=i(73385);const s=i(31308);const{KeyStore:a}=i(42896);const o=i(52973);const{check:u,decrypt:c,keyManagementDecrypt:l}=i(50191);const p=i(67894);const{createSecretKey:d}=i(98921);const f=i(15242);const h=i(46904);const{detect:m}=i(5348);const b=new Set(["compact","flattened"]);const g=(e={},t={},i={})=>{if(typeof e==="string"){e=r.JSON.decode(e)}const n=e.p2s||t.p2s||i.p2s;const s=e.apu||t.apu||i.apu;const a=e.apv||t.apv||i.apv;const o=e.iv||t.iv||i.iv;const u=e.tag||t.tag||i.tag;return{...e,...t,...i,...typeof n==="string"?{p2s:r.decodeToBuffer(n)}:undefined,...typeof s==="string"?{apu:r.decodeToBuffer(s)}:undefined,...typeof a==="string"?{apv:r.decodeToBuffer(a)}:undefined,...typeof o==="string"?{iv:r.decodeToBuffer(o)}:undefined,...typeof u==="string"?{tag:r.decodeToBuffer(u)}:undefined}};const y=(e,t)=>{if(e!==undefined&&(!Array.isArray(e)||e.some(e=>typeof e!=="string"||!e))){throw new TypeError(`"${t}" option must be an array of non-empty strings`)}if(!e){return undefined}return new Set(e)};const S=(e,t,i,v,{crit:w=[],complete:j=false,keyManagementAlgorithms:z,contentEncryptionAlgorithms:O}={})=>{v=s(v,true);z=y(z,"keyManagementAlgorithms");O=y(O,"contentEncryptionAlgorithms");if(!Array.isArray(w)||w.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=m(i)}let k,C,T,_,A,E,R,x,N,V,P,M;if(t==="general"&&i.recipients.length===1){t="flattened";const{recipients:e,...n}=i;i={...n,...e[0]}}if(b.has(t)){if(t==="compact"){[R,_,A,C,x]=i.split(".")}else{({protected:R,encrypted_key:_,iv:A,ciphertext:C,tag:x,unprotected:N,aad:P,header:M}=i)}if(!e){h(R,N,[{header:M}],true,w)}E=g(R,N,M);({alg:k,enc:T}=E);if(z&&!z.has(k)){throw new o.JOSEAlgNotWhitelisted("key management algorithm not whitelisted")}if(O&&!O.has(T)){throw new o.JOSEAlgNotWhitelisted("content encryption algorithm not whitelisted")}if(v instanceof a){const e=v;let n;if(E.alg==="dir"){n=e.all({kid:E.kid,alg:E.enc,key_ops:["decrypt"]})}else{n=e.all({kid:E.kid,alg:E.alg,key_ops:["unwrapKey"]})}switch(n.length){case 0:throw new o.JWKSNoMatchingKey;case 1:v=n[0];break;default:{const e=[];for(const r of n){try{return S(true,t,i,r,{crit:w,complete:j,contentEncryptionAlgorithms:O?[...O]:undefined,keyManagementAlgorithms:z?[...z]:undefined})}catch(t){e.push(t);continue}}const r=new o.JOSEMultiError(e);if([...r].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}throw r}}}u(v,...k==="dir"?["decrypt",T]:["keyManagementDecrypt",k]);try{if(k==="dir"){V=p.asKey(v,{alg:T,use:"enc"})}else if(k==="ECDH-ES"){const e=l(k,v,undefined,E);V=p.asKey(d(e),{alg:T,use:"enc"})}else{const e=l(k,v,r.decodeToBuffer(_),E);V=p.asKey(d(e),{alg:T,use:"enc"})}}catch(e){V=f(T)}let s;if(P){s=Buffer.concat([Buffer.from(R||""),Buffer.from("."),Buffer.from(P)])}else{s=Buffer.from(R||"")}try{A=r.decodeToBuffer(A)}catch(e){}try{x=r.decodeToBuffer(x)}catch(e){}let m=c(T,V,r.decodeToBuffer(C),{iv:A,tag:x,aad:s});if(E.zip){m=n(m)}if(j){const e={cleartext:m,key:v,cek:V};if(P)e.aad=P;if(M)e.header=M;if(N)e.unprotected=N;if(R)e.protected=r.JSON.decode(R);return e}return m}h(i.protected,i.unprotected,i.recipients.map(({header:e})=>({header:e})),true,w);const{recipients:B,...I}=i;const D=[];for(const e of B){try{return S(true,"flattened",{...I,...e},v,{crit:w,complete:j,contentEncryptionAlgorithms:O?[...O]:undefined,keyManagementAlgorithms:z?[...z]:undefined})}catch(e){D.push(e);continue}}const q=new o.JOSEMultiError(D);if([...q].some(e=>e instanceof o.JWEDecryptionFailed)){throw new o.JWEDecryptionFailed}else if([...q].every(e=>e instanceof o.JWKSNoMatchingKey)){throw new o.JWKSNoMatchingKey}throw q};e.exports=S.bind(undefined,false,undefined)},19094:(e,t,i)=>{const{deflateRawSync:n}=i(78761);const{KEYOBJECT:r}=i(15010);const s=i(93137);const a=i(73385);const o=i(31308);const u=i(41805);const{createSecretKey:c}=i(98921);const l=i(43653);const p=i(13468);const{JWEInvalid:d}=i(52973);const{check:f,keyManagementEncrypt:h,encrypt:m}=i(50191);const b=i(5348);const g=i(15242);const y=i(46904);const S=Symbol("PROCESS_RECIPIENT");class Encrypt{constructor(e,t,i,n){if(!Buffer.isBuffer(e)&&typeof e!=="string"){throw new TypeError("cleartext argument must be a Buffer or a string")}e=Buffer.from(e);if(i!==undefined&&!Buffer.isBuffer(i)&&typeof i!=="string"){throw new TypeError("aad argument must be a Buffer or a string when provided")}i=i?Buffer.from(i):undefined;if(t!==undefined&&!u(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(n!==undefined&&!u(n)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}this._recipients=[];this._cleartext=e;this._aad=i;this._unprotected=n?l(n):undefined;this._protected=t?l(t):undefined}recipient(e,t){e=o(e);if(t!==undefined&&!u(t)){throw new TypeError("header argument must be a plain object when provided")}this._recipients.push({key:e,header:t?l(t):undefined});return this}[S](e){const t=this._unprotected;const i=this._protected;const{length:n}=this._recipients;const s={...i,...t,...e.header};const{key:o}=e;const u=s.enc;let l=s.alg;if(o.use==="sig"){throw new TypeError('a key with "use":"sig" is not usable for encryption')}if(l==="dir"){f(o,"encrypt",u)}else if(l){f(o,"keyManagementEncrypt",l)}else{l=o.alg||[...o.algorithms("wrapKey")][0]||[...o.algorithms("deriveKey")][0];if(l==="ECDH-ES"&&n!==1){l=[...o.algorithms("deriveKey")][1]}if(!l){throw new d('could not resolve a usable "alg" for a recipient')}if(n===1){if(i){i.alg=l}else{this._protected={alg:l}}}else{if(e.header){e.header.alg=l}else{e.header={alg:l}}}}let m;let b;if(o.kty==="oct"&&l==="dir"){this._cek=p(o[r],{use:"enc",alg:u})}else{f(this._cek,"encrypt",u);({wrapped:m,header:b}=h(l,o,this._cek[r].export(),{enc:u,alg:l}));if(l==="ECDH-ES"){this._cek=p(c(m),{use:"enc",alg:u})}}if(l==="dir"||l==="ECDH-ES"){e.encrypted_key=""}else{e.encrypted_key=a.encodeBuffer(m)}if(b){e.generatedHeader=b}}encrypt(e){const t=b[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new d("missing recipients")}t.validate(this._protected,this._unprotected,this._aad,this._recipients);let i=y(this._protected,this._unprotected,this._recipients,false,this._protected?this._protected.crit:undefined);if(!i){i="A128CBC-HS256";if(this._protected){this._protected.enc=i}else{this._protected={enc:i}}}const r={};this._cek=g(i);for(const e of this._recipients){this[S](e)}const o=s(i);r.iv=a.encodeBuffer(o);if(this._recipients.length===1&&this._recipients[0].generatedHeader){const[{generatedHeader:e}]=this._recipients;delete this._recipients[0].generatedHeader;this._protected={...this._protected,...e}}if(this._protected){r.protected=a.JSON.encode(this._protected)}r.unprotected=this._unprotected;let u;if(this._aad){r.aad=a.encode(this._aad);u=Buffer.concat([Buffer.from(r.protected||""),Buffer.from("."),Buffer.from(r.aad)])}else{u=Buffer.from(r.protected||"")}let c=this._cleartext;if(this._protected&&"zip"in this._protected){c=n(c)}const{ciphertext:l,tag:p}=m(i,this._cek,c,{iv:o,aad:u});r.tag=a.encodeBuffer(p);r.ciphertext=a.encodeBuffer(l);return t(r,this._recipients)}}e.exports=Encrypt},15242:(e,t,i)=>{const{randomBytes:n}=i(76417);const{createSecretKey:r}=i(98921);const{KEYLENGTHS:s}=i(15501);const a=i(50504);e.exports=(e=>{const t=s.get(e);if(!t){return new a({type:"secret"})}return new a(r(n(t/8)),{use:"enc",alg:e})})},72851:(e,t,i)=>{const n=i(19094);const r=i(73607);const s=(e,t,i,r,s,a)=>{return new n(t,r,s,a).recipient(i).encrypt(e)};e.exports.Encrypt=n;e.exports.encrypt=s.bind(undefined,"compact");e.exports.encrypt.flattened=s.bind(undefined,"flattened");e.exports.encrypt.general=s.bind(undefined,"general");e.exports.decrypt=r},5348:(e,t,i)=>{const n=i(41805);let r=i(530);const{JWEInvalid:s}=i(52973);r=r.bind(undefined,s);const a=(e,[t])=>{return`${e.protected}.${t.encrypted_key}.${e.iv}.${e.ciphertext}.${e.tag}`};a.validate=((e,t,i,{0:{header:n},length:a})=>{if(a!==1||i||t||n){throw new s("JWE Compact Serialization doesn't support multiple recipients, JWE unprotected headers or AAD")}r(e,t,e?e.crit:undefined)});const o=(e,[t])=>{const{header:i,encrypted_key:n}=t;return{...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,...i?{header:i}:undefined,...n?{encrypted_key:n}:undefined,...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag}};o.validate=((e,t,i,{0:{header:n},length:a})=>{if(a!==1){throw new s("Flattened JWE JSON Serialization doesn't support multiple recipients")}r(e,{...t,...n},e?e.crit:undefined)});const u=(e,t)=>{const i={...e.protected?{protected:e.protected}:undefined,...e.unprotected?{unprotected:e.unprotected}:undefined,recipients:t.map(({header:e,encrypted_key:t,generatedHeader:i})=>{if(!e&&!t&&!i){return false}return{...e||i?{header:{...e,...i}}:undefined,...t?{encrypted_key:t}:undefined}}).filter(Boolean),...e.aad?{aad:e.aad}:undefined,iv:e.iv,ciphertext:e.ciphertext,tag:e.tag};if(!i.recipients.length){delete i.recipients}return i};u.validate=((e,t,i,n)=>{n.forEach(({header:i})=>{r(e,{...i,...t},e?e.crit:undefined)})});const c=e=>{return n(e)&&typeof e.ciphertext==="string"&&typeof e.iv==="string"&&typeof e.tag==="string"&&(e.unprotected===undefined||n(e.unprotected))&&(e.protected===undefined||typeof e.protected==="string")&&(e.aad===undefined||typeof e.aad==="string")};const l=e=>{return(e.encrypted_key===undefined||typeof e.encrypted_key==="string")&&(e.header===undefined||n(e.header))};const p=e=>{return n(e)&&typeof e.encrypted_key==="string"&&(e.header===undefined||n(e.header))};const d=e=>{if(Array.isArray(e.recipients)&&e.recipients.every(p)){return true}return false};const f=e=>{if(typeof e==="string"&&e.split(".").length===5){return"compact"}if(c(e)){if(d(e)){return"general"}if(l(e)){return"flattened"}}throw new s("JWE malformed or invalid serialization")};e.exports={compact:a,flattened:o,general:u,detect:f}},46904:(e,t,i)=>{const n=i(29024);const r=i(73385);let s=i(530);const{JWEInvalid:a,JOSENotSupported:o}=i(52973);s=s.bind(undefined,a);e.exports=((e,t,i,u,c)=>{if(typeof e==="string"){try{e=r.JSON.decode(e)}catch(e){throw new a("could not parse JWE protected header")}}let l=[];const p=new Set;if(!n(e,t)||!i.every(({header:i})=>{if(typeof i==="object"){l.push(i.alg);p.add(i.enc)}const r={...t,...i};s(e,r,c);if("zip"in r){throw new a('"zip" Header Parameter MUST be integrity protected')}else if(e&&"zip"in e&&e.zip!=="DEF"){throw new o('only "DEF" compression algorithm is supported')}return n(i,e)&&n(i,t)})){throw new a("JWE Shared Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint")}if(typeof e==="object"){l.push(e.alg);p.add(e.enc)}if(typeof t==="object"){l.push(t.alg);p.add(t.enc)}l=l.filter(Boolean);p.delete(undefined);if(i.length!==1){if(l.includes("dir")||l.includes("ECDH-ES")){throw new a("dir and ECDH-ES alg may only be used with a single recipient")}}if(u){if(l.length!==i.length){throw new a("missing Key Management algorithm")}if(p.size===0){throw new a("missing Content Encryption algorithm")}else if(p.size!==1){throw new a("there must only be one Content Encryption algorithm")}}else{if(p.size>1){throw new a("there must only be one Content Encryption algorithm")}}return[...p][0]})},39377:(e,t,i)=>{const n=i(52973);const r=i(13468);const s=i(73242);const a=i(53426);const o=i(24510);const u=i(50504);const c=async(e,t,i,c=true)=>{switch(e){case"RSA":return r(await s.generate(t,c),i);case"EC":return r(await a.generate(t,c),i);case"OKP":return r(await o.generate(t,c),i);case"oct":return r(await u.generate(t,c),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};const l=(e,t,i,c=true)=>{switch(e){case"RSA":return r(s.generateSync(t,c),i);case"EC":return r(a.generateSync(t,c),i);case"OKP":return r(o.generateSync(t,c),i);case"oct":return r(u.generateSync(t,c),i);default:throw new n.JOSENotSupported(`unsupported key type: ${e}`)}};e.exports.generate=c;e.exports.generateSync=l},13468:(e,t,i)=>{const{createPublicKey:n,createPrivateKey:r,createSecretKey:s,KeyObject:a}=i(98921);const o=i(73385);const u=i(41805);const{jwkToPem:c}=i(69693);const l=i(52973);const p=i(73242);const d=i(53426);const f=i(24510);const h=i(50504);const m=new Set(["string","buffer","object"]);const b=(e={},t={})=>{return{alg:t.alg,key_ops:t.key_ops,kid:t.kid,use:t.use,x5c:t.x5c,x5t:t.x5t,"x5t#S256":t["x5t#S256"],...e}};const g=/^[a-zA-Z0-9-]+ AAAA(?:[0-9A-Za-z+/])+(?:==|=)?(?: .*)?$/;const y=(e,t,{calculateMissingRSAPrimes:i=false}={})=>{let y,S,v;if(!m.has(typeof e)){throw new TypeError("key argument must be a string, buffer or an object")}if(t!==undefined&&!u(t)){throw new TypeError("parameters argument must be a plain object when provided")}if(e instanceof a){switch(e.type){case"private":y=e;break;case"public":S=e;break;case"secret":v=e;break}}else if(typeof e==="object"&&e&&"kty"in e&&e.kty==="oct"){try{v=s(o.decodeToBuffer(e.k))}catch(t){if(!("k"in e)){v={type:"secret"}}}t=b(t,e)}else if(typeof e==="object"&&e&&"kty"in e){({calculateMissingRSAPrimes:i=false}=t||{calculateMissingRSAPrimes:i});let s;try{s=c(e,{calculateMissingRSAPrimes:i})}catch(e){if(e instanceof l.JOSEError){throw e}}if(s&&e.d){y=r(s)}else if(s){S=n(s)}t=b({},e)}else if(e&&(typeof e==="object"||typeof e==="string")){try{y=r(e)}catch(e){if(e instanceof l.JOSEError){throw e}}try{S=n(e);if(e.startsWith("-----BEGIN CERTIFICATE-----")&&(!t||!("x5c"in t))){t=b(t,{x5c:[e.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,"")]})}}catch(e){if(e instanceof l.JOSEError){throw e}}try{if(!e.includes("-----BEGIN")&&!g.test(e.toString("ascii").replace(/[\r\n]/g,""))){v=s(Buffer.isBuffer(e)?e:Buffer.from(e))}}catch(e){}}const w=y||S||v;if(y||S){switch(w.asymmetricKeyType){case"rsa":return new p(w,t);case"ec":return new d(w,t);case"ed25519":case"ed448":case"x25519":case"x448":return new f(w,t);default:throw new l.JOSENotSupported("only RSA, EC and OKP asymmetric keys are supported")}}else if(v){return new h(w,t)}throw new l.JWKImportFailed("key import failed")};e.exports=y},67894:(e,t,i)=>{const n=i(57841);const r=i(98012);const s=i(84902);const a=i(303);const o=i(13468);const u=i(39377);e.exports={...u,asKey:o,isKey:e=>e instanceof n,None:r,EmbeddedJWK:s,EmbeddedX5C:a}},57841:(e,t,i)=>{const{strict:n}=i(42357);const{inspect:r}=i(31669);const{EOL:s}=i(12087);const{keyObjectSupported:a}=i(32457);const{createPublicKey:o}=i(98921);const{keyObjectToJWK:u}=i(69693);const{THUMBPRINT_MATERIAL:c,PUBLIC_MEMBERS:l,PRIVATE_MEMBERS:p,JWK_MEMBERS:d,KEYOBJECT:f,USES_MAPPING:h,OPS:m,USES:b}=i(15010);const g=i(41805);const y=i(82253);const S=i(52973);const v=Symbol("privateApi");const{JWK:w}=i(15501);class Key{constructor(e,{alg:t,use:i,kid:r,key_ops:u,x5c:l,x5t:p,"x5t#S256":d}={}){if(i!==undefined){if(typeof i!=="string"||!b.has(i)){throw new TypeError('`use` must be either "sig" or "enc" string when provided')}}if(t!==undefined){if(typeof t!=="string"||!t){throw new TypeError("`alg` must be a non-empty string when provided")}}if(r!==undefined){if(typeof r!=="string"||!r){throw new TypeError("`kid` must be a non-empty string when provided")}}if(u!==undefined){if(!Array.isArray(u)||!u.length||u.some(e=>typeof e!=="string")){throw new TypeError("`key_ops` must be a non-empty array of strings when provided")}u=Array.from(new Set(u)).filter(e=>m.has(e))}if(u&&i){if(i==="enc"&&u.some(e=>h.sig.has(e))||i==="sig"&&u.some(e=>h.enc.has(e))){throw new S.JWKInvalid('inconsistent JWK "use" and "key_ops"')}}if(a&&l!==undefined){if(!Array.isArray(l)||!l.length||l.some(e=>typeof e!=="string")){throw new TypeError("`x5c` must be an array of one or more PKIX certificates when provided")}l.forEach((t,i)=>{let r;try{r=o({key:`-----BEGIN CERTIFICATE-----${s}${(t.match(/.{1,64}/g)||[]).join(s)}${s}-----END CERTIFICATE-----`,format:"pem"})}catch(e){throw new S.JWKInvalid(`\`x5c\` member at index ${i} is not a valid base64-encoded DER PKIX certificate`)}if(i===0){try{n.deepEqual(r.export({type:"spki",format:"der"}),(e.type==="public"?e:o(e)).export({type:"spki",format:"der"}))}catch(e){throw new S.JWKInvalid("The key in the first `x5c` certificate MUST match the public key represented by the JWK")}}})}Object.defineProperties(this,{[f]:{value:g(e)?undefined:e},keyObject:{get(){if(!a){throw new S.JOSENotSupported("KeyObject class is not supported in your Node.js runtime version")}return this[f]}},type:{value:e.type},private:{value:e.type==="private"},public:{value:e.type==="public"},secret:{value:e.type==="secret"},alg:{value:t,enumerable:t!==undefined},use:{value:i,enumerable:i!==undefined},x5c:{enumerable:l!==undefined,...l?{get(){return[...l]}}:{value:undefined}},key_ops:{enumerable:u!==undefined,...u?{get(){return[...u]}}:{value:undefined}},kid:{enumerable:true,...r?{value:r}:{get(){Object.defineProperty(this,"kid",{value:this.thumbprint,configurable:false});return this.kid},configurable:true}},...l?{x5t:{enumerable:true,...p?{value:p}:{get(){Object.defineProperty(this,"x5t",{value:y.x5t(this.x5c[0]),configurable:false});return this.x5t},configurable:true}}}:undefined,...l?{"x5t#S256":{enumerable:true,...d?{value:d}:{get(){Object.defineProperty(this,"x5t#S256",{value:y["x5t#S256"](this.x5c[0]),configurable:false});return this["x5t#S256"]},configurable:true}}}:undefined,thumbprint:{get(){Object.defineProperty(this,"thumbprint",{value:y.kid(this[c]()),configurable:false});return this.thumbprint},configurable:true}})}toPEM(e=false,t={}){if(this.secret){throw new TypeError("symmetric keys cannot be exported as PEM")}if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const{type:i=(e?"pkcs8":"spki"),cipher:n,passphrase:r}=t;let s=this[f];if(!e){if(this.private){s=o(s)}if(n||r){throw new TypeError("cipher and passphrase can only be applied when exporting private keys")}}if(e){return s.export({format:"pem",type:i,cipher:n,passphrase:r})}return s.export({format:"pem",type:i})}toJWK(e=false){if(e&&this.public===true){throw new TypeError("public key cannot be exported as private")}const t=[...this.constructor[e?p:l]].map(e=>[e,this[e]]);const i={};Object.keys(t).forEach(e=>{const[n,r]=t[e];i[n]=r});i.kty=this.kty;i.kid=this.kid;if(this.alg){i.alg=this.alg}if(this.key_ops&&this.key_ops.length){i.key_ops=this.key_ops}if(this.use){i.use=this.use}if(this.x5c){i.x5c=this.x5c}if(this.x5t){i.x5t=this.x5t}if(this["x5t#S256"]){i["x5t#S256"]=this["x5t#S256"]}return i}[d](){const e=this[f].type==="private"?this.constructor[p]:this.constructor[l];Object.defineProperties(this,[...e].reduce((t,i)=>{t[i]={get(){const t=u(this[f]);Object.defineProperties(this,Object.entries(t).filter(([t])=>e.has(t)).reduce((e,[t,i])=>{e[t]={value:i,enumerable:this.constructor[l].has(t),configurable:false};return e},{}));return this[i]},enumerable:this.constructor[l].has(i),configurable:true};return t},{}))}[r.custom](){return`${this.constructor.name} ${r(this.toJWK(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}[c](){throw new Error(`"[THUMBPRINT_MATERIAL]()" is not implemented on ${this.constructor.name}`)}algorithms(e,t,i){const{use:n=this.use,alg:r=this.alg,key_ops:s=this.key_ops}=t===v?i:{};if(r){return new Set(this.algorithms(e,v,{alg:null,use:n,key_ops:s}).has(r)?[r]:undefined)}if(typeof e==="symbol"){try{return this[e]()}catch(e){return new Set}}if(e&&s&&!s.includes(e)){return new Set}switch(e){case"decrypt":case"deriveKey":case"encrypt":case"sign":case"unwrapKey":case"verify":case"wrapKey":return new Set(Object.entries(w[this.kty][e]).map(([e,t])=>t(this)?e:undefined).filter(Boolean));case undefined:return new Set([...this.algorithms("sign"),...this.algorithms("verify"),...this.algorithms("decrypt"),...this.algorithms("encrypt"),...this.algorithms("unwrapKey"),...this.algorithms("wrapKey"),...this.algorithms("deriveKey")]);default:throw new TypeError("invalid key operation")}}static async generate(){throw new Error(`"static async generate()" is not implemented on ${this.name}`)}static generateSync(){throw new Error(`"static generateSync()" is not implemented on ${this.name}`)}static get[l](){throw new Error(`"static get [PUBLIC_MEMBERS]()" is not implemented on ${this.name}`)}static get[p](){throw new Error(`"static get [PRIVATE_MEMBERS]()" is not implemented on ${this.name}`)}}e.exports=Key},53426:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{EC_CURVES:d}=i(15501);const{keyObjectSupported:f}=i(32457);const{createPublicKey:h,createPrivateKey:m}=i(98921);const b=i(52973);const g=i(57841);const y=s(r);const S=new Set(["crv","x","y"]);Object.freeze(S);const v=new Set([...S,"d"]);Object.freeze(v);class ECKey extends g{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"EC",enumerable:true});if(!d.has(this.crv)){throw new b.JOSENotSupported("unsupported EC key curve")}}static get[u](){return S}static get[c](){return v}[a](){return{crv:this.crv,kty:"EC",x:this.x,y:this.y}}[p](){return this.algorithms("deriveKey")}[l](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="P-256",t=true){if(!d.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}let i,n;if(f){({privateKey:i,publicKey:n}=await y("ec",{namedCurve:e}));return t?i:n}({privateKey:i,publicKey:n}=await y("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(n)}}static generateSync(e="P-256",t=true){if(!d.has(e)){throw new b.JOSENotSupported(`unsupported EC key curve: ${e}`)}let i,r;if(f){({privateKey:i,publicKey:r}=n("ec",{namedCurve:e}));return t?i:r}({privateKey:i,publicKey:r}=n("ec",{namedCurve:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return m(i)}else{return h(r)}}}e.exports=ECKey},84902:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class EmbeddedJWK extends r{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.JWK {}"}algorithms(){return new Set}}e.exports=new EmbeddedJWK},303:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class EmbeddedX5C extends r{constructor(){super({type:"embedded"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"Embedded.X5C {}"}algorithms(){return new Set}}e.exports=new EmbeddedX5C},98012:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(57841);class NoneKey extends r{constructor(){super({type:"unsecured"},{alg:"none"});Object.defineProperties(this,{kid:{value:undefined},kty:{value:undefined},thumbprint:{value:undefined},toJWK:{value:undefined},toPEM:{value:undefined}})}[n.custom](){return"None {}"}algorithms(e){switch(e){case"sign":case"verify":case undefined:return new Set(["none"]);default:return new Set}}}e.exports=new NoneKey},50504:(e,t,i)=>{const{randomBytes:n}=i(76417);const{createSecretKey:r}=i(98921);const s=i(73385);const{THUMBPRINT_MATERIAL:a,PUBLIC_MEMBERS:o,PRIVATE_MEMBERS:u,KEY_MANAGEMENT_DECRYPT:c,KEY_MANAGEMENT_ENCRYPT:l,KEYOBJECT:p}=i(15010);const d=i(57841);const f=new Set;Object.freeze(f);const h=new Set(["k"]);Object.freeze(h);class OctKey extends d{constructor(...e){super(...e);Object.defineProperties(this,{kty:{value:"oct",enumerable:true},length:{value:this[p]?this[p].symmetricKeySize*8:undefined},k:{enumerable:false,get(){if(this[p]){Object.defineProperty(this,"k",{value:s.encodeBuffer(this[p].export()),configurable:false})}else{Object.defineProperty(this,"k",{value:undefined,configurable:false})}return this.k},configurable:true}})}static get[o](){return f}static get[u](){return h}[a](){if(!this[p]){throw new TypeError('reference "oct" keys without "k" cannot have their thumbprint calculated')}return{k:this.k,kty:"oct"}}[l](){return new Set([...this.algorithms("wrapKey"),...this.algorithms("deriveKey")])}[c](){return this[l]()}algorithms(...e){if(!this[p]){return new Set}return d.prototype.algorithms.call(this,...e)}static async generate(...e){return this.generateSync(...e)}static generateSync(e=256,t=true){if(!t){throw new TypeError('"oct" keys cannot be generated as public')}if(!Number.isSafeInteger(e)||!e||e%8!==0){throw new TypeError("invalid bit length")}return r(n(e/8))}}e.exports=OctKey},24510:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{OKP_CURVES:d}=i(15501);const{edDSASupported:f}=i(32457);const h=i(52973);const m=i(57841);const b=s(r);const g=new Set(["crv","x"]);Object.freeze(g);const y=new Set([...g,"d"]);Object.freeze(y);class OKPKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperty(this,"kty",{value:"OKP",enumerable:true});if(!d.has(this.crv)){throw new h.JOSENotSupported("unsupported OKP key curve")}}static get[u](){return g}static get[c](){return y}[a](){return{crv:this.crv,kty:"OKP",x:this.x}}[p](){return this.algorithms("deriveKey")}[l](){if(this.public){return new Set}return this.algorithms("deriveKey")}static async generate(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!d.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:n}=await b(e.toLowerCase());return t?i:n}static generateSync(e="Ed25519",t=true){if(!f){throw new h.JOSENotSupported("OKP keys are not supported in your Node.js runtime version")}if(!d.has(e)){throw new h.JOSENotSupported(`unsupported OKP key curve: ${e}`)}const{privateKey:i,publicKey:r}=n(e.toLowerCase());return t?i:r}}e.exports=OKPKey},73242:(e,t,i)=>{const{generateKeyPairSync:n,generateKeyPair:r}=i(76417);const{promisify:s}=i(31669);const{THUMBPRINT_MATERIAL:a,JWK_MEMBERS:o,PUBLIC_MEMBERS:u,PRIVATE_MEMBERS:c,KEY_MANAGEMENT_DECRYPT:l,KEY_MANAGEMENT_ENCRYPT:p}=i(15010);const{keyObjectSupported:d}=i(32457);const{createPublicKey:f,createPrivateKey:h}=i(98921);const m=i(57841);const b=s(r);const g=new Set(["e","n"]);Object.freeze(g);const y=new Set([...g,"d","p","q","dp","dq","qi"]);Object.freeze(y);class RSAKey extends m{constructor(...e){super(...e);this[o]();Object.defineProperties(this,{kty:{value:"RSA",enumerable:true},length:{get(){Object.defineProperty(this,"length",{value:Buffer.byteLength(this.n,"base64")*8,configurable:false});return this.length},configurable:true}})}static get[u](){return g}static get[c](){return y}[a](){return{e:this.e,kty:"RSA",n:this.n}}[p](){return this.algorithms("wrapKey")}[l](){return this.algorithms("unwrapKey")}static async generate(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,n;if(d){({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e}));return t?i:n}({privateKey:i,publicKey:n}=await b("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(n)}}static generateSync(e=2048,t=true){if(!Number.isSafeInteger(e)||e<512||e%8!==0||"electron"in process.versions&&e%128!==0){throw new TypeError("invalid bit length")}let i,r;if(d){({privateKey:i,publicKey:r}=n("rsa",{modulusLength:e}));return t?i:r}({privateKey:i,publicKey:r}=n("rsa",{modulusLength:e,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}));if(t){return h(i)}else{return f(r)}}}e.exports=RSAKey},82253:(e,t,i)=>{const{createHash:n}=i(76417);const r=i(73385);const s=(e,t)=>r.encodeBuffer(n(e).update(Buffer.from(t,"base64")).digest());e.exports.kid=(e=>r.encodeBuffer(n("sha256").update(JSON.stringify(e)).digest()));e.exports.x5t=s.bind(undefined,"sha1");e.exports["x5t#S256"]=s.bind(undefined,"sha256")},42896:(e,t,i)=>{const n=i(24998);e.exports=n},24998:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(41805);const{generate:s,generateSync:a}=i(39377);const{USES_MAPPING:o}=i(15010);const{isKey:u,asKey:c}=i(67894);const l=(e,{alg:t,use:i,ops:n})=>{let r=0;if(t&&e.alg){r++}if(i&&e.use){r++}if(n&&e.key_ops){r++}return r};class KeyStore{constructor(...e){while(e.some(Array.isArray)){e=e.flat?e.flat():e.reduce((e,t)=>{if(Array.isArray(t)){return[...e,...t]}e.push(t);return e},[])}if(e.some(e=>!u(e)||!e.kty)){throw new TypeError("all keys must be instances of a key instantiated by JWK.asKey")}this._keys=new Set(e)}all({alg:e,kid:t,thumbprint:i,use:n,kty:r,key_ops:s,x5t:a,"x5t#S256":u,crv:c}={}){if(s!==undefined&&(!Array.isArray(s)||!s.length||s.some(e=>typeof e!=="string"))){throw new TypeError("`key_ops` must be a non-empty array of strings")}const p={alg:e,use:n,ops:s};return[...this._keys].filter(l=>{let p=true;if(p&&t!==undefined&&l.kid!==t){p=false}if(p&&i!==undefined&&l.thumbprint!==i){p=false}if(p&&a!==undefined&&l.x5t!==a){p=false}if(p&&u!==undefined&&l["x5t#S256"]!==u){p=false}if(p&&r!==undefined&&l.kty!==r){p=false}if(p&&c!==undefined&&l.crv!==c){p=false}if(e!==undefined&&!l.algorithms().has(e)){p=false}if(p&&n!==undefined&&(l.use!==undefined&&l.use!==n)){p=false}if(p&&s!==undefined&&(l.key_ops!==undefined||l.use!==undefined)){let e;if(l.key_ops){e=new Set(l.key_ops)}else{e=o[l.use]}if(s.some(t=>!e.has(t))){p=false}}return p}).sort((e,t)=>l(t,p)-l(e,p))}get(...e){return this.all(...e)[0]}add(e){if(!u(e)||!e.kty){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.add(e)}remove(e){if(!u(e)){throw new TypeError("key must be an instance of a key instantiated by JWK.asKey")}this._keys.delete(e)}toJWKS(e=false){return{keys:[...this._keys.values()].map(t=>t.toJWK(e&&(t.private||t.secret&&t.k)))}}async generate(...e){this._keys.add(await s(...e))}generateSync(...e){this._keys.add(a(...e))}get size(){return this._keys.size}[n.custom](){return`${this.constructor.name} ${n(this.toJWKS(false),{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}*[Symbol.iterator](){for(const e of this._keys){yield e}}}function asKeyStore(e,{ignoreErrors:t=false,calculateMissingRSAPrimes:i=false}={}){if(!r(e)||!Array.isArray(e.keys)||e.keys.some(e=>!r(e)||!("kty"in e))){throw new TypeError("jwks must be a JSON Web Key Set formatted object")}const n=e.keys.map(e=>{try{return c(e,{calculateMissingRSAPrimes:i})}catch(e){if(!t){throw e}return undefined}}).filter(Boolean);return new KeyStore(...n)}e.exports={KeyStore:KeyStore,asKeyStore:asKeyStore}},36518:(e,t,i)=>{const n=i(1728);const{verify:r}=i(39835);const s=(e,t,i,r,s)=>{return new n(t).recipient(i,r,s).sign(e)};e.exports.Sign=n;e.exports.sign=s.bind(undefined,"compact");e.exports.sign.flattened=s.bind(undefined,"flattened");e.exports.sign.general=s.bind(undefined,"general");e.exports.verify=r},28104:(e,t,i)=>{const n=i(41805);let r=i(530);const{JWSInvalid:s}=i(52973);r=r.bind(undefined,s);const a=(e,[t])=>{return`${t.protected}.${e}.${t.signature}`};a.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1||t){throw new s("JWS Compact Serialization doesn't support multiple recipients or JWS unprotected headers")}r(i,t,i?i.crit:undefined)});const o=(e,[t])=>{const{header:i,signature:n,protected:r}=t;return{payload:e,...r?{protected:r}:undefined,...i?{header:i}:undefined,signature:n}};o.validate=((e,{0:{unprotectedHeader:t,protectedHeader:i},length:n})=>{if(n!==1){throw new s("Flattened JWS JSON Serialization doesn't support multiple recipients")}r(i,t,i?i.crit:undefined)});const u=(e,t)=>{return{payload:e,signatures:t.map(({header:e,signature:t,protected:i})=>{return{...i?{protected:i}:undefined,...e?{header:e}:undefined,signature:t}})}};u.validate=((e,t)=>{let i=false;t.forEach(({protectedHeader:e,unprotectedHeader:t})=>{if(e&&!i&&"b64"in e){i=true}r(e,t,e?e.crit:undefined)});if(i){const e=t.map(({protectedHeader:e})=>e&&e.b64);if(!e.every((e,t,[i])=>e===i)){throw new s('the "b64" Header Parameter value MUST be the same for all recipients')}}});const c=e=>{return n(e)&&(typeof e.payload==="string"||Buffer.isBuffer(e.payload))};const l=e=>{return n(e)&&typeof e.signature==="string"&&(e.header===undefined||n(e.header))&&(e.protected===undefined||typeof e.protected==="string")};const p=e=>{if(Array.isArray(e.signatures)&&e.signatures.every(l)){return true}return false};const d=e=>{if(typeof e==="string"&&e.split(".").length===3){return"compact"}if(c(e)){if(p(e)){return"general"}if(l(e)){return"flattened"}}throw new s("JWS malformed or invalid serialization")};e.exports={compact:a,flattened:o,general:u,detect:d}},1728:(e,t,i)=>{const n=i(73385);const r=i(29024);const s=i(41805);const a=i(43653);const{JWSInvalid:o}=i(52973);const{sign:u}=i(50191);const c=i(31308);const l=i(28104);const p=Symbol("PROCESS_RECIPIENT");class Sign{constructor(e){if(typeof e==="string"){e=n.encode(e)}else if(Buffer.isBuffer(e)){e=n.encodeBuffer(e);this._binary=true}else if(s(e)){e=n.JSON.encode(e)}else{throw new TypeError("payload argument must be a Buffer, string or an object")}this._payload=e;this._recipients=[]}recipient(e,t,i){e=c(e);if(t!==undefined&&!s(t)){throw new TypeError("protectedHeader argument must be a plain object when provided")}if(i!==undefined&&!s(i)){throw new TypeError("unprotectedHeader argument must be a plain object when provided")}if(!r(t,i)){throw new o("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}this._recipients.push({key:e,protectedHeader:t?a(t):undefined,unprotectedHeader:i?a(i):undefined});return this}[p](e,t){const{key:i,protectedHeader:r,unprotectedHeader:s}=e;if(i.use==="enc"){throw new TypeError('a key with "use":"enc" is not usable for signing')}const a={protected:r||{},unprotected:s||{}};let c=a.protected.alg||a.unprotected.alg;if(!c){c=i.alg||[...i.algorithms("sign")][0];if(e.protectedHeader){a.protected.alg=e.protectedHeader.alg=c}else{a.protected=e.protectedHeader={alg:c}}}if(!c){throw new o('could not resolve a usable "alg" for a recipient')}e.header=s;e.protected=Object.keys(a.protected).length?n.JSON.encode(a.protected):"";if(t&&a.protected.crit&&a.protected.crit.includes("b64")&&a.protected.b64===false){if(this._binary){this._payload=n.decodeToBuffer(this._payload)}else{this._payload=n.decode(this._payload)}}const l=Buffer.concat([Buffer.from(e.protected||""),Buffer.from("."),Buffer.from(this._payload)]);e.signature=n.encodeBuffer(u(c,i,l))}sign(e){const t=l[e];if(!t){throw new TypeError('serialization must be one of "compact", "flattened", "general"')}if(!this._recipients.length){throw new o("missing recipients")}t.validate(this,this._recipients);this._recipients.forEach((e,t)=>{this[p](e,t===0)});return t(this._payload,this._recipients)}}e.exports=Sign},39835:(e,t,i)=>{const{EOL:n}=i(12087);const r=i(73385);const s=i(29024);const a=i(41805);let o=i(530);const u=i(31308);const{KeyStore:c}=i(42896);const l=i(52973);const{check:p,verify:d}=i(50191);const f=i(67894);const{detect:h}=i(28104);o=o.bind(undefined,l.JWSInvalid);const m=new Set(["compact","flattened","preparsed"]);const b=(e,t,i,g,{crit:y=[],complete:S=false,algorithms:v}={})=>{g=u(g,true);if(v!==undefined&&(!Array.isArray(v)||v.some(e=>typeof e!=="string"||!e))){throw new TypeError('"algorithms" option must be an array of non-empty strings')}else if(v){v=new Set(v)}if(!Array.isArray(y)||y.some(e=>typeof e!=="string"||!e)){throw new TypeError('"crit" option must be an array of non-empty strings')}if(!t){t=h(i)}let w;let j;let z;let O;let k;if(t==="general"&&i.signatures.length===1){t="flattened";const{signatures:e,...n}=i;i={...n,...e[0]}}let C;if(m.has(t)){let u={};switch(t){case"compact":[w,z,O]=i.split(".");break;case"flattened":({protected:w,payload:z,signature:O,header:j}=i);break;case"preparsed":{({decoded:C}=i);[w,z,O]=i.token.split(".");break}}if(!j){e=true}if(C){u=C.header}else if(w){try{u=r.JSON.decode(w)}catch(e){throw new l.JWSInvalid("could not parse JWS protected header")}}else{e=e||true}if(!e&&!s(u,j)){throw new l.JWSInvalid("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const h={...u,...j};o(u,j,y);k=u.alg||j&&j.alg;if(!k){throw new l.JWSInvalid("missing JWS signature algorithm")}else if(v&&!v.has(k)){throw new l.JOSEAlgNotWhitelisted("alg not whitelisted")}if(g instanceof c){const e=g;const n=e.all({kid:h.kid,alg:h.alg,key_ops:["verify"]});switch(n.length){case 0:throw new l.JWKSNoMatchingKey;case 1:g=n[0];break;default:{const e=[];for(const r of n){try{return b(true,t,i,r,{crit:y,complete:S,algorithms:v?[...v]:undefined})}catch(t){e.push(t);continue}}const r=new l.JOSEMultiError(e);if([...r].some(e=>e instanceof l.JWSVerificationFailed)){throw new l.JWSVerificationFailed}throw r}}}if(g===f.EmbeddedJWK){if(!a(h.jwk)){throw new l.JWSInvalid('JWS Header Parameter "jwk" must be a JSON object')}g=f.asKey(h.jwk);if(g.type!=="public"){throw new l.JWSInvalid('JWS Header Parameter "jwk" must be a public key')}}else if(g===f.EmbeddedX5C){if(!Array.isArray(h.x5c)||!h.x5c.length||h.x5c.some(e=>typeof e!=="string"||!e)){throw new l.JWSInvalid('JWS Header Parameter "x5c" must be a JSON array of certificate value strings')}g=f.asKey(`-----BEGIN CERTIFICATE-----${n}${(h.x5c[0].match(/.{1,64}/g)||[]).join(n)}${n}-----END CERTIFICATE-----`,{x5c:h.x5c})}p(g,"verify",k);const m=Buffer.concat([Buffer.from(w||""),Buffer.from("."),Buffer.isBuffer(z)?z:Buffer.from(z)]);if(!d(k,g,m,r.decodeToBuffer(O))){throw new l.JWSVerificationFailed}if(h.b64===false){z=Buffer.from(z)}else{z=r.decodeToBuffer(z)}if(S){const e={payload:z,key:g};if(w)e.protected=u;if(j)e.header=j;return e}return z}const{signatures:T,..._}=i;const A=[];for(const e of T){try{return b(false,"flattened",{..._,...e},g,{crit:y,complete:S,algorithms:v?[...v]:undefined})}catch(e){A.push(e);continue}}const E=new l.JOSEMultiError(A);if([...E].some(e=>e instanceof l.JWSVerificationFailed)){throw new l.JWSVerificationFailed}else if([...E].every(e=>e instanceof l.JWKSNoMatchingKey)){throw new l.JWKSNoMatchingKey}throw E};e.exports={bare:b,verify:b.bind(undefined,false,undefined)}},6743:(e,t,i)=>{const n=i(73385);const r=i(52973);e.exports=((e,{complete:t=false}={})=>{if(typeof e!=="string"||!e){throw new TypeError("JWT must be a string")}const{0:i,1:s,2:a,length:o}=e.split(".");if(o===5){throw new TypeError("encrypted JWTs cannot be decoded")}if(o!==3){throw new r.JWTMalformed("JWTs must have three components")}try{const e={header:n.JSON.decode(i),payload:n.JSON.decode(s),signature:a};return t?e:e.payload}catch(e){throw new r.JWTMalformed("JWT is malformed")}})},18138:(e,t,i)=>{const n=i(6743);const r=i(86703);const s=i(44856);const a=i(39547);e.exports={sign:r,verify:s,...a};Object.defineProperty(e.exports,"decode",{enumerable:false,configurable:true,value:n})},39547:(e,t,i)=>{const{JWTClaimInvalid:n}=i(52973);const r=i(97305);const s=i(47396);const a=i(41805);const o=i(44856);const{isString:u,isRequired:c,isTimestamp:l,isStringOrArrayOfStrings:p}=i(23951);const d=c.bind(undefined,n);const f=u.bind(undefined,n);const h=u.bind(undefined,TypeError);const m=(e,t,i,n)=>{Object.defineProperty(e,t,{enumerable:true,configurable:true,value(...r){process.emitWarning(`The ${i} API implements an IETF draft. Breaking draft implementations are included as minor versions of the jose library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.`,"DraftWarning");Object.defineProperty(e,t,{enumerable:true,configurable:true,value:n});return e[t](...r)}})};const b=(e,t)=>{if(!a(e)){throw new TypeError("options must be an object")}if(!e.issuer){throw new TypeError(`"issuer" option is required to validate ${t}`)}if(!e.audience){throw new TypeError(`"audience" option is required to validate ${t}`)}};e.exports={IdToken:{verify:(e,t,i={})=>{b(i,"an ID Token");if("maxAuthAge"in i){h(i.maxAuthAge,"options.maxAuthAge")}if("nonce"in i){h(i.nonce,"options.nonce")}const a=s(i.now||new Date);const u=o(e,t,{...i});const c=i.complete?u.payload:u;if(Array.isArray(c.aud)&&c.aud.length>1){d(c.azp,'"azp" claim',"azp")}d(c.iat,'"iat" claim',"iat");d(c.sub,'"sub" claim',"sub");d(c.exp,'"exp" claim',"exp");l(c.auth_time,"auth_time",!!i.maxAuthAge);f(c.nonce,'"nonce" claim',"nonce",!!i.nonce);f(c.acr,'"acr" claim',"acr");p(c.amr,"amr");if(i.nonce&&c.nonce!==i.nonce){throw new n('unexpected "nonce" claim value',"nonce","check_failed")}const m=i.clockTolerance?r(i.clockTolerance):0;if(i.maxAuthAge){const e=r(i.maxAuthAge);if(c.auth_time+e1&&c.azp!==i.audience){throw new n('unexpected "azp" claim value',"azp","check_failed")}return u}},LogoutToken:{},AccessToken:{}};m(e.exports.LogoutToken,"verify","jose.JWT.LogoutToken.verify",(e,t,i={})=>{b(i,"a Logout Token");const r=o(e,t,{...i});const s=i.complete?r.payload:r;d(s.iat,'"iat" claim',"iat");d(s.jti,'"jti" claim',"jti");f(s.sid,'"sid" claim',"sid");if(!("sid"in s)&&!("sub"in s)){throw new n('either "sid" or "sub" (or both) claims must be present')}if("nonce"in s){throw new n('"nonce" claim is prohibited',"nonce","prohibited")}if(!("events"in s)){throw new n('"events" claim is missing',"events","missing")}if(!a(s.events)){throw new n('"events" claim must be an object',"events","invalid")}if(!("http://schemas.openid.net/event/backchannel-logout"in s.events)){throw new n('"http://schemas.openid.net/event/backchannel-logout" member is missing in the "events" claim',"events","invalid")}if(!a(s.events["http://schemas.openid.net/event/backchannel-logout"])){throw new n('"http://schemas.openid.net/event/backchannel-logout" member in the "events" claim must be an object',"events","invalid")}return r});m(e.exports.AccessToken,"verify","jose.JWT.AccessToken.verify",(e,t,i={})=>{b(i,"a JWT Access Token");h(i.maxAuthAge,"options.maxAuthAge");const a=s(i.now||new Date);const u="at+JWT";const c=o(e,t,{...i,typ:u});const m=i.complete?c.payload:c;d(m.iat,'"iat" claim',"iat");d(m.exp,'"exp" claim',"exp");d(m.sub,'"sub" claim',"sub");d(m.jti,'"jti" claim',"jti");f(m.client_id,'"client_id" claim',"client_id",true);l(m.auth_time,"auth_time",!!i.maxAuthAge);f(m.acr,'"acr" claim',"acr");p(m.amr,"amr");const g=i.clockTolerance?r(i.clockTolerance):0;if(i.maxAuthAge){const e=r(i.maxAuthAge);if(m.auth_time+e{const{JWTClaimInvalid:n}=i(52973);const r=e=>typeof e!=="string"||e.length===0;const s=e=>!Array.isArray(e)||e.length===0||e.some(r);const a=(e,t,i,n)=>{if(t===undefined){throw new e(`${i} is missing`,n,"missing")}};const o=(e,t,i,n,s=false)=>{if(s){a(e,t,i,n)}if(t!==undefined&&r(t)){throw new e(`${i} must be a string`,n,"invalid")}};const u=(e,t,i=false)=>{if(i&&e===undefined){throw new n(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&typeof e!=="number"){throw new n(`"${t}" claim must be a JSON numeric value`,t,"invalid")}};const c=(e,t,i=false)=>{if(i&&e===undefined){throw new n(`"${t}" claim is missing`,t,"missing")}if(e!==undefined&&(r(e)&&s(e))){throw new n(`"${t}" claim must be a string or array of strings`,t,"invalid")}};e.exports={isNotArrayOfStrings:s,isRequired:a,isNotString:r,isString:o,isTimestamp:u,isStringOrArrayOfStrings:c}},86703:(e,t,i)=>{const n=i(41805);const r=i(97305);const s=i(47396);const a=i(31308);const o=i(36518);const u=i(23951).isString.bind(undefined,TypeError);const c=e=>{if(typeof e.iat!=="boolean"){throw new TypeError("options.iat must be a boolean")}if(typeof e.kid!=="boolean"){throw new TypeError("options.kid must be a boolean")}u(e.subject,"options.subject");u(e.issuer,"options.issuer");if(e.audience!==undefined&&((typeof e.audience!=="string"||!e.audience)&&(!Array.isArray(e.audience)||e.audience.length===0||e.audience.some(e=>!e||typeof e!=="string")))){throw new TypeError("options.audience must be a string or an array of strings")}if(!n(e.header)){throw new TypeError("options.header must be an object")}u(e.algorithm,"options.algorithm");u(e.expiresIn,"options.expiresIn");u(e.notBefore,"options.notBefore");u(e.jti,"options.jti");if(e.now!==undefined&&(!(e.now instanceof Date)||!e.now.getTime())){throw new TypeError("options.now must be a valid Date object")}};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithm:u,audience:l,expiresIn:p,header:d={},iat:f=true,issuer:h,jti:m,kid:b=true,notBefore:g,subject:y,now:S}=i;c({algorithm:u,audience:l,expiresIn:p,header:d,iat:f,issuer:h,jti:m,kid:b,notBefore:g,now:S,subject:y});if(!n(e)){throw new TypeError("payload must be an object")}let v;if(p||g||f){v=s(S||new Date)}e={...e,sub:y||e.sub,aud:l||e.aud,iss:h||e.iss,jti:m||e.jti,iat:f?v:e.iat,exp:p?v+r(p):e.exp,nbf:g?v+r(g):e.nbf};t=a(t);let w;if(typeof i.kid==="boolean"){w=b}else{w=!t.secret}return o.sign(JSON.stringify(e),t,{...d,alg:u||d.alg,kid:w?t.kid:d.kid})})},44856:(e,t,i)=>{const n=i(41805);const r=i(47396);const s=i(97305);const a=i(31308);const{bare:o}=i(39835);const{JWTClaimInvalid:u,JWTExpired:c}=i(52973);const{isString:l,isNotString:p,isNotArrayOfStrings:d,isTimestamp:f,isStringOrArrayOfStrings:h}=i(23951);const m=i(6743);const b=l.bind(undefined,u);const g=l.bind(undefined,TypeError);const y=e=>e.toLowerCase().replace(/^application\//,"");const S=({algorithms:e,audience:t,clockTolerance:i,complete:n=false,crit:r,ignoreExp:s=false,ignoreIat:a=false,ignoreNbf:o=false,issuer:u,jti:c,maxTokenAge:l,now:f=new Date,subject:h,typ:m})=>{if(typeof n!=="boolean"){throw new TypeError("options.complete must be a boolean")}if(typeof s!=="boolean"){throw new TypeError("options.ignoreExp must be a boolean")}if(typeof o!=="boolean"){throw new TypeError("options.ignoreNbf must be a boolean")}if(typeof a!=="boolean"){throw new TypeError("options.ignoreIat must be a boolean")}g(l,"options.maxTokenAge");g(h,"options.subject");g(c,"options.jti");g(i,"options.clockTolerance");g(m,"options.typ");if(u!==undefined&&(p(u)&&d(u))){throw new TypeError("options.issuer must be a string or an array of strings")}if(t!==undefined&&(p(t)&&d(t))){throw new TypeError("options.audience must be a string or an array of strings")}if(e!==undefined&&d(e)){throw new TypeError("options.algorithms must be an array of strings")}if(!(f instanceof Date)||!f.getTime()){throw new TypeError("options.now must be a valid Date object")}if(a&&l!==undefined){throw new TypeError("options.ignoreIat and options.maxTokenAge cannot used together")}if(r!==undefined&&d(r)){throw new TypeError("options.crit must be an array of strings")}return{algorithms:e,audience:t,clockTolerance:i,complete:n,crit:r,ignoreExp:s,ignoreIat:a,ignoreNbf:o,issuer:u,jti:c,maxTokenAge:l,now:f,subject:h,typ:m}};const v=({header:e,payload:t},i)=>{b(e.alg,'"alg" header parameter',"alg",true);f(t.iat,"iat",!!i.maxTokenAge);f(t.exp,"exp");f(t.nbf,"nbf");b(t.jti,'"jti" claim',"jti",!!i.jti);h(t.iss,"iss",!!i.issuer);b(t.sub,'"sub" claim',"sub",!!i.subject);h(t.aud,"aud",!!i.audience);b(e.typ,'"typ" header parameter',"typ",!!i.typ)};const w=(e,t)=>{if(typeof e==="string"){return t.includes(e)}e=new Set(e);return t.some(Set.prototype.has.bind(e))};e.exports=((e,t,i={})=>{if(!n(i)){throw new TypeError("options must be an object")}const{algorithms:l,audience:p,clockTolerance:d,complete:f,crit:h,ignoreExp:b,ignoreIat:g,ignoreNbf:j,issuer:z,jti:O,maxTokenAge:k,now:C,subject:T,typ:_}=i=S(i);const A=m(e,{complete:true});t=a(t,true);if(f){({key:t}=o(true,"preparsed",{decoded:A,token:e},t,{crit:h,algorithms:l,complete:true}));A.key=t}else{o(true,"preparsed",{decoded:A,token:e},t,{crit:h,algorithms:l})}const E=r(C);v(A,i);if(z&&(typeof A.payload.iss!=="string"||!(typeof z==="string"?[z]:z).includes(A.payload.iss))){throw new u('unexpected "iss" claim value',"iss","check_failed")}if(T&&A.payload.sub!==T){throw new u('unexpected "sub" claim value',"sub","check_failed")}if(O&&A.payload.jti!==O){throw new u('unexpected "jti" claim value',"jti","check_failed")}if(p&&!w(A.payload.aud,typeof p==="string"?[p]:p)){throw new u('unexpected "aud" claim value',"aud","check_failed")}if(_&&y(A.header.typ)!==y(_)){throw new u('unexpected "typ" JWT header value',"typ","check_failed")}const R=d?s(d):0;if(!g&&!("exp"in A.payload)&&"iat"in A.payload&&A.payload.iat>E+R){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}if(!j&&"nbf"in A.payload&&A.payload.nbf>E+R){throw new u('"nbf" claim timestamp check failed',"nbf","check_failed")}if(!b&&"exp"in A.payload&&A.payload.exp<=E-R){throw new c('"exp" claim timestamp check failed',"exp","check_failed")}if(k){const e=E-A.payload.iat;const t=s(k);if(e-R>t){throw new c('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed")}if(e<0-R){throw new u('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}}return f?A:A.payload})},30760:(e,t,i)=>{const{getCurves:n}=i(76417);const r=new Set;if(n().includes("prime256v1")){r.add("P-256")}if(n().includes("secp256k1")){r.add("secp256k1")}if(n().includes("secp384r1")){r.add("P-384")}if(n().includes("secp521r1")){r.add("P-521")}e.exports=r},87168:e=>{e.exports=new Map},15501:(e,t,i)=>{const n=i(30760);const r=i(19805);const s=i(72430);const a=i(95942);const o=i(54358);const u=i(24720);const c=i(87168);e.exports={EC_CURVES:n,ECDH_DERIVE_LENGTHS:c,IVLENGTHS:r,JWA:s,JWK:a,KEYLENGTHS:o,OKP_CURVES:u}},19805:e=>{e.exports=new Map([["A128CBC-HS256",128],["A128GCM",96],["A128GCMKW",96],["A192CBC-HS384",128],["A192GCM",96],["A192GCMKW",96],["A256CBC-HS512",128],["A256GCM",96],["A256GCMKW",96]])},72430:e=>{e.exports={sign:new Map,verify:new Map,keyManagementEncrypt:new Map,keyManagementDecrypt:new Map,encrypt:new Map,decrypt:new Map}},95942:e=>{e.exports={oct:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},EC:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},RSA:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}},OKP:{decrypt:{},deriveKey:{},encrypt:{},sign:{},unwrapKey:{},verify:{},wrapKey:{}}}},54358:e=>{e.exports=new Map([["A128CBC-HS256",256],["A128GCM",128],["A192CBC-HS384",384],["A192GCM",192],["A256CBC-HS512",512],["A256GCM",256]])},24720:e=>{const t=new Set(["Ed25519"]);if(!("electron"in process.versions)){t.add("Ed448");t.add("X25519");t.add("X448")}e.exports=t},21917:(e,t,i)=>{"use strict";var n=i(40916);e.exports=n},40916:(e,t,i)=>{"use strict";var n=i(45190);var r=i(73034);function deprecated(e){return function(){throw new Error("Function "+e+" is deprecated and cannot be used.")}}e.exports.Type=i(30967);e.exports.Schema=i(66514);e.exports.FAILSAFE_SCHEMA=i(66037);e.exports.JSON_SCHEMA=i(1571);e.exports.CORE_SCHEMA=i(92183);e.exports.DEFAULT_SAFE_SCHEMA=i(48949);e.exports.DEFAULT_FULL_SCHEMA=i(56874);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.safeLoad=n.safeLoad;e.exports.safeLoadAll=n.safeLoadAll;e.exports.dump=r.dump;e.exports.safeDump=r.safeDump;e.exports.YAMLException=i(65199);e.exports.MINIMAL_SCHEMA=i(66037);e.exports.SAFE_SCHEMA=i(48949);e.exports.DEFAULT_SCHEMA=i(56874);e.exports.scan=deprecated("scan");e.exports.parse=deprecated("parse");e.exports.compose=deprecated("compose");e.exports.addConstructor=deprecated("addConstructor")},59136:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var i,n,r,s;if(t){s=Object.keys(t);for(i=0,n=s.length;i{"use strict";var n=i(59136);var r=i(65199);var s=i(56874);var a=i(48949);var o=Object.prototype.toString;var u=Object.prototype.hasOwnProperty;var c=9;var l=10;var p=13;var d=32;var f=33;var h=34;var m=35;var b=37;var g=38;var y=39;var S=42;var v=44;var w=45;var j=58;var z=61;var O=62;var k=63;var C=64;var T=91;var _=93;var A=96;var E=123;var R=124;var x=125;var N={};N[0]="\\0";N[7]="\\a";N[8]="\\b";N[9]="\\t";N[10]="\\n";N[11]="\\v";N[12]="\\f";N[13]="\\r";N[27]="\\e";N[34]='\\"';N[92]="\\\\";N[133]="\\N";N[160]="\\_";N[8232]="\\L";N[8233]="\\P";var V=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];function compileStyleMap(e,t){var i,n,r,s,a,o,c;if(t===null)return{};i={};n=Object.keys(t);for(r=0,s=n.length;r0?e.charCodeAt(s-1):null;f=f&&isPlainSafe(a,o)}}else{for(s=0;sn&&e[d+1]!==" ";d=s}}else if(!isPrintable(a)){return D}o=s>0?e.charCodeAt(s-1):null;f=f&&isPlainSafe(a,o)}c=c||p&&(s-d-1>n&&e[d+1]!==" ")}if(!u&&!c){return f&&!r(e)?P:M}if(i>9&&needIndentIndicator(e)){return D}return c?I:B}function writeScalar(e,t,i,n){e.dump=function(){if(t.length===0){return"''"}if(!e.noCompatMode&&V.indexOf(t)!==-1){return"'"+t+"'"}var s=e.indent*Math.max(1,i);var a=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s);var o=n||e.flowLevel>-1&&i>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,o,e.indent,a,testAmbiguity)){case P:return t;case M:return"'"+t.replace(/'/g,"''")+"'";case B:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,s));case I:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,a),s));case D:return'"'+escapeString(t,a)+'"';default:throw new r("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var i=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var r=n&&(e[e.length-2]==="\n"||e==="\n");var s=r?"+":n?"":"-";return i+s+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var i=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;i.lastIndex=n;return foldLine(e.slice(0,n),t)}();var r=e[0]==="\n"||e[0]===" ";var s;var a;while(a=i.exec(e)){var o=a[1],u=a[2];s=u[0]===" ";n+=o+(!r&&!s&&u!==""?"\n":"")+foldLine(u,t);r=s}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var i=/ [^ ]/g;var n;var r=0,s,a=0,o=0;var u="";while(n=i.exec(e)){o=n.index;if(o-r>t){s=a>r?a:o;u+="\n"+e.slice(r,s);r=s+1}a=o}u+="\n";if(e.length-r>t&&a>r){u+=e.slice(r,a)+"\n"+e.slice(a+1)}else{u+=e.slice(r)}return u.slice(1)}function escapeString(e){var t="";var i,n;var r;for(var s=0;s=55296&&i<=56319){n=e.charCodeAt(s+1);if(n>=56320&&n<=57343){t+=encodeHex((i-55296)*1024+n-56320+65536);s++;continue}}r=N[i];t+=!r&&isPrintable(i)?e[s]:r||encodeHex(i)}return t}function writeFlowSequence(e,t,i){var n="",r=e.tag,s,a;for(s=0,a=i.length;s1024)l+="? ";l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,c,false,false)){continue}l+=e.dump;n+=l}e.tag=r;e.dump="{"+n+"}"}function writeBlockMapping(e,t,i,n){var s="",a=e.tag,o=Object.keys(i),u,c,p,d,f,h;if(e.sortKeys===true){o.sort()}else if(typeof e.sortKeys==="function"){o.sort(e.sortKeys)}else if(e.sortKeys){throw new r("sortKeys must be a boolean or a function")}for(u=0,c=o.length;u1024;if(f){if(e.dump&&l===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(f){h+=generateNextLine(e,t)}if(!writeNode(e,t+1,d,true,f)){continue}if(e.dump&&l===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;s+=h}e.tag=a;e.dump=s||"{}"}function detectType(e,t,i){var n,s,a,c,l,p;s=i?e.explicitTypes:e.implicitTypes;for(a=0,c=s.length;a tag resolver accepts not "'+p+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,i,n,s,a){e.tag=null;e.dump=i;if(!detectType(e,i,false)){detectType(e,i,true)}var u=o.call(e.dump);if(n){n=e.flowLevel<0||e.flowLevel>t}var c=u==="[object Object]"||u==="[object Array]",l,p;if(c){l=e.duplicates.indexOf(i);p=l!==-1}if(e.tag!==null&&e.tag!=="?"||p||e.indent!==2&&t>0){s=false}if(p&&e.usedDuplicates[l]){e.dump="*ref_"+l}else{if(c&&p&&!e.usedDuplicates[l]){e.usedDuplicates[l]=true}if(u==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,s);if(p){e.dump="&ref_"+l+e.dump}}else{writeFlowMapping(e,t,e.dump);if(p){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object Array]"){var d=e.noArrayIndent&&t>0?t-1:t;if(n&&e.dump.length!==0){writeBlockSequence(e,d,e.dump,s);if(p){e.dump="&ref_"+l+e.dump}}else{writeFlowSequence(e,d,e.dump);if(p){e.dump="&ref_"+l+" "+e.dump}}}else if(u==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,a)}}else{if(e.skipInvalid)return false;throw new r("unacceptable kind of an object to dump "+u)}if(e.tag!==null&&e.tag!=="?"){e.dump="!<"+e.tag+"> "+e.dump}}return true}function getDuplicateReferences(e,t){var i=[],n=[],r,s;inspectNode(e,i,n);for(r=0,s=n.length;r{"use strict";function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"");if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){var t=this.name+": ";t+=this.reason||"(unknown reason)";if(!e&&this.mark){t+=" "+this.mark.toString()}return t};e.exports=YAMLException},45190:(e,t,i)=>{"use strict";var n=i(59136);var r=i(65199);var s=i(55426);var a=i(48949);var o=i(56874);var u=Object.prototype.hasOwnProperty;var c=1;var l=2;var p=3;var d=4;var f=1;var h=2;var m=3;var b=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var g=/[\x85\u2028\u2029]/;var y=/[,\[\]\{\}]/;var S=/^(?:!|!!|![a-z\-]+!)$/i;var v=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var w=new Array(256);var j=new Array(256);for(var z=0;z<256;z++){w[z]=simpleEscapeSequence(z)?1:0;j[z]=simpleEscapeSequence(z)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.documents=[]}function generateError(e,t){return new r(t,new s(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var O={YAML:function handleYamlDirective(e,t,i){var n,r,s;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(i.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}r=parseInt(n[1],10);s=parseInt(n[2],10);if(r!==1){throwError(e,"unacceptable YAML version of the document")}e.version=i[0];e.checkLineBreaks=s<2;if(s!==1&&s!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,i){var n,r;if(i.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=i[0];r=i[1];if(!S.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(u.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!v.test(r)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}e.tagMap[n]=r}};function captureSegment(e,t,i,n){var r,s,a,o;if(t1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,i){var n,r,s,a,o,u,c,l,p=e.kind,d=e.result,f;f=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(f)||is_FLOW_INDICATOR(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){r=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(r)||i&&is_FLOW_INDICATOR(r)){return false}}e.kind="scalar";e.result="";s=a=e.position;o=false;while(f!==0){if(f===58){r=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(r)||i&&is_FLOW_INDICATOR(r)){break}}else if(f===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||i&&is_FLOW_INDICATOR(f)){break}else if(is_EOL(f)){u=e.line;c=e.lineStart;l=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){o=true;f=e.input.charCodeAt(e.position);continue}else{e.position=a;e.line=u;e.lineStart=c;e.lineIndent=l;break}}if(o){captureSegment(e,s,a,false);writeFoldedLines(e,e.line-u);s=a=e.position;o=false}if(!is_WHITE_SPACE(f)){a=e.position+1}f=e.input.charCodeAt(++e.position)}captureSegment(e,s,a,false);if(e.result){return true}e.kind=p;e.result=d;return false}function readSingleQuotedScalar(e,t){var i,n,r;i=e.input.charCodeAt(e.position);if(i!==39){return false}e.kind="scalar";e.result="";e.position++;n=r=e.position;while((i=e.input.charCodeAt(e.position))!==0){if(i===39){captureSegment(e,n,e.position,true);i=e.input.charCodeAt(++e.position);if(i===39){n=e.position;e.position++;r=e.position}else{return true}}else if(is_EOL(i)){captureSegment(e,n,r,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=r=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;r=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var i,n,r,s,a,o;o=e.input.charCodeAt(e.position);if(o!==34){return false}e.kind="scalar";e.result="";e.position++;i=n=e.position;while((o=e.input.charCodeAt(e.position))!==0){if(o===34){captureSegment(e,i,e.position,true);e.position++;return true}else if(o===92){captureSegment(e,i,e.position,true);o=e.input.charCodeAt(++e.position);if(is_EOL(o)){skipSeparationSpace(e,false,t)}else if(o<256&&w[o]){e.result+=j[o];e.position++}else if((a=escapedHexLen(o))>0){r=a;s=0;for(;r>0;r--){o=e.input.charCodeAt(++e.position);if((a=fromHexCode(o))>=0){s=(s<<4)+a}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(s);e.position++}else{throwError(e,"unknown escape sequence")}i=n=e.position}else if(is_EOL(o)){captureSegment(e,i,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));i=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var i=true,n,r=e.tag,s,a=e.anchor,o,u,l,p,d,f={},h,m,b,g;g=e.input.charCodeAt(e.position);if(g===91){u=93;d=false;s=[]}else if(g===123){u=125;d=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}g=e.input.charCodeAt(++e.position);while(g!==0){skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===u){e.position++;e.tag=r;e.anchor=a;e.kind=d?"mapping":"sequence";e.result=s;return true}else if(!i){throwError(e,"missed comma between flow collection entries")}m=h=b=null;l=p=false;if(g===63){o=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(o)){l=p=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;composeNode(e,t,c,false,true);m=e.tag;h=e.result;skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if((p||e.line===n)&&g===58){l=true;g=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,c,false,true);b=e.result}if(d){storeMappingPair(e,s,f,m,h,b)}else if(l){s.push(storeMappingPair(e,null,f,m,h,b))}else{s.push(h)}skipSeparationSpace(e,true,t);g=e.input.charCodeAt(e.position);if(g===44){i=true;g=e.input.charCodeAt(++e.position)}else{i=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var i,r,s=f,a=false,o=false,u=t,c=0,l=false,p,d;d=e.input.charCodeAt(e.position);if(d===124){r=false}else if(d===62){r=true}else{return false}e.kind="scalar";e.result="";while(d!==0){d=e.input.charCodeAt(++e.position);if(d===43||d===45){if(f===s){s=d===43?m:h}else{throwError(e,"repeat of a chomping mode identifier")}}else if((p=fromDecimalCode(d))>=0){if(p===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!o){u=t+p-1;o=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(d)){do{d=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(d));if(d===35){do{d=e.input.charCodeAt(++e.position)}while(!is_EOL(d)&&d!==0)}}while(d!==0){readLineBreak(e);e.lineIndent=0;d=e.input.charCodeAt(e.position);while((!o||e.lineIndentu){u=e.lineIndent}if(is_EOL(d)){c++;continue}if(e.lineIndentt)&&u!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndentt){if(composeNode(e,t,d,true,r)){if(b){h=e.result}else{m=e.result}}if(!b){storeMappingPair(e,c,p,f,h,m,s,a);f=h=m=null}skipSeparationSpace(e,true,-1);y=e.input.charCodeAt(e.position)}if(e.lineIndent>t&&y!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndentt){f=1}else if(e.lineIndent===t){f=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for(b=0,g=e.implicitTypes.length;b tag; it should be "'+y.kind+'", not "'+e.kind+'"')}if(!y.resolve(e.result)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=y.construct(e.result);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}else{throwError(e,"unknown tag !<"+e.tag+">")}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var t=e.position,i,n,r,s=false,a;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap={};e.anchorMap={};while((a=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);a=e.input.charCodeAt(e.position);if(e.lineIndent>0||a!==37){break}s=true;a=e.input.charCodeAt(++e.position);i=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}n=e.input.slice(i,e.position);r=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(a!==0){while(is_WHITE_SPACE(a)){a=e.input.charCodeAt(++e.position)}if(a===35){do{a=e.input.charCodeAt(++e.position)}while(a!==0&&!is_EOL(a));break}if(is_EOL(a))break;i=e.position;while(a!==0&&!is_WS_OR_EOL(a)){a=e.input.charCodeAt(++e.position)}r.push(e.input.slice(i,e.position))}if(a!==0)readLineBreak(e);if(u.call(O,n)){O[n](e,n,r)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(s){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,d,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&g.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position{"use strict";var n=i(59136);function Mark(e,t,i,n,r){this.name=e;this.buffer=t;this.position=i;this.line=n;this.column=r}Mark.prototype.getSnippet=function getSnippet(e,t){var i,r,s,a,o;if(!this.buffer)return null;e=e||4;t=t||75;i="";r=this.position;while(r>0&&"\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1))===-1){r-=1;if(this.position-r>t/2-1){i=" ... ";r+=5;break}}s="";a=this.position;while(at/2-1){s=" ... ";a-=5;break}}o=this.buffer.slice(r,a);return n.repeat(" ",e)+i+o+s+"\n"+n.repeat(" ",e+this.position-r+i.length)+"^"};Mark.prototype.toString=function toString(e){var t,i="";if(this.name){i+='in "'+this.name+'" '}i+="at line "+(this.line+1)+", column "+(this.column+1);if(!e){t=this.getSnippet();if(t){i+=":\n"+t}}return i};e.exports=Mark},66514:(e,t,i)=>{"use strict";var n=i(59136);var r=i(65199);var s=i(30967);function compileList(e,t,i){var n=[];e.include.forEach(function(e){i=compileList(e,t,i)});e[t].forEach(function(e){i.forEach(function(t,i){if(t.tag===e.tag&&t.kind===e.kind){n.push(i)}});i.push(e)});return i.filter(function(e,t){return n.indexOf(t)===-1})}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{}},t,i;function collectType(t){e[t.kind][t.tag]=e["fallback"][t.tag]=t}for(t=0,i=arguments.length;t{"use strict";var n=i(66514);e.exports=new n({include:[i(1571)]})},56874:(e,t,i)=>{"use strict";var n=i(66514);e.exports=n.DEFAULT=new n({include:[i(48949)],explicit:[i(25914),i(69242),i(27278)]})},48949:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({include:[i(92183)],implicit:[i(83714),i(81393)],explicit:[i(32551),i(96668),i(76039),i(69237)]})},66037:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({explicit:[i(52672),i(5490),i(31173)]})},1571:(e,t,i)=>{"use strict";var n=i(66514);e.exports=new n({include:[i(66037)],implicit:[i(22671),i(94675),i(89963),i(15564)]})},30967:(e,t,i)=>{"use strict";var n=i(65199);var r=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"];var s=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach(function(i){e[i].forEach(function(e){t[String(e)]=i})})}return t}function Type(e,t){t=t||{};Object.keys(t).forEach(function(t){if(r.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}});this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.defaultStyle=t["defaultStyle"]||null;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(s.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},32551:(e,t,i)=>{"use strict";var n;try{var r=require;n=r("buffer").Buffer}catch(e){}var s=i(30967);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,i,n=0,r=e.length,s=a;for(i=0;i64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,i,r=e.replace(/[\r\n=]/g,""),s=r.length,o=a,u=0,c=[];for(t=0;t>16&255);c.push(u>>8&255);c.push(u&255)}u=u<<6|o.indexOf(r.charAt(t))}i=s%4*6;if(i===0){c.push(u>>16&255);c.push(u>>8&255);c.push(u&255)}else if(i===18){c.push(u>>10&255);c.push(u>>2&255)}else if(i===12){c.push(u>>4&255)}if(n){return n.from?n.from(c):new n(c)}return c}function representYamlBinary(e){var t="",i=0,n,r,s=e.length,o=a;for(n=0;n>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}i=(i<<8)+e[n]}r=s%3;if(r===0){t+=o[i>>18&63];t+=o[i>>12&63];t+=o[i>>6&63];t+=o[i&63]}else if(r===2){t+=o[i>>10&63];t+=o[i>>4&63];t+=o[i<<2&63];t+=o[64]}else if(r===1){t+=o[i>>2&63];t+=o[i<<4&63];t+=o[64];t+=o[64]}return t}function isBinary(e){return n&&n.isBuffer(e)}e.exports=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},94675:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},15564:(e,t,i)=>{"use strict";var n=i(59136);var r=i(30967);var s=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!s.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,i,n,r;t=e.replace(/_/g,"").toLowerCase();i=t[0]==="-"?-1:1;r=[];if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}else if(t.indexOf(":")>=0){t.split(":").forEach(function(e){r.unshift(parseFloat(e,10))});t=0;n=1;r.forEach(function(e){t+=e*n;n*=60});return i*t}return i*parseFloat(t,10)}var a=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var i;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}i=e.toString(10);return a.test(i)?i.replace("e",".e"):i}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new r("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},89963:(e,t,i)=>{"use strict";var n=i(59136);var r=i(30967);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,i=0,n=false,r;if(!t)return false;r=e[i];if(r==="-"||r==="+"){r=e[++i]}if(r==="0"){if(i+1===t)return true;r=e[++i];if(r==="b"){i++;for(;i=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},27278:(e,t,i)=>{"use strict";var n;try{var r=require;n=r("esprima")}catch(e){if(typeof window!=="undefined")n=window.esprima}var s=i(30967);function resolveJavascriptFunction(e){if(e===null)return false;try{var t="("+e+")",i=n.parse(t,{range:true});if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){return false}return true}catch(e){return false}}function constructJavascriptFunction(e){var t="("+e+")",i=n.parse(t,{range:true}),r=[],s;if(i.type!=="Program"||i.body.length!==1||i.body[0].type!=="ExpressionStatement"||i.body[0].expression.type!=="ArrowFunctionExpression"&&i.body[0].expression.type!=="FunctionExpression"){throw new Error("Failed to resolve function")}i.body[0].expression.params.forEach(function(e){r.push(e.name)});s=i.body[0].expression.body.range;if(i.body[0].expression.body.type==="BlockStatement"){return new Function(r,t.slice(s[0]+1,s[1]-1))}return new Function(r,"return "+t.slice(s[0],s[1]))}function representJavascriptFunction(e){return e.toString()}function isFunction(e){return Object.prototype.toString.call(e)==="[object Function]"}e.exports=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:resolveJavascriptFunction,construct:constructJavascriptFunction,predicate:isFunction,represent:representJavascriptFunction})},69242:(e,t,i)=>{"use strict";var n=i(30967);function resolveJavascriptRegExp(e){if(e===null)return false;if(e.length===0)return false;var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];if(n.length>3)return false;if(t[t.length-n.length-1]!=="/")return false}return true}function constructJavascriptRegExp(e){var t=e,i=/\/([gim]*)$/.exec(e),n="";if(t[0]==="/"){if(i)n=i[1];t=t.slice(1,t.length-n.length-1)}return new RegExp(t,n)}function representJavascriptRegExp(e){var t="/"+e.source+"/";if(e.global)t+="g";if(e.multiline)t+="m";if(e.ignoreCase)t+="i";return t}function isRegExp(e){return Object.prototype.toString.call(e)==="[object RegExp]"}e.exports=new n("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:resolveJavascriptRegExp,construct:constructJavascriptRegExp,predicate:isRegExp,represent:representJavascriptRegExp})},25914:(e,t,i)=>{"use strict";var n=i(30967);function resolveJavascriptUndefined(){return true}function constructJavascriptUndefined(){return undefined}function representJavascriptUndefined(){return""}function isUndefined(e){return typeof e==="undefined"}e.exports=new n("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:resolveJavascriptUndefined,construct:constructJavascriptUndefined,predicate:isUndefined,represent:representJavascriptUndefined})},31173:(e,t,i)=>{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},81393:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},22671:(e,t,i)=>{"use strict";var n=i(30967);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"})},96668:(e,t,i)=>{"use strict";var n=i(30967);var r=Object.prototype.hasOwnProperty;var s=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],i,n,a,o,u,c=e;for(i=0,n=c.length;i{"use strict";var n=i(30967);var r=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,i,n,s,a,o=e;a=new Array(o.length);for(t=0,i=o.length;t{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},69237:(e,t,i)=>{"use strict";var n=i(30967);var r=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,i=e;for(t in i){if(r.call(i,t)){if(i[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},52672:(e,t,i)=>{"use strict";var n=i(30967);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},83714:(e,t,i)=>{"use strict";var n=i(30967);var r=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var s=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(r.exec(e)!==null)return true;if(s.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,i,n,a,o,u,c,l=0,p=null,d,f,h;t=r.exec(e);if(t===null)t=s.exec(e);if(t===null)throw new Error("Date resolve error");i=+t[1];n=+t[2]-1;a=+t[3];if(!t[4]){return new Date(Date.UTC(i,n,a))}o=+t[4];u=+t[5];c=+t[6];if(t[7]){l=t[7].slice(0,3);while(l.length<3){l+="0"}l=+l}if(t[9]){d=+t[10];f=+(t[11]||0);p=(d*60+f)*6e4;if(t[9]==="-")p=-p}h=new Date(Date.UTC(i,n,a,o,u,c,l));if(p)h.setTime(h.getTime()-p);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},85587:function(e,t){(function(){var i;var n=0xdeadbeefcafe;var r=(n&16777215)==15715070;function BigInteger(e,t,i){if(e!=null)if("number"==typeof e)this.fromNumber(e,t,i);else if(t==null&&"string"!=typeof e)this.fromString(e,256);else this.fromString(e,t)}function nbi(){return new BigInteger(null)}function am1(e,t,i,n,r,s){while(--s>=0){var a=t*this[e++]+i[n]+r;r=Math.floor(a/67108864);i[n++]=a&67108863}return r}function am2(e,t,i,n,r,s){var a=t&32767,o=t>>15;while(--s>=0){var u=this[e]&32767;var c=this[e++]>>15;var l=o*u+c*a;u=a*u+((l&32767)<<15)+i[n]+(r&1073741823);r=(u>>>30)+(l>>>15)+o*c+(r>>>30);i[n++]=u&1073741823}return r}function am3(e,t,i,n,r,s){var a=t&16383,o=t>>14;while(--s>=0){var u=this[e]&16383;var c=this[e++]>>14;var l=o*u+c*a;u=a*u+((l&16383)<<14)+i[n]+r;r=(u>>28)+(l>>14)+o*c;i[n++]=u&268435455}return r}var s=typeof navigator!=="undefined";if(s&&r&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;i=30}else if(s&&r&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;i=26}else{BigInteger.prototype.am=am3;i=28}BigInteger.prototype.DB=i;BigInteger.prototype.DM=(1<=0;--t)e[t]=this[t];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 t=nbi();t.fromInt(e);return t}function bnpFromString(e,t){var i;if(t==16)i=4;else if(t==8)i=3;else if(t==256)i=8;else if(t==2)i=1;else if(t==32)i=5;else if(t==4)i=2;else{this.fromRadix(e,t);return}this.t=0;this.s=0;var n=e.length,r=false,s=0;while(--n>=0){var a=i==8?e[n]&255:intAt(e,n);if(a<0){if(e.charAt(n)=="-")r=true;continue}r=false;if(s==0)this[this.t++]=a;else if(s+i>this.DB){this[this.t-1]|=(a&(1<>this.DB-s}else this[this.t-1]|=a<=this.DB)s-=this.DB}if(i==8&&(e[0]&128)!=0){this.s=-1;if(s>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 t;if(e==16)t=4;else if(e==8)t=3;else if(e==2)t=1;else if(e==32)t=5;else if(e==4)t=2;else return this.toRadix(e);var i=(1<0){if(o>o)>0){r=true;s=int2char(n)}while(a>=0){if(o>(o+=this.DB-t)}else{n=this[a]>>(o-=t)&i;if(o<=0){o+=this.DB;--a}}if(n>0)r=true;if(r)s+=int2char(n)}}return r?s:"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 t=this.s-e.s;if(t!=0)return t;var i=this.t;t=i-e.t;if(t!=0)return this.s<0?-t:t;while(--i>=0)if((t=this[i]-e[i])!=0)return t;return 0}function nbits(e){var t=1,i;if((i=e>>>16)!=0){e=i;t+=16}if((i=e>>8)!=0){e=i;t+=8}if((i=e>>4)!=0){e=i;t+=4}if((i=e>>2)!=0){e=i;t+=2}if((i=e>>1)!=0){e=i;t+=1}return t}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,t){var i;for(i=this.t-1;i>=0;--i)t[i+e]=this[i];for(i=e-1;i>=0;--i)t[i]=0;t.t=this.t+e;t.s=this.s}function bnpDRShiftTo(e,t){for(var i=e;i=0;--o){t[o+s+1]=this[o]>>n|a;a=(this[o]&r)<=0;--o)t[o]=0;t[s]=a;t.t=this.t+s+1;t.s=this.s;t.clamp()}function bnpRShiftTo(e,t){t.s=this.s;var i=Math.floor(e/this.DB);if(i>=this.t){t.t=0;return}var n=e%this.DB;var r=this.DB-n;var s=(1<>n;for(var a=i+1;a>n}if(n>0)t[this.t-i-1]|=(this.s&s)<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n-=e.s}t.s=n<0?-1:0;if(n<-1)t[i++]=this.DV+n;else if(n>0)t[i++]=n;t.t=i;t.clamp()}function bnpMultiplyTo(e,t){var i=this.abs(),n=e.abs();var r=i.t;t.t=r+n.t;while(--r>=0)t[r]=0;for(r=0;r=0)e[i]=0;for(i=0;i=t.DV){e[i+t.t]-=t.DV;e[i+t.t+1]=1}}if(e.t>0)e[e.t-1]+=t.am(i,t[i],e,2*i,0,1);e.s=0;e.clamp()}function bnpDivRemTo(e,t,i){var n=e.abs();if(n.t<=0)return;var r=this.abs();if(r.t0){n.lShiftTo(u,s);r.lShiftTo(u,i)}else{n.copyTo(s);r.copyTo(i)}var c=s.t;var l=s[c-1];if(l==0)return;var p=l*(1<1?s[c-2]>>this.F2:0);var d=this.FV/p,f=(1<=0){i[i.t++]=1;i.subTo(g,i)}BigInteger.ONE.dlShiftTo(c,g);g.subTo(s,s);while(s.t=0){var y=i[--m]==l?this.DM:Math.floor(i[m]*d+(i[m-1]+h)*f);if((i[m]+=s.am(0,y,i,b,0,c))0)i.rShiftTo(u,i);if(a<0)BigInteger.ZERO.subTo(i,i)}function bnMod(e){var t=nbi();this.abs().divRemTo(e,null,t);if(this.s<0&&t.compareTo(BigInteger.ZERO)>0)e.subTo(t,t);return t}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,t,i){e.multiplyTo(t,i);this.reduce(i)}function cSqrTo(e,t){e.squareTo(t);this.reduce(t)}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 t=e&3;t=t*(2-(e&15)*t)&15;t=t*(2-(e&255)*t)&255;t=t*(2-((e&65535)*t&65535))&65535;t=t*(2-e*t%this.DV)%this.DV;return t>0?this.DV-t:-t}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(t,t);return t}function montRevert(e){var t=nbi();e.copyTo(t);this.reduce(t);return t}function montReduce(e){while(e.t<=this.mt2)e[e.t++]=0;for(var t=0;t>15)*this.mpl&this.um)<<15)&e.DM;i=t+this.m.t;e[i]+=this.m.am(0,n,e,t,0,this.m.t);while(e[i]>=e.DV){e[i]-=e.DV;e[++i]++}}e.clamp();e.drShiftTo(this.m.t,e);if(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function montSqrTo(e,t){e.squareTo(t);this.reduce(t)}function montMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}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,t){if(e>4294967295||e<1)return BigInteger.ONE;var i=nbi(),n=nbi(),r=t.convert(this),s=nbits(e)-1;r.copyTo(i);while(--s>=0){t.sqrTo(i,n);if((e&1<0)t.mulTo(n,r,i);else{var a=i;i=n;n=a}}return t.revert(i)}function bnModPowInt(e,t){var i;if(e<256||t.isEven())i=new Classic(t);else i=new Montgomery(t);return this.exp(e,i)}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 t=this.chunkSize(e);var i=Math.pow(e,t);var n=nbv(i),r=nbi(),s=nbi(),a="";this.divRemTo(n,r,s);while(r.signum()>0){a=(i+s.intValue()).toString(e).substr(1)+a;r.divRemTo(n,r,s)}return s.intValue().toString(e)+a}function bnpFromRadix(e,t){this.fromInt(0);if(t==null)t=10;var i=this.chunkSize(t);var n=Math.pow(t,i),r=false,s=0,a=0;for(var o=0;o=i){this.dMultiply(n);this.dAddOffset(a,0);s=0;a=0}}if(s>0){this.dMultiply(Math.pow(t,s));this.dAddOffset(a,0)}if(r)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(e,t,i){if("number"==typeof t){if(e<2)this.fromInt(1);else{this.fromNumber(e,i);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(t)){this.dAddOffset(2,0);if(this.bitLength()>e)this.subTo(BigInteger.ONE.shiftLeft(e-1),this)}}}else{var n=new Array,r=e&7;n.length=(e>>3)+1;t.nextBytes(n);if(r>0)n[0]&=(1<0){if(i>i)!=(this.s&this.DM)>>i)t[r++]=n|this.s<=0){if(i<8){n=(this[e]&(1<>(i+=this.DB-8)}else{n=this[e]>>(i-=8)&255;if(i<=0){i+=this.DB;--e}}if((n&128)!=0)n|=-256;if(r==0&&(this.s&128)!=(n&128))++r;if(r>0||n!=this.s)t[r++]=n}}return t}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,t,i){var n,r,s=Math.min(e.t,this.t);for(n=0;n>=16;t+=16}if((e&255)==0){e>>=8;t+=8}if((e&15)==0){e>>=4;t+=4}if((e&3)==0){e>>=2;t+=2}if((e&1)==0)++t;return t}function bnGetLowestSetBit(){for(var e=0;e=this.t)return this.s!=0;return(this[t]&1<>=this.DB}if(e.t>=this.DB}n+=this.s}else{n+=this.s;while(i>=this.DB}n+=e.s}t.s=n<0?-1:0;if(n>0)t[i++]=n;else if(n<-1)t[i++]=this.DV+n;t.t=i;t.clamp()}function bnAdd(e){var t=nbi();this.addTo(e,t);return t}function bnSubtract(e){var t=nbi();this.subTo(e,t);return t}function bnMultiply(e){var t=nbi();this.multiplyTo(e,t);return t}function bnSquare(){var e=nbi();this.squareTo(e);return e}function bnDivide(e){var t=nbi();this.divRemTo(e,t,null);return t}function bnRemainder(e){var t=nbi();this.divRemTo(e,null,t);return t}function bnDivideAndRemainder(e){var t=nbi(),i=nbi();this.divRemTo(e,t,i);return new Array(t,i)}function bnpDMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(e,t){if(e==0)return;while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV){this[t]-=this.DV;if(++t>=this.t)this[this.t++]=0;++this[t]}}function NullExp(){}function nNop(e){return e}function nMulTo(e,t,i){e.multiplyTo(t,i)}function nSqrTo(e,t){e.squareTo(t)}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,t,i){var n=Math.min(this.t+e.t,t);i.s=0;i.t=n;while(n>0)i[--n]=0;var r;for(r=i.t-this.t;n=0)i[n]=0;for(n=Math.max(t-this.t,0);n2*this.m.t)return e.mod(this.m);else if(e.compareTo(this.m)<0)return e;else{var t=nbi();e.copyTo(t);this.reduce(t);return t}}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,t){e.squareTo(t);this.reduce(t)}function barrettMulTo(e,t,i){e.multiplyTo(t,i);this.reduce(i)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,t){var i=e.bitLength(),n,r=nbv(1),s;if(i<=0)return r;else if(i<18)n=1;else if(i<48)n=3;else if(i<144)n=4;else if(i<768)n=5;else n=6;if(i<8)s=new Classic(t);else if(t.isEven())s=new Barrett(t);else s=new Montgomery(t);var a=new Array,o=3,u=n-1,c=(1<1){var l=nbi();s.sqrTo(a[1],l);while(o<=c){a[o]=nbi();s.mulTo(l,a[o-2],a[o]);o+=2}}var p=e.t-1,d,f=true,h=nbi(),m;i=nbits(e[p])-1;while(p>=0){if(i>=u)d=e[p]>>i-u&c;else{d=(e[p]&(1<0)d|=e[p-1]>>this.DB+i-u}o=n;while((d&1)==0){d>>=1;--o}if((i-=o)<0){i+=this.DB;--p}if(f){a[d].copyTo(r);f=false}else{while(o>1){s.sqrTo(r,h);s.sqrTo(h,r);o-=2}if(o>0)s.sqrTo(r,h);else{m=r;r=h;h=m}s.mulTo(h,a[d],r)}while(p>=0&&(e[p]&1<0){t.rShiftTo(s,t);i.rShiftTo(s,i)}while(t.signum()>0){if((r=t.getLowestSetBit())>0)t.rShiftTo(r,t);if((r=i.getLowestSetBit())>0)i.rShiftTo(r,i);if(t.compareTo(i)>=0){t.subTo(i,t);t.rShiftTo(1,t)}else{i.subTo(t,i);i.rShiftTo(1,i)}}if(s>0)i.lShiftTo(s,i);return i}function bnpModInt(e){if(e<=0)return 0;var t=this.DV%e,i=this.s<0?e-1:0;if(this.t>0)if(t==0)i=this[0]%e;else for(var n=this.t-1;n>=0;--n)i=(t*i+this[n])%e;return i}function bnModInverse(e){var t=e.isEven();if(this.isEven()&&t||e.signum()==0)return BigInteger.ZERO;var i=e.clone(),n=this.clone();var r=nbv(1),s=nbv(0),a=nbv(0),o=nbv(1);while(i.signum()!=0){while(i.isEven()){i.rShiftTo(1,i);if(t){if(!r.isEven()||!s.isEven()){r.addTo(this,r);s.subTo(e,s)}r.rShiftTo(1,r)}else if(!s.isEven())s.subTo(e,s);s.rShiftTo(1,s)}while(n.isEven()){n.rShiftTo(1,n);if(t){if(!a.isEven()||!o.isEven()){a.addTo(this,a);o.subTo(e,o)}a.rShiftTo(1,a)}else if(!o.isEven())o.subTo(e,o);o.rShiftTo(1,o)}if(i.compareTo(n)>=0){i.subTo(n,i);if(t)r.subTo(a,r);s.subTo(o,s)}else{n.subTo(i,n);if(t)a.subTo(r,a);o.subTo(s,o)}}if(n.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(o.compareTo(e)>=0)return o.subtract(e);if(o.signum()<0)o.addTo(e,o);else return o;if(o.signum()<0)return o.add(e);else return o}var p=[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 d=(1<<26)/p[p.length-1];function bnIsProbablePrime(e){var t,i=this.abs();if(i.t==1&&i[0]<=p[p.length-1]){for(t=0;t>1;if(e>p.length)e=p.length;var r=nbi();for(var s=0;s>8&255;h[m++]^=e>>16&255;h[m++]^=e>>24&255;if(m>=S)m-=S}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(h==null){h=new Array;m=0;var b;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var g=new Uint8Array(32);window.crypto.getRandomValues(g);for(b=0;b<32;++b)h[m++]=g[b]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var y=window.crypto.random(32);for(b=0;b>>8;h[m++]=b&255}m=0;rng_seed_time()}function rng_get_byte(){if(f==null){rng_seed_time();f=prng_newstate();f.init(h);for(m=0;m{t.stringify=function stringify(e){if("undefined"==typeof e)return e;if(e&&Buffer.isBuffer(e))return JSON.stringify(":base64:"+e.toString("base64"));if(e&&e.toJSON)e=e.toJSON();if(e&&"object"===typeof e){var t="";var i=Array.isArray(e);t=i?"[":"{";var n=true;for(var r in e){var s="function"==typeof e[r]||!i&&"undefined"===typeof e[r];if(Object.hasOwnProperty.call(e,r)&&!s){if(!n)t+=",";n=false;if(i){if(e[r]==undefined)t+="null";else t+=stringify(e[r])}else if(e[r]!==void 0){t+=stringify(r)+":"+stringify(e[r])}}}t+=i?"]":"}";return t}else if("string"===typeof e){return JSON.stringify(/^:/.test(e)?":"+e:e)}else if("undefined"===typeof e){return"null"}else return JSON.stringify(e)};t.parse=function(e){return JSON.parse(e,function(e,t){if("string"===typeof t){if(/^:base64:/.test(t))return Buffer.from(t.substring(8),"base64");else return/^:/.test(t)?t.substring(1):t}return t})}},52533:e=>{"use strict";var t=e.exports=function(e,t,i){if(typeof t=="function"){i=t;t={}}i=t.cb||i;var n=typeof i=="function"?i:i.pre||function(){};var r=i.post||function(){};_traverse(t,n,r,e,"",e)};t.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};t.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};t.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};t.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,i,n,r,s,a,o,u,c,l){if(r&&typeof r=="object"&&!Array.isArray(r)){i(r,s,a,o,u,c,l);for(var p in r){var d=r[p];if(Array.isArray(d)){if(p in t.arrayKeywords){for(var f=0;ft.maxItems){addError("There must be a maximum of "+t.maxItems+" in the array")}}else if(t.properties||t.additionalProperties){s.concat(checkObj(e,t.properties,i,t.additionalProperties))}if(t.pattern&&typeof e=="string"&&!e.match(t.pattern)){addError("does not match the regex pattern "+t.pattern)}if(t.maxLength&&typeof e=="string"&&e.length>t.maxLength){addError("may only be "+t.maxLength+" characters long")}if(t.minLength&&typeof e=="string"&&e.lengthe){addError("must have a minimum value of "+t.minimum)}if(typeof t.maximum!==undefined&&typeof e==typeof t.maximum&&t.maximum{t=e.exports=stringify;t.getSerialize=serializer;function stringify(e,t,i,n){return JSON.stringify(e,serializer(t,n),i)}function serializer(e,t){var i=[],n=[];if(t==null)t=function(e,t){if(i[0]===t)return"[Circular ~]";return"[Circular ~."+n.slice(0,i.indexOf(t)).join(".")+"]"};return function(r,s){if(i.length>0){var a=i.indexOf(this);~a?i.splice(a+1):i.push(this);~a?n.splice(a,Infinity,r):n.push(r);if(~i.indexOf(s))s=t.call(this,r,s)}else i.push(s);return e==null?s:e.call(this,r,s)}}},63269:function(e,t,i){(function(e,i){true?i(t):0})(this,function(t){"use strict";function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function(e){return typeof e}}else{_typeof=function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)_setPrototypeOf(e,t)}function _getPrototypeOf(e){_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)};return _getPrototypeOf(e)}function _setPrototypeOf(e,t){_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){e.__proto__=t;return e};return _setPrototypeOf(e,t)}function isNativeReflectConstruct(){if(typeof Reflect==="undefined"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy==="function")return true;try{Date.prototype.toString.call(Reflect.construct(Date,[],function(){}));return true}catch(e){return false}}function _construct(e,t,i){if(isNativeReflectConstruct()){_construct=Reflect.construct}else{_construct=function _construct(e,t,i){var n=[null];n.push.apply(n,t);var r=Function.bind.apply(e,n);var s=new r;if(i)_setPrototypeOf(s,i.prototype);return s}}return _construct.apply(null,arguments)}function _isNativeFunction(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _wrapNativeSuper(e){var t=typeof Map==="function"?new Map:undefined;_wrapNativeSuper=function _wrapNativeSuper(e){if(e===null||!_isNativeFunction(e))return e;if(typeof e!=="function"){throw new TypeError("Super expression must either be null or a function")}if(typeof t!=="undefined"){if(t.has(e))return t.get(e);t.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return _setPrototypeOf(Wrapper,e)};return _wrapNativeSuper(e)}function _assertThisInitialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function _possibleConstructorReturn(e,t){if(t&&(typeof t==="object"||typeof t==="function")){return t}return _assertThisInitialized(e)}var n=eval;var r=true&&Boolean(e.exports)&&!(typeof navigator!=="undefined"&&navigator.product==="ReactNative");var s=["value","path","pointer","parent","parentProperty","all"];var a=Object.prototype.hasOwnProperty;var o=function moveToAnotherArray(e,t,i){var n=e.length;for(var r=0;r1){p.shift()}this._hasParentSelector=null;var d=this._trace(p,t,["$"],o,u,i).filter(function(e){return e&&!e.isParentSelector});if(!d.length){return l?[]:undefined}if(d.length===1&&!l&&!Array.isArray(d[0].value)){return this._getPreferredOutput(d[0])}return d.reduce(function(e,t){var i=r._getPreferredOutput(t);if(c&&Array.isArray(i)){e=e.concat(i)}else{e.push(i)}return e},[])};JSONPath.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){default:throw new TypeError("Unknown result type");case"all":e.pointer=JSONPath.toPointer(e.path);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);return e;case"value":case"parent":case"parentProperty":return e[t];case"path":return JSONPath.toPathString(e[t]);case"pointer":return JSONPath.toPointer(e.path)}};JSONPath.prototype._handleCallback=function(e,t,i){if(t){var n=this._getPreferredOutput(e);e.path=typeof e.path==="string"?e.path:JSONPath.toPathString(e.path);t(n,i,e)}};JSONPath.prototype._trace=function(e,t,i,n,r,s,o){var u;var c=this;if(!e.length){u={path:i,value:t,parent:n,parentProperty:r};this._handleCallback(u,s,"value");return u}var l=e[0],p=e.slice(1);var d=[];function addRet(e){if(Array.isArray(e)){e.forEach(function(e){d.push(e)})}else{d.push(e)}}if((typeof l!=="string"||o)&&t&&a.call(t,l)){addRet(this._trace(p,t[l],push(i,l),t,l,s))}else if(l==="*"){this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){addRet(c._trace(unshift(e,i),n,r,s,a,o,true))})}else if(l===".."){addRet(this._trace(p,t,i,n,r,s));this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){if(_typeof(n[e])==="object"){addRet(c._trace(unshift(t,i),n[e],push(r,e),n,e,o))}})}else if(l==="^"){this._hasParentSelector=true;return i.length?{path:i.slice(0,-1),expr:p,isParentSelector:true}:[]}else if(l==="~"){u={path:push(i,l),value:r,parent:n,parentProperty:null};this._handleCallback(u,s,"property");return u}else if(l==="$"){addRet(this._trace(p,t,i,null,null,s))}else if(/^(-?\d*):(-?\d*):?(\d*)$/.test(l)){addRet(this._slice(l,p,t,i,n,r,s))}else if(l.indexOf("?(")===0){if(this.currPreventEval){throw new Error("Eval [?(expr)] prevented in JSONPath expression.")}this._walk(l,p,t,i,n,r,s,function(e,t,i,n,r,s,a,o){if(c._eval(t.replace(/^\?\((.*?)\)$/,"$1"),n[e],e,r,s,a)){addRet(c._trace(unshift(e,i),n,r,s,a,o))}})}else if(l[0]==="("){if(this.currPreventEval){throw new Error("Eval [(expr)] prevented in JSONPath expression.")}addRet(this._trace(unshift(this._eval(l,t,i[i.length-1],i.slice(0,-1),n,r),p),t,i,n,r,s))}else if(l[0]==="@"){var f=false;var h=l.slice(1,-2);switch(h){default:throw new TypeError("Unknown value type "+h);case"scalar":if(!t||!["object","function"].includes(_typeof(t))){f=true}break;case"boolean":case"string":case"undefined":case"function":if(_typeof(t)===h){f=true}break;case"number":if(_typeof(t)===h&&isFinite(t)){f=true}break;case"nonFinite":if(typeof t==="number"&&!isFinite(t)){f=true}break;case"object":if(t&&_typeof(t)===h){f=true}break;case"array":if(Array.isArray(t)){f=true}break;case"other":f=this.currOtherTypeCallback(t,i,n,r);break;case"integer":if(t===Number(t)&&isFinite(t)&&!(t%1)){f=true}break;case"null":if(t===null){f=true}break}if(f){u={path:i,value:t,parent:n,parentProperty:r};this._handleCallback(u,s,"value");return u}}else if(l[0]==="`"&&t&&a.call(t,l.slice(1))){var m=l.slice(1);addRet(this._trace(p,t[m],push(i,m),t,m,s,true))}else if(l.includes(",")){var b=l.split(",");var g=true;var y=false;var S=undefined;try{for(var v=b[Symbol.iterator](),w;!(g=(w=v.next()).done);g=true){var j=w.value;addRet(this._trace(unshift(j,p),t,i,n,r,s))}}catch(e){y=true;S=e}finally{try{if(!g&&v["return"]!=null){v["return"]()}}finally{if(y){throw S}}}}else if(!o&&t&&a.call(t,l)){addRet(this._trace(p,t[l],push(i,l),t,l,s,true))}if(this._hasParentSelector){for(var z=0;z{var n=i(66631);var r=i(31669);var s=i(87264);var a=i(81692);var o=i(21328);t.deepCopy=deepCopy;t.deepEqual=deepEqual;t.isEmpty=isEmpty;t.hasKey=hasKey;t.forEachKey=forEachKey;t.pluck=pluck;t.flattenObject=flattenObject;t.flattenIter=flattenIter;t.validateJsonObject=validateJsonObjectJS;t.validateJsonObjectJS=validateJsonObjectJS;t.randElt=randElt;t.extraProperties=extraProperties;t.mergeObjects=mergeObjects;t.startsWith=startsWith;t.endsWith=endsWith;t.parseInteger=parseInteger;t.iso8601=iso8601;t.rfc1123=rfc1123;t.parseDateTime=parseDateTime;t.hrtimediff=hrtimeDiff;t.hrtimeDiff=hrtimeDiff;t.hrtimeAccum=hrtimeAccum;t.hrtimeAdd=hrtimeAdd;t.hrtimeNanosec=hrtimeNanosec;t.hrtimeMicrosec=hrtimeMicrosec;t.hrtimeMillisec=hrtimeMillisec;function deepCopy(e){var t,i;var n="__deepCopy";if(e&&e[n])throw new Error("attempted deep copy of cyclic object");if(e&&e.constructor==Object){t={};e[n]=true;for(i in e){if(i==n)continue;t[i]=deepCopy(e[i])}delete e[n];return t}if(e&&e.constructor==Array){t=[];e[n]=true;for(i=0;i=0);for(a in e){s=i.slice(0);s.push(a);doFlattenIter(e[a],t-1,s,r)}}function flattenObject(e,t){if(t===0)return[e];n.ok(e!==null);n.equal(typeof e,"object");n.equal(typeof t,"number");n.ok(t>=0);var i=[];var r;for(r in e){flattenObject(e[r],t-1).forEach(function(e){i.push([r].concat(e))})}return i}function startsWith(e,t){return e.substr(0,t.length)==t}function endsWith(e,t){return e.substr(e.length-t.length,t.length)==t}function iso8601(e){if(typeof e=="number")e=new Date(e);n.ok(e.constructor===Date);return s.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var c=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function rfc1123(e){return s.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",c[e.getUTCDay()],e.getUTCDate(),u[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function parseDateTime(e){var t=+e;if(!isNaN(t)){return new Date(t)}else{return new Date(e)}}var l=Number.MAX_SAFE_INTEGER||9007199254740991;var p=Number.MIN_SAFE_INTEGER||-9007199254740991;var d={base:10,allowSign:true,allowPrefix:false,allowTrailing:false,allowImprecise:false,trimWhitespace:false,leadingZeroIsOctal:false};var f=48;var h=57;var m=65;var b=66;var g=79;var y=84;var S=88;var v=90;var w=97;var j=98;var z=111;var O=116;var k=120;var C=122;var T=48;var _=55;var A=87;function parseInteger(e,t){n.string(e,"str");n.optionalObject(t,"options");var i=false;var r=d;if(t){i=hasKey(t,"base");r=mergeObjects(r,t);n.number(r.base,"options.base");n.ok(r.base>=2,"options.base >= 2");n.ok(r.base<=36,"options.base <= 36");n.bool(r.allowSign,"options.allowSign");n.bool(r.allowPrefix,"options.allowPrefix");n.bool(r.allowTrailing,"options.allowTrailing");n.bool(r.allowImprecise,"options.allowImprecise");n.bool(r.trimWhitespace,"options.trimWhitespace");n.bool(r.leadingZeroIsOctal,"options.leadingZeroIsOctal");if(r.leadingZeroIsOctal){n.ok(!i,'"base" and "leadingZeroIsOctal" are '+"mutually exclusive")}}var s;var a=-1;var o=r.base;var u;var c=1;var f=0;var h=0;var m=e.length;if(r.trimWhitespace){while(hl||b=f&&e<=h){return e-T}else if(e>=m&&e<=v){return e-_}else if(e>=w&&e<=C){return e-A}else{return-1}}function isSpace(e){return e===32||e>=9&&e<=13||e===160||e===5760||e===6158||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function prefixToBase(e){if(e===j||e===b){return 2}else if(e===z||e===g){return 8}else if(e===O||e===y){return 10}else if(e===k||e===S){return 16}else{return-1}}function validateJsonObjectJS(e,t){var i=o.validate(t,e);if(i.errors.length===0)return null;var n=i.errors[0];var r=n["property"];var s=n["message"].toLowerCase();var u,c;if((u=s.indexOf("the property "))!=-1&&(c=s.indexOf(" is not defined in the schema and the "+"schema does not allow additional properties"))!=-1){u+="the property ".length;if(r==="")r=s.substr(u,c-u);else r=r+"."+s.substr(u,c-u);s="unsupported property"}var l=new a.VError('property "%s": %s',r,s);l.jsv_details=n;return l}function randElt(e){n.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array");return e[Math.floor(Math.random()*e.length)]}function assertHrtime(e){n.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes");n.ok(e[1]<1e9,"nanoseconds column overflow")}function hrtimeDiff(e,t){assertHrtime(e);assertHrtime(t);n.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var i=[e[0]-t[0],0];if(e[1]>=t[1]){i[1]=e[1]-t[1]}else{i[0]--;i[1]=1e9-(t[1]-e[1])}return i}function hrtimeNanosec(e){assertHrtime(e);return Math.floor(e[0]*1e9+e[1])}function hrtimeMicrosec(e){assertHrtime(e);return Math.floor(e[0]*1e6+e[1]/1e3)}function hrtimeMillisec(e){assertHrtime(e);return Math.floor(e[0]*1e3+e[1]/1e6)}function hrtimeAccum(e,t){assertHrtime(e);assertHrtime(t);e[1]+=t[1];if(e[1]>=1e9){e[0]++;e[1]-=1e9}e[0]+=t[0];return e}function hrtimeAdd(e,t){assertHrtime(e);var i=[e[0],e[1]];return hrtimeAccum(i,t)}function extraProperties(e,t){n.ok(typeof e==="object"&&e!==null,"obj argument must be a non-null object");n.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var i=0;i{"use strict";const n=i(28614);const r=i(22820);const s=e=>{const t={redis:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql"};if(e.adapter||e.uri){const i=e.adapter||/^[^:]*/.exec(e.uri)[0];return new(require(t[i]))(e)}return new Map};class Keyv extends n{constructor(e,t){super();this.opts=Object.assign({namespace:"keyv",serialize:r.stringify,deserialize:r.parse},typeof e==="string"?{uri:e}:e,t);if(!this.opts.store){const e=Object.assign({},this.opts);this.opts.store=s(e)}if(typeof this.opts.store.on==="function"){this.opts.store.on("error",e=>this.emit("error",e))}this.opts.store.namespace=this.opts.namespace}_getKeyPrefix(e){return`${this.opts.namespace}:${e}`}get(e,t){const i=this._getKeyPrefix(e);const{store:n}=this.opts;return Promise.resolve().then(()=>n.get(i)).then(e=>{return typeof e==="string"?this.opts.deserialize(e):e}).then(i=>{if(i===undefined){return undefined}if(typeof i.expires==="number"&&Date.now()>i.expires){this.delete(e);return undefined}return t&&t.raw?i:i.value})}set(e,t,i){const n=this._getKeyPrefix(e);if(typeof i==="undefined"){i=this.opts.ttl}if(i===0){i=undefined}const{store:r}=this.opts;return Promise.resolve().then(()=>{const e=typeof i==="number"?Date.now()+i:null;t={value:t,expires:e};return this.opts.serialize(t)}).then(e=>r.set(n,e,i)).then(()=>true)}delete(e){const t=this._getKeyPrefix(e);const{store:i}=this.opts;return Promise.resolve().then(()=>i.delete(t))}clear(){const{store:e}=this.opts;return Promise.resolve().then(()=>e.clear())}}e.exports=Keyv},9662:e=>{"use strict";e.exports=(e=>{const t={};for(const[i,n]of Object.entries(e)){t[i.toLowerCase()]=n}return t})},7129:(e,t,i)=>{"use strict";const n=i(40665);const r=Symbol("max");const s=Symbol("length");const a=Symbol("lengthCalculator");const o=Symbol("allowStale");const u=Symbol("maxAge");const c=Symbol("dispose");const l=Symbol("noDisposeOnSet");const p=Symbol("lruList");const d=Symbol("cache");const f=Symbol("updateAgeOnGet");const h=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[r]=e.max||Infinity;const i=e.length||h;this[a]=typeof i!=="function"?h:i;this[o]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[c]=e.dispose;this[l]=e.noDisposeOnSet||false;this[f]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[r]=e||Infinity;g(this)}get max(){return this[r]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;g(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=h;if(e!==this[a]){this[a]=e;this[s]=0;this[p].forEach(e=>{e.length=this[a](e.value,e.key);this[s]+=e.length})}g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let i=this[p].tail;i!==null;){const n=i.prev;S(this,e,i,t);i=n}}forEach(e,t){t=t||this;for(let i=this[p].head;i!==null;){const n=i.next;S(this,e,i,t);i=n}}keys(){return this[p].toArray().map(e=>e.key)}values(){return this[p].toArray().map(e=>e.value)}reset(){if(this[c]&&this[p]&&this[p].length){this[p].forEach(e=>this[c](e.key,e.value))}this[d]=new Map;this[p]=new n;this[s]=0}dump(){return this[p].map(e=>b(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[p]}set(e,t,i){i=i||this[u];if(i&&typeof i!=="number")throw new TypeError("maxAge must be a number");const n=i?Date.now():0;const o=this[a](t,e);if(this[d].has(e)){if(o>this[r]){y(this,this[d].get(e));return false}const a=this[d].get(e);const u=a.value;if(this[c]){if(!this[l])this[c](e,u.value)}u.now=n;u.maxAge=i;u.value=t;this[s]+=o-u.length;u.length=o;this.get(e);g(this);return true}const f=new Entry(e,t,o,n,i);if(f.length>this[r]){if(this[c])this[c](e,t);return false}this[s]+=f.length;this[p].unshift(f);this[d].set(e,this[p].head);g(this);return true}has(e){if(!this[d].has(e))return false;const t=this[d].get(e).value;return!b(this,t)}get(e){return m(this,e,true)}peek(e){return m(this,e,false)}pop(){const e=this[p].tail;if(!e)return null;y(this,e);return e.value}del(e){y(this,this[d].get(e))}load(e){this.reset();const t=Date.now();for(let i=e.length-1;i>=0;i--){const n=e[i];const r=n.e||0;if(r===0)this.set(n.k,n.v);else{const e=r-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[d].forEach((e,t)=>m(this,t,false))}}const m=(e,t,i)=>{const n=e[d].get(t);if(n){const t=n.value;if(b(e,t)){y(e,n);if(!e[o])return undefined}else{if(i){if(e[f])n.value.now=Date.now();e[p].unshiftNode(n)}}return t.value}};const b=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const i=Date.now()-t.now;return t.maxAge?i>t.maxAge:e[u]&&i>e[u]};const g=e=>{if(e[s]>e[r]){for(let t=e[p].tail;e[s]>e[r]&&t!==null;){const i=t.prev;y(e,t);t=i}}};const y=(e,t)=>{if(t){const i=t.value;if(e[c])e[c](i.key,i.value);e[s]-=i.length;e[d].delete(i.key);e[p].removeNode(t)}};class Entry{constructor(e,t,i,n,r){this.key=e;this.value=t;this.length=i;this.now=n;this.maxAge=r||0}}const S=(e,t,i,n)=>{let r=i.value;if(b(e,r)){y(e,i);if(!e[o])r=undefined}if(r)t.call(n,r.value,r.key,e)};e.exports=LRUCache},21381:(e,t)=>{"use strict";var i=typeof Reflect!=="undefined"?Reflect.construct:undefined;var n=Object.defineProperty;var r=Error.captureStackTrace;if(r===undefined){r=function captureStackTrace(e){var t=new Error;n(e,"stack",{configurable:true,get:function getStack(){var e=t.stack;n(this,"stack",{configurable:true,value:e,writable:true});return e},set:function setStack(t){n(e,"stack",{configurable:true,value:t,writable:true})}})}}function BaseError(e){if(e!==undefined){n(this,"message",{configurable:true,value:e,writable:true})}var t=this.constructor.name;if(t!==undefined&&t!==this.name){n(this,"name",{configurable:true,value:t,writable:true})}r(this,this.constructor)}BaseError.prototype=Object.create(Error.prototype,{constructor:{configurable:true,value:BaseError,writable:true}});var s=function(){function setFunctionName(e,t){return n(e,"name",{configurable:true,value:t})}try{var e=function(){};setFunctionName(e,"foo");if(e.name==="foo"){return setFunctionName}}catch(e){}}();function makeError(e,t){if(t==null||t===Error){t=BaseError}else if(typeof t!=="function"){throw new TypeError("super_ should be a function")}var n;if(typeof e==="string"){n=e;e=i!==undefined?function(){return i(t,arguments,this.constructor)}:function(){t.apply(this,arguments)};if(s!==undefined){s(e,n);n=undefined}}else if(typeof e!=="function"){throw new TypeError("constructor should be either a string or a function")}e.super_=e["super"]=t;var r={constructor:{configurable:true,value:e,writable:true}};if(n!==undefined){r.name={configurable:true,value:n,writable:true}}e.prototype=Object.create(t.prototype,r);return e}t=e.exports=makeError;t.BaseError=BaseError},47426:(e,t,i)=>{e.exports=i(73313)},43583:(e,t,i)=>{"use strict";var n=i(47426);var r=i(85622).extname;var s=/^\s*([^;\s]*)(?:;|\s|$)/;var a=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=s.exec(e);var i=t&&n[t[1].toLowerCase()];if(i&&i.charset){return i.charset}if(t&&a.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var i=e.indexOf("/")===-1?t.lookup(e):e;if(!i){return false}if(i.indexOf("charset")===-1){var n=t.charset(i);if(n)i+="; charset="+n.toLowerCase()}return i}function extension(e){if(!e||typeof e!=="string"){return false}var i=s.exec(e);var n=i&&t.extensions[i[1].toLowerCase()];if(!n||!n.length){return false}return n[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var i=r("x."+e).toLowerCase().substr(1);if(!i){return false}return t.types[i]||false}function populateMaps(e,t){var i=["nginx","apache",undefined,"iana"];Object.keys(n).forEach(function forEachMimeType(r){var s=n[r];var a=s.extensions;if(!a||!a.length){return}e[r]=a;for(var o=0;ol||c===l&&t[u].substr(0,12)==="application/")){continue}}t[u]=r}})}},42610:e=>{"use strict";const t=["aborted","complete","headers","httpVersion","httpVersionMinor","httpVersionMajor","method","rawHeaders","rawTrailers","setTimeout","socket","statusCode","statusMessage","trailers","url"];e.exports=((e,i)=>{if(i._readableState.autoDestroy){throw new Error("The second stream must have the `autoDestroy` option set to `false`")}const n=new Set(Object.keys(e).concat(t));const r={};for(const t of n){if(t in i){continue}r[t]={get(){const i=e[t];const n=typeof i==="function";return n?i.bind(e):i},set(i){e[t]=i},enumerable:true,configurable:false}}Object.defineProperties(i,r);e.once("aborted",()=>{i.destroy();i.emit("aborted")});e.once("close",()=>{if(e.complete){if(i.readable){i.once("end",()=>{i.emit("close")})}else{i.emit("close")}}else{i.emit("close")}});return i})},83973:(e,t,i)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n={sep:"/"};try{n=i(85622)}catch(e){}var r=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var s=i(33717);var a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var u=o+"*?";var c="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var p=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce(function(e,t){e[t]=true;return e},{})}var d=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(i,n,r){return minimatch(i,e,t)}}function ext(e,t){e=e||{};t=t||{};var i={};Object.keys(t).forEach(function(e){i[e]=t[e]});Object.keys(e).forEach(function(t){i[t]=e[t]});return i}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var i=function minimatch(i,n,r){return t.minimatch(i,n,ext(e,r))};i.Minimatch=function Minimatch(i,n){return new t.Minimatch(i,ext(e,n))};return i};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,i){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!i)i={};if(!i.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,i).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var i=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,i);i=this.globParts=i.map(function(e){return e.split(d)});this.debug(this.pattern,i);i=i.map(function(e,t,i){return e.map(this.parse,this)},this);this.debug(this.pattern,i);i=i.filter(function(e){return e.indexOf(false)===-1});this.debug(this.pattern,i);this.set=i}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var i=this.options;var n=0;if(i.nonegate)return;for(var r=0,s=e.length;r1024*64){throw new TypeError("pattern is too long")}var i=this.options;if(!i.noglobstar&&e==="**")return r;if(e==="")return"";var n="";var s=!!i.nocase;var c=false;var l=[];var d=[];var h;var m=false;var b=-1;var g=-1;var y=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var S=this;function clearStateChar(){if(h){switch(h){case"*":n+=u;s=true;break;case"?":n+=o;s=true;break;default:n+="\\"+h;break}S.debug("clearStateChar %j %j",h,n);h=false}}for(var v=0,w=e.length,j;v-1;A--){var E=d[A];var R=n.slice(0,E.reStart);var x=n.slice(E.reStart,E.reEnd-8);var N=n.slice(E.reEnd-8,E.reEnd);var V=n.slice(E.reEnd);N+=V;var P=R.split("(").length-1;var M=V;for(v=0;v=0;a--){s=e[a];if(s)break}for(a=0;a>> no match, partial?",e,p,t,d);if(p===o)return true}return false}var h;if(typeof c==="string"){if(n.nocase){h=l.toLowerCase()===c.toLowerCase()}else{h=l===c}this.debug("string match",c,l,h)}else{h=l.match(c);this.debug("pattern match",c,l,h)}if(!h)return false}if(s===o&&a===u){return true}else if(s===o){return i}else if(a===u){var m=s===o-1&&e[s]==="";return m}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},41077:(e,t,i)=>{"use strict";const n=i(28614);const r=i(92413);const s=i(40665);const a=i(24304).StringDecoder;const o=Symbol("EOF");const u=Symbol("maybeEmitEnd");const c=Symbol("emittedEnd");const l=Symbol("emittingEnd");const p=Symbol("closed");const d=Symbol("read");const f=Symbol("flush");const h=Symbol("flushChunk");const m=Symbol("encoding");const b=Symbol("decoder");const g=Symbol("flowing");const y=Symbol("paused");const S=Symbol("resume");const v=Symbol("bufferLength");const w=Symbol("bufferPush");const j=Symbol("bufferShift");const z=Symbol("objectMode");const O=Symbol("destroyed");const k=global._MP_NO_ITERATOR_SYMBOLS_!=="1";const C=k&&Symbol.asyncIterator||Symbol("asyncIterator not implemented");const T=k&&Symbol.iterator||Symbol("iterator not implemented");const _=e=>e==="end"||e==="finish"||e==="prefinish";const A=e=>e instanceof ArrayBuffer||typeof e==="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0;const E=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e);e.exports=class Minipass extends r{constructor(e){super();this[g]=false;this[y]=false;this.pipes=new s;this.buffer=new s;this[z]=e&&e.objectMode||false;if(this[z])this[m]=null;else this[m]=e&&e.encoding||null;if(this[m]==="buffer")this[m]=null;this[b]=this[m]?new a(this[m]):null;this[o]=false;this[c]=false;this[l]=false;this[p]=false;this.writable=true;this.readable=true;this[v]=0;this[O]=false}get bufferLength(){return this[v]}get encoding(){return this[m]}set encoding(e){if(this[z])throw new Error("cannot set encoding in objectMode");if(this[m]&&e!==this[m]&&(this[b]&&this[b].lastNeed||this[v]))throw new Error("cannot change encoding");if(this[m]!==e){this[b]=e?new a(e):null;if(this.buffer.length)this.buffer=this.buffer.map(e=>this[b].write(e))}this[m]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[z]}set objectMode(e){this[z]=this[z]||!!e}write(e,t,i){if(this[o])throw new Error("write after end");if(this[O]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof t==="function")i=t,t="utf8";if(!t)t="utf8";if(!this[z]&&!Buffer.isBuffer(e)){if(E(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(A(e))e=Buffer.from(e);else if(typeof e!=="string")this.objectMode=true}if(!this.objectMode&&!e.length){if(this[v]!==0)this.emit("readable");if(i)i();return this.flowing}if(typeof e==="string"&&!this[z]&&!(t===this[m]&&!this[b].lastNeed)){e=Buffer.from(e,t)}if(Buffer.isBuffer(e)&&this[m])e=this[b].write(e);if(this.flowing){if(this[v]!==0)this[f](true);this.emit("data",e)}else this[w](e);if(this[v]!==0)this.emit("readable");if(i)i();return this.flowing}read(e){if(this[O])return null;try{if(this[v]===0||e===0||e>this[v])return null;if(this[z])e=null;if(this.buffer.length>1&&!this[z]){if(this.encoding)this.buffer=new s([Array.from(this.buffer).join("")]);else this.buffer=new s([Buffer.concat(Array.from(this.buffer),this[v])])}return this[d](e||null,this.buffer.head.value)}finally{this[u]()}}[d](e,t){if(e===t.length||e===null)this[j]();else{this.buffer.head.value=t.slice(e);t=t.slice(0,e);this[v]-=e}this.emit("data",t);if(!this.buffer.length&&!this[o])this.emit("drain");return t}end(e,t,i){if(typeof e==="function")i=e,e=null;if(typeof t==="function")i=t,t="utf8";if(e)this.write(e,t);if(i)this.once("end",i);this[o]=true;this.writable=false;if(this.flowing||!this[y])this[u]();return this}[S](){if(this[O])return;this[y]=false;this[g]=true;this.emit("resume");if(this.buffer.length)this[f]();else if(this[o])this[u]();else this.emit("drain")}resume(){return this[S]()}pause(){this[g]=false;this[y]=true}get destroyed(){return this[O]}get flowing(){return this[g]}get paused(){return this[y]}[w](e){if(this[z])this[v]+=1;else this[v]+=e.length;return this.buffer.push(e)}[j](){if(this.buffer.length){if(this[z])this[v]-=1;else this[v]-=this.buffer.head.value.length}return this.buffer.shift()}[f](e){do{}while(this[h](this[j]()));if(!e&&!this.buffer.length&&!this[o])this.emit("drain")}[h](e){return e?(this.emit("data",e),this.flowing):false}pipe(e,t){if(this[O])return;const i=this[c];t=t||{};if(e===process.stdout||e===process.stderr)t.end=false;else t.end=t.end!==false;const n={dest:e,opts:t,ondrain:e=>this[S]()};this.pipes.push(n);e.on("drain",n.ondrain);this[S]();if(i&&n.opts.end)n.dest.end();return e}addListener(e,t){return this.on(e,t)}on(e,t){try{return super.on(e,t)}finally{if(e==="data"&&!this.pipes.length&&!this.flowing)this[S]();else if(_(e)&&this[c]){super.emit(e);this.removeAllListeners(e)}}}get emittedEnd(){return this[c]}[u](){if(!this[l]&&!this[c]&&!this[O]&&this.buffer.length===0&&this[o]){this[l]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[p])this.emit("close");this[l]=false}}emit(e,t){if(e!=="error"&&e!=="close"&&e!==O&&this[O])return;else if(e==="data"){if(!t)return;if(this.pipes.length)this.pipes.forEach(e=>e.dest.write(t)===false&&this.pause())}else if(e==="end"){if(this[c]===true)return;this[c]=true;this.readable=false;if(this[b]){t=this[b].end();if(t){this.pipes.forEach(e=>e.dest.write(t));super.emit("data",t)}}this.pipes.forEach(e=>{e.dest.removeListener("drain",e.ondrain);if(e.opts.end)e.dest.end()})}else if(e==="close"){this[p]=true;if(!this[c]&&!this[O])return}const i=new Array(arguments.length);i[0]=e;i[1]=t;if(arguments.length>2){for(let e=2;e{e.push(t);if(!this[z])e.dataLength+=t.length});return t.then(()=>e)}concat(){return this[z]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[z]?Promise.reject(new Error("cannot concat in objectMode")):this[m]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(O,()=>t(new Error("stream destroyed")));this.on("end",()=>e());this.on("error",e=>t(e))})}[C](){const e=()=>{const e=this.read();if(e!==null)return Promise.resolve({done:false,value:e});if(this[o])return Promise.resolve({done:true});let t=null;let i=null;const n=e=>{this.removeListener("data",r);this.removeListener("end",s);i(e)};const r=e=>{this.removeListener("error",n);this.removeListener("end",s);this.pause();t({value:e,done:!!this[o]})};const s=()=>{this.removeListener("error",n);this.removeListener("data",r);t({done:true})};const a=()=>n(new Error("stream destroyed"));return new Promise((e,o)=>{i=o;t=e;this.once(O,a);this.once("error",n);this.once("end",s);this.once("data",r)})};return{next:e}}[T](){const e=()=>{const e=this.read();const t=e===null;return{value:e,done:t}};return{next:e}}destroy(e){if(this[O]){if(e)this.emit("error",e);else this.emit(O);return this}this[O]=true;this.buffer=new s;this[v]=0;if(typeof this.close==="function"&&!this[p])this.close();if(e)this.emit("error",e);else this.emit(O);return this}static isStream(e){return!!e&&(e instanceof Minipass||e instanceof r||e instanceof n&&(typeof e.pipe==="function"||typeof e.write==="function"&&typeof e.end==="function"))}}},6769:(e,t,i)=>{const n=i(78761).constants||{ZLIB_VERNUM:4736};e.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,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_VERSION_ERROR:-6,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,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:Infinity,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},n))},33486:(e,t,i)=>{"use strict";const n=i(42357);const r=i(64293).Buffer;const s=i(78761);const a=t.constants=i(6769);const o=i(41077);const u=r.concat;const c=Symbol("_superWrite");class ZlibError extends Error{constructor(e){super("zlib: "+e.message);this.code=e.code;this.errno=e.errno;if(!this.code)this.code="ZLIB_ERROR";this.message="zlib: "+e.message;Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}}const l=Symbol("opts");const p=Symbol("flushFlag");const d=Symbol("finishFlushFlag");const f=Symbol("fullFlushFlag");const h=Symbol("handle");const m=Symbol("onError");const b=Symbol("sawError");const g=Symbol("level");const y=Symbol("strategy");const S=Symbol("ended");const v=Symbol("_defaultFullFlush");class ZlibBase extends o{constructor(e,t){if(!e||typeof e!=="object")throw new TypeError("invalid options for ZlibBase constructor");super(e);this[b]=false;this[S]=false;this[l]=e;this[p]=e.flush;this[d]=e.finishFlush;try{this[h]=new s[t](e)}catch(e){throw new ZlibError(e)}this[m]=(e=>{if(this[b])return;this[b]=true;this.close();this.emit("error",e)});this[h].on("error",e=>this[m](new ZlibError(e)));this.once("end",()=>this.close)}close(){if(this[h]){this[h].close();this[h]=null;this.emit("close")}}reset(){if(!this[b]){n(this[h],"zlib binding closed");return this[h].reset()}}flush(e){if(this.ended)return;if(typeof e!=="number")e=this[f];this.write(Object.assign(r.alloc(0),{[p]:e}))}end(e,t,i){if(e)this.write(e,t);this.flush(this[d]);this[S]=true;return super.end(null,null,i)}get ended(){return this[S]}write(e,t,i){if(typeof t==="function")i=t,t="utf8";if(typeof e==="string")e=r.from(e,t);if(this[b])return;n(this[h],"zlib binding closed");const s=this[h]._handle;const a=s.close;s.close=(()=>{});const o=this[h].close;this[h].close=(()=>{});r.concat=(e=>e);let l;try{const t=typeof e[p]==="number"?e[p]:this[p];l=this[h]._processChunk(e,t);r.concat=u}catch(e){r.concat=u;this[m](new ZlibError(e))}finally{if(this[h]){this[h]._handle=s;s.close=a;this[h].close=o;this[h].removeAllListeners("error")}}if(this[h])this[h].on("error",e=>this[m](new ZlibError(e)));let d;if(l){if(Array.isArray(l)&&l.length>0){d=this[c](r.from(l[0]));for(let e=1;e{this.flush(e);t()});try{this[h].params(e,t)}finally{this[h].flush=i}if(this[h]){this[g]=e;this[y]=t}}}}class Deflate extends Zlib{constructor(e){super(e,"Deflate")}}class Inflate extends Zlib{constructor(e){super(e,"Inflate")}}const w=Symbol("_portable");class Gzip extends Zlib{constructor(e){super(e,"Gzip");this[w]=e&&!!e.portable}[c](e){if(!this[w])return super[c](e);this[w]=false;e[9]=255;return super[c](e)}}class Gunzip extends Zlib{constructor(e){super(e,"Gunzip")}}class DeflateRaw extends Zlib{constructor(e){super(e,"DeflateRaw")}}class InflateRaw extends Zlib{constructor(e){super(e,"InflateRaw")}}class Unzip extends Zlib{constructor(e){super(e,"Unzip")}}class Brotli extends ZlibBase{constructor(e,t){e=e||{};e.flush=e.flush||a.BROTLI_OPERATION_PROCESS;e.finishFlush=e.finishFlush||a.BROTLI_OPERATION_FINISH;super(e,t);this[f]=a.BROTLI_OPERATION_FLUSH}}class BrotliCompress extends Brotli{constructor(e){super(e,"BrotliCompress")}}class BrotliDecompress extends Brotli{constructor(e){super(e,"BrotliDecompress")}}t.Deflate=Deflate;t.Inflate=Inflate;t.Gzip=Gzip;t.Gunzip=Gunzip;t.DeflateRaw=DeflateRaw;t.InflateRaw=InflateRaw;t.Unzip=Unzip;if(typeof s.BrotliCompress==="function"){t.BrotliCompress=BrotliCompress;t.BrotliDecompress=BrotliDecompress}else{t.BrotliCompress=t.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}}},66186:(e,t,i)=>{const n=i(42853);const r=i(12930);const{mkdirpNative:s,mkdirpNativeSync:a}=i(4983);const{mkdirpManual:o,mkdirpManualSync:u}=i(40356);const{useNative:c,useNativeSync:l}=i(54518);const p=(e,t)=>{e=r(e);t=n(t);return c(t)?s(e,t):o(e,t)};const d=(e,t)=>{e=r(e);t=n(t);return l(t)?a(e,t):u(e,t)};p.sync=d;p.native=((e,t)=>s(r(e),n(t)));p.manual=((e,t)=>o(r(e),n(t)));p.nativeSync=((e,t)=>a(r(e),n(t)));p.manualSync=((e,t)=>u(r(e),n(t)));e.exports=p},44992:(e,t,i)=>{const{dirname:n}=i(85622);const r=(e,t,i=undefined)=>{if(i===t)return Promise.resolve();return e.statAsync(t).then(e=>e.isDirectory()?i:undefined,i=>i.code==="ENOENT"?r(e,n(t),t):undefined)};const s=(e,t,i=undefined)=>{if(i===t)return undefined;try{return e.statSync(t).isDirectory()?i:undefined}catch(i){return i.code==="ENOENT"?s(e,n(t),t):undefined}};e.exports={findMade:r,findMadeSync:s}},40356:(e,t,i)=>{const{dirname:n}=i(85622);const r=(e,t,i)=>{t.recursive=false;const s=n(e);if(s===e){return t.mkdirAsync(e,t).catch(e=>{if(e.code!=="EISDIR")throw e})}return t.mkdirAsync(e,t).then(()=>i||e,n=>{if(n.code==="ENOENT")return r(s,t).then(i=>r(e,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;return t.statAsync(e).then(e=>{if(e.isDirectory())return i;else throw n},()=>{throw n})})};const s=(e,t,i)=>{const r=n(e);t.recursive=false;if(r===e){try{return t.mkdirSync(e,t)}catch(e){if(e.code!=="EISDIR")throw e;else return}}try{t.mkdirSync(e,t);return i||e}catch(n){if(n.code==="ENOENT")return s(e,t,s(r,t,i));if(n.code!=="EEXIST"&&n.code!=="EROFS")throw n;try{if(!t.statSync(e).isDirectory())throw n}catch(e){throw n}}};e.exports={mkdirpManual:r,mkdirpManualSync:s}},4983:(e,t,i)=>{const{dirname:n}=i(85622);const{findMade:r,findMadeSync:s}=i(44992);const{mkdirpManual:a,mkdirpManualSync:o}=i(40356);const u=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirAsync(e,t);return r(t,e).then(i=>t.mkdirAsync(e,t).then(()=>i).catch(i=>{if(i.code==="ENOENT")return a(e,t);else throw i}))};const c=(e,t)=>{t.recursive=true;const i=n(e);if(i===e)return t.mkdirSync(e,t);const r=s(t,e);try{t.mkdirSync(e,t);return r}catch(i){if(i.code==="ENOENT")return o(e,t);else throw i}};e.exports={mkdirpNative:u,mkdirpNativeSync:c}},42853:(e,t,i)=>{const{promisify:n}=i(31669);const r=i(35747);const s=e=>{if(!e)e={mode:511,fs:r};else if(typeof e==="object")e={mode:511,fs:r,...e};else if(typeof e==="number")e={mode:e,fs:r};else if(typeof e==="string")e={mode:parseInt(e,8),fs:r};else throw new TypeError("invalid options argument");e.mkdir=e.mkdir||e.fs.mkdir||r.mkdir;e.mkdirAsync=n(e.mkdir);e.stat=e.stat||e.fs.stat||r.stat;e.statAsync=n(e.stat);e.statSync=e.statSync||e.fs.statSync||r.statSync;e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||r.mkdirSync;return e};e.exports=s},12930:(e,t,i)=>{const n=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform;const{resolve:r,parse:s}=i(85622);const a=e=>{if(/\0/.test(e)){throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"})}e=r(e);if(n==="win32"){const t=/[*|"<>?:]/;const{root:i}=s(e);if(t.test(e.substr(i.length))){throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}}return e};e.exports=a},54518:(e,t,i)=>{const n=i(35747);const r=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version;const s=r.replace(/^v/,"").split(".");const a=+s[0]>10||+s[0]===10&&+s[1]>=12;const o=!a?()=>false:e=>e.mkdir===n.mkdir;const u=!a?()=>false:e=>e.mkdirSync===n.mkdirSync;e.exports={useNative:o,useNativeSync:u}},38560:e=>{"use strict";e.exports=function(e){try{return e()}catch(e){}}},80467:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var n=_interopDefault(i(92413));var r=_interopDefault(i(98605));var s=_interopDefault(i(78835));var a=_interopDefault(i(57211));var o=_interopDefault(i(78761));const u=n.Readable;const c=Symbol("buffer");const l=Symbol("type");class Blob{constructor(){this[l]="";const e=arguments[0];const t=arguments[1];const i=[];let n=0;if(e){const t=e;const r=Number(t.length);for(let e=0;e1&&arguments[1]!==undefined?arguments[1]:{},r=i.size;let s=r===undefined?0:r;var a=i.timeout;let o=a===undefined?0:a;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 n) ;else{e=Buffer.from(String(e))}this[d]={body:e,disturbed:false,error:null};this.size=s;this.timeout=o;if(e instanceof n){e.on("error",function(e){const i=e.name==="AbortError"?e:new FetchError(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[d].error=i})}}Body.prototype={get body(){return this[d].body},get bodyUsed(){return this[d].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(t){return Object.assign(new Blob([],{type:e.toLowerCase()}),{[c]:t})})},json(){var e=this;return consumeBody.call(this).then(function(t){try{return JSON.parse(t.toString())}catch(t){return Body.Promise.reject(new FetchError(`invalid json response body at ${e.url} reason: ${t.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(t){return convertBody(t,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 t of Object.getOwnPropertyNames(Body.prototype)){if(!(t in e)){const i=Object.getOwnPropertyDescriptor(Body.prototype,t);Object.defineProperty(e,t,i)}}};function consumeBody(){var e=this;if(this[d].disturbed){return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`))}this[d].disturbed=true;if(this[d].error){return Body.Promise.reject(this[d].error)}let t=this.body;if(t===null){return Body.Promise.resolve(Buffer.alloc(0))}if(isBlob(t)){t=t.stream()}if(Buffer.isBuffer(t)){return Body.Promise.resolve(t)}if(!(t instanceof n)){return Body.Promise.resolve(Buffer.alloc(0))}let i=[];let r=0;let s=false;return new Body.Promise(function(n,a){let o;if(e.timeout){o=setTimeout(function(){s=true;a(new FetchError(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))},e.timeout)}t.on("error",function(t){if(t.name==="AbortError"){s=true;a(t)}else{a(new FetchError(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))}});t.on("data",function(t){if(s||t===null){return}if(e.size&&r+t.length>e.size){s=true;a(new FetchError(`content size at ${e.url} over limit: ${e.size}`,"max-size"));return}r+=t.length;i.push(t)});t.on("end",function(){if(s){return}clearTimeout(o);try{n(Buffer.concat(i,r))}catch(t){a(new FetchError(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}})})}function convertBody(e,t){if(typeof p!=="function"){throw new Error("The package `encoding` must be installed to use the textConverted() function")}const i=t.get("content-type");let n="utf-8";let r,s;if(i){r=/charset=([^;]*)/i.exec(i)}s=e.slice(0,1024).toString();if(!r&&s){r=/0&&arguments[0]!==undefined?arguments[0]:undefined;this[b]=Object.create(null);if(e instanceof Headers){const t=e.raw();const i=Object.keys(t);for(const e of i){for(const i of t[e]){this.append(e,i)}}return}if(e==null) ;else if(typeof e==="object"){const t=e[Symbol.iterator];if(t!=null){if(typeof t!=="function"){throw new TypeError("Header pairs must be iterable")}const i=[];for(const t of e){if(typeof t!=="object"||typeof t[Symbol.iterator]!=="function"){throw new TypeError("Each header pair must be iterable")}i.push(Array.from(t))}for(const e of i){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 t of Object.keys(e)){const i=e[t];this.append(t,i)}}}else{throw new TypeError("Provided initializer must be an object")}}get(e){e=`${e}`;validateName(e);const t=find(this[b],e);if(t===undefined){return null}return this[b][t].join(", ")}forEach(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:undefined;let i=getHeaders(this);let n=0;while(n1&&arguments[1]!==undefined?arguments[1]:"key+value";const i=Object.keys(e[b]).sort();return i.map(t==="key"?function(e){return e.toLowerCase()}:t==="value"?function(t){return e[b][t].join(", ")}:function(t){return[t.toLowerCase(),e[b][t].join(", ")]})}const g=Symbol("internal");function createHeadersIterator(e,t){const i=Object.create(y);i[g]={target:e,kind:t,index:0};return i}const y=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==y){throw new TypeError("Value of `this` is not a HeadersIterator")}var e=this[g];const t=e.target,i=e.kind,n=e.index;const r=getHeaders(t,i);const s=r.length;if(n>=s){return{value:undefined,done:true}}this[g].index=n+1;return{value:r[n],done:false}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(y,Symbol.toStringTag,{value:"HeadersIterator",writable:false,enumerable:false,configurable:true});function exportNodeCompatibleHeaders(e){const t=Object.assign({__proto__:null},e[b]);const i=find(e[b],"Host");if(i!==undefined){t[i]=t[i][0]}return t}function createHeadersLenient(e){const t=new Headers;for(const i of Object.keys(e)){if(h.test(i)){continue}if(Array.isArray(e[i])){for(const n of e[i]){if(m.test(n)){continue}if(t[b][i]===undefined){t[b][i]=[n]}else{t[b][i].push(n)}}}else if(!m.test(e[i])){t[b][i]=[e[i]]}}return t}const S=Symbol("Response internals");const v=r.STATUS_CODES;class Response{constructor(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:null;let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};Body.call(this,e,t);const i=t.status||200;const n=new Headers(t.headers);if(e!=null&&!n.has("Content-Type")){const t=extractContentType(e);if(t){n.append("Content-Type",t)}}this[S]={url:t.url,status:i,statusText:t.statusText||v[i],headers:n,counter:t.counter}}get url(){return this[S].url||""}get status(){return this[S].status}get ok(){return this[S].status>=200&&this[S].status<300}get redirected(){return this[S].counter>0}get statusText(){return this[S].statusText}get headers(){return this[S].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 w=Symbol("Request internals");const j=s.parse;const z=s.format;const O="destroy"in n.Readable.prototype;function isRequest(e){return typeof e==="object"&&typeof e[w]==="object"}function isAbortSignal(e){const t=e&&typeof e==="object"&&Object.getPrototypeOf(e);return!!(t&&t.constructor.name==="AbortSignal")}class Request{constructor(e){let t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let i;if(!isRequest(e)){if(e&&e.href){i=j(e.href)}else{i=j(`${e}`)}e={}}else{i=j(e.url)}let n=t.method||e.method||"GET";n=n.toUpperCase();if((t.body!=null||isRequest(e)&&e.body!==null)&&(n==="GET"||n==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body")}let r=t.body!=null?t.body:isRequest(e)&&e.body!==null?clone(e):null;Body.call(this,r,{timeout:t.timeout||e.timeout||0,size:t.size||e.size||0});const s=new Headers(t.headers||e.headers||{});if(r!=null&&!s.has("Content-Type")){const e=extractContentType(r);if(e){s.append("Content-Type",e)}}let a=isRequest(e)?e.signal:null;if("signal"in t)a=t.signal;if(a!=null&&!isAbortSignal(a)){throw new TypeError("Expected signal to be an instanceof AbortSignal")}this[w]={method:n,redirect:t.redirect||e.redirect||"follow",headers:s,parsedURL:i,signal:a};this.follow=t.follow!==undefined?t.follow:e.follow!==undefined?e.follow:20;this.compress=t.compress!==undefined?t.compress:e.compress!==undefined?e.compress:true;this.counter=t.counter||e.counter||0;this.agent=t.agent||e.agent}get method(){return this[w].method}get url(){return z(this[w].parsedURL)}get headers(){return this[w].headers}get redirect(){return this[w].redirect}get signal(){return this[w].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 t=e[w].parsedURL;const i=new Headers(e[w].headers);if(!i.has("Accept")){i.set("Accept","*/*")}if(!t.protocol||!t.hostname){throw new TypeError("Only absolute URLs are supported")}if(!/^https?:$/.test(t.protocol)){throw new TypeError("Only HTTP(S) protocols are supported")}if(e.signal&&e.body instanceof n.Readable&&!O){throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8")}let r=null;if(e.body==null&&/^(POST|PUT)$/i.test(e.method)){r="0"}if(e.body!=null){const t=getTotalBytes(e);if(typeof t==="number"){r=String(t)}}if(r){i.set("Content-Length",r)}if(!i.has("User-Agent")){i.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)")}if(e.compress&&!i.has("Accept-Encoding")){i.set("Accept-Encoding","gzip,deflate")}let s=e.agent;if(typeof s==="function"){s=s(t)}if(!i.has("Connection")&&!s){i.set("Connection","close")}return Object.assign({},t,{method:e.method,headers:exportNodeCompatibleHeaders(i),agent:s})}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 k=n.PassThrough;const C=s.resolve;function fetch(e,t){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(i,s){const u=new Request(e,t);const c=getNodeRequestOptions(u);const l=(c.protocol==="https:"?a:r).request;const p=u.signal;let d=null;const f=function abort(){let e=new AbortError("The user aborted a request.");s(e);if(u.body&&u.body instanceof n.Readable){u.body.destroy(e)}if(!d||!d.body)return;d.body.emit("error",e)};if(p&&p.aborted){f();return}const h=function abortAndFinalize(){f();finalize()};const m=l(c);let b;if(p){p.addEventListener("abort",h)}function finalize(){m.abort();if(p)p.removeEventListener("abort",h);clearTimeout(b)}if(u.timeout){m.once("socket",function(e){b=setTimeout(function(){s(new FetchError(`network timeout at: ${u.url}`,"request-timeout"));finalize()},u.timeout)})}m.on("error",function(e){s(new FetchError(`request to ${u.url} failed, reason: ${e.message}`,"system",e));finalize()});m.on("response",function(e){clearTimeout(b);const t=createHeadersLenient(e.headers);if(fetch.isRedirect(e.statusCode)){const n=t.get("Location");const r=n===null?null:C(u.url,n);switch(u.redirect){case"error":s(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${u.url}`,"no-redirect"));finalize();return;case"manual":if(r!==null){try{t.set("Location",r)}catch(e){s(e)}}break;case"follow":if(r===null){break}if(u.counter>=u.follow){s(new FetchError(`maximum redirect reached at: ${u.url}`,"max-redirect"));finalize();return}const n={headers:new Headers(u.headers),follow:u.follow,counter:u.counter+1,agent:u.agent,compress:u.compress,method:u.method,body:u.body,signal:u.signal,timeout:u.timeout,size:u.size};if(e.statusCode!==303&&u.body&&getTotalBytes(u)===null){s(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)&&u.method==="POST"){n.method="GET";n.body=undefined;n.headers.delete("content-length")}i(fetch(new Request(r,n)));finalize();return}}e.once("end",function(){if(p)p.removeEventListener("abort",h)});let n=e.pipe(new k);const r={url:u.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:u.size,timeout:u.timeout,counter:u.counter};const a=t.get("Content-Encoding");if(!u.compress||u.method==="HEAD"||a===null||e.statusCode===204||e.statusCode===304){d=new Response(n,r);i(d);return}const c={flush:o.Z_SYNC_FLUSH,finishFlush:o.Z_SYNC_FLUSH};if(a=="gzip"||a=="x-gzip"){n=n.pipe(o.createGunzip(c));d=new Response(n,r);i(d);return}if(a=="deflate"||a=="x-deflate"){const t=e.pipe(new k);t.once("data",function(e){if((e[0]&15)===8){n=n.pipe(o.createInflate())}else{n=n.pipe(o.createInflateRaw())}d=new Response(n,r);i(d)});return}if(a=="br"&&typeof o.createBrotliDecompress==="function"){n=n.pipe(o.createBrotliDecompress());d=new Response(n,r);i(d);return}d=new Response(n,r);i(d)});writeToStream(m,u)})}fetch.isRedirect=function(e){return e===301||e===302||e===303||e===307||e===308};fetch.Promise=global.Promise;e.exports=t=fetch;Object.defineProperty(t,"__esModule",{value:true});t.default=t;t.Headers=Headers;t.Request=Request;t.Response=Response;t.FetchError=FetchError},17952:(e,t,i)=>{"use strict";const n=typeof URL==="undefined"?i(78835).URL:URL;const r="text/plain";const s="us-ascii";const a=(e,t)=>{return t.some(t=>t instanceof RegExp?t.test(e):t===e)};const o=(e,{stripHash:t})=>{const i=e.match(/^data:(.*?),(.*?)(?:#(.*))?$/);if(!i){throw new Error(`Invalid URL: ${e}`)}const n=i[1].split(";");const a=i[2];const o=t?"":i[3];let u=false;if(n[n.length-1]==="base64"){n.pop();u=true}const c=(n.shift()||"").toLowerCase();const l=n.map(e=>{let[t,i=""]=e.split("=").map(e=>e.trim());if(t==="charset"){i=i.toLowerCase();if(i===s){return""}}return`${t}${i?`=${i}`:""}`}).filter(Boolean);const p=[...l];if(u){p.push("base64")}if(p.length!==0||c&&c!==r){p.unshift(c)}return`data:${p.join(";")},${u?a.trim():a}${o?`#${o}`:""}`};const u=(e,t)=>{t={defaultProtocol:"http:",normalizeProtocol:true,forceHttp:false,forceHttps:false,stripAuthentication:true,stripHash:false,stripWWW:true,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:true,removeDirectoryIndex:false,sortQueryParameters:true,...t};if(Reflect.has(t,"normalizeHttps")){throw new Error("options.normalizeHttps is renamed to options.forceHttp")}if(Reflect.has(t,"normalizeHttp")){throw new Error("options.normalizeHttp is renamed to options.forceHttps")}if(Reflect.has(t,"stripFragment")){throw new Error("options.stripFragment is renamed to options.stripHash")}e=e.trim();if(/^data:/i.test(e)){return o(e,t)}const i=e.startsWith("//");const r=!i&&/^\.*\//.test(e);if(!r){e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol)}const s=new n(e);if(t.forceHttp&&t.forceHttps){throw new Error("The `forceHttp` and `forceHttps` options cannot be used together")}if(t.forceHttp&&s.protocol==="https:"){s.protocol="http:"}if(t.forceHttps&&s.protocol==="http:"){s.protocol="https:"}if(t.stripAuthentication){s.username="";s.password=""}if(t.stripHash){s.hash=""}if(s.pathname){s.pathname=s.pathname.replace(/((?!:).|^)\/{2,}/g,(e,t)=>{if(/^(?!\/)/g.test(t)){return`${t}/`}return"/"})}if(s.pathname){s.pathname=decodeURI(s.pathname)}if(t.removeDirectoryIndex===true){t.removeDirectoryIndex=[/^index\.[a-z]+$/]}if(Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=s.pathname.split("/");const i=e[e.length-1];if(a(i,t.removeDirectoryIndex)){e=e.slice(0,e.length-1);s.pathname=e.slice(1).join("/")+"/"}}if(s.hostname){s.hostname=s.hostname.replace(/\.$/,"");if(t.stripWWW&&/^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(s.hostname)){s.hostname=s.hostname.replace(/^www\./,"")}}if(Array.isArray(t.removeQueryParameters)){for(const e of[...s.searchParams.keys()]){if(a(e,t.removeQueryParameters)){s.searchParams.delete(e)}}}if(t.sortQueryParameters){s.searchParams.sort()}if(t.removeTrailingSlash){s.pathname=s.pathname.replace(/\/$/,"")}e=s.toString();if((t.removeTrailingSlash||s.pathname==="/")&&s.hash===""){e=e.replace(/\/$/,"")}if(i&&!t.normalizeProtocol){e=e.replace(/^http:\/\//,"//")}if(t.stripProtocol){e=e.replace(/^(?:https?:)?\/\//,"")}return e};e.exports=u;e.exports.default=u},20502:(e,t,i)=>{"use strict";const n=i(85622);const r=i(20539);e.exports=(e=>{e=Object.assign({cwd:process.cwd(),path:process.env[r()]},e);let t;let i=n.resolve(e.cwd);const s=[];while(t!==i){s.push(n.join(i,"node_modules/.bin"));t=i;i=n.resolve(i,"..")}s.push(n.dirname(process.execPath));return s.concat(e.path).join(n.delimiter)});e.exports.env=(t=>{t=Object.assign({env:process.env},t);const i=Object.assign({},t.env);const n=r({env:i});t.path=i[n];i[n]=e.exports(t);return i})},43248:(e,t,i)=>{var n=i(76417);function sha(e,t,i){return n.createHmac(i,e).update(t).digest("base64")}function rsa(e,t){return n.createSign("RSA-SHA1").update(t).sign(e,"base64")}function rfc3986(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function map(e){var t,i,n=[];for(t in e){i=e[t];if(Array.isArray(i))for(var r=0;rt?1:e{"use strict";var n=i(76417);t=e.exports=objectHash;function objectHash(e,t){t=applyDefaults(e,t);return hash(e,t)}t.sha1=function(e){return objectHash(e)};t.keys=function(e){return objectHash(e,{excludeValues:true,algorithm:"sha1",encoding:"hex"})};t.MD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex"})};t.keysMD5=function(e){return objectHash(e,{algorithm:"md5",encoding:"hex",excludeValues:true})};var r=n.getHashes?n.getHashes().slice():["sha1","md5"];r.push("passthrough");var s=["buffer","hex","binary","base64"];function applyDefaults(e,t){t=t||{};var i={};i.algorithm=t.algorithm||"sha1";i.encoding=t.encoding||"hex";i.excludeValues=t.excludeValues?true:false;i.algorithm=i.algorithm.toLowerCase();i.encoding=i.encoding.toLowerCase();i.ignoreUnknown=t.ignoreUnknown!==true?false:true;i.respectType=t.respectType===false?false:true;i.respectFunctionNames=t.respectFunctionNames===false?false:true;i.respectFunctionProperties=t.respectFunctionProperties===false?false:true;i.unorderedArrays=t.unorderedArrays!==true?false:true;i.unorderedSets=t.unorderedSets===false?false:true;i.unorderedObjects=t.unorderedObjects===false?false:true;i.replacer=t.replacer||undefined;i.excludeKeys=t.excludeKeys||undefined;if(typeof e==="undefined"){throw new Error("Object argument required.")}for(var n=0;n=0){return this.dispatch("[CIRCULAR:"+o+"]")}else{i.push(t)}if(typeof Buffer!=="undefined"&&Buffer.isBuffer&&Buffer.isBuffer(t)){n("buffer:");return n(t)}if(a!=="object"&&a!=="function"&&a!=="asyncfunction"){if(this["_"+a]){this["_"+a](t)}else if(e.ignoreUnknown){return n("["+a+"]")}else{throw new Error('Unknown object type "'+a+'"')}}else{var u=Object.keys(t);if(e.unorderedObjects){u=u.sort()}if(e.respectType!==false&&!isNativeFunction(t)){u.splice(0,0,"prototype","__proto__","constructor")}if(e.excludeKeys){u=u.filter(function(t){return!e.excludeKeys(t)})}n("object:"+u.length+":");var c=this;return u.forEach(function(i){c.dispatch(i);n(":");if(!e.excludeValues){c.dispatch(t[i])}n(",")})}},_array:function(t,r){r=typeof r!=="undefined"?r:e.unorderedArrays!==false;var s=this;n("array:"+t.length+":");if(!r||t.length<=1){return t.forEach(function(e){return s.dispatch(e)})}var a=[];var o=t.map(function(t){var n=new PassThrough;var r=i.slice();var s=typeHasher(e,n,r);s.dispatch(t);a=a.concat(r.slice(i.length));return n.read().toString()});i=i.concat(a);o.sort();return this._array(o,false)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":");n(e.toString())},_function:function(t){n("fn:");if(isNativeFunction(t)){this.dispatch("[native]")}else{this.dispatch(t.toString())}if(e.respectFunctionNames!==false){this.dispatch("function-name:"+String(t.name))}if(e.respectFunctionProperties){this._object(t)}},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){n("uint8clampedarray:");return this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){n("uint8array:");return this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){n("uint16array:");return this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){n("uint32array:");return this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){n("float32array:");return this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){n("float64array:");return this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){n("arraybuffer:");return this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString(),"utf8")},_map:function(t){n("map:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_set:function(t){n("set:");var i=Array.from(t);return this._array(i,e.unorderedSets!==false)},_file:function(e){n("file:");return this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown){return n("[blob]")}throw Error("Hashing Blob objects is currently not supported\n"+"(see https://github.com/puleos/object-hash/issues/26)\n"+'Use "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function PassThrough(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}},1270:(e,t,i)=>{const{strict:n}=i(42357);const{createHash:r}=i(76417);const{format:s}=i(31669);const a=i(19811);let o;if(Buffer.isEncoding("base64url")){o=(e=>e.toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");o=(t=>e(t.toString("base64")))}function getHash(e,t){switch(e){case"HS256":case"RS256":case"PS256":case"ES256":case"ES256K":return r("sha256");case"HS384":case"RS384":case"PS384":case"ES384":return r("sha384");case"HS512":case"RS512":case"PS512":case"ES512":return r("sha512");case"EdDSA":switch(t){case"Ed25519":return r("sha512");case"Ed448":if(!a){throw new TypeError("Ed448 *_hash calculation is not supported in your Node.js runtime version")}return r("shake256",{outputLength:114});default:throw new TypeError("unrecognized or invalid EdDSA curve provided")}default:throw new TypeError("unrecognized or invalid JWS algorithm provided")}}function generate(e,t,i){const n=getHash(t,i).update(e).digest();return o(n.slice(0,n.length/2))}function validate(e,t,i,r,a){if(typeof e.claim!=="string"||!e.claim){throw new TypeError("names.claim must be a non-empty string")}if(typeof e.source!=="string"||!e.source){throw new TypeError("names.source must be a non-empty string")}n(typeof t==="string"&&t,`${e.claim} must be a non-empty string`);n(typeof i==="string"&&i,`${e.source} must be a non-empty string`);let o;let u;try{o=generate(i,r,a)}catch(t){u=s("%s could not be validated (%s)",e.claim,t.message)}u=u||s("%s mismatch, expected %s, got: %s",e.claim,o,t);n.equal(o,t,u)}e.exports={validate:validate,generate:generate}},19811:(e,t,i)=>{const n=i(76417);const[r,s]=process.version.substr(1).split(".").map(e=>parseInt(e,10));const a=r>12||r===12&&s>=8;const o=a&&n.getHashes().includes("shake256");e.exports=o},1223:(e,t,i)=>{var n=i(62940);e.exports=n(once);e.exports.strict=n(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 t=function(){if(t.called)return t.value;t.called=true;return t.value=e.apply(this,arguments)};t.called=false;return t}function onceStrict(e){var t=function(){if(t.called)throw new Error(t.onceError);t.called=true;return t.value=e.apply(this,arguments)};var i=e.name||"Function wrapped with `once`";t.onceError=i+" shouldn't be called more than once";t.called=false;return t}},28300:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(98605);const s=i(76417);const{strict:a}=i(42357);const o=i(71191);const u=i(78835);const{ParseError:c}=i(93061);const l=i(16425);const p=i(1270);const d=i(61827);const f=i(13098);const{assertSigningAlgValuesSupport:h,assertIssuerConfiguration:m}=i(63217);const b=i(78857);const g=i(39862);const y=i(28576);const S=i(39029);const{OPError:v,RPError:w}=i(45061);const j=i(8542);const{random:z}=i(75421);const O=i(92946);const{CALLBACK_PROPERTIES:k,CLIENT_DEFAULTS:C,JWT_CONTENT:T,CLOCK_TOLERANCE:_}=i(27556);const A=i(30730);const E=i(36546);const{authenticatedPost:R,resolveResponseType:x,resolveRedirectUri:N}=i(7619);const V=i(23979);function pickCb(e){return b(e,...k)}function authorizationHeaderValue(e,t="Bearer"){return`${t} ${e}`}function cleanUpClaims(e){if(Object.keys(e._claim_names).length===0){delete e._claim_names}if(Object.keys(e._claim_sources).length===0){delete e._claim_sources}}function assignClaim(e,t,i,n=true){return([r,s])=>{if(s===i){if(n&&t[r]===undefined){throw new w(`expected claim "${r}" in "${i}"`)}else if(t[r]!==undefined){e[r]=t[r]}delete e._claim_names[r]}}}function verifyPresence(e,t,i){if(e[i]===undefined){throw new w({message:`missing required JWT property ${i}`,jwt:t})}}function authorizationParams(e){const t={client_id:this.client_id,scope:"openid",response_type:x.call(this),redirect_uri:N.call(this),...e};Object.entries(t).forEach(([e,i])=>{if(i===null||i===undefined){delete t[e]}else if(e==="claims"&&typeof i==="object"){t[e]=JSON.stringify(i)}else if(e==="resource"&&Array.isArray(i)){t[e]=i}else if(typeof i!=="string"){t[e]=String(i)}});return t}async function claimJWT(e,t){try{const{header:i,payload:n}=l.JWT.decode(t,{complete:true});const{iss:r}=n;if(i.alg==="none"){return n}let s;if(!r||r===this.issuer.issuer){s=await this.issuer.queryKeyStore(i)}else if(A.has(r)){s=await A.get(r).queryKeyStore(i)}else{const e=await this.issuer.constructor.discover(r);s=await e.queryKeyStore(i)}return l.JWT.verify(t,s)}catch(i){if(i instanceof w||i instanceof v||i.name==="AggregateError"){throw i}else{throw new w({printf:["failed to validate the %s JWT (%s: %s)",e,i.name,i.message],jwt:t})}}}function getKeystore(e){const t=l.JWKS.asKeyStore(e);if(t.all().some(e=>e.type!=="private")){throw new TypeError("jwks must only contain private keys")}return t}function checkBasicSupport(e,t,i){try{const t=e.issuer.token_endpoint_auth_methods_supported;if(!t.includes(i.token_endpoint_auth_method)){if(t.includes("client_secret_post")){i.token_endpoint_auth_method="client_secret_post"}}}catch(e){}}function handleCommonMistakes(e,t,i){if(!t.token_endpoint_auth_method){checkBasicSupport(e,t,i)}if(t.redirect_uri){if(t.redirect_uris){throw new TypeError("provide a redirect_uri or redirect_uris, not both")}i.redirect_uris=[t.redirect_uri];delete i.redirect_uri}if(t.response_type){if(t.response_types){throw new TypeError("provide a response_type or response_types, not both")}i.response_types=[t.response_type];delete i.response_type}}function getDefaultsForEndpoint(e,t,i){if(!t[`${e}_endpoint`])return;const n=i.token_endpoint_auth_method;const r=i.token_endpoint_auth_signing_alg;const s=`${e}_endpoint_auth_method`;const a=`${e}_endpoint_auth_signing_alg`;if(i[s]===undefined&&i[a]===undefined){if(n!==undefined){i[s]=n}if(r!==undefined){i[a]=r}}}class BaseClient{}e.exports=((e,t=false)=>(class Client extends BaseClient{constructor(e={},t,i){super();if(typeof e.client_id!=="string"||!e.client_id){throw new TypeError("client_id is required")}const n={...C,...e};handleCommonMistakes(this,e,n);h("token",this.issuer,n);["introspection","revocation"].forEach(e=>{getDefaultsForEndpoint(e,this.issuer,n);h(e,this.issuer,n)});Object.entries(n).forEach(([e,t])=>{E(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return E(this).get("metadata").get(e)},enumerable:true})}});if(t!==undefined){const e=getKeystore.call(this,t);E(this).set("keystore",e)}if(i!==undefined){E(this).set("options",i)}this[_]=0}authorizationUrl(e={}){if(!g(e)){throw new TypeError("params must be a plain object")}m(this.issuer,"authorization_endpoint");const t=u.parse(this.issuer.authorization_endpoint,true);t.search=null;t.query={...t.query,...authorizationParams.call(this,e)};return u.format(t)}authorizationPost(e={}){if(!g(e)){throw new TypeError("params must be a plain object")}const t=authorizationParams.call(this,e);const i=Object.keys(t).map(e=>``).join("\n");return`\n\n Requesting Authorization\n\n\n
\n ${i}\n
\n\n`}endSessionUrl(e={}){m(this.issuer,"end_session_endpoint");const{0:t,length:i}=this.post_logout_redirect_uris||[];const{post_logout_redirect_uri:n=(i===1?t:undefined)}=e;let r=e.id_token_hint;if(r instanceof S){if(!r.id_token){throw new TypeError("id_token not present in TokenSet")}r=r.id_token}const s=u.parse(this.issuer.end_session_endpoint,true);s.search=null;s.query={...e,...s.query,...{post_logout_redirect_uri:n,id_token_hint:r}};Object.entries(s.query).forEach(([e,t])=>{if(t===null||t===undefined){delete s.query[e]}});return u.format(s)}callbackParams(e){const t=e instanceof r.IncomingMessage||e&&e.method&&e.url;const i=typeof e==="string";if(!i&&!t){throw new TypeError("#callbackParams only accepts string urls, http.IncomingMessage or a lookalike")}if(t){switch(e.method){case"GET":return pickCb(u.parse(e.url,true).query);case"POST":if(e.body===undefined){throw new TypeError("incoming message body missing, include a body parser prior to this method call")}switch(typeof e.body){case"object":case"string":if(Buffer.isBuffer(e.body)){return pickCb(o.parse(e.body.toString("utf-8")))}if(typeof e.body==="string"){return pickCb(o.parse(e.body))}return pickCb(e.body);default:throw new TypeError("invalid IncomingMessage body object")}default:throw new TypeError("invalid IncomingMessage method")}}else{return pickCb(u.parse(e,true).query)}}async callback(e,t,i={},{exchangeBody:n,clientAssertionPayload:r,DPoP:s}={}){let a=pickCb(t);if(i.jarm&&!("response"in t)){throw new w({message:"expected a JARM response",checks:i,params:a})}else if("response"in t){const e=await this.decryptJARM(a.response);a=await this.validateJARM(e)}if(this.default_max_age&&!i.max_age){i.max_age=this.default_max_age}if(a.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!a.state&&i.state){throw new w({message:"state missing from the response",checks:i,params:a})}if(i.state!==a.state){throw new w({printf:["state mismatch, expected %s, got: %s",i.state,a.state],checks:i,params:a})}if(a.error){throw new v(a)}const o={code:["code"],id_token:["id_token"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(a.code||a.id_token||a.access_token){throw new w({message:'unexpected params encountered for "none" response',checks:i,params:a})}}else{for(const t of o[e]){if(!a[t]){throw new w({message:`${t} missing from response`,checks:i,params:a})}}}}}if(a.id_token){const e=new S(a);await this.decryptIdToken(e);await this.validateIdToken(e,i.nonce,"authorization",i.max_age,i.state);if(!a.code){return e}}if(a.code){const t=await this.grant({...n,grant_type:"authorization_code",code:a.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:r,DPoP:s});await this.decryptIdToken(t);await this.validateIdToken(t,i.nonce,"token",i.max_age);if(a.session_state){t.session_state=a.session_state}return t}return new S(a)}async oauthCallback(e,t,i={},{exchangeBody:n,clientAssertionPayload:r,DPoP:s}={}){let a=pickCb(t);if(i.jarm&&!("response"in t)){throw new w({message:"expected a JARM response",checks:i,params:a})}else if("response"in t){const e=await this.decryptJARM(a.response);a=await this.validateJARM(e)}if(a.state&&!i.state){throw new TypeError("checks.state argument is missing")}if(!a.state&&i.state){throw new w({message:"state missing from the response",checks:i,params:a})}if(i.state!==a.state){throw new w({printf:["state mismatch, expected %s, got: %s",i.state,a.state],checks:i,params:a})}if(a.error){throw new v(a)}const o={code:["code"],token:["access_token","token_type"]};if(i.response_type){for(const e of i.response_type.split(" ")){if(e==="none"){if(a.code||a.id_token||a.access_token){throw new w({message:'unexpected params encountered for "none" response',checks:i,params:a})}}if(o[e]){for(const t of o[e]){if(!a[t]){throw new w({message:`${t} missing from response`,checks:i,params:a})}}}}}if(a.code){return this.grant({...n,grant_type:"authorization_code",code:a.code,redirect_uri:e,code_verifier:i.code_verifier},{clientAssertionPayload:r,DPoP:s})}return new S(a)}async decryptIdToken(e){if(!this.id_token_encrypted_response_alg){return e}let t=e;if(t instanceof S){if(!t.id_token){throw new TypeError("id_token not present in TokenSet")}t=t.id_token}const i=this.id_token_encrypted_response_alg;const n=this.id_token_encrypted_response_enc;const r=await this.decryptJWE(t,i,n);if(e instanceof S){e.id_token=r;return e}return r}async validateJWTUserinfo(e){const t=this.userinfo_signed_response_alg;return this.validateJWT(e,t,[])}async decryptJARM(e){if(!this.authorization_encrypted_response_alg){return e}const t=this.authorization_encrypted_response_alg;const i=this.authorization_encrypted_response_enc;return this.decryptJWE(e,t,i)}async decryptJWTUserinfo(e){if(!this.userinfo_encrypted_response_alg){return e}const t=this.userinfo_encrypted_response_alg;const i=this.userinfo_encrypted_response_enc;return this.decryptJWE(e,t,i)}async decryptJWE(e,t,i="A128CBC-HS256"){const n=JSON.parse(d.decode(e.split(".")[0]));if(n.alg!==t){throw new w({printf:["unexpected JWE alg received, expected %s, got: %s",t,n.alg],jwt:e})}if(n.enc!==i){throw new w({printf:["unexpected JWE enc received, expected %s, got: %s",i,n.enc],jwt:e})}let r;if(t.match(/^(?:RSA|ECDH)/)){r=E(this).get("keystore")}else{r=await this.joseSecret(t==="dir"?i:t)}const s=l.JWE.decrypt(e,r);return s.toString("utf8")}async validateIdToken(e,t,i,n,r){let s=e;const a=this.id_token_signed_response_alg;const o=s instanceof S;if(o){if(!s.id_token){throw new TypeError("id_token not present in TokenSet")}s=s.id_token}s=String(s);const u=j();const{protected:c,payload:l,key:d}=await this.validateJWT(s,a);if(n||n!==null&&this.require_auth_time){if(!l.auth_time){throw new w({message:"missing required JWT property auth_time",jwt:s})}if(typeof l.auth_time!=="number"){throw new w({message:"JWT auth_time claim must be a JSON numeric value",jwt:s})}}if(n&&l.auth_time+ns+this[_]){throw new w({printf:["JWT not active yet, now %i, nbf %i",s+this[_],u.nbf],now:s,tolerance:this[_],nbf:u.nbf,jwt:e})}}if(u.exp!==undefined){if(typeof u.exp!=="number"){throw new w({message:"JWT exp claim must be a JSON numeric value",jwt:e})}if(s-this[_]>=u.exp){throw new w({printf:["JWT expired, now %i, exp %i",s-this[_],u.exp],now:s,tolerance:this[_],exp:u.exp,jwt:e})}}if(u.aud!==undefined){if(Array.isArray(u.aud)){if(u.aud.length>1&&!u.azp){throw new w({message:"missing required JWT property azp",jwt:e})}if(!u.aud.includes(this.client_id)){throw new w({printf:["aud is missing the client_id, expected %s to be included in %j",this.client_id,u.aud],jwt:e})}}else if(u.aud!==this.client_id){throw new w({printf:["aud mismatch, expected %s, got: %s",this.client_id,u.aud],jwt:e})}}if(u.azp!==undefined){let{additionalAuthorizedParties:t}=E(this).get("options")||{};if(typeof t==="string"){t=[this.client_id,t]}else if(Array.isArray(t)){t=[this.client_id,...t]}else{t=[this.client_id]}if(!t.includes(u.azp)){throw new w({printf:["azp mismatch, got: %s",u.azp],jwt:e})}}let c;if(r){try{a(g(u.sub_jwk));c=l.JWK.asKey(u.sub_jwk);a.equal(c.type,"public")}catch(t){throw new w({message:"failed to use sub_jwk claim as an asymmetric JSON Web Key",jwt:e})}if(c.thumbprint!==u.sub){throw new w({message:"failed to match the subject with sub_jwk",jwt:e})}}else if(o.alg.startsWith("HS")){c=await this.joseSecret()}else if(o.alg!=="none"){c=await this.issuer.queryKeyStore(o)}if(!c&&o.alg==="none"){return{protected:o,payload:u}}try{return{...l.JWS.verify(e,c,{complete:true}),payload:u}}catch(t){throw new w({message:"failed to validate JWT signature",jwt:e})}}async refresh(e,{exchangeBody:t,clientAssertionPayload:i,DPoP:n}={}){let r=e;if(r instanceof S){if(!r.refresh_token){throw new TypeError("refresh_token not present in TokenSet")}r=r.refresh_token}const s=await this.grant({...t,grant_type:"refresh_token",refresh_token:String(r)},{clientAssertionPayload:i,DPoP:n});if(s.id_token){await this.decryptIdToken(s);await this.validateIdToken(s,null,"token",null);if(e instanceof S&&e.id_token){const t=e.claims().sub;const i=s.claims().sub;if(i!==t){throw new w({printf:["sub mismatch, expected %s, got: %s",t,i],jwt:s.id_token})}}}return s}async requestResource(e,t,{method:i,headers:n,body:r,tokenType:s=(t instanceof S?t.token_type:"Bearer"),DPoP:a}={}){if(t instanceof S){if(!t.access_token){throw new TypeError("access_token not present in TokenSet")}t=t.access_token}const o={headers:{Authorization:authorizationHeaderValue(t,s),...n},body:r};const u=!!this.tls_client_certificate_bound_access_tokens;return O.call(this,{...o,responseType:"buffer",method:i,url:e},{mTLS:u,DPoP:a})}async userinfo(e,{method:t="GET",via:i="header",tokenType:n,params:r,DPoP:s}={}){m(this.issuer,"userinfo_endpoint");const o={tokenType:n,method:String(t).toUpperCase(),DPoP:s};if(o.method!=="GET"&&o.method!=="POST"){throw new TypeError("#userinfo() method can only be POST or a GET")}if(i==="query"&&o.method!=="GET"){throw new TypeError("userinfo endpoints will only parse query strings for GET requests")}else if(i==="body"&&o.method!=="POST"){throw new TypeError("can only send body on POST")}const l=!!(this.userinfo_signed_response_alg||this.userinfo_encrypted_response_alg);if(l){o.headers={Accept:"application/jwt"}}else{o.headers={Accept:"application/json"}}const p=!!this.tls_client_certificate_bound_access_tokens;let d;if(p&&this.issuer.mtls_endpoint_aliases){d=this.issuer.mtls_endpoint_aliases.userinfo_endpoint}d=new u.URL(d||this.issuer.userinfo_endpoint);if(i==="query"){o.headers.Authorization=undefined;d.searchParams.append("access_token",e instanceof S?e.access_token:e)}else if(i==="body"){o.headers.Authorization=undefined;o.headers["Content-Type"]="application/x-www-form-urlencoded";o.body=new u.URLSearchParams;o.body.append("access_token",e instanceof S?e.access_token:e)}if(r){if(o.method==="GET"){Object.entries(r).forEach(([e,t])=>{d.searchParams.append(e,t)})}else if(o.body){Object.entries(r).forEach(([e,t])=>{o.body.append(e,t)})}else{o.body=new u.URLSearchParams;o.headers["Content-Type"]="application/x-www-form-urlencoded";Object.entries(r).forEach(([e,t])=>{o.body.append(e,t)})}}if(o.body){o.body=o.body.toString()}const f=await this.requestResource(d,e,o);let h=y(f,{bearer:true});if(l){if(!T.test(f.headers["content-type"])){throw new w({message:"expected application/jwt response from the userinfo_endpoint",response:f})}const e=f.body.toString();const t=await this.decryptJWTUserinfo(e);if(!this.userinfo_signed_response_alg){try{h=JSON.parse(t);a(g(h))}catch(e){throw new w({message:"failed to parse userinfo JWE payload as JSON",jwt:t})}}else{({payload:h}=await this.validateJWTUserinfo(t))}}else{try{h=JSON.parse(f.body)}catch(e){throw new c(e,f)}}if(e instanceof S&&e.id_token){const t=e.claims().sub;if(h.sub!==t){throw new w({printf:["userinfo sub mismatch, expected %s, got: %s",t,h.sub],body:h,jwt:e.id_token})}}return h}async derivedKey(e){const t=`${e}_key`;if(E(this).has(t)){return E(this).get(t)}const i=e<=256?"sha256":e<=384?"sha384":e<=512?"sha512":false;if(!i){throw new Error("unsupported symmetric encryption key derivation")}const n=s.createHash(i).update(this.client_secret).digest().slice(0,e/8);const r=l.JWK.asKey({k:d.encode(n),kty:"oct"});E(this).set(t,r);return r}async joseSecret(e){if(!this.client_secret){throw new TypeError("client_secret is required")}if(/^A(\d{3})(?:GCM)?KW$/.test(e)){return this.derivedKey(parseInt(RegExp.$1,10))}if(/^A(\d{3})(?:GCM|CBC-HS(\d{3}))$/.test(e)){return this.derivedKey(parseInt(RegExp.$2||RegExp.$1,10))}if(E(this).has("jose_secret")){return E(this).get("jose_secret")}const t=l.JWK.asKey({k:d.encode(this.client_secret),kty:"oct"});E(this).set("jose_secret",t);return t}async grant(e,{clientAssertionPayload:t,DPoP:i}={}){m(this.issuer,"token_endpoint");const n=await R.call(this,"token",{form:e,responseType:"json"},{clientAssertionPayload:t,DPoP:i});const r=y(n);return new S(r)}async deviceAuthorization(e={},{exchangeBody:t,clientAssertionPayload:i,DPoP:n}={}){m(this.issuer,"device_authorization_endpoint");m(this.issuer,"token_endpoint");const r=authorizationParams.call(this,{client_id:this.client_id,redirect_uri:null,response_type:null,...e});const s=await R.call(this,"device_authorization",{responseType:"json",form:r},{clientAssertionPayload:i,endpointAuthMethod:"token"});const a=y(s);return new V({client:this,exchangeBody:t,clientAssertionPayload:i,response:a,maxAge:e.max_age,DPoP:n})}async revoke(e,t,{revokeBody:i,clientAssertionPayload:n}={}){m(this.issuer,"revocation_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const r={...i,token:e};if(t){r.token_type_hint=t}const s=await R.call(this,"revocation",{form:r},{clientAssertionPayload:n});y(s,{body:false})}async introspect(e,t,{introspectBody:i,clientAssertionPayload:n}={}){m(this.issuer,"introspection_endpoint");if(t!==undefined&&typeof t!=="string"){throw new TypeError("hint must be a string")}const r={...i,token:e};if(t){r.token_type_hint=t}const s=await R.call(this,"introspection",{form:r,responseType:"json"},{clientAssertionPayload:n});const a=y(s);return a}async fetchDistributedClaims(e,t={}){if(!g(e)){throw new TypeError("claims argument must be a plain object")}if(!g(e._claim_sources)){return e}if(!g(e._claim_names)){return e}const i=Object.entries(e._claim_sources).filter(([,e])=>e&&e.endpoint);await Promise.all(i.map(async([i,n])=>{try{const r={headers:{Accept:"application/jwt",Authorization:authorizationHeaderValue(n.access_token||t[i])}};const s=await O.call(this,{...r,method:"GET",url:n.endpoint});const a=y(s,{bearer:true});const o=await claimJWT.call(this,"distributed",a);delete e._claim_sources[i];Object.entries(e._claim_names).forEach(assignClaim(e,o,i,false))}catch(e){e.src=i;throw e}}));cleanUpClaims(e);return e}async unpackAggregatedClaims(e){if(!g(e)){throw new TypeError("claims argument must be a plain object")}if(!g(e._claim_sources)){return e}if(!g(e._claim_names)){return e}const t=Object.entries(e._claim_sources).filter(([,e])=>e&&e.JWT);await Promise.all(t.map(async([t,i])=>{try{const n=await claimJWT.call(this,"aggregated",i.JWT);delete e._claim_sources[t];Object.entries(e._claim_names).forEach(assignClaim(e,n,t))}catch(e){e.src=t;throw e}}));cleanUpClaims(e);return e}static async register(e,t={}){const{initialAccessToken:i,jwks:n,...r}=t;m(this.issuer,"registration_endpoint");if(n!==undefined&&!(e.jwks||e.jwks_uri)){const t=getKeystore.call(this,n);e.jwks=t.toJWKS(false)}const s=await O.call(this,{headers:i?{Authorization:authorizationHeaderValue(i)}:undefined,responseType:"json",json:e,url:this.issuer.registration_endpoint,method:"POST"});const a=y(s,{statusCode:201,bearer:true});return new this(a,n,r)}get metadata(){const e={};E(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async fromUri(e,t,i,n){const r=await O.call(this,{method:"GET",url:e,responseType:"json",headers:{Authorization:authorizationHeaderValue(t)}});const s=y(r,{bearer:true});return new this(s,i,n)}async requestObject(e={},{sign:t=this.request_object_signing_alg||"none",encrypt:{alg:i=this.request_object_encryption_alg,enc:n=this.request_object_encryption_enc||"A128CBC-HS256"}={}}={}){if(!g(e)){throw new TypeError("requestObject must be a plain object")}let r;let s;const a=this.constructor.name==="FAPIClient";const o=j();const u={alg:t,typ:"oauth-authz-req+jwt"};const c=JSON.stringify(f({},e,{iss:this.client_id,aud:this.issuer.issuer,client_id:this.client_id,jti:z(),iat:o,exp:o+300,...a?{nbf:o}:undefined}));if(t==="none"){r=[d.encode(JSON.stringify(u)),d.encode(c),""].join(".")}else{const e=t.startsWith("HS");if(e){s=await this.joseSecret()}else{const e=E(this).get("keystore");if(!e){throw new TypeError(`no keystore present for client, cannot sign using alg ${t}`)}s=e.get({alg:t,use:"sig"});if(!s){throw new TypeError(`no key to sign with found for alg ${t}`)}}r=l.JWS.sign(c,s,{...u,kid:e?undefined:s.kid})}if(!i){return r}const p={alg:i,enc:n,cty:"oauth-authz-req+jwt"};if(p.alg.match(/^(RSA|ECDH)/)){[s]=await this.issuer.queryKeyStore({alg:p.alg,enc:p.enc,use:"enc"},{allowMulti:true})}else{s=await this.joseSecret(p.alg==="dir"?p.enc:p.alg)}return l.JWE.encrypt(r,s,{...p,kid:s.kty==="oct"?undefined:s.kid})}static get issuer(){return e}get issuer(){return e}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}));async function validateJARM(e){const t=this.authorization_signed_response_alg;const{payload:i}=await this.validateJWT(e,t,["iss","exp","aud"]);return pickCb(i)}Object.defineProperty(BaseClient.prototype,"validateJARM",{enumerable:true,configurable:true,value(...e){process.emitWarning("The JARM API implements an OIDF implementer's draft. Breaking draft implementations are included as minor versions of the openid-client library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.","DraftWarning");Object.defineProperty(BaseClient.prototype,"validateJARM",{enumerable:true,configurable:true,value:validateJARM});return this.validateJARM(...e)}});function dpopProof(e,t){if(!g(e)){throw new TypeError("payload must be a plain object")}let i;try{i=l.JWK.asKey(t);a(i.type==="private")}catch(e){throw new TypeError('"DPoP" option must be an asymmetric private key to sign the DPoP Proof JWT with')}let{alg:n}=i;if(!n&&this.issuer.dpop_signing_alg_values_supported){const e=i.algorithms("sign");n=this.issuer.dpop_signing_alg_values_supported.find(t=>e.has(t))}if(!n){[n]=i.algorithms("sign")}return l.JWS.sign({iat:j(),jti:z(),...e},t,{alg:n,typ:"dpop+jwt",jwk:b(i,"kty","crv","x","y","e","n")})}Object.defineProperty(BaseClient.prototype,"dpopProof",{enumerable:true,configurable:true,value(...e){process.emitWarning("The DPoP APIs implements an IETF draft. Breaking draft implementations are included as minor versions of the openid-client library, therefore, the ~ semver operator should be used and close attention be payed to library changelog as well as the drafts themselves.","DraftWarning");Object.defineProperty(BaseClient.prototype,"dpopProof",{enumerable:true,configurable:true,value:dpopProof});return this.dpopProof(...e)}});e.exports.BaseClient=BaseClient},23979:(e,t,i)=>{const{inspect:n}=i(31669);const{RPError:r,OPError:s}=i(45061);const a=i(36546);const o=i(8542);const{authenticatedPost:u}=i(7619);const c=i(28576);const l=i(39029);class DeviceFlowHandle{constructor({client:e,exchangeBody:t,clientAssertionPayload:i,response:n,maxAge:s,DPoP:u}){["verification_uri","user_code","device_code"].forEach(e=>{if(typeof n[e]!=="string"||!n[e]){throw new r(`expected ${e} string to be returned by Device Authorization Response, got %j`,n[e])}});if(!Number.isSafeInteger(n.expires_in)){throw new r("expected expires_in number to be returned by Device Authorization Response, got %j",n.expires_in)}a(this).expires_at=o()+n.expires_in;a(this).client=e;a(this).DPoP=u;a(this).maxAge=s;a(this).exchangeBody=t;a(this).clientAssertionPayload=i;a(this).response=n;a(this).interval=n.interval*1e3||5e3}async poll(){if(this.expired()){throw new r("the device code %j has expired and the device authorization session has concluded",this.device_code)}await new Promise(e=>setTimeout(e,a(this).interval));const e=await u.call(a(this).client,"token",{form:{...a(this).exchangeBody,grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:this.device_code},responseType:"json"},{clientAssertionPayload:a(this).clientAssertionPayload,DPoP:a(this).DPoP});let t;try{t=c(e)}catch(e){switch(e instanceof s&&e.error){case"slow_down":a(this).interval+=5e3;case"authorization_pending":return this.poll();default:throw e}}const i=new l(t);if("id_token"in i){await a(this).client.decryptIdToken(i);await a(this).client.validateIdToken(i,undefined,"token",a(this).maxAge)}return i}get device_code(){return a(this).response.device_code}get user_code(){return a(this).response.user_code}get verification_uri(){return a(this).response.verification_uri}get verification_uri_complete(){return a(this).response.verification_uri_complete}get expires_in(){return Math.max.apply(null,[a(this).expires_at-o(),0])}expired(){return this.expires_in===0}[n.custom](){return`${this.constructor.name} ${n(a(this).response,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}e.exports=DeviceFlowHandle},45061:(e,t,i)=>{const{format:n}=i(31669);const r=i(21381);function OPError({error_description:e,error:t,error_uri:i,session_state:n,state:r,scope:s},a){OPError.super.call(this,!e?t:`${t} (${e})`);Object.assign(this,{error:t},e&&{error_description:e},i&&{error_uri:i},r&&{state:r},s&&{scope:s},n&&{session_state:n});if(a){Object.defineProperty(this,"response",{value:a})}}r(OPError);function RPError(...e){if(typeof e[0]==="string"){RPError.super.call(this,n(...e))}else{const{message:t,printf:i,response:r,...s}=e[0];if(i){RPError.super.call(this,n(...i))}else{RPError.super.call(this,t)}Object.assign(this,s);if(r){Object.defineProperty(this,"response",{value:r})}}}r(RPError);e.exports={OPError:OPError,RPError:RPError}},63217:e=>{function assertSigningAlgValuesSupport(e,t,i){if(!t[`${e}_endpoint`])return;const n=`${e}_endpoint_auth_method`;const r=`${e}_endpoint_auth_signing_alg`;const s=`${e}_endpoint_auth_signing_alg_values_supported`;if(i[n]&&i[n].endsWith("_jwt")&&!i[r]&&!t[s]){throw new TypeError(`${s} must be configured on the issuer if ${r} is not defined on a client`)}}function assertIssuerConfiguration(e,t){if(!e[t]){throw new TypeError(`${t} must be configured on the issuer`)}}e.exports={assertSigningAlgValuesSupport:assertSigningAlgValuesSupport,assertIssuerConfiguration:assertIssuerConfiguration}},61827:e=>{let t;if(Buffer.isEncoding("base64url")){t=((e,t="utf8")=>Buffer.from(e,t).toString("base64url"))}else{const e=e=>e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");t=((t,i="utf8")=>e(Buffer.from(t,i).toString("base64")))}const i=e=>Buffer.from(e,"base64");e.exports.decode=i;e.exports.encode=t},7619:(e,t,i)=>{const n=i(16425);const{assertIssuerConfiguration:r}=i(63217);const{random:s}=i(75421);const a=i(8542);const o=i(92946);const u=i(36546);const c=i(2494);const l=e=>encodeURIComponent(e).replace(/%20/g,"+");async function clientAssertion(e,t){let i=this[`${e}_endpoint_auth_signing_alg`];if(!i){r(this.issuer,`${e}_endpoint_auth_signing_alg_values_supported`)}if(this[`${e}_endpoint_auth_method`]==="client_secret_jwt"){const r=await this.joseSecret();if(!i){const t=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(t)&&t.find(e=>r.algorithms("sign").has(e))}return n.JWS.sign(t,r,{alg:i,typ:"JWT"})}const s=u(this).get("keystore");if(!s){throw new TypeError("no client jwks provided for signing a client assertion with")}if(!i){const t=new Set;s.all().forEach(e=>{e.algorithms("sign").forEach(Set.prototype.add.bind(t))});const n=this.issuer[`${e}_endpoint_auth_signing_alg_values_supported`];i=Array.isArray(n)&&n.find(e=>t.has(e))}const a=s.get({alg:i,use:"sig"});if(!a){throw new TypeError(`no key found in client jwks to sign a client assertion with using alg ${i}`)}return n.JWS.sign(t,a,{alg:i,typ:"JWT",kid:a.kid})}async function authFor(e,{clientAssertionPayload:t}={}){const i=this[`${e}_endpoint_auth_method`];switch(i){case"self_signed_tls_client_auth":case"tls_client_auth":case"none":return{form:{client_id:this.client_id}};case"client_secret_post":if(!this.client_secret){throw new TypeError("client_secret_post client authentication method requires a client_secret")}return{form:{client_id:this.client_id,client_secret:this.client_secret}};case"private_key_jwt":case"client_secret_jwt":{const i=a();let n=this.issuer[`${e}_endpoint`]||this.issuer.issuer;if(this.tls_client_certificate_bound_access_tokens&&e==="token"&&this.issuer.mtls_endpoint_aliases){n=this.issuer.mtls_endpoint_aliases[`${e}_endpoint`]||n}const r=await clientAssertion.call(this,e,{iat:i,exp:i+60,jti:s(),iss:this.client_id,sub:this.client_id,aud:n,...t});return{form:{client_id:this.client_id,client_assertion:r,client_assertion_type:"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"}}}default:{if(!this.client_secret){throw new TypeError("client_secret_basic client authentication method requires a client_secret")}const e=`${l(this.client_id)}:${l(this.client_secret)}`;const t=Buffer.from(e).toString("base64");return{headers:{Authorization:`Basic ${t}`}}}}}function resolveResponseType(){const{length:e,0:t}=this.response_types;if(e===1){return t}return undefined}function resolveRedirectUri(){const{length:e,0:t}=this.redirect_uris||[];if(e===1){return t}return undefined}async function authenticatedPost(e,t,{clientAssertionPayload:i,endpointAuthMethod:n=e,DPoP:r}={}){const s=await authFor.call(this,n,{clientAssertionPayload:i});const a=c(t,s);const u=this[`${n}_endpoint_auth_method`].includes("tls_client_auth")||e==="token"&&this.tls_client_certificate_bound_access_tokens;let l;if(u&&this.issuer.mtls_endpoint_aliases){l=this.issuer.mtls_endpoint_aliases[`${e}_endpoint`]}l=l||this.issuer[`${e}_endpoint`];if("form"in a){for(const[e,t]of Object.entries(a.form)){if(typeof t==="undefined"){delete a.form[e]}}}return o.call(this,{...a,method:"POST",url:l},{mTLS:u,DPoP:r})}e.exports={resolveResponseType:resolveResponseType,resolveRedirectUri:resolveRedirectUri,authFor:authFor,authenticatedPost:authenticatedPost}},27556:e=>{const t="/.well-known/openid-configuration";const i="/.well-known/oauth-authorization-server";const n="/.well-known/webfinger";const r="http://openid.net/specs/connect/1.0/issuer";const s=[`https://login.microsoftonline.com/common${t}`,`https://login.microsoftonline.com/common/v2.0${t}`,`https://login.microsoftonline.com/organizations/v2.0${t}`,`https://login.microsoftonline.com/consumers/v2.0${t}`];const a={grant_types:["authorization_code"],id_token_signed_response_alg:"RS256",authorization_signed_response_alg:"RS256",response_types:["code"],token_endpoint_auth_method:"client_secret_basic"};const o={claim_types_supported:["normal"],claims_parameter_supported:false,grant_types_supported:["authorization_code","implicit"],request_parameter_supported:false,request_uri_parameter_supported:true,require_request_uri_registration:false,response_modes_supported:["query","fragment"],token_endpoint_auth_methods_supported:["client_secret_basic"]};const u=["access_token","code","error","error_description","error_uri","expires_in","id_token","state","token_type","session_state","response"];const c=/^application\/jwt/;const l=Symbol("openid-client.custom.http-options");const p=Symbol("openid-client.custom.clock-tolerance");e.exports={AAD_MULTITENANT_DISCOVERY:s,CALLBACK_PROPERTIES:u,CLIENT_DEFAULTS:a,CLOCK_TOLERANCE:p,HTTP_OPTIONS:l,ISSUER_DEFAULTS:o,JWT_CONTENT:c,OAUTH2_DISCOVERY:i,OIDC_DISCOVERY:t,REL:r,WEBFINGER:n}},21004:e=>{e.exports=(e=>JSON.parse(JSON.stringify(e)))},13098:(e,t,i)=>{const n=i(39862);function defaults(e,t,...i){for(const r of i){if(!n(r)){continue}for(const[i,s]of Object.entries(r)){if(i==="__proto__"||i==="constructor"){continue}if(typeof t[i]==="undefined"&&typeof s!=="undefined"){t[i]=s}if(e&&n(t[i])&&n(s)){defaults(true,t[i],s)}}}return t}e.exports=defaults.bind(undefined,false);e.exports.deep=defaults.bind(undefined,true)},75421:(e,t,i)=>{const{createHash:n,randomBytes:r}=i(76417);const s=i(61827);const a=(e=32)=>s.encode(r(e));e.exports={random:a,state:a,nonce:a,codeVerifier:a,codeChallenge:e=>s.encode(n("sha256").update(e).digest())}},61797:(e,t,i)=>{const n=i(78835);const{strict:r}=i(42357);e.exports=(e=>{try{const{protocol:t}=new n.URL(e);r(t.match(/^(https?:)$/));return true}catch(e){throw new TypeError("only valid absolute URLs can be requested")}})},39862:e=>{e.exports=(e=>!!e&&e.constructor===Object)},2494:(e,t,i)=>{const n=i(39862);function merge(e,...t){for(const i of t){if(!n(i)){continue}for(const[t,r]of Object.entries(i)){if(t==="__proto__"||t==="constructor"){continue}if(n(e[t])&&n(r)){e[t]=merge(e[t],r)}else if(typeof r!=="undefined"){e[t]=r}}}return e}e.exports=merge},78857:e=>{e.exports=function pick(e,...t){const i={};for(const n of t){if(e[n]){i[n]=e[n]}}return i}},28576:(e,t,i)=>{const{STATUS_CODES:n}=i(98605);const{format:r}=i(31669);const{OPError:s}=i(45061);const a=/(\w+)=("[^"]*")/g;const o=e=>{const t={};try{while(a.exec(e.headers["www-authenticate"])!==null){if(RegExp.$1&&RegExp.$2){t[RegExp.$1]=RegExp.$2.slice(1,-1)}}}catch(e){}if(t.error){throw new s(t,e)}};const u=e=>{let t=false;try{let i;if(typeof e.body!=="object"||Buffer.isBuffer(e.body)){i=JSON.parse(e.body)}else{i=e.body}t=typeof i.error==="string"&&i.error.length;if(t)e.body=i}catch(e){}return t};function processResponse(e,{statusCode:t=200,body:i=true,bearer:a=false}={}){if(e.statusCode!==t){if(a){o(e)}if(u(e)){throw new s(e.body,e)}throw new s({error:r("expected %i %s, got: %i %s",t,n[t],e.statusCode,n[e.statusCode])},e)}if(i&&!e.body){throw new s({error:r("expected %i %s with body but no body was returned",t,n[t])},e)}return e.body}e.exports=processResponse},92946:(e,t,i)=>{const n=i(93061);const r=i(76710);const{deep:s}=i(13098);const a=i(61797);const{HTTP_OPTIONS:o}=i(27556);let u;let c;const l=e=>{u=s({},e,u);c=n.extend(u)};l({followRedirect:false,headers:{"User-Agent":`${r.name}/${r.version} (${r.homepage})`},retry:0,timeout:3500,throwHttpErrors:false});e.exports=async function request(e,{mTLS:t=false,DPoP:i}={}){const{url:n}=e;a(n);const r=this[o];let l=e;if(i&&"dpopProof"in this){l.headers=l.headers||{};l.headers.DPoP=this.dpopProof({htu:n,htm:e.method},i)}if(r){l=r.call(this,s({},l,u))}if(t&&((!l.key||!l.cert)&&(!l.https||!(l.https.key&&l.https.certificate||l.https.pfx)))){throw new TypeError("mutual-TLS certificate and key not set")}return c(l)};e.exports.setDefaults=l},8542:e=>{e.exports=(()=>Math.floor(Date.now()/1e3))},36546:e=>{const t=new WeakMap;e.exports=(e=>{if(!t.has(e)){t.set(e,new Map([["metadata",new Map]]))}return t.get(e)})},27416:e=>{const t=/^\d+$/;function hasScheme(e){if(e.includes("://"))return true;const i=e.replace(/(\/|\?)/g,"#").split("#")[0];if(i.includes(":")){const e=i.indexOf(":");const n=i.slice(e+1);if(!t.test(n)){return true}}return false}function acctSchemeAssumed(e){if(!e.includes("@"))return false;const t=e.split("@");const i=t[t.length-1];return!(i.includes(":")||i.includes("/")||i.includes("?"))}function normalize(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}let t;if(hasScheme(e)){t=e}else if(acctSchemeAssumed(e)){t=`acct:${e}`}else{t=`https://${e}`}return t.split("#")[0]}e.exports=normalize},53140:(e,t,i)=>{const n=i(27213);const{OPError:r,RPError:s}=i(45061);const a=i(30730);const o=i(22134);const u=i(39029);const{CLOCK_TOLERANCE:c,HTTP_OPTIONS:l}=i(27556);const p=i(75421);const{setDefaults:d}=i(92946);e.exports={Issuer:n,Registry:a,Strategy:o,TokenSet:u,errors:{OPError:r,RPError:s},custom:{setHttpOptionsDefaults:d,http_options:l,clock_tolerance:c},generators:p}},27213:(e,t,i)=>{const{inspect:n}=i(31669);const r=i(78835);const s=i(61231);const a=i(16425);const o=i(7129);const u=i(24856);const{RPError:c}=i(45061);const l=i(28300);const p=i(30730);const d=i(28576);const f=i(27416);const h=i(36546);const m=i(92946);const{assertIssuerConfiguration:b}=i(63217);const{ISSUER_DEFAULTS:g,OIDC_DISCOVERY:y,OAUTH2_DISCOVERY:S,WEBFINGER:v,REL:w,AAD_MULTITENANT_DISCOVERY:j}=i(27556);const z=Symbol("AAD_MULTITENANT");class Issuer{constructor(e={}){const t=e[z];delete e[z];["introspection","revocation"].forEach(t=>{if(e[`${t}_endpoint`]&&e[`${t}_endpoint_auth_methods_supported`]===undefined&&e[`${t}_endpoint_auth_signing_alg_values_supported`]===undefined){if(e.token_endpoint_auth_methods_supported){e[`${t}_endpoint_auth_methods_supported`]=e.token_endpoint_auth_methods_supported}if(e.token_endpoint_auth_signing_alg_values_supported){e[`${t}_endpoint_auth_signing_alg_values_supported`]=e.token_endpoint_auth_signing_alg_values_supported}}});Object.entries(e).forEach(([e,t])=>{h(this).get("metadata").set(e,t);if(!this[e]){Object.defineProperty(this,e,{get(){return h(this).get("metadata").get(e)},enumerable:true})}});h(this).set("cache",new o({max:100}));p.set(this.issuer,this);const i=l(this,t);Object.defineProperties(this,{Client:{value:i},FAPIClient:{value:class FAPIClient extends i{}}})}async keystore(e=false){b(this,"jwks_uri");const t=h(this).get("keystore");const i=h(this).get("cache");if(e||!t){i.reset();const e=await m.call(this,{method:"GET",responseType:"json",url:this.jwks_uri});const t=d(e);const n=a.JWKS.asKeyStore(t,{ignoreErrors:true});i.set("throttle",true,60*1e3);h(this).set("keystore",n);return n}return t}async queryKeyStore({kid:e,kty:t,alg:i,use:n,key_ops:r},{allowMulti:s=false}={}){const o=h(this).get("cache");const l={kid:e,kty:t,alg:i,use:n,key_ops:r};const p=u(l,{algorithm:"sha256",ignoreUnknown:true,unorderedArrays:true,unorderedSets:true});const d=o.get(p)||o.get("throttle");const f=await this.keystore(!d);const m=f.all(l);if(m.length===0){throw new c({printf:["no valid key found in issuer's jwks_uri for key parameters %j",l],jwks:f})}if(!s&&m.length>1&&!e){throw new c({printf:["multiple matching keys found in issuer's jwks_uri for key parameters %j, kid must be provided in this case",l],jwks:f})}o.set(p,true);return new a.JWKS.KeyStore(m)}get metadata(){const e={};h(this).get("metadata").forEach((t,i)=>{e[i]=t});return e}static async webfinger(e){const t=f(e);const{host:i}=r.parse(t);const n=`https://${i}${v}`;const s=await m.call(this,{method:"GET",url:n,responseType:"json",searchParams:{resource:t,rel:w},followRedirect:true});const a=d(s);const o=Array.isArray(a.links)&&a.links.find(e=>typeof e==="object"&&e.rel===w&&e.href);if(!o){throw new c({message:"no issuer found in webfinger response",body:a})}if(typeof o.href!=="string"||!o.href.startsWith("https://")){throw new c({printf:["invalid issuer location %s",o.href],body:a})}const u=o.href;if(p.has(u)){return p.get(u)}const l=await this.discover(u);if(l.issuer!==u){p.delete(l.issuer);throw new c("discovered issuer mismatch, expected %s, got: %s",u,l.issuer)}return l}static async discover(e){const t=r.parse(e);if(t.pathname.includes("/.well-known/")){const t=await m.call(this,{method:"GET",responseType:"json",url:e});const i=d(t);return new Issuer({...g,...i,[z]:!!j.find(t=>e.startsWith(t))})}const i=[];if(t.pathname.endsWith("/")){i.push(`${t.pathname}${y.substring(1)}`)}else{i.push(`${t.pathname}${y}`)}if(t.pathname==="/"){i.push(`${S}`)}else{i.push(`${S}${t.pathname}`)}const n=[];for(const e of i){try{const i=r.format({...t,pathname:e});const s=await m.call(this,{method:"GET",responseType:"json",url:i});const o=d(s);return new Issuer({...g,...o,[z]:!!j.find(e=>i.startsWith(e))})}catch(a){n.push(a)}}const a=new s(n);a.message=`Issuer.discover() failed.${a.message.split("\n").filter(e=>!e.startsWith(" at")).join("\n")}`;throw a}[n.custom](){return`${this.constructor.name} ${n(this.metadata,{depth:Infinity,colors:process.stdout.isTTY,compact:false,sorted:true})}`}}e.exports=Issuer},30730:e=>{const t=new Map;e.exports=t},22134:(e,t,i)=>{const n=i(78835);const{format:r}=i(31669);const s=i(21004);const{RPError:a,OPError:o}=i(45061);const{BaseClient:u}=i(28300);const{random:c,codeChallenge:l}=i(75421);const p=i(78857);const{resolveResponseType:d,resolveRedirectUri:f}=i(7619);function verified(e,t,i={}){if(e){this.error(e)}else if(!t){this.fail(i)}else{this.success(t,i)}}function OpenIDConnectStrategy({client:e,params:t={},passReqToCallback:i=false,sessionKey:r,usePKCE:a=true,extras:o={}}={},c){if(!(e instanceof u)){throw new TypeError("client must be an instance of openid-client Client")}if(typeof c!=="function"){throw new TypeError("verify callback must be a function")}if(!e.issuer||!e.issuer.issuer){throw new TypeError("client must have an issuer with an identifier")}this._client=e;this._issuer=e.issuer;this._verify=c;this._passReqToCallback=i;this._usePKCE=a;this._key=r||`oidc:${n.parse(this._issuer.issuer).hostname}`;this._params=s(t);this._extras=s(o);if(!this._params.response_type)this._params.response_type=d.call(e);if(!this._params.redirect_uri)this._params.redirect_uri=f.call(e);if(!this._params.scope)this._params.scope="openid";if(this._usePKCE===true){const e=Array.isArray(this._issuer.code_challenge_methods_supported)?this._issuer.code_challenge_methods_supported:false;if(e&&e.includes("S256")){this._usePKCE="S256"}else if(e&&e.includes("plain")){this._usePKCE="plain"}else if(e){throw new TypeError("neither code_challenge_method supported by the client is supported by the issuer")}else{this._usePKCE="S256"}}else if(typeof this._usePKCE==="string"&&!["plain","S256"].includes(this._usePKCE)){throw new TypeError(`${this._usePKCE} is not valid/implemented PKCE code_challenge_method`)}this.name=n.parse(e.issuer.issuer).hostname}OpenIDConnectStrategy.prototype.authenticate=function authenticate(e,t){(async()=>{const i=this._client;if(!e.session){throw new TypeError("authentication requires session support")}const n=i.callbackParams(e);const s=this._key;if(Object.keys(n).length===0){const n={state:c(),...this._params,...t};if(!n.nonce&&n.response_type.includes("id_token")){n.nonce=c()}e.session[s]=p(n,"nonce","state","max_age","response_type");if(this._usePKCE&&n.response_type.includes("code")){const t=c();e.session[s].code_verifier=t;switch(this._usePKCE){case"S256":n.code_challenge=l(t);n.code_challenge_method="S256";break;case"plain":n.code_challenge=t;break}}this.redirect(i.authorizationUrl(n));return}const o=e.session[s];if(Object.keys(o||{}).length===0){throw new Error(r('did not find expected authorization request details in session, req.session["%s"] is %j',s,o))}const{state:u,nonce:d,max_age:f,code_verifier:h,response_type:m}=o;try{delete e.session[s]}catch(e){}const b={redirect_uri:this._params.redirect_uri,...t};const g={state:u,nonce:d,max_age:f,code_verifier:h,response_type:m};const y=await i.callback(b.redirect_uri,n,g,this._extras);const S=this._passReqToCallback;const v=this._verify.length>(S?3:2)&&i.issuer.userinfo_endpoint;const w=[y,verified.bind(this)];if(v){if(!y.access_token){throw new a({message:"expected access_token to be returned when asking for userinfo in verify callback",tokenset:y})}const e=await i.userinfo(y);w.splice(1,0,e)}if(S){w.unshift(e)}this._verify(...w)})().catch(e=>{if(e instanceof o&&e.error!=="server_error"&&!e.error.startsWith("invalid")||e instanceof a){this.fail(e)}else{this.error(e)}})};e.exports=OpenIDConnectStrategy},39029:(e,t,i)=>{const n=i(61827);const r=i(8542);class TokenSet{constructor(e){Object.assign(this,e)}set expires_in(e){this.expires_at=r()+Number(e)}get expires_in(){return Math.max.apply(null,[this.expires_at-r(),0])}expired(){return this.expires_in===0}claims(){if(!this.id_token){throw new TypeError("id_token not present in TokenSet")}return JSON.parse(n.decode(this.id_token.split(".")[1]))}}e.exports=TokenSet},19072:e=>{"use strict";class CancelError extends Error{constructor(e){super(e||"Promise was canceled");this.name="CancelError"}get isCanceled(){return true}}class PCancelable{static fn(e){return(...t)=>{return new PCancelable((i,n,r)=>{t.push(r);e(...t).then(i,n)})}}constructor(e){this._cancelHandlers=[];this._isPending=true;this._isCanceled=false;this._rejectOnCancel=true;this._promise=new Promise((t,i)=>{this._reject=i;const n=e=>{if(!this._isCanceled||!s.shouldReject){this._isPending=false;t(e)}};const r=e=>{this._isPending=false;i(e)};const s=e=>{if(!this._isPending){throw new Error("The `onCancel` handler was attached after the promise settled.")}this._cancelHandlers.push(e)};Object.defineProperties(s,{shouldReject:{get:()=>this._rejectOnCancel,set:e=>{this._rejectOnCancel=e}}});return e(n,r,s)})}then(e,t){return this._promise.then(e,t)}catch(e){return this._promise.catch(e)}finally(e){return this._promise.finally(e)}cancel(e){if(!this._isPending||this._isCanceled){return}this._isCanceled=true;if(this._cancelHandlers.length>0){try{for(const e of this._cancelHandlers){e()}}catch(e){this._reject(e);return}}if(this._rejectOnCancel){this._reject(new CancelError(e))}}get isCanceled(){return this._isCanceled}}Object.setPrototypeOf(PCancelable.prototype,Promise.prototype);e.exports=PCancelable;e.exports.CancelError=CancelError},31330:e=>{"use strict";e.exports=((e,t)=>{t=t||(()=>{});return e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e}))})},38714:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var i=t.exec(e);var n=i[1]||"";var r=Boolean(n&&n.charAt(1)!==":");return Boolean(i[2]||r)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},20539:e=>{"use strict";e.exports=(e=>{e=e||{};const t=e.env||process.env;const i=e.platform||process.platform;if(i!=="win32"){return"PATH"}return Object.keys(t).find(e=>e.toUpperCase()==="PATH")||"Path"})},85644:function(e){(function(){var t,i,n,r,s,a;if(typeof performance!=="undefined"&&performance!==null&&performance.now){e.exports=function(){return performance.now()}}else if(typeof process!=="undefined"&&process!==null&&process.hrtime){e.exports=function(){return(t()-s)/1e6};i=process.hrtime;t=function(){var e;e=i();return e[0]*1e9+e[1]};r=t();a=process.uptime()*1e9;s=r-a}else if(Date.now){e.exports=function(){return Date.now()-n};n=Date.now()}else{e.exports=function(){return(new Date).getTime()-n};n=(new Date).getTime()}}).call(this)},54742:(e,t,i)=>{"use strict";var n=i(52997);var r=i(24347);var s=Object.prototype.hasOwnProperty;function isRetryError(e){return e&&e.code==="EPROMISERETRY"&&s.call(e,"retried")}function promiseRetry(e,t){var i;var s;if(typeof e==="object"&&typeof t==="function"){i=t;t=e;e=i}s=r.operation(t);return new Promise(function(t,i){s.attempt(function(r){Promise.resolve().then(function(){return e(function(e){if(isRetryError(e)){e=e.retried}throw n(new Error("Retrying"),"EPROMISERETRY",{retried:e})},r)}).then(t,function(e){if(isRetryError(e)){e=e.retried;if(s.retry(e||new Error)){return}}i(e)})})})}e.exports=promiseRetry},29975:(e,t,i)=>{"use strict";var n=i(94213);var r={};r.rules=i(2156).map(function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:e.charAt(0)==="*",exception:e.charAt(0)==="!"}});r.endsWith=function(e,t){return e.indexOf(t,e.length-t.length)!==-1};r.findRule=function(e){var t=n.toASCII(e);return r.rules.reduce(function(e,i){if(i.punySuffix===-1){i.punySuffix=n.toASCII(i.suffix)}if(!r.endsWith(t,"."+i.punySuffix)&&t!==i.punySuffix){return e}return i},null)};t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."};r.validate=function(e){var t=n.toASCII(e);if(t.length<1){return"DOMAIN_TOO_SHORT"}if(t.length>255){return"DOMAIN_TOO_LONG"}var i=t.split(".");var r;for(var s=0;s63){return"LABEL_TOO_LONG"}if(r.charAt(0)==="-"){return"LABEL_STARTS_WITH_DASH"}if(r.charAt(r.length-1)==="-"){return"LABEL_ENDS_WITH_DASH"}if(!/^[a-z0-9\-]+$/.test(r)){return"LABEL_INVALID_CHARS"}}};t.parse=function(e){if(typeof e!=="string"){throw new TypeError("Domain name must be a string.")}var i=e.slice(0).toLowerCase();if(i.charAt(i.length-1)==="."){i=i.slice(0,i.length-1)}var s=r.validate(i);if(s){return{input:e,error:{message:t.errorCodes[s],code:s}}}var a={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:false};var o=i.split(".");if(o[o.length-1]==="local"){return a}var u=function(){if(!/xn--/.test(i)){return a}if(a.domain){a.domain=n.toASCII(a.domain)}if(a.subdomain){a.subdomain=n.toASCII(a.subdomain)}return a};var c=r.findRule(i);if(!c){if(o.length<2){return a}a.tld=o.pop();a.sld=o.pop();a.domain=[a.sld,a.tld].join(".");if(o.length){a.subdomain=o.pop()}return u()}a.listed=true;var l=c.suffix.split(".");var p=o.slice(0,o.length-l.length);if(c.exception){p.push(l.shift())}a.tld=l.join(".");if(!p.length){return u()}if(c.wildcard){l.unshift(p.pop());a.tld=l.join(".")}if(!p.length){return u()}a.sld=p.pop();a.domain=[a.sld,a.tld].join(".");if(p.length){a.subdomain=p.join(".")}return u()};t.get=function(e){if(!e){return null}return t.parse(e).domain||null};t.isValid=function(e){var i=t.parse(e);return Boolean(i.domain&&i.listed)}},18341:(e,t,i)=>{var n=i(1223);var r=i(81205);var s=i(35747);var a=function(){};var o=/^v?\.0/.test(process.version);var u=function(e){return typeof e==="function"};var c=function(e){if(!o)return false;if(!s)return false;return(e instanceof(s.ReadStream||a)||e instanceof(s.WriteStream||a))&&u(e.close)};var l=function(e){return e.setHeader&&u(e.abort)};var p=function(e,t,i,s){s=n(s);var o=false;e.on("close",function(){o=true});r(e,{readable:t,writable:i},function(e){if(e)return s(e);o=true;s()});var p=false;return function(t){if(o)return;if(p)return;p=true;if(c(e))return e.close(a);if(l(e))return e.abort();if(u(e.destroy))return e.destroy();s(t||new Error("stream was destroyed"))}};var d=function(e){e()};var f=function(e,t){return e.pipe(t)};var h=function(){var e=Array.prototype.slice.call(arguments);var t=u(e[e.length-1]||a)&&e.pop()||a;if(Array.isArray(e[0]))e=e[0];if(e.length<2)throw new Error("pump requires two streams per minimum");var i;var n=e.map(function(r,s){var a=s0;return p(r,a,o,function(e){if(!i)i=e;if(e)n.forEach(d);if(a)return;n.forEach(d);t(i)})});return e.reduce(f)};e.exports=h},74907:e=>{"use strict";var t=String.prototype.replace;var i=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return t.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},22760:(e,t,i)=>{"use strict";var n=i(79954);var r=i(33912);var s=i(74907);e.exports={formats:s,parse:r,stringify:n}},33912:(e,t,i)=>{"use strict";var n=i(72360);var r=Object.prototype.hasOwnProperty;var s={allowDots:false,allowPrototypes:false,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:false,strictNullHandling:false};var a=function parseQueryStringValues(e,t){var i={};var n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;var a=t.parameterLimit===Infinity?undefined:t.parameterLimit;var o=n.split(t.delimiter,a);for(var u=0;u=0;--r){var s;var a=e[r];if(a==="[]"){s=[];s=s.concat(n)}else{s=i.plainObjects?Object.create(null):{};var o=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a;var u=parseInt(o,10);if(!isNaN(u)&&a!==o&&String(u)===o&&u>=0&&(i.parseArrays&&u<=i.arrayLimit)){s=[];s[u]=n}else{s[o]=n}}n=s}return n};var u=function parseQueryStringKeys(e,t,i){if(!e){return}var n=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var s=/(\[[^[\]]*])/;var a=/(\[[^[\]]*])/g;var u=s.exec(n);var c=u?n.slice(0,u.index):n;var l=[];if(c){if(!i.plainObjects&&r.call(Object.prototype,c)){if(!i.allowPrototypes){return}}l.push(c)}var p=0;while((u=a.exec(n))!==null&&p{"use strict";var n=i(72360);var r=i(74907);var s={brackets:function brackets(e){return e+"[]"},indices:function indices(e,t){return e+"["+t+"]"},repeat:function repeat(e){return e}};var a=Date.prototype.toISOString;var o={delimiter:"&",encode:true,encoder:n.encode,encodeValuesOnly:false,serializeDate:function serializeDate(e){return a.call(e)},skipNulls:false,strictNullHandling:false};var u=function stringify(e,t,i,r,s,a,u,c,l,p,d,f){var h=e;if(typeof u==="function"){h=u(t,h)}else if(h instanceof Date){h=p(h)}else if(h===null){if(r){return a&&!f?a(t,o.encoder):t}h=""}if(typeof h==="string"||typeof h==="number"||typeof h==="boolean"||n.isBuffer(h)){if(a){var m=f?t:a(t,o.encoder);return[d(m)+"="+d(a(h,o.encoder))]}return[d(t)+"="+d(String(h))]}var b=[];if(typeof h==="undefined"){return b}var g;if(Array.isArray(u)){g=u}else{var y=Object.keys(h);g=c?y.sort(c):y}for(var S=0;S0?T+C:""}},72360:e=>{"use strict";var t=Object.prototype.hasOwnProperty;var i=function(){var e=[];for(var t=0;t<256;++t){e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase())}return e}();var n=function compactQueue(e){var t;while(e.length){var i=e.pop();t=i.obj[i.prop];if(Array.isArray(t)){var n=[];for(var r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=t.charAt(r);continue}if(s<128){n=n+i[s];continue}if(s<2048){n=n+(i[192|s>>6]+i[128|s&63]);continue}if(s<55296||s>=57344){n=n+(i[224|s>>12]+i[128|s>>6&63]+i[128|s&63]);continue}r+=1;s=65536+((s&1023)<<10|t.charCodeAt(r)&1023);n+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|s&63]}return n};var c=function compact(e){var t=[{obj:{o:e},prop:"o"}];var i=[];for(var r=0;r{"use strict";class QuickLRU{constructor(e={}){if(!(e.maxSize&&e.maxSize>0)){throw new TypeError("`maxSize` must be a number greater than 0")}this.maxSize=e.maxSize;this.onEviction=e.onEviction;this.cache=new Map;this.oldCache=new Map;this._size=0}_set(e,t){this.cache.set(e,t);this._size++;if(this._size>=this.maxSize){this._size=0;if(typeof this.onEviction==="function"){for(const[e,t]of this.oldCache.entries()){this.onEviction(e,t)}}this.oldCache=this.cache;this.cache=new Map}}get(e){if(this.cache.has(e)){return this.cache.get(e)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);this.oldCache.delete(e);this._set(e,t);return t}}set(e,t){if(this.cache.has(e)){this.cache.set(e,t)}else{this._set(e,t)}return this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){if(this.cache.has(e)){return this.cache.get(e)}if(this.oldCache.has(e)){return this.oldCache.get(e)}}delete(e){const t=this.cache.delete(e);if(t){this._size--}return this.oldCache.delete(e)||t}clear(){this.cache.clear();this.oldCache.clear();this._size=0}*keys(){for(const[e]of this){yield e}}*values(){for(const[,e]of this){yield e}}*[Symbol.iterator](){for(const e of this.cache){yield e}for(const e of this.oldCache){const[t]=e;if(!this.cache.has(t)){yield e}}}get size(){let e=0;for(const t of this.oldCache.keys()){if(!this.cache.has(t)){e++}}return Math.min(this._size+e,this.maxSize)}}e.exports=QuickLRU},48699:(e,t,i)=>{"use strict";var n=i(38171);var r=i(50976);var s=i(74845);var a=s.paramsHaveRequestBody;function initParams(e,t,i){if(typeof t==="function"){i=t}var r={};if(t!==null&&typeof t==="object"){n(r,t,{uri:e})}else if(typeof e==="string"){n(r,{uri:e})}else{n(r,e)}r.callback=i||r.callback;return r}function request(e,t,i){if(typeof e==="undefined"){throw new Error("undefined is not a valid uri or options object.")}var n=initParams(e,t,i);if(n.method==="HEAD"&&a(n)){throw new Error("HTTP HEAD requests MUST NOT include a request body.")}return new request.Request(n)}function verbFunc(e){var t=e.toUpperCase();return function(e,i,n){var r=initParams(e,i,n);r.method=t;return request(r,r.callback)}}request.get=verbFunc("get");request.head=verbFunc("head");request.options=verbFunc("options");request.post=verbFunc("post");request.put=verbFunc("put");request.patch=verbFunc("patch");request.del=verbFunc("delete");request["delete"]=verbFunc("delete");request.jar=function(e){return r.jar(e)};request.cookie=function(e){return r.parse(e)};function wrapRequestMethod(e,t,i,r){return function(s,a,o){var u=initParams(s,a,o);var c={};n(true,c,t,u);c.pool=u.pool||t.pool;if(r){c.method=r.toUpperCase()}if(typeof i==="function"){e=i}return e(c,c.callback)}}request.defaults=function(e,t){var i=this;e=e||{};if(typeof e==="function"){t=e;e={}}var n=wrapRequestMethod(i,e,t);var r=["get","head","post","put","patch","del","delete"];r.forEach(function(r){n[r]=wrapRequestMethod(i[r],e,t,r)});n.cookie=wrapRequestMethod(i.cookie,e,t);n.jar=i.jar;n.defaults=i.defaults;return n};request.forever=function(e,t){var i={};if(t){n(i,t)}if(e){i.agentOptions=e}i.forever=true;return request.defaults(i)};e.exports=request;request.Request=i(70304);request.initParams=initParams;Object.defineProperty(request,"debug",{enumerable:true,get:function(){return request.Request.debug},set:function(e){request.Request.debug=e}})},76996:(e,t,i)=>{"use strict";var n=i(35684);var r=i(80824);var s=i(74845);var a=s.md5;var o=s.toBase64;function Auth(e){this.request=e;this.hasAuth=false;this.sentAuth=false;this.bearerToken=null;this.user=null;this.pass=null}Auth.prototype.basic=function(e,t,i){var n=this;if(typeof e!=="string"||t!==undefined&&typeof t!=="string"){n.request.emit("error",new Error("auth() received invalid user or password"))}n.user=e;n.pass=t;n.hasAuth=true;var r=e+":"+(t||"");if(i||typeof i==="undefined"){var s="Basic "+o(r);n.sentAuth=true;return s}};Auth.prototype.bearer=function(e,t){var i=this;i.bearerToken=e;i.hasAuth=true;if(t||typeof t==="undefined"){if(typeof e==="function"){e=e()}var n="Bearer "+(e||"");i.sentAuth=true;return n}};Auth.prototype.digest=function(e,t,i){var n=this;var s={};var o=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;while(true){var u=o.exec(i);if(!u){break}s[u[1]]=u[2]||u[3]}var c=function(e,t,i,n,r,s){var o=a(t+":"+i+":"+n);if(e&&e.toLowerCase()==="md5-sess"){return a(o+":"+r+":"+s)}else{return o}};var l=/(^|,)\s*auth\s*($|,)/.test(s.qop)&&"auth";var p=l&&"00000001";var d=l&&r().replace(/-/g,"");var f=c(s.algorithm,n.user,s.realm,n.pass,s.nonce,d);var h=a(e+":"+t);var m=l?a(f+":"+s.nonce+":"+p+":"+d+":"+l+":"+h):a(f+":"+s.nonce+":"+h);var b={username:n.user,realm:s.realm,nonce:s.nonce,uri:t,qop:l,response:m,nc:p,cnonce:d,algorithm:s.algorithm,opaque:s.opaque};i=[];for(var g in b){if(b[g]){if(g==="qop"||g==="nc"||g==="algorithm"){i.push(g+"="+b[g])}else{i.push(g+'="'+b[g]+'"')}}}i="Digest "+i.join(", ");n.sentAuth=true;return i};Auth.prototype.onRequest=function(e,t,i,n){var r=this;var s=r.request;var a;if(n===undefined&&e===undefined){r.request.emit("error",new Error("no auth mechanism defined"))}else if(n!==undefined){a=r.bearer(n,i)}else{a=r.basic(e,t,i)}if(a){s.setHeader("authorization",a)}};Auth.prototype.onResponse=function(e){var t=this;var i=t.request;if(!t.hasAuth||t.sentAuth){return null}var r=n(e.headers);var s=r.get("www-authenticate");var a=s&&s.split(" ")[0].toLowerCase();i.debug("reauth",a);switch(a){case"basic":return t.basic(t.user,t.pass,true);case"bearer":return t.bearer(t.bearerToken,true);case"digest":return t.digest(i.method,i.path,s)}};t.g=Auth},50976:(e,t,i)=>{"use strict";var n=i(47372);var r=n.Cookie;var s=n.CookieJar;t.parse=function(e){if(e&&e.uri){e=e.uri}if(typeof e!=="string"){throw new Error("The cookie function only accepts STRING as param")}return r.parse(e,{loose:true})};function RequestJar(e){var t=this;t._jar=new s(e,{looseMode:true})}RequestJar.prototype.setCookie=function(e,t,i){var n=this;return n._jar.setCookieSync(e,t,i||{})};RequestJar.prototype.getCookieString=function(e){var t=this;return t._jar.getCookieStringSync(e)};RequestJar.prototype.getCookies=function(e){var t=this;return t._jar.getCookiesSync(e)};t.jar=function(e){return new RequestJar(e)}},75654:e=>{"use strict";function formatHostname(e){return e.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(e){e=e.trim().toLowerCase();var t=e.split(":",2);var i=formatHostname(t[0]);var n=t[1];var r=e.indexOf(":")>-1;return{hostname:i,port:n,hasPort:r}}function uriInNoProxy(e,t){var i=e.port||(e.protocol==="https:"?"443":"80");var n=formatHostname(e.hostname);var r=t.split(",");return r.map(parseNoProxyZone).some(function(e){var t=n.indexOf(e.hostname);var r=t>-1&&t===n.length-e.hostname.length;if(e.hasPort){return i===e.port&&r}return r})}function getProxyFromURI(e){var t=process.env.NO_PROXY||process.env.no_proxy||"";if(t==="*"){return null}if(t!==""&&uriInNoProxy(e,t)){return null}if(e.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(e.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}e.exports=getProxyFromURI},3248:(e,t,i)=>{"use strict";var n=i(35747);var r=i(71191);var s=i(75697);var a=i(38171);function Har(e){this.request=e}Har.prototype.reducer=function(e,t){if(e[t.name]===undefined){e[t.name]=t.value;return e}var i=[e[t.name],t.value];e[t.name]=i;return e};Har.prototype.prep=function(e){e.queryObj={};e.headersObj={};e.postData.jsonObj=false;e.postData.paramsObj=false;if(e.queryString&&e.queryString.length){e.queryObj=e.queryString.reduce(this.reducer,{})}if(e.headers&&e.headers.length){e.headersObj=e.headers.reduceRight(function(e,t){e[t.name]=t.value;return e},{})}if(e.cookies&&e.cookies.length){var t=e.cookies.map(function(e){return e.name+"="+e.value});if(t.length){e.headersObj.cookie=t.join("; ")}}function some(t){return t.some(function(t){return e.postData.mimeType.indexOf(t)===0})}if(some(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"])){e.postData.mimeType="multipart/form-data"}else if(some(["application/x-www-form-urlencoded"])){if(!e.postData.params){e.postData.text=""}else{e.postData.paramsObj=e.postData.params.reduce(this.reducer,{});e.postData.text=r.stringify(e.postData.paramsObj)}}else if(some(["text/json","text/x-json","application/json","application/x-json"])){e.postData.mimeType="application/json";if(e.postData.text){try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(t){this.request.debug(t);e.postData.mimeType="text/plain"}}}return e};Har.prototype.options=function(e){if(!e.har){return e}var t={};a(t,e.har);if(t.log&&t.log.entries){t=t.log.entries[0]}t.url=t.url||e.url||e.uri||e.baseUrl||"/";t.httpVersion=t.httpVersion||"HTTP/1.1";t.queryString=t.queryString||[];t.headers=t.headers||[];t.cookies=t.cookies||[];t.postData=t.postData||{};t.postData.mimeType=t.postData.mimeType||"application/octet-stream";t.bodySize=0;t.headersSize=0;t.postData.size=0;if(!s.request(t)){return e}var i=this.prep(t);if(i.url){e.url=i.url}if(i.method){e.method=i.method}if(Object.keys(i.queryObj).length){e.qs=i.queryObj}if(Object.keys(i.headersObj).length){e.headers=i.headersObj}function test(e){return i.postData.mimeType.indexOf(e)===0}if(test("application/x-www-form-urlencoded")){e.form=i.postData.paramsObj}else if(test("application/json")){if(i.postData.jsonObj){e.body=i.postData.jsonObj;e.json=true}}else if(test("multipart/form-data")){e.formData={};i.postData.params.forEach(function(t){var i={};if(!t.fileName&&!t.contentType){e.formData[t.name]=t.value;return}if(t.fileName&&!t.value){i.value=n.createReadStream(t.fileName)}else if(t.value){i.value=t.value}if(t.fileName){i.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}}e.formData[t.name]=i})}else{if(i.postData.text){e.body=i.postData.text}}return e};t.t=Har},34473:(e,t,i)=>{"use strict";var n=i(76417);function randomString(e){var t=(e+1)*6;var i=n.randomBytes(Math.ceil(t/8));var r=i.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return r.slice(0,e)}function calculatePayloadHash(e,t,i){var r=n.createHash(t);r.update("hawk.1.payload\n");r.update((i?i.split(";")[0].trim().toLowerCase():"")+"\n");r.update(e||"");r.update("\n");return r.digest("base64")}t.calculateMac=function(e,t){var i="hawk.1.header\n"+t.ts+"\n"+t.nonce+"\n"+(t.method||"").toUpperCase()+"\n"+t.resource+"\n"+t.host.toLowerCase()+"\n"+t.port+"\n"+(t.hash||"")+"\n";if(t.ext){i=i+t.ext.replace("\\","\\\\").replace("\n","\\n")}i=i+"\n";if(t.app){i=i+t.app+"\n"+(t.dlg||"")+"\n"}var r=n.createHmac(e.algorithm,e.key).update(i);var s=r.digest("base64");return s};t.header=function(e,i,n){var r=n.timestamp||Math.floor((Date.now()+(n.localtimeOffsetMsec||0))/1e3);var s=n.credentials;if(!s||!s.id||!s.key||!s.algorithm){return""}if(["sha1","sha256"].indexOf(s.algorithm)===-1){return""}var a={ts:r,nonce:n.nonce||randomString(6),method:i,resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||(e.protocol==="http:"?80:443),hash:n.hash,ext:n.ext,app:n.app,dlg:n.dlg};if(!a.hash&&(n.payload||n.payload==="")){a.hash=calculatePayloadHash(n.payload,s.algorithm,n.contentType)}var o=t.calculateMac(s,a);var u=a.ext!==null&&a.ext!==undefined&&a.ext!=="";var c='Hawk id="'+s.id+'", ts="'+a.ts+'", nonce="'+a.nonce+(a.hash?'", hash="'+a.hash:"")+(u?'", ext="'+a.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+o+'"';if(a.app){c=c+', app="'+a.app+(a.dlg?'", dlg="'+a.dlg:"")+'"'}return c}},74845:(e,t,i)=>{"use strict";var n=i(57073);var r=i(76417);var s=i(21867).Buffer;var a=typeof setImmediate==="undefined"?process.nextTick:setImmediate;function paramsHaveRequestBody(e){return e.body||e.requestBodyStream||e.json&&typeof e.json!=="boolean"||e.multipart}function safeStringify(e,t){var i;try{i=JSON.stringify(e,t)}catch(r){i=n(e,t)}return i}function md5(e){return r.createHash("md5").update(e).digest("hex")}function isReadStream(e){return e.readable&&e.path&&e.mode}function toBase64(e){return s.from(e||"","utf8").toString("base64")}function copy(e){var t={};Object.keys(e).forEach(function(i){t[i]=e[i]});return t}function version(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}t.paramsHaveRequestBody=paramsHaveRequestBody;t.safeStringify=safeStringify;t.md5=md5;t.isReadStream=isReadStream;t.toBase64=toBase64;t.copy=copy;t.version=version;t.defer=a},87810:(e,t,i)=>{"use strict";var n=i(80824);var r=i(85443);var s=i(83362);var a=i(21867).Buffer;function Multipart(e){this.request=e;this.boundary=n();this.chunked=false;this.body=null}Multipart.prototype.isChunked=function(e){var t=this;var i=false;var n=e.data||e;if(!n.forEach){t.request.emit("error",new Error("Argument error, options.multipart."))}if(e.chunked!==undefined){i=e.chunked}if(t.request.getHeader("transfer-encoding")==="chunked"){i=true}if(!i){n.forEach(function(e){if(typeof e.body==="undefined"){t.request.emit("error",new Error("Body attribute missing in multipart."))}if(s(e.body)){i=true}})}return i};Multipart.prototype.setHeaders=function(e){var t=this;if(e&&!t.request.hasHeader("transfer-encoding")){t.request.setHeader("transfer-encoding","chunked")}var i=t.request.getHeader("content-type");if(!i||i.indexOf("multipart")===-1){t.request.setHeader("content-type","multipart/related; boundary="+t.boundary)}else{if(i.indexOf("boundary")!==-1){t.boundary=i.replace(/.*boundary=([^\s;]+).*/,"$1")}else{t.request.setHeader("content-type",i+"; boundary="+t.boundary)}}};Multipart.prototype.build=function(e,t){var i=this;var n=t?new r:[];function add(e){if(typeof e==="number"){e=e.toString()}return t?n.append(e):n.push(a.from(e))}if(i.request.preambleCRLF){add("\r\n")}e.forEach(function(e){var t="--"+i.boundary+"\r\n";Object.keys(e).forEach(function(i){if(i==="body"){return}t+=i+": "+e[i]+"\r\n"});t+="\r\n";add(t);add(e.body);add("\r\n")});add("--"+i.boundary+"--");if(i.request.postambleCRLF){add("\r\n")}return n};Multipart.prototype.onRequest=function(e){var t=this;var i=t.isChunked(e);var n=e.data||e;t.setHeaders(i);t.chunked=i;t.body=t.build(n,i)};t.$=Multipart},41174:(e,t,i)=>{"use strict";var n=i(78835);var r=i(22760);var s=i(35684);var a=i(80824);var o=i(43248);var u=i(76417);var c=i(21867).Buffer;function OAuth(e){this.request=e;this.params=null}OAuth.prototype.buildParams=function(e,t,i,n,r,s){var u={};for(var c in e){u["oauth_"+c]=e[c]}if(!u.oauth_version){u.oauth_version="1.0"}if(!u.oauth_timestamp){u.oauth_timestamp=Math.floor(Date.now()/1e3).toString()}if(!u.oauth_nonce){u.oauth_nonce=a().replace(/-/g,"")}if(!u.oauth_signature_method){u.oauth_signature_method="HMAC-SHA1"}var l=u.oauth_consumer_secret||u.oauth_private_key;delete u.oauth_consumer_secret;delete u.oauth_private_key;var p=u.oauth_token_secret;delete u.oauth_token_secret;var d=u.oauth_realm;delete u.oauth_realm;delete u.oauth_transport_method;var f=t.protocol+"//"+t.host+t.pathname;var h=s.parse([].concat(n,r,s.stringify(u)).join("&"));u.oauth_signature=o.sign(u.oauth_signature_method,i,f,h,l,p);if(d){u.realm=d}return u};OAuth.prototype.buildBodyHash=function(e,t){if(["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0){this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."))}var i=u.createHash("sha1");i.update(t||"");var n=i.digest("hex");return c.from(n,"hex").toString("base64")};OAuth.prototype.concatParams=function(e,t,i){i=i||"";var n=Object.keys(e).filter(function(e){return e!=="realm"&&e!=="oauth_signature"}).sort();if(e.realm){n.splice(0,0,"realm")}n.push("oauth_signature");return n.map(function(t){return t+"="+i+o.rfc3986(e[t])+i}).join(t)};OAuth.prototype.onRequest=function(e){var t=this;t.params=e;var i=t.request.uri||{};var a=t.request.method||"";var o=s(t.request.headers);var u=t.request.body||"";var c=t.request.qsLib||r;var l;var p;var d=o.get("content-type")||"";var f="application/x-www-form-urlencoded";var h=e.transport_method||"header";if(d.slice(0,f.length)===f){d=f;l=u}if(i.query){p=i.query}if(h==="body"&&(a!=="POST"||d!==f)){t.request.emit("error",new Error("oauth: transport_method of body requires POST "+"and content-type "+f))}if(!l&&typeof e.body_hash==="boolean"){e.body_hash=t.buildBodyHash(e,t.request.body.toString())}var m=t.buildParams(e,i,a,p,l,c);switch(h){case"header":t.request.setHeader("Authorization","OAuth "+t.concatParams(m,",",'"'));break;case"query":var b=t.request.uri.href+=(p?"&":"?")+t.concatParams(m,"&");t.request.uri=n.parse(b);t.request.path=t.request.uri.path;break;case"body":t.request.body=(l?l+"&":"")+t.concatParams(m,"&");break;default:t.request.emit("error",new Error("oauth: transport_method invalid"))}};t.f=OAuth},66476:(e,t,i)=>{"use strict";var n=i(22760);var r=i(71191);function Querystring(e){this.request=e;this.lib=null;this.useQuerystring=null;this.parseOptions=null;this.stringifyOptions=null}Querystring.prototype.init=function(e){if(this.lib){return}this.useQuerystring=e.useQuerystring;this.lib=this.useQuerystring?r:n;this.parseOptions=e.qsParseOptions||{};this.stringifyOptions=e.qsStringifyOptions||{}};Querystring.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)};Querystring.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)};Querystring.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})};Querystring.prototype.unescape=r.unescape;t.h=Querystring},3048:(e,t,i)=>{"use strict";var n=i(78835);var r=/^https?:/;function Redirect(e){this.request=e;this.followRedirect=true;this.followRedirects=true;this.followAllRedirects=false;this.followOriginalHttpMethod=false;this.allowRedirect=function(){return true};this.maxRedirects=10;this.redirects=[];this.redirectsFollowed=0;this.removeRefererHeader=false}Redirect.prototype.onRequest=function(e){var t=this;if(e.maxRedirects!==undefined){t.maxRedirects=e.maxRedirects}if(typeof e.followRedirect==="function"){t.allowRedirect=e.followRedirect}if(e.followRedirect!==undefined){t.followRedirects=!!e.followRedirect}if(e.followAllRedirects!==undefined){t.followAllRedirects=e.followAllRedirects}if(t.followRedirects||t.followAllRedirects){t.redirects=t.redirects||[]}if(e.removeRefererHeader!==undefined){t.removeRefererHeader=e.removeRefererHeader}if(e.followOriginalHttpMethod!==undefined){t.followOriginalHttpMethod=e.followOriginalHttpMethod}};Redirect.prototype.redirectTo=function(e){var t=this;var i=t.request;var n=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var r=e.caseless.get("location");i.debug("redirect",r);if(t.followAllRedirects){n=r}else if(t.followRedirects){switch(i.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:n=r;break}}}else if(e.statusCode===401){var s=i._auth.onResponse(e);if(s){i.setHeader("authorization",s);n=i.uri}}return n};Redirect.prototype.onResponse=function(e){var t=this;var i=t.request;var s=t.redirectTo(e);if(!s||!t.allowRedirect.call(i,e)){return false}i.debug("redirect to",s);if(e.resume){e.resume()}if(t.redirectsFollowed>=t.maxRedirects){i.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+i.uri.href));return false}t.redirectsFollowed+=1;if(!r.test(s)){s=n.resolve(i.uri.href,s)}var a=i.uri;i.uri=n.parse(s);if(i.uri.protocol!==a.protocol){delete i.agent}t.redirects.push({statusCode:e.statusCode,redirectUri:s});if(t.followAllRedirects&&i.method!=="HEAD"&&e.statusCode!==401&&e.statusCode!==307){i.method=t.followOriginalHttpMethod?i.method:"GET"}delete i.src;delete i.req;delete i._started;if(e.statusCode!==401&&e.statusCode!==307){delete i.body;delete i._form;if(i.headers){i.removeHeader("host");i.removeHeader("content-type");i.removeHeader("content-length");if(i.uri.hostname!==i.originalHost.split(":")[0]){i.removeHeader("authorization")}}}if(!t.removeRefererHeader){i.setHeader("referer",a.href)}i.emit("redirect");i.init();return true};t.l=Redirect},17619:(e,t,i)=>{"use strict";var n=i(78835);var r=i(11137);var s=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"];var a=["proxy-authorization"];function constructProxyHost(e){var t=e.port;var i=e.protocol;var n=e.hostname+":";if(t){n+=t}else if(i==="https:"){n+="443"}else{n+="80"}return n}function constructProxyHeaderWhiteList(e,t){var i=t.reduce(function(e,t){e[t.toLowerCase()]=true;return e},{});return Object.keys(e).filter(function(e){return i[e.toLowerCase()]}).reduce(function(t,i){t[i]=e[i];return t},{})}function constructTunnelOptions(e,t){var i=e.proxy;var n={proxy:{host:i.hostname,port:+i.port,proxyAuth:i.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol};return n}function constructTunnelFnName(e,t){var i=e.protocol==="https:"?"https":"http";var n=t.protocol==="https:"?"Https":"Http";return[i,n].join("Over")}function getTunnelFn(e){var t=e.uri;var i=e.proxy;var n=constructTunnelFnName(t,i);return r[n]}function Tunnel(e){this.request=e;this.proxyHeaderWhiteList=s;this.proxyHeaderExclusiveList=[];if(typeof e.tunnel!=="undefined"){this.tunnelOverride=e.tunnel}}Tunnel.prototype.isEnabled=function(){var e=this;var t=e.request;if(typeof e.tunnelOverride!=="undefined"){return e.tunnelOverride}if(t.uri.protocol==="https:"){return true}return false};Tunnel.prototype.setup=function(e){var t=this;var i=t.request;e=e||{};if(typeof i.proxy==="string"){i.proxy=n.parse(i.proxy)}if(!i.proxy||!i.tunnel){return false}if(e.proxyHeaderWhiteList){t.proxyHeaderWhiteList=e.proxyHeaderWhiteList}if(e.proxyHeaderExclusiveList){t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList}var r=t.proxyHeaderExclusiveList.concat(a);var s=t.proxyHeaderWhiteList.concat(r);var o=constructProxyHeaderWhiteList(i.headers,s);o.host=constructProxyHost(i.uri);r.forEach(i.removeHeader,i);var u=getTunnelFn(i);var c=constructTunnelOptions(i,o);i.agent=u(c);return true};Tunnel.defaultProxyHeaderWhiteList=s;Tunnel.defaultProxyHeaderExclusiveList=a;t.n=Tunnel},11377:(e,t,i)=>{var n=i(85443);var r=i(31669);var s=i(85622);var a=i(98605);var o=i(57211);var u=i(78835).parse;var c=i(35747);var l=i(43583);var p=i(14812);var d=i(94932);e.exports=FormData;r.inherits(FormData,n);function FormData(e){if(!(this instanceof FormData)){return new FormData}this._overheadLength=0;this._valueLength=0;this._valuesToMeasure=[];n.call(this);e=e||{};for(var t in e){this[t]=e[t]}}FormData.LINE_BREAK="\r\n";FormData.DEFAULT_CONTENT_TYPE="application/octet-stream";FormData.prototype.append=function(e,t,i){i=i||{};if(typeof i=="string"){i={filename:i}}var s=n.prototype.append.bind(this);if(typeof t=="number"){t=""+t}if(r.isArray(t)){this._error(new Error("Arrays are not supported."));return}var a=this._multiPartHeader(e,t,i);var o=this._multiPartFooter();s(a);s(t);s(o);this._trackLength(a,t,i)};FormData.prototype._trackLength=function(e,t,i){var n=0;if(i.knownLength!=null){n+=+i.knownLength}else if(Buffer.isBuffer(t)){n=t.length}else if(typeof t==="string"){n=Buffer.byteLength(t)}this._valueLength+=n;this._overheadLength+=Buffer.byteLength(e)+FormData.LINE_BREAK.length;if(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))){return}if(!i.knownLength){this._valuesToMeasure.push(t)}};FormData.prototype._lengthRetriever=function(e,t){if(e.hasOwnProperty("fd")){if(e.end!=undefined&&e.end!=Infinity&&e.start!=undefined){t(null,e.end+1-(e.start?e.start:0))}else{c.stat(e.path,function(i,n){var r;if(i){t(i);return}r=n.size-(e.start?e.start:0);t(null,r)})}}else if(e.hasOwnProperty("httpVersion")){t(null,+e.headers["content-length"])}else if(e.hasOwnProperty("httpModule")){e.on("response",function(i){e.pause();t(null,+i.headers["content-length"])});e.resume()}else{t("Unknown stream")}};FormData.prototype._multiPartHeader=function(e,t,i){if(typeof i.header=="string"){return i.header}var n=this._getContentDisposition(t,i);var r=this._getContentType(t,i);var s="";var a={"Content-Disposition":["form-data",'name="'+e+'"'].concat(n||[]),"Content-Type":[].concat(r||[])};if(typeof i.header=="object"){d(a,i.header)}var o;for(var u in a){if(!a.hasOwnProperty(u))continue;o=a[u];if(o==null){continue}if(!Array.isArray(o)){o=[o]}if(o.length){s+=u+": "+o.join("; ")+FormData.LINE_BREAK}}return"--"+this.getBoundary()+FormData.LINE_BREAK+s+FormData.LINE_BREAK};FormData.prototype._getContentDisposition=function(e,t){var i,n;if(typeof t.filepath==="string"){i=s.normalize(t.filepath).replace(/\\/g,"/")}else if(t.filename||e.name||e.path){i=s.basename(t.filename||e.name||e.path)}else if(e.readable&&e.hasOwnProperty("httpVersion")){i=s.basename(e.client._httpMessage.path)}if(i){n='filename="'+i+'"'}return n};FormData.prototype._getContentType=function(e,t){var i=t.contentType;if(!i&&e.name){i=l.lookup(e.name)}if(!i&&e.path){i=l.lookup(e.path)}if(!i&&e.readable&&e.hasOwnProperty("httpVersion")){i=e.headers["content-type"]}if(!i&&(t.filepath||t.filename)){i=l.lookup(t.filepath||t.filename)}if(!i&&typeof e=="object"){i=FormData.DEFAULT_CONTENT_TYPE}return i};FormData.prototype._multiPartFooter=function(){return function(e){var t=FormData.LINE_BREAK;var i=this._streams.length===0;if(i){t+=this._lastBoundary()}e(t)}.bind(this)};FormData.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+FormData.LINE_BREAK};FormData.prototype.getHeaders=function(e){var t;var i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e){if(e.hasOwnProperty(t)){i[t.toLowerCase()]=e[t]}}return i};FormData.prototype.getBoundary=function(){if(!this._boundary){this._generateBoundary()}return this._boundary};FormData.prototype._generateBoundary=function(){var e="--------------------------";for(var t=0;t<24;t++){e+=Math.floor(Math.random()*10).toString(16)}this._boundary=e};FormData.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;if(this._streams.length){e+=this._lastBoundary().length}if(!this.hasKnownLength()){this._error(new Error("Cannot calculate proper length in synchronous way."))}return e};FormData.prototype.hasKnownLength=function(){var e=true;if(this._valuesToMeasure.length){e=false}return e};FormData.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length){t+=this._lastBoundary().length}if(!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}p.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,n){if(i){e(i);return}n.forEach(function(e){t+=e});e(null,t)})};FormData.prototype.submit=function(e,t){var i,n,r={method:"post"};if(typeof e=="string"){e=u(e);n=d({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},r)}else{n=d(e,r);if(!n.port){n.port=n.protocol=="https:"?443:80}}n.headers=this.getHeaders(e.headers);if(n.protocol=="https:"){i=o.request(n)}else{i=a.request(n)}this.getLength(function(e,n){if(e){this._error(e);return}i.setHeader("Content-Length",n);this.pipe(i);if(t){i.on("error",t);i.on("response",t.bind(this,null))}}.bind(this));return i};FormData.prototype._error=function(e){if(!this.error){this.error=e;this.pause();this.emit("error",e)}};FormData.prototype.toString=function(){return"[object FormData]"}},94932:e=>{e.exports=function(e,t){Object.keys(t).forEach(function(i){e[i]=e[i]||t[i]});return e}},70304:(e,t,i)=>{"use strict";var n=i(98605);var r=i(57211);var s=i(78835);var a=i(31669);var o=i(92413);var u=i(78761);var c=i(96342);var l=i(16071);var p=i(42479);var d=i(43583);var f=i(35684);var h=i(47568);var m=i(11377);var b=i(38171);var g=i(83362);var y=i(10657).strict;var S=i(74845);var v=i(50976);var w=i(75654);var j=i(66476).h;var z=i(3248).t;var O=i(76996).g;var k=i(41174).f;var C=i(34473);var T=i(87810).$;var _=i(3048).l;var A=i(17619).n;var E=i(85644);var R=i(21867).Buffer;var x=S.safeStringify;var N=S.isReadStream;var V=S.toBase64;var P=S.defer;var M=S.copy;var B=S.version;var I=v.jar();var D={};function filterForNonReserved(e,t){var i={};for(var n in t){var r=e.indexOf(n)===-1;if(r){i[n]=t[n]}}return i}function filterOutReservedFunctions(e,t){var i={};for(var n in t){var r=!(e.indexOf(n)===-1);var s=typeof t[n]==="function";if(!(r&&s)){i[n]=t[n]}}return i}function requestToJSON(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function responseToJSON(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:requestToJSON.call(e.request)}}function Request(e){var t=this;if(e.har){t._har=new z(t);e=t._har.options(e)}o.Stream.call(t);var i=Object.keys(Request.prototype);var n=filterForNonReserved(i,e);b(t,n);e=filterOutReservedFunctions(i,e);t.readable=true;t.writable=true;if(e.method){t.explicitMethod=true}t._qs=new j(t);t._auth=new O(t);t._oauth=new k(t);t._multipart=new T(t);t._redirect=new _(t);t._tunnel=new A(t);t.init(e)}a.inherits(Request,o.Stream);Request.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG);function debug(){if(Request.debug){console.error("REQUEST %s",a.format.apply(a,arguments))}}Request.prototype.debug=debug;Request.prototype.init=function(e){var t=this;if(!e){e={}}t.headers=t.headers?M(t.headers):{};for(var i in t.headers){if(typeof t.headers[i]==="undefined"){delete t.headers[i]}}f.httpify(t,t.headers);if(!t.method){t.method=e.method||"GET"}if(!t.localAddress){t.localAddress=e.localAddress}t._qs.init(e);debug(e);if(!t.pool&&t.pool!==false){t.pool=D}t.dests=t.dests||[];t.__isRequestRequest=true;if(!t._callback&&t.callback){t._callback=t.callback;t.callback=function(){if(t._callbackCalled){return}t._callbackCalled=true;t._callback.apply(t,arguments)};t.on("error",t.callback.bind());t.on("complete",t.callback.bind(t,null))}if(!t.uri&&t.url){t.uri=t.url;delete t.url}if(t.baseUrl){if(typeof t.baseUrl!=="string"){return t.emit("error",new Error("options.baseUrl must be a string"))}if(typeof t.uri!=="string"){return t.emit("error",new Error("options.uri must be a string when using options.baseUrl"))}if(t.uri.indexOf("//")===0||t.uri.indexOf("://")!==-1){return t.emit("error",new Error("options.uri must be a path when using options.baseUrl"))}var a=t.baseUrl.lastIndexOf("/")===t.baseUrl.length-1;var o=t.uri.indexOf("/")===0;if(a&&o){t.uri=t.baseUrl+t.uri.slice(1)}else if(a||o){t.uri=t.baseUrl+t.uri}else if(t.uri===""){t.uri=t.baseUrl}else{t.uri=t.baseUrl+"/"+t.uri}delete t.baseUrl}if(!t.uri){return t.emit("error",new Error("options.uri is a required argument"))}if(typeof t.uri==="string"){t.uri=s.parse(t.uri)}if(!t.uri.href){t.uri.href=s.format(t.uri)}if(t.uri.protocol==="unix:"){return t.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"))}if(t.uri.host==="unix"){t.enableUnixSocket()}if(t.strictSSL===false){t.rejectUnauthorized=false}if(!t.uri.pathname){t.uri.pathname="/"}if(!(t.uri.host||t.uri.hostname&&t.uri.port)&&!t.uri.isUnix){var u=s.format(t.uri);var c='Invalid URI "'+u+'"';if(Object.keys(e).length===0){c+=". This can be caused by a crappy redirection."}t.abort();return t.emit("error",new Error(c))}if(!t.hasOwnProperty("proxy")){t.proxy=w(t.uri)}t.tunnel=t._tunnel.isEnabled();if(t.proxy){t._tunnel.setup(e)}t._redirect.onRequest(e);t.setHost=false;if(!t.hasHeader("host")){var l=t.originalHostHeaderName||"host";t.setHeader(l,t.uri.host);if(t.uri.port){if(t.uri.port==="80"&&t.uri.protocol==="http:"||t.uri.port==="443"&&t.uri.protocol==="https:"){t.setHeader(l,t.uri.hostname)}}t.setHost=true}t.jar(t._jar||e.jar);if(!t.uri.port){if(t.uri.protocol==="http:"){t.uri.port=80}else if(t.uri.protocol==="https:"){t.uri.port=443}}if(t.proxy&&!t.tunnel){t.port=t.proxy.port;t.host=t.proxy.hostname}else{t.port=t.uri.port;t.host=t.uri.hostname}if(e.form){t.form(e.form)}if(e.formData){var p=e.formData;var m=t.form();var b=function(e,t){if(t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")){m.append(e,t.value,t.options)}else{m.append(e,t)}};for(var S in p){if(p.hasOwnProperty(S)){var v=p[S];if(v instanceof Array){for(var j=0;j=100&&e<200||e===204||e===304};var c;if(t.gzip&&!o(e.statusCode)){var l=e.headers["content-encoding"]||"identity";l=l.trim().toLowerCase();var p={flush:u.Z_SYNC_FLUSH,finishFlush:u.Z_SYNC_FLUSH};if(l==="gzip"){c=u.createGunzip(p);e.pipe(c)}else if(l==="deflate"){c=u.createInflate(p);e.pipe(c)}else{if(l!=="identity"){debug("ignoring unrecognized Content-Encoding "+l)}c=e}}else{c=e}if(t.encoding){if(t.dests.length!==0){console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.")}else{c.setEncoding(t.encoding)}}if(t._paused){c.pause()}t.responseContent=c;t.emit("response",e);t.dests.forEach(function(e){t.pipeDest(e)});c.on("data",function(i){if(t.timing&&!t.responseStarted){t.responseStartTime=(new Date).getTime();e.responseStartTime=t.responseStartTime}t._destdata=true;t.emit("data",i)});c.once("end",function(e){t.emit("end",e)});c.on("error",function(e){t.emit("error",e)});c.on("close",function(){t.emit("close")});if(t.callback){t.readResponseBody(e)}else{t.on("end",function(){if(t._aborted){debug("aborted",t.uri.href);return}t.emit("complete",e)})}}debug("finish init function",t.uri.href)};Request.prototype.readResponseBody=function(e){var t=this;debug("reading response's body");var i=[];var n=0;var r=[];t.on("data",function(e){if(!R.isBuffer(e)){r.push(e)}else if(e.length){n+=e.length;i.push(e)}});t.on("end",function(){debug("end event",t.uri.href);if(t._aborted){debug("aborted",t.uri.href);i=[];n=0;return}if(n){debug("has body",t.uri.href,n);e.body=R.concat(i,n);if(t.encoding!==null){e.body=e.body.toString(t.encoding)}i=[];n=0}else if(r.length){if(t.encoding==="utf8"&&r[0].length>0&&r[0][0]==="\ufeff"){r[0]=r[0].substring(1)}e.body=r.join("")}if(t._json){try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){debug("invalid JSON received",t.uri.href)}}debug("emitting complete",t.uri.href);if(typeof e.body==="undefined"&&!t._json){e.body=t.encoding===null?R.alloc(0):""}t.emit("complete",e,e.body)})};Request.prototype.abort=function(){var e=this;e._aborted=true;if(e.req){e.req.abort()}else if(e.response){e.response.destroy()}e.clearTimeout();e.emit("abort")};Request.prototype.pipeDest=function(e){var t=this;var i=t.response;if(e.headers&&!e.headersSent){if(i.caseless.has("content-type")){var n=i.caseless.has("content-type");if(e.setHeader){e.setHeader(n,i.headers[n])}else{e.headers[n]=i.headers[n]}}if(i.caseless.has("content-length")){var r=i.caseless.has("content-length");if(e.setHeader){e.setHeader(r,i.headers[r])}else{e.headers[r]=i.headers[r]}}}if(e.setHeader&&!e.headersSent){for(var s in i.headers){if(!t.gzip||s!=="content-encoding"){e.setHeader(s,i.headers[s])}}e.statusCode=i.statusCode}if(t.pipefilter){t.pipefilter(i,e)}};Request.prototype.qs=function(e,t){var i=this;var n;if(!t&&i.uri.query){n=i._qs.parse(i.uri.query)}else{n={}}for(var r in e){n[r]=e[r]}var a=i._qs.stringify(n);if(a===""){return i}i.uri=s.parse(i.uri.href.split("?")[0]+"?"+a);i.url=i.uri;i.path=i.uri.path;if(i.uri.host==="unix"){i.enableUnixSocket()}return i};Request.prototype.form=function(e){var t=this;if(e){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.setHeader("content-type","application/x-www-form-urlencoded")}t.body=typeof e==="string"?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8");return t}t._form=new m;t._form.on("error",function(e){e.message="form-data: "+e.message;t.emit("error",e);t.abort()});return t._form};Request.prototype.multipart=function(e){var t=this;t._multipart.onRequest(e);if(!t._multipart.chunked){t.body=t._multipart.body}return t};Request.prototype.json=function(e){var t=this;if(!t.hasHeader("accept")){t.setHeader("accept","application/json")}if(typeof t.jsonReplacer==="function"){t._jsonReplacer=t.jsonReplacer}t._json=true;if(typeof e==="boolean"){if(t.body!==undefined){if(!/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))){t.body=x(t.body,t._jsonReplacer)}else{t.body=t._qs.rfc3986(t.body)}if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}}else{t.body=x(e,t._jsonReplacer);if(!t.hasHeader("content-type")){t.setHeader("content-type","application/json")}}if(typeof t.jsonReviver==="function"){t._jsonReviver=t.jsonReviver}return t};Request.prototype.getHeader=function(e,t){var i=this;var n,r,s;if(!t){t=i.headers}Object.keys(t).forEach(function(i){if(i.length!==e.length){return}r=new RegExp(e,"i");s=i.match(r);if(s){n=t[i]}});return n};Request.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":");var t=e[0];var i=e[1];this.socketPath=t;this.uri.pathname=i;this.uri.path=i;this.uri.host=t;this.uri.hostname=t;this.uri.isUnix=true};Request.prototype.auth=function(e,t,i,n){var r=this;r._auth.onRequest(e,t,i,n);return r};Request.prototype.aws=function(e,t){var i=this;if(!t){i._aws=e;return i}if(e.sign_version===4||e.sign_version==="4"){var n={host:i.uri.host,path:i.uri.path,method:i.method,headers:i.headers,body:i.body};if(e.service){n.service=e.service}var r=l.sign(n,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});i.setHeader("authorization",r.headers.Authorization);i.setHeader("x-amz-date",r.headers["X-Amz-Date"]);if(r.headers["X-Amz-Security-Token"]){i.setHeader("x-amz-security-token",r.headers["X-Amz-Security-Token"])}}else{var s=new Date;i.setHeader("date",s.toUTCString());var a={key:e.key,secret:e.secret,verb:i.method.toUpperCase(),date:s,contentType:i.getHeader("content-type")||"",md5:i.getHeader("content-md5")||"",amazonHeaders:c.canonicalizeHeaders(i.headers)};var o=i.uri.path;if(e.bucket&&o){a.resource="/"+e.bucket+o}else if(e.bucket&&!o){a.resource="/"+e.bucket}else if(!e.bucket&&o){a.resource=o}else if(!e.bucket&&!o){a.resource="/"}a.resource=c.canonicalizeResource(a.resource);i.setHeader("authorization",c.authorization(a))}return i};Request.prototype.httpSignature=function(e){var t=this;p.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,i){t.setHeader(e,i)},method:t.method,path:t.path},e);debug("httpSignature authorization",t.getHeader("authorization"));return t};Request.prototype.hawk=function(e){var t=this;t.setHeader("Authorization",C.header(t.uri,t.method,e))};Request.prototype.oauth=function(e){var t=this;t._oauth.onRequest(e);return t};Request.prototype.jar=function(e){var t=this;var i;if(t._redirect.redirectsFollowed===0){t.originalCookieHeader=t.getHeader("cookie")}if(!e){i=false;t._disableCookies=true}else{var n=e.getCookieString?e:I;var r=t.uri.href;if(n){i=n.getCookieString(r)}}if(i&&i.length){if(t.originalCookieHeader){t.setHeader("cookie",t.originalCookieHeader+"; "+i)}else{t.setHeader("cookie",i)}}t._jar=e;return t};Request.prototype.pipe=function(e,t){var i=this;if(i.response){if(i._destdata){i.emit("error",new Error("You cannot pipe after data has been emitted from the response."))}else if(i._ended){i.emit("error",new Error("You cannot pipe after the response has been ended."))}else{o.Stream.prototype.pipe.call(i,e,t);i.pipeDest(e);return e}}else{i.dests.push(e);o.Stream.prototype.pipe.call(i,e,t);return e}};Request.prototype.write=function(){var e=this;if(e._aborted){return}if(!e._started){e.start()}if(e.req){return e.req.write.apply(e.req,arguments)}};Request.prototype.end=function(e){var t=this;if(t._aborted){return}if(e){t.write(e)}if(!t._started){t.start()}if(t.req){t.req.end()}};Request.prototype.pause=function(){var e=this;if(!e.responseContent){e._paused=true}else{e.responseContent.pause.apply(e.responseContent,arguments)}};Request.prototype.resume=function(){var e=this;if(!e.responseContent){e._paused=false}else{e.responseContent.resume.apply(e.responseContent,arguments)}};Request.prototype.destroy=function(){var e=this;this.clearTimeout();if(!e._ended){e.end()}else if(e.response){e.response.destroy()}};Request.prototype.clearTimeout=function(){if(this.timeoutTimer){clearTimeout(this.timeoutTimer);this.timeoutTimer=null}};Request.defaultProxyHeaderWhiteList=A.defaultProxyHeaderWhiteList.slice();Request.defaultProxyHeaderExclusiveList=A.defaultProxyHeaderExclusiveList.slice();Request.prototype.toJSON=requestToJSON;e.exports=Request},46624:(e,t,i)=>{"use strict";const n=i(4016);e.exports=((e={})=>new Promise((t,i)=>{const r=n.connect(e,()=>{if(e.resolveSocket){r.off("error",i);t({alpnProtocol:r.alpnProtocol,socket:r})}else{r.destroy();t({alpnProtocol:r.alpnProtocol})}});r.on("error",i)}))},9004:(e,t,i)=>{"use strict";const n=i(92413).Readable;const r=i(9662);class Response extends n{constructor(e,t,i,n){if(typeof e!=="number"){throw new TypeError("Argument `statusCode` should be a number")}if(typeof t!=="object"){throw new TypeError("Argument `headers` should be an object")}if(!(i instanceof Buffer)){throw new TypeError("Argument `body` should be a buffer")}if(typeof n!=="string"){throw new TypeError("Argument `url` should be a string")}super();this.statusCode=e;this.headers=r(t);this.body=i;this.url=n}_read(){this.push(this.body);this.push(null)}}e.exports=Response},24347:(e,t,i)=>{e.exports=i(56244)},56244:(e,t,i)=>{var n=i(45369);t.operation=function(e){var i=t.timeouts(e);return new n(i,{forever:e&&e.forever,unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var i in e){t[i]=e[i]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var n=[];for(var r=0;r{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var i=this._timeouts.shift();if(i===undefined){if(this._cachedTimeouts){this._errors.splice(this._errors.length-1,this._errors.length);this._timeouts=this._cachedTimeouts.slice(0);i=this._timeouts.shift()}else{return false}}var n=this;var r=setTimeout(function(){n._attempts++;if(n._operationTimeoutCb){n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout);if(n._options.unref){n._timeout.unref()}}n._fn(n._attempts)},i);if(this._options.unref){r.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var i=this;if(this._operationTimeoutCb){this._timeout=setTimeout(function(){i._operationTimeoutCb()},i._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var i=0;for(var n=0;n=i){t=r;i=a}}return t}},3487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function parse(e,t,i){if(i===void 0){i={}}if(!t.codes){t.codes={};for(var n=0;n=8){a-=8;s[u++]=255&o>>a}}if(a>=t.bits||255&o<<8-a){throw new SyntaxError("Unexpected end of data")}return s}function stringify(e,t,i){if(i===void 0){i={}}var n=i,r=n.pad,s=r===void 0?true:r;var a=(1<t.bits){u-=t.bits;o+=t.chars[a&c>>u]}}if(u){o+=t.chars[a&c<{const n=i(42357);const r=i(85622);const s=i(35747);let a=undefined;try{a=i(91957)}catch(e){}const o={nosort:true,silent:true};let u=0;const c=process.platform==="win32";const l=e=>{const t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach(t=>{e[t]=e[t]||s[t];t=t+"Sync";e[t]=e[t]||s[t]});e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&a===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||o};const p=(e,t,i)=>{if(typeof t==="function"){i=t;t={}}n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n.equal(typeof i,"function","rimraf: callback function required");n(t,"rimraf: invalid options argument provided");n.equal(typeof t,"object","rimraf: options should be object");l(t);let r=0;let s=null;let o=0;const c=e=>{s=s||e;if(--o===0)i(s)};const p=(e,n)=>{if(e)return i(e);o=n.length;if(o===0)return i();n.forEach(e=>{const i=n=>{if(n){if((n.code==="EBUSY"||n.code==="ENOTEMPTY"||n.code==="EPERM")&&rd(e,t,i),r*100)}if(n.code==="EMFILE"&&ud(e,t,i),u++)}if(n.code==="ENOENT")n=null}u=0;c(n)};d(e,t,i)})};if(t.disableGlob||!a.hasMagic(e))return p(null,[e]);t.lstat(e,(i,n)=>{if(!i)return p(null,[e]);a(e,t.glob,p)})};const d=(e,t,i)=>{n(e);n(t);n(typeof i==="function");t.lstat(e,(n,r)=>{if(n&&n.code==="ENOENT")return i(null);if(n&&n.code==="EPERM"&&c)f(e,t,n,i);if(r&&r.isDirectory())return m(e,t,n,i);t.unlink(e,n=>{if(n){if(n.code==="ENOENT")return i(null);if(n.code==="EPERM")return c?f(e,t,n,i):m(e,t,n,i);if(n.code==="EISDIR")return m(e,t,n,i)}return i(n)})})};const f=(e,t,i,r)=>{n(e);n(t);n(typeof r==="function");t.chmod(e,438,n=>{if(n)r(n.code==="ENOENT"?null:i);else t.stat(e,(n,s)=>{if(n)r(n.code==="ENOENT"?null:i);else if(s.isDirectory())m(e,t,i,r);else t.unlink(e,r)})})};const h=(e,t,i)=>{n(e);n(t);try{t.chmodSync(e,438)}catch(e){if(e.code==="ENOENT")return;else throw i}let r;try{r=t.statSync(e)}catch(e){if(e.code==="ENOENT")return;else throw i}if(r.isDirectory())y(e,t,i);else t.unlinkSync(e)};const m=(e,t,i,r)=>{n(e);n(t);n(typeof r==="function");t.rmdir(e,n=>{if(n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM"))b(e,t,r);else if(n&&n.code==="ENOTDIR")r(i);else r(n)})};const b=(e,t,i)=>{n(e);n(t);n(typeof i==="function");t.readdir(e,(n,s)=>{if(n)return i(n);let a=s.length;if(a===0)return t.rmdir(e,i);let o;s.forEach(n=>{p(r.join(e,n),t,n=>{if(o)return;if(n)return i(o=n);if(--a===0)t.rmdir(e,i)})})})};const g=(e,t)=>{t=t||{};l(t);n(e,"rimraf: missing path");n.equal(typeof e,"string","rimraf: path should be a string");n(t,"rimraf: missing options");n.equal(typeof t,"object","rimraf: options should be object");let i;if(t.disableGlob||!a.hasMagic(e)){i=[e]}else{try{t.lstatSync(e);i=[e]}catch(n){i=a.sync(e,t.glob)}}if(!i.length)return;for(let e=0;e{n(e);n(t);try{t.rmdirSync(e)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw i;if(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")S(e,t)}};const S=(e,t)=>{n(e);n(t);t.readdirSync(e).forEach(i=>g(r.join(e,i),t));const i=c?100:1;let s=0;do{let n=true;try{const r=t.rmdirSync(e,t);n=false;return r}finally{if(++s{var n=i(64293);var r=n.Buffer;function copyProps(e,t){for(var i in e){t[i]=e[i]}}if(r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow){e.exports=n}else{copyProps(n,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,i){return r(e,t,i)}SafeBuffer.prototype=Object.create(r.prototype);copyProps(r,SafeBuffer);SafeBuffer.from=function(e,t,i){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return r(e,t,i)};SafeBuffer.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var n=r(e);if(t!==undefined){if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}}else{n.fill(0)}return n};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return n.SlowBuffer(e)}},15118:(e,t,i)=>{"use strict";var n=i(64293);var r=n.Buffer;var s={};var a;for(a in n){if(!n.hasOwnProperty(a))continue;if(a==="SlowBuffer"||a==="Buffer")continue;s[a]=n[a]}var o=s.Buffer={};for(a in r){if(!r.hasOwnProperty(a))continue;if(a==="allocUnsafe"||a==="allocUnsafeSlow")continue;o[a]=r[a]}s.Buffer.prototype=r.prototype;if(!o.from||o.from===Uint8Array.from){o.from=function(e,t,i){if(typeof e==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e)}if(e&&typeof e.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}return r(e,t,i)}}if(!o.alloc){o.alloc=function(e,t,i){if(typeof e!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof e)}if(e<0||e>=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var n=r(e);if(!t||t.length===0){n.fill(0)}else if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}return n}}if(!s.kStringMaxLength){try{s.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!s.constants){s.constants={MAX_LENGTH:s.kMaxLength};if(s.kStringMaxLength){s.constants.MAX_STRING_LENGTH=s.kStringMaxLength}}e.exports=s},45123:e=>{e.exports=["cat","cd","chmod","cp","dirs","echo","exec","find","grep","head","ln","ls","mkdir","mv","pwd","rm","sed","set","sort","tail","tempdir","test","to","toEnd","touch","uniq","which"]},33516:(e,t,i)=>{function __ncc_wildcard$0(e){if(e==="cat.js"||e==="cat")return i(30271);else if(e==="cd.js"||e==="cd")return i(42051);else if(e==="chmod.js"||e==="chmod")return i(24975);else if(e==="common.js"||e==="common")return i(53687);else if(e==="cp.js"||e==="cp")return i(34932);else if(e==="dirs.js"||e==="dirs")return i(41178);else if(e==="echo.js"||e==="echo")return i(10243);else if(e==="error.js"||e==="error")return i(10232);else if(e==="exec-child.js"||e==="exec-child")return i(69607);else if(e==="exec.js"||e==="exec")return i(10896);else if(e==="find.js"||e==="find")return i(47838);else if(e==="grep.js"||e==="grep")return i(17417);else if(e==="head.js"||e==="head")return i(6613);else if(e==="ln.js"||e==="ln")return i(15787);else if(e==="ls.js"||e==="ls")return i(35561);else if(e==="mkdir.js"||e==="mkdir")return i(72695);else if(e==="mv.js"||e==="mv")return i(39849);else if(e==="popd.js"||e==="popd")return i(50227);else if(e==="pushd.js"||e==="pushd")return i(44177);else if(e==="pwd.js"||e==="pwd")return i(58553);else if(e==="rm.js"||e==="rm")return i(22830);else if(e==="sed.js"||e==="sed")return i(25899);else if(e==="set.js"||e==="set")return i(11411);else if(e==="sort.js"||e==="sort")return i(72116);else if(e==="tail.js"||e==="tail")return i(42284);else if(e==="tempdir.js"||e==="tempdir")return i(76150);else if(e==="test.js"||e==="test")return i(79723);else if(e==="to.js"||e==="to")return i(71961);else if(e==="toEnd.js"||e==="toEnd")return i(33736);else if(e==="touch.js"||e==="touch")return i(28358);else if(e==="uniq.js"||e==="uniq")return i(77286);else if(e==="which.js"||e==="which")return i(64766)}var n=i(53687);i(45123).forEach(function(e){__ncc_wildcard$0(e)});t.exit=process.exit;t.error=i(10232);t.ShellString=n.ShellString;t.env=process.env;t.config=n.config},30271:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("cat",_cat,{canReceivePipe:true,cmdOptions:{n:"number"}});function _cat(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(e){if(!r.existsSync(e)){n.error("no such file or directory: "+e)}else if(n.statFollowLinks(e).isDirectory()){n.error(e+": Is a directory")}i+=r.readFileSync(e,"utf8")});if(e.number){i=addNumbers(i)}return i}e.exports=_cat;function addNumbers(e){var t=e.split("\n");var i=t.pop();t=t.map(function(e,t){return numberedLine(t+1,e)});if(i.length){i=numberedLine(t.length+1,i)}t.push(i);return t.join("\n")}function numberedLine(e,t){var i=(" "+e).slice(-6)+"\t";return i+t}},42051:(e,t,i)=>{var n=i(12087);var r=i(53687);r.register("cd",_cd,{});function _cd(e,t){if(!t)t=n.homedir();if(t==="-"){if(!process.env.OLDPWD){r.error("could not find previous directory")}else{t=process.env.OLDPWD}}try{var i=process.cwd();process.chdir(t);process.env.OLDPWD=i}catch(e){var s;try{r.statFollowLinks(t);s="not a directory: "+t}catch(e){s="no such file or directory: "+t}if(s)r.error(s)}return""}e.exports=_cd},24975:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);var a=function(e){return{OTHER_EXEC:e.EXEC,OTHER_WRITE:e.WRITE,OTHER_READ:e.READ,GROUP_EXEC:e.EXEC<<3,GROUP_WRITE:e.WRITE<<3,GROUP_READ:e.READ<<3,OWNER_EXEC:e.EXEC<<6,OWNER_WRITE:e.WRITE<<6,OWNER_READ:e.READ<<6,STICKY:parseInt("01000",8),SETGID:parseInt("02000",8),SETUID:parseInt("04000",8),TYPE_MASK:parseInt("0770000",8)}}({EXEC:1,WRITE:2,READ:4});n.register("chmod",_chmod,{});function _chmod(e,t,i){if(!i){if(e.length>0&&e.charAt(0)==="-"){[].unshift.call(arguments,"")}else{n.error("You must specify a file.")}}e=n.parseOptions(e,{R:"recursive",c:"changes",v:"verbose"});i=[].slice.call(arguments,2);var o;if(e.recursive){o=[];i.forEach(function addFile(e){var t=n.statNoFollowLinks(e);if(!t.isSymbolicLink()){o.push(e);if(t.isDirectory()){r.readdirSync(e).forEach(function(t){addFile(e+"/"+t)})}}})}else{o=i}o.forEach(function innerChmod(i){i=s.resolve(i);if(!r.existsSync(i)){n.error("File not found: "+i)}if(e.recursive&&n.statNoFollowLinks(i).isSymbolicLink()){return}var o=n.statFollowLinks(i);var u=o.isDirectory();var c=o.mode;var l=c&a.TYPE_MASK;var p=c;if(isNaN(parseInt(t,8))){t.split(",").forEach(function(t){var s=/([ugoa]*)([=\+-])([rwxXst]*)/i;var o=s.exec(t);if(o){var d=o[1];var f=o[2];var h=o[3];var m=d.indexOf("u")!==-1||d==="a"||d==="";var b=d.indexOf("g")!==-1||d==="a"||d==="";var g=d.indexOf("o")!==-1||d==="a"||d==="";var y=h.indexOf("r")!==-1;var S=h.indexOf("w")!==-1;var v=h.indexOf("x")!==-1;var w=h.indexOf("X")!==-1;var j=h.indexOf("t")!==-1;var z=h.indexOf("s")!==-1;if(w&&u){v=true}var O=0;if(m){O|=(y?a.OWNER_READ:0)+(S?a.OWNER_WRITE:0)+(v?a.OWNER_EXEC:0)+(z?a.SETUID:0)}if(b){O|=(y?a.GROUP_READ:0)+(S?a.GROUP_WRITE:0)+(v?a.GROUP_EXEC:0)+(z?a.SETGID:0)}if(g){O|=(y?a.OTHER_READ:0)+(S?a.OTHER_WRITE:0)+(v?a.OTHER_EXEC:0)}if(j){O|=a.STICKY}switch(f){case"+":p|=O;break;case"-":p&=~O;break;case"=":p=l+O;if(n.statFollowLinks(i).isDirectory()){p|=a.SETUID+a.SETGID&c}break;default:n.error("Could not recognize operator: `"+f+"`")}if(e.verbose){console.log(i+" -> "+p.toString(8))}if(c!==p){if(!e.verbose&&e.changes){console.log(i+" -> "+p.toString(8))}r.chmodSync(i,p);c=p}}else{n.error("Invalid symbolic mode change: "+t)}})}else{p=l+parseInt(t,8);if(n.statFollowLinks(i).isDirectory()){p|=a.SETUID+a.SETGID&c}r.chmodSync(i,p)}});return""}e.exports=_chmod},53687:(e,t,i)=>{"use strict";var n=i(12087);var r=i(35747);var s=i(91957);var a=i(33516);var o=Object.create(a);t.extend=Object.assign;var u=Boolean(process.versions.electron);var c={fatal:false,globOptions:{},maxdepth:255,noglob:false,silent:false,verbose:false,execPath:null,bufLength:64*1024};var l={reset:function(){Object.assign(this,c);if(!u){this.execPath=process.execPath}},resetForTesting:function(){this.reset();this.silent=true}};l.reset();t.config=l;var p={error:null,errorCode:0,currentCmd:"shell.js"};t.state=p;delete process.env.OLDPWD;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function log(){if(!l.silent){console.error.apply(console,arguments)}}t.log=log;function convertErrorOutput(e){if(typeof e!=="string"){throw new TypeError("input must be a string")}return e.replace(/\\/g,"/")}t.convertErrorOutput=convertErrorOutput;function error(e,t,i){if(typeof e!=="string")throw new Error("msg must be a string");var n={continue:false,code:1,prefix:p.currentCmd+": ",silent:false};if(typeof t==="number"&&isObject(i)){i.code=t}else if(isObject(t)){i=t}else if(typeof t==="number"){i={code:t}}else if(typeof t!=="number"){i={}}i=Object.assign({},n,i);if(!p.errorCode)p.errorCode=i.code;var r=convertErrorOutput(i.prefix+e);p.error=p.error?p.error+"\n":"";p.error+=r;if(l.fatal)throw new Error(r);if(e.length>0&&!i.silent)log(r);if(!i.continue){throw{msg:"earlyExit",retValue:new ShellString("",p.error,p.errorCode)}}}t.error=error;function ShellString(e,t,i){var n;if(e instanceof Array){n=e;n.stdout=e.join("\n");if(e.length>0)n.stdout+="\n"}else{n=new String(e);n.stdout=e}n.stderr=t;n.code=i;h.forEach(function(e){n[e]=o[e].bind(n)});return n}t.ShellString=ShellString;function parseOptions(e,t,i){if(typeof e!=="string"&&!isObject(e)){throw new Error("options must be strings or key-value pairs")}else if(!isObject(t)){throw new Error("parseOptions() internal error: map must be an object")}else if(i&&!isObject(i)){throw new Error("parseOptions() internal error: errorOptions must be object")}if(e==="--"){return{}}var n={};Object.keys(t).forEach(function(e){var i=t[e];if(i[0]!=="!"){n[i]=false}});if(e==="")return n;if(typeof e==="string"){if(e[0]!=="-"){throw new Error("Options string must start with a '-'")}var r=e.slice(1).split("");r.forEach(function(e){if(e in t){var r=t[e];if(r[0]==="!"){n[r.slice(1)]=false}else{n[r]=true}}else{error("option not recognized: "+e,i||{})}})}else{Object.keys(e).forEach(function(r){var s=r[1];if(s in t){var a=t[s];n[a]=e[r]}else{error("option not recognized: "+s,i||{})}})}return n}t.parseOptions=parseOptions;function expand(e){if(!Array.isArray(e)){throw new TypeError("must be an array")}var t=[];e.forEach(function(e){if(typeof e!=="string"){t.push(e)}else{var i;try{i=s.sync(e,l.globOptions);i=i.length>0?i:[e]}catch(t){i=[e]}t=t.concat(i)}});return t}t.expand=expand;var d=typeof Buffer.alloc==="function"?function(e){return Buffer.alloc(e||l.bufLength)}:function(e){return new Buffer(e||l.bufLength)};t.buffer=d;function unlinkSync(e){try{r.unlinkSync(e)}catch(t){if(t.code==="EPERM"){r.chmodSync(e,"0666");r.unlinkSync(e)}else{throw t}}}t.unlinkSync=unlinkSync;function statFollowLinks(){return r.statSync.apply(r,arguments)}t.statFollowLinks=statFollowLinks;function statNoFollowLinks(){return r.lstatSync.apply(r,arguments)}t.statNoFollowLinks=statNoFollowLinks;function randomFileName(){function randomHash(e){if(e===1){return parseInt(16*Math.random(),10).toString(16)}var t="";for(var i=0;i{var n=i(35747);var r=i(85622);var s=i(53687);s.register("cp",_cp,{cmdOptions:{f:"!no_force",n:"no_force",u:"update",R:"recursive",r:"recursive",L:"followsymlink",P:"noFollowsymlink"},wrapOutput:false});function copyFileSync(e,t,i){if(!n.existsSync(e)){s.error("copyFileSync: no such file or directory: "+e)}var r=process.platform==="win32";try{if(i.update&&s.statFollowLinks(e).mtime=s.config.maxdepth)return;i++;var a=process.platform==="win32";try{n.mkdirSync(t)}catch(e){if(e.code!=="EEXIST")throw e}var o=n.readdirSync(e);for(var u=0;u and/or ")}else{t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}var a=n.existsSync(i);var o=a&&s.statFollowLinks(i);if((!a||!o.isDirectory())&&t.length>1){s.error("dest is not a directory (too many sources)")}if(a&&o.isFile()&&e.no_force){return new s.ShellString("","",0)}t.forEach(function(a,u){if(!n.existsSync(a)){if(a==="")a="''";s.error("no such file or directory: "+a,{continue:true});return}var c=s.statFollowLinks(a);if(!e.noFollowsymlink&&c.isDirectory()){if(!e.recursive){s.error("omitting directory '"+a+"'",{continue:true})}else{var l=o&&o.isDirectory()?r.join(i,r.basename(a)):i;try{s.statFollowLinks(r.dirname(i));cpdirSyncRecursive(a,l,0,{no_force:e.no_force,followsymlink:e.followsymlink})}catch(e){s.error("cannot create directory '"+i+"': No such file or directory")}}}else{var p=i;if(o&&o.isDirectory()){p=r.normalize(i+"/"+r.basename(a))}var d=n.existsSync(p);if(d&&checkRecentCreated(t,u)){if(!e.no_force){s.error("will not overwrite just-created '"+p+"' with '"+a+"'",{continue:true})}return}if(d&&e.no_force){return}if(r.relative(a,p)===""){s.error("'"+p+"' and '"+a+"' are the same file",{continue:true});return}copyFileSync(a,p,e)}});return new s.ShellString("",s.state.error,s.state.errorCode)}e.exports=_cp},41178:(e,t,i)=>{var n=i(53687);var r=i(42051);var s=i(85622);n.register("dirs",_dirs,{wrapOutput:false});n.register("pushd",_pushd,{wrapOutput:false});n.register("popd",_popd,{wrapOutput:false});var a=[];function _isStackIndex(e){return/^[\-+]\d+$/.test(e)}function _parseStackIndex(e){if(_isStackIndex(e)){if(Math.abs(e)1){i=i.splice(1,1).concat(i)}else{return n.error("no other directory")}}else if(_isStackIndex(t)){var o=_parseStackIndex(t);i=i.slice(o).concat(i.slice(0,o))}else{if(e["no-cd"]){i.splice(1,0,t)}else{i.unshift(t)}}if(e["no-cd"]){i=i.slice(1)}else{t=s.resolve(i.shift());r("",t)}a=i;return _dirs(e.quiet?"-q":"")}t.pushd=_pushd;function _popd(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{n:"no-cd",q:"quiet"});if(!a.length){return n.error("directory stack empty")}t=_parseStackIndex(t||"+0");if(e["no-cd"]||t>0||a.length+t===0){t=t>0?t-1:t;a.splice(t,1)}else{var i=s.resolve(a.shift());r("",i)}return _dirs(e.quiet?"-q":"")}t.popd=_popd;function _dirs(e,t){if(_isStackIndex(e)){t=e;e=""}e=n.parseOptions(e,{c:"clear",q:"quiet"});if(e.clear){a=[];return a}var i=_actualDirStack();if(t){t=_parseStackIndex(t);if(t<0){t=i.length+t}if(!e.quiet){n.log(i[t])}return i[t]}if(!e.quiet){n.log(i.join(" "))}return i}t.dirs=_dirs},10243:(e,t,i)=>{var n=i(31669).format;var r=i(53687);r.register("echo",_echo,{allowGlobbing:false});function _echo(e){var t=[].slice.call(arguments,e?0:1);var i={};try{i=r.parseOptions(t[0],{e:"escapes",n:"no_newline"},{silent:true});if(t[0]){t.shift()}}catch(e){r.state.error=null}var s=n.apply(null,t);if(!i.no_newline){s+="\n"}process.stdout.write(s);return s}e.exports=_echo},10232:(e,t,i)=>{var n=i(53687);function error(){return n.state.error}e.exports=error},69607:(e,t,i)=>{e=i.nmd(e);if(require.main!==e){throw new Error("This file should not be required")}var n=i(63129);var r=i(35747);var s=process.argv[2];var a=r.readFileSync(s,"utf8");var o=JSON.parse(a);var u=o.command;var c=o.execOptions;var l=o.pipe;var p=o.stdoutFile;var d=o.stderrFile;var f=n.exec(u,c,function(e){if(!e){process.exitCode=0}else if(e.code===undefined){process.exitCode=1}else{process.exitCode=e.code}});var h=r.createWriteStream(p);var m=r.createWriteStream(d);f.stdout.pipe(h);f.stderr.pipe(m);f.stdout.pipe(process.stdout);f.stderr.pipe(process.stderr);if(l){f.stdin.end(l)}},10896:(e,t,i)=>{var n=i(53687);var r=i(76150).tempDir;var s=i(58553);var a=i(85622);var o=i(35747);var u=i(63129);var c=20*1024*1024;var l=1;n.register("exec",_exec,{unix:false,canReceivePipe:true,wrapOutput:false});function execSync(e,t,p){if(!n.config.execPath){n.error("Unable to find a path to the node binary. Please manually set config.execPath")}var d=r();var f=a.resolve(d+"/"+n.randomFileName());var h=a.resolve(d+"/"+n.randomFileName());var m=a.resolve(d+"/"+n.randomFileName());t=n.extend({silent:n.config.silent,cwd:s().toString(),env:process.env,maxBuffer:c,encoding:"utf8"},t);if(o.existsSync(f))n.unlinkSync(f);if(o.existsSync(h))n.unlinkSync(h);if(o.existsSync(m))n.unlinkSync(m);t.cwd=a.resolve(t.cwd);var b={command:e,execOptions:t,pipe:p,stdoutFile:m,stderrFile:h};o.writeFileSync(f,JSON.stringify(b),"utf8");var g=[i.ab+"exec-child.js",f];if(t.silent){t.stdio="ignore"}else{t.stdio=[0,1,2]}var y=0;try{delete t.shell;u.execFileSync(n.config.execPath,g,t)}catch(e){y=e.status||l}var S="";var v="";if(t.encoding==="buffer"){S=o.readFileSync(m);v=o.readFileSync(h)}else{S=o.readFileSync(m,t.encoding);v=o.readFileSync(h,t.encoding)}try{n.unlinkSync(f)}catch(e){}try{n.unlinkSync(h)}catch(e){}try{n.unlinkSync(m)}catch(e){}if(y!==0){n.error(v,y,{continue:true,silent:true})}var w=n.ShellString(S,v,y);return w}function execAsync(e,t,i,r){t=n.extend({silent:n.config.silent,cwd:s().toString(),env:process.env,maxBuffer:c,encoding:"utf8"},t);var a=u.exec(e,t,function(e,t,i){if(r){if(!e){r(0,t,i)}else if(e.code===undefined){r(1,t,i)}else{r(e.code,t,i)}}});if(i)a.stdin.end(i);if(!t.silent){a.stdout.pipe(process.stdout);a.stderr.pipe(process.stderr)}return a}function _exec(e,t,i){t=t||{};if(!e)n.error("must specify command");var r=n.readFromPipe();if(typeof t==="function"){i=t;t={async:true}}if(typeof t==="object"&&typeof i==="function"){t.async=true}t=n.extend({silent:n.config.silent,async:false},t);if(t.async){return execAsync(e,t,r,i)}else{return execSync(e,t,r)}}e.exports=_exec},47838:(e,t,i)=>{var n=i(85622);var r=i(53687);var s=i(35561);r.register("find",_find,{});function _find(e,t){if(!t){r.error("no path specified")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}var i=[];function pushFile(e){if(process.platform==="win32"){e=e.replace(/\\/g,"/")}i.push(e)}t.forEach(function(e){var t;try{t=r.statFollowLinks(e)}catch(t){r.error("no such file or directory: "+e)}pushFile(e);if(t.isDirectory()){s({recursive:true,all:true},e).forEach(function(t){pushFile(n.join(e,t))})}});return i}e.exports=_find},17417:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("grep",_grep,{globStart:2,canReceivePipe:true,cmdOptions:{v:"inverse",l:"nameOnly",i:"ignoreCase"}});function _grep(e,t,i){var s=n.readFromPipe();if(!i&&!s)n.error("no paths given",2);i=[].slice.call(arguments,2);if(s){i.unshift("-")}var a=[];if(e.ignoreCase){t=new RegExp(t,"i")}i.forEach(function(i){if(!r.existsSync(i)&&i!=="-"){n.error("no such file or directory: "+i,2,{continue:true});return}var o=i==="-"?s:r.readFileSync(i,"utf8");if(e.nameOnly){if(o.match(t)){a.push(i)}}else{var u=o.split("\n");u.forEach(function(i){var n=i.match(t);if(e.inverse&&!n||!e.inverse&&n){a.push(i)}})}});return a.join("\n")+"\n"}e.exports=_grep},6613:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("head",_head,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function readSomeLines(e,t){var i=n.buffer();var s=i.length;var a=s;var o=0;var u=r.openSync(e,"r");var c=0;var l="";while(a===s&&c{var n=i(35747);var r=i(85622);var s=i(53687);s.register("ln",_ln,{cmdOptions:{s:"symlink",f:"force"}});function _ln(e,t,i){if(!t||!i){s.error("Missing and/or ")}t=String(t);var a=r.normalize(t).replace(RegExp(r.sep+"$"),"");var o=r.resolve(t)===a;i=r.resolve(process.cwd(),String(i));if(n.existsSync(i)){if(!e.force){s.error("Destination file exists",{continue:true})}n.unlinkSync(i)}if(e.symlink){var u=process.platform==="win32";var c=u?"file":null;var l=o?a:r.resolve(process.cwd(),r.dirname(i),t);if(!n.existsSync(l)){s.error("Source file does not exist",{continue:true})}else if(u&&s.statFollowLinks(l).isDirectory()){c="junction"}try{n.symlinkSync(c==="junction"?l:t,i,c)}catch(e){s.error(e.message)}}else{if(!n.existsSync(t)){s.error("Source file does not exist",{continue:true})}try{n.linkSync(t,i)}catch(e){s.error(e.message)}}return""}e.exports=_ln},35561:(e,t,i)=>{var n=i(85622);var r=i(35747);var s=i(53687);var a=i(91957);var o=n.sep+"**";s.register("ls",_ls,{cmdOptions:{R:"recursive",A:"all",L:"link",a:"all_deprecated",d:"directory",l:"long"}});function _ls(e,t){if(e.all_deprecated){s.log("ls: Option -a is deprecated. Use -A instead");e.all=true}if(!t){t=["."]}else{t=[].slice.call(arguments,1)}var i=[];function pushFile(t,n,r){if(process.platform==="win32"){n=n.replace(/\\/g,"/")}if(e.long){r=r||(e.link?s.statFollowLinks(t):s.statNoFollowLinks(t));i.push(addLsAttributes(n,r))}else{i.push(n)}}t.forEach(function(t){var i;try{i=e.link?s.statFollowLinks(t):s.statNoFollowLinks(t);if(i.isSymbolicLink()){try{var u=s.statFollowLinks(t);if(u.isDirectory()){i=u}}catch(e){}}}catch(e){s.error("no such file or directory: "+t,2,{continue:true});return}if(i.isDirectory()&&!e.directory){if(e.recursive){a.sync(t+o,{dot:e.all,follow:e.link}).forEach(function(e){if(n.relative(t,e)){pushFile(e,n.relative(t,e))}})}else if(e.all){r.readdirSync(t).forEach(function(e){pushFile(n.join(t,e),e)})}else{r.readdirSync(t).forEach(function(e){if(e[0]!=="."){pushFile(n.join(t,e),e)}})}}else{pushFile(t,t,i)}});return i}function addLsAttributes(e,t){t.name=e;t.toString=function(){return[this.mode,this.nlink,this.uid,this.gid,this.size,this.mtime,this.name].join(" ")};return t}e.exports=_ls},72695:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("mkdir",_mkdir,{cmdOptions:{p:"fullpath"}});function mkdirSyncRecursive(e){var t=s.dirname(e);if(t===e){n.error("dirname() failed: ["+e+"]")}if(r.existsSync(t)){r.mkdirSync(e,parseInt("0777",8));return}mkdirSyncRecursive(t);r.mkdirSync(e,parseInt("0777",8))}function _mkdir(e,t){if(!t)n.error("no paths given");if(typeof t==="string"){t=[].slice.call(arguments,1)}t.forEach(function(t){try{var i=n.statNoFollowLinks(t);if(!e.fullpath){n.error("path already exists: "+t,{continue:true})}else if(i.isFile()){n.error("cannot create directory "+t+": File exists",{continue:true})}return}catch(e){}var a=s.dirname(t);if(!r.existsSync(a)&&!e.fullpath){n.error("no such file or directory: "+a,{continue:true});return}try{if(e.fullpath){mkdirSyncRecursive(s.resolve(t))}else{r.mkdirSync(t,parseInt("0777",8))}}catch(e){var o;if(e.code==="EACCES"){o="Permission denied"}else if(e.code==="ENOTDIR"||e.code==="ENOENT"){o="Not a directory"}else{throw e}n.error("cannot create directory "+t+": "+o,{continue:true})}});return""}e.exports=_mkdir},39849:(e,t,i)=>{var n=i(35747);var r=i(85622);var s=i(53687);var a=i(34932);var o=i(22830);s.register("mv",_mv,{cmdOptions:{f:"!no_force",n:"no_force"}});function checkRecentCreated(e,t){var i=e[t];return e.slice(0,t).some(function(e){return r.basename(e)===r.basename(i)})}function _mv(e,t,i){if(arguments.length<3){s.error("missing and/or ")}else if(arguments.length>3){t=[].slice.call(arguments,1,arguments.length-1);i=arguments[arguments.length-1]}else if(typeof t==="string"){t=[t]}else{s.error("invalid arguments")}var u=n.existsSync(i);var c=u&&s.statFollowLinks(i);if((!u||!c.isDirectory())&&t.length>1){s.error("dest is not a directory (too many sources)")}if(u&&c.isFile()&&e.no_force){s.error("dest file already exists: "+i)}t.forEach(function(u,c){if(!n.existsSync(u)){s.error("no such file or directory: "+u,{continue:true});return}var l=i;if(n.existsSync(i)&&s.statFollowLinks(i).isDirectory()){l=r.normalize(i+"/"+r.basename(u))}var p=n.existsSync(l);if(p&&checkRecentCreated(t,c)){if(!e.no_force){s.error("will not overwrite just-created '"+l+"' with '"+u+"'",{continue:true})}return}if(n.existsSync(l)&&e.no_force){s.error("dest file already exists: "+l,{continue:true});return}if(r.resolve(u)===r.dirname(r.resolve(l))){s.error("cannot move to self: "+u,{continue:true});return}try{n.renameSync(u,l)}catch(e){if(e.code==="EXDEV"){a("-r",u,l);o("-rf",u)}}});return""}e.exports=_mv},50227:()=>{},44177:()=>{},58553:(e,t,i)=>{var n=i(85622);var r=i(53687);r.register("pwd",_pwd,{allowGlobbing:false});function _pwd(){var e=n.resolve(process.cwd());return e}e.exports=_pwd},22830:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("rm",_rm,{cmdOptions:{f:"force",r:"recursive",R:"recursive"}});function rmdirSyncRecursive(e,t,i){var s;s=r.readdirSync(e);for(var a=0;a1e3)throw e}else if(e.code==="ENOENT"){break}else{throw e}}}}catch(t){n.error("could not remove directory (code "+t.code+"): "+e,{continue:true})}return c}function isWriteable(e){var t=true;try{var i=r.openSync(e,"a");r.closeSync(i)}catch(e){t=false}return t}function handleFile(e,t){if(t.force||isWriteable(e)){n.unlinkSync(e)}else{n.error("permission denied: "+e,{continue:true})}}function handleDirectory(e,t){if(t.recursive){rmdirSyncRecursive(e,t.force)}else{n.error("path is a directory",{continue:true})}}function handleSymbolicLink(e,t){var i;try{i=n.statFollowLinks(e)}catch(t){n.unlinkSync(e);return}if(i.isFile()){n.unlinkSync(e)}else if(i.isDirectory()){if(e[e.length-1]==="/"){if(t.recursive){var r=true;rmdirSyncRecursive(e,t.force,r)}else{n.error("path is a directory",{continue:true})}}else{n.unlinkSync(e)}}}function handleFIFO(e){n.unlinkSync(e)}function _rm(e,t){if(!t)n.error("no paths given");t=[].slice.call(arguments,1);t.forEach(function(t){var i;try{var r=t[t.length-1]==="/"?t.slice(0,-1):t;i=n.statNoFollowLinks(r)}catch(i){if(!e.force){n.error("no such file or directory: "+t,{continue:true})}return}if(i.isFile()){handleFile(t,e)}else if(i.isDirectory()){handleDirectory(t,e)}else if(i.isSymbolicLink()){handleSymbolicLink(t,e)}else if(i.isFIFO()){handleFIFO(t)}});return""}e.exports=_rm},25899:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("sed",_sed,{globStart:3,canReceivePipe:true,cmdOptions:{i:"inplace"}});function _sed(e,t,i,s){var a=n.readFromPipe();if(typeof i!=="string"&&typeof i!=="function"){if(typeof i==="number"){i=i.toString()}else{n.error("invalid replacement string")}}if(typeof t==="string"){t=RegExp(t)}if(!s&&!a){n.error("no files given")}s=[].slice.call(arguments,3);if(a){s.unshift("-")}var o=[];s.forEach(function(s){if(!r.existsSync(s)&&s!=="-"){n.error("no such file or directory: "+s,2,{continue:true});return}var u=s==="-"?a:r.readFileSync(s,"utf8");var c=u.split("\n");var l=c.map(function(e){return e.replace(t,i)}).join("\n");o.push(l);if(e.inplace){r.writeFileSync(s,l,"utf8")}});return o.join("\n")}e.exports=_sed},11411:(e,t,i)=>{var n=i(53687);n.register("set",_set,{allowGlobbing:false,wrapOutput:false});function _set(e){if(!e){var t=[].slice.call(arguments,0);if(t.length<2)n.error("must provide an argument");e=t[1]}var i=e[0]==="+";if(i){e="-"+e.slice(1)}e=n.parseOptions(e,{e:"fatal",v:"verbose",f:"noglob"});if(i){Object.keys(e).forEach(function(t){e[t]=!e[t]})}Object.keys(e).forEach(function(t){if(i!==e[t]){n.config[t]=e[t]}});return}e.exports=_set},72116:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("sort",_sort,{canReceivePipe:true,cmdOptions:{r:"reverse",n:"numerical"}});function parseNumber(e){var t=e.match(/^\s*(\d*)\s*(.*)$/);return{num:Number(t[1]),value:t[2]}}function unixCmp(e,t){var i=e.toLowerCase();var n=t.toLowerCase();return i===n?-1*e.localeCompare(t):i.localeCompare(n)}function numericalCmp(e,t){var i=parseNumber(e);var n=parseNumber(t);if(i.hasOwnProperty("num")&&n.hasOwnProperty("num")){return i.num!==n.num?i.num-n.num:unixCmp(i.value,n.value)}else{return unixCmp(i.value,n.value)}}function _sort(e,t){var i=n.readFromPipe();if(!t&&!i)n.error("no files given");t=[].slice.call(arguments,1);if(i){t.unshift("-")}var s=t.reduce(function(e,t){if(t!=="-"){if(!r.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return e}else if(n.statFollowLinks(t).isDirectory()){n.error("read failed: "+t+": Is a directory",{continue:true});return e}}var s=t==="-"?i:r.readFileSync(t,"utf8");return e.concat(s.trimRight().split("\n"))},[]);var a=s.sort(e.numerical?numericalCmp:unixCmp);if(e.reverse){a=a.reverse()}return a.join("\n")+"\n"}e.exports=_sort},42284:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("tail",_tail,{canReceivePipe:true,cmdOptions:{n:"numLines"}});function _tail(e,t){var i=[];var s=n.readFromPipe();if(!t&&!s)n.error("no paths given");var a=1;if(e.numLines===true){a=2;e.numLines=Number(arguments[1])}else if(e.numLines===false){e.numLines=10}e.numLines=-1*Math.abs(e.numLines);t=[].slice.call(arguments,a);if(s){t.unshift("-")}var o=false;t.forEach(function(t){if(t!=="-"){if(!r.existsSync(t)){n.error("no such file or directory: "+t,{continue:true});return}else if(n.statFollowLinks(t).isDirectory()){n.error("error reading '"+t+"': Is a directory",{continue:true});return}}var a=t==="-"?s:r.readFileSync(t,"utf8");var u=a.split("\n");if(u[u.length-1]===""){u.pop();o=true}else{o=false}i=i.concat(u.slice(e.numLines))});if(o){i.push("")}return i.join("\n")}e.exports=_tail},76150:(e,t,i)=>{var n=i(53687);var r=i(12087);var s=i(35747);n.register("tempdir",_tempDir,{allowGlobbing:false,wrapOutput:false});function writeableDir(e){if(!e||!s.existsSync(e))return false;if(!n.statFollowLinks(e).isDirectory())return false;var t=e+"/"+n.randomFileName();try{s.writeFileSync(t," ");n.unlinkSync(t);return e}catch(e){return false}}var a;function _tempDir(){if(a)return a;a=writeableDir(r.tmpdir())||writeableDir(process.env.TMPDIR)||writeableDir(process.env.TEMP)||writeableDir(process.env.TMP)||writeableDir(process.env.Wimp$ScrapDir)||writeableDir("C:\\TEMP")||writeableDir("C:\\TMP")||writeableDir("\\TEMP")||writeableDir("\\TMP")||writeableDir("/tmp")||writeableDir("/var/tmp")||writeableDir("/usr/tmp")||writeableDir(".");return a}function isCached(){return a}function clearCache(){a=undefined}e.exports.tempDir=_tempDir;e.exports.isCached=isCached;e.exports.clearCache=clearCache},79723:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("test",_test,{cmdOptions:{b:"block",c:"character",d:"directory",e:"exists",f:"file",L:"link",p:"pipe",S:"socket"},wrapOutput:false,allowGlobbing:false});function _test(e,t){if(!t)n.error("no path given");var i=false;Object.keys(e).forEach(function(t){if(e[t]===true){i=true}});if(!i)n.error("could not interpret expression");if(e.link){try{return n.statNoFollowLinks(t).isSymbolicLink()}catch(e){return false}}if(!r.existsSync(t))return false;if(e.exists)return true;var s=n.statFollowLinks(t);if(e.block)return s.isBlockDevice();if(e.character)return s.isCharacterDevice();if(e.directory)return s.isDirectory();if(e.file)return s.isFile();if(e.pipe)return s.isFIFO();if(e.socket)return s.isSocket();return false}e.exports=_test},71961:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("to",_to,{pipeOnly:true,wrapOutput:false});function _to(e,t){if(!t)n.error("wrong arguments");if(!r.existsSync(s.dirname(t))){n.error("no such file or directory: "+s.dirname(t))}try{r.writeFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not write to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_to},33736:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("toEnd",_toEnd,{pipeOnly:true,wrapOutput:false});function _toEnd(e,t){if(!t)n.error("wrong arguments");if(!r.existsSync(s.dirname(t))){n.error("no such file or directory: "+s.dirname(t))}try{r.appendFileSync(t,this.stdout||this.toString(),"utf8");return this}catch(e){n.error("could not append to file (code "+e.code+"): "+t,{continue:true})}}e.exports=_toEnd},28358:(e,t,i)=>{var n=i(53687);var r=i(35747);n.register("touch",_touch,{cmdOptions:{a:"atime_only",c:"no_create",d:"date",m:"mtime_only",r:"reference"}});function _touch(e,t){if(!t){n.error("no files given")}else if(typeof t==="string"){t=[].slice.call(arguments,1)}else{n.error("file arg should be a string file path or an Array of string file paths")}t.forEach(function(t){touchFile(e,t)});return""}function touchFile(e,t){var i=tryStatFile(t);if(i&&i.isDirectory()){return}if(!i&&e.no_create){return}r.closeSync(r.openSync(t,"a"));var s=new Date;var a=e.date||s;var o=e.date||s;if(e.reference){var u=tryStatFile(e.reference);if(!u){n.error("failed to get attributess of "+e.reference)}a=u.mtime;o=u.atime}else if(e.date){a=e.date;o=e.date}if(e.atime_only&&e.mtime_only){}else if(e.atime_only){a=i.mtime}else if(e.mtime_only){o=i.atime}r.utimesSync(t,o,a)}e.exports=_touch;function tryStatFile(e){try{return n.statFollowLinks(e)}catch(e){return null}}},77286:(e,t,i)=>{var n=i(53687);var r=i(35747);function lpad(e,t){var i=""+t;if(i.length1:true}).map(function(t){return(e.count?lpad(7,t.count)+" ":"")+t.ln}).join("\n")+"\n";if(i){new n.ShellString(u).to(i);return""}else{return u}}e.exports=_uniq},64766:(e,t,i)=>{var n=i(53687);var r=i(35747);var s=i(85622);n.register("which",_which,{allowGlobbing:false,cmdOptions:{a:"all"}});var a=".com;.exe;.bat;.cmd;.vbs;.vbe;.js;.jse;.wsf;.wsh";var o=1;function isWindowsPlatform(){return process.platform==="win32"}function splitPath(e){return e?e.split(s.delimiter):[]}function isExecutable(e){try{r.accessSync(e,o)}catch(e){return false}return true}function checkPath(e){return r.existsSync(e)&&!n.statFollowLinks(e).isDirectory()&&(isWindowsPlatform()||isExecutable(e))}function _which(e,t){if(!t)n.error("must specify command");var i=isWindowsPlatform();var r=splitPath(process.env.PATH);var o=[];if(t.indexOf("/")===-1){var u=[""];if(i){var c=process.env.PATHEXT||a;u=splitPath(c.toUpperCase())}for(var l=0;l0&&!e.all)break;var p=s.resolve(r[l],t);if(i){p=p.toUpperCase()}var d=p.match(/\.[^<>:"/\|?*.]+$/);if(d&&u.indexOf(d[0])>=0){if(checkPath(p)){o.push(p);break}}else{for(var f=0;f0){return e.all?o:o[0]}return e.all?[]:null}e.exports=_which},24931:(e,t,i)=>{var n=i(42357);var r=i(63710);var s=/^win/i.test(process.platform);var a=i(28614);if(typeof a!=="function"){a=a.EventEmitter}var o;if(process.__signal_exit_emitter__){o=process.__signal_exit_emitter__}else{o=process.__signal_exit_emitter__=new a;o.count=0;o.emitted={}}if(!o.infinite){o.setMaxListeners(Infinity);o.infinite=true}e.exports=function(e,t){n.equal(typeof e,"function","a callback must be provided for exit handler");if(c===false){load()}var i="exit";if(t&&t.alwaysLast){i="afterexit"}var r=function(){o.removeListener(i,e);if(o.listeners("exit").length===0&&o.listeners("afterexit").length===0){unload()}};o.on(i,e);return r};e.exports.unload=unload;function unload(){if(!c){return}c=false;r.forEach(function(e){try{process.removeListener(e,u[e])}catch(e){}});process.emit=p;process.reallyExit=l;o.count-=1}function emit(e,t,i){if(o.emitted[e]){return}o.emitted[e]=true;o.emit(e,t,i)}var u={};r.forEach(function(e){u[e]=function listener(){var t=process.listeners(e);if(t.length===o.count){unload();emit("exit",null,e);emit("afterexit",null,e);if(s&&e==="SIGHUP"){e="SIGINT"}process.kill(process.pid,e)}}});e.exports.signals=function(){return r};e.exports.load=load;var c=false;function load(){if(c){return}c=true;o.count+=1;r=r.filter(function(e){try{process.on(e,u[e]);return true}catch(e){return false}});process.emit=processEmit;process.reallyExit=processReallyExit}var l=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);l.call(process,process.exitCode)}var p=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var i=p.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return i}else{return p.apply(this,arguments)}}},63710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},66126:(e,t,i)=>{var n=i(15118).Buffer;var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};r["curve25519"]=r["ed25519"];var s={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};s["curve25519"]=s["ed25519"];var a={md5:true,sha1:true,sha256:true,sha384:true,sha512:true};var o={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:n.from(("00"+"ffffffff 00000001 00000000 00000000"+"00000000 ffffffff ffffffff ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF 00000001 00000000 00000000"+"00000000 FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("5ac635d8 aa3a93e7 b3ebbd55 769886bc"+"651d06b0 cc53b0f6 3bce3c3e 27d2604b").replace(/ /g,""),"hex"),s:n.from(("00"+"c49d3608 86e70493 6a6678e1 139d26b7"+"819f7e90").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff 00000000 ffffffff ffffffff"+"bce6faad a7179e84 f3b9cac2 fc632551").replace(/ /g,""),"hex"),G:n.from(("04"+"6b17d1f2 e12c4247 f8bce6e5 63a440f2"+"77037d81 2deb33a0 f4a13945 d898c296"+"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16"+"2bce3357 6b315ece cbb64068 37bf51f5").replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffe"+"ffffffff 00000000 00000000 ffffffff").replace(/ /g,""),"hex"),a:n.from(("00"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE"+"FFFFFFFF 00000000 00000000 FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("b3312fa7 e23ee7e4 988e056b e3f82d19"+"181d9c6e fe814112 0314088f 5013875a"+"c656398d 8a2ed19d 2a85c8ed d3ec2aef").replace(/ /g,""),"hex"),s:n.from(("00"+"a335926a a319a27a 1d00896a 6773a482"+"7acdac73").replace(/ /g,""),"hex"),n:n.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff c7634d81 f4372ddf"+"581a0db2 48b0a77a ecec196a ccc52973").replace(/ /g,""),"hex"),G:n.from(("04"+"aa87ca22 be8b0537 8eb1c71e f320ad74"+"6e1d3b62 8ba79b98 59f741e0 82542a38"+"5502f25d bf55296c 3a545e38 72760ab7"+"3617de4a 96262c6f 5d9e98bf 9292dc29"+"f8f41dbd 289a147c e9da3113 b5f0b8c0"+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f").replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:n.from(("01ffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffff").replace(/ /g,""),"hex"),a:n.from(("01FF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:n.from(("51"+"953eb961 8e1c9a1f 929a21a0 b68540ee"+"a2da725b 99b315f3 b8b48991 8ef109e1"+"56193951 ec7e937b 1652c0bd 3bb1bf07"+"3573df88 3d2c34f1 ef451fd4 6b503f00").replace(/ /g,""),"hex"),s:n.from(("00"+"d09e8800 291cb853 96cc6717 393284aa"+"a0da64ba").replace(/ /g,""),"hex"),n:n.from(("01ff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffa"+"51868783 bf2f966b 7fcc0148 f709a5d0"+"3bb5c9b8 899c47ae bb6fb71e 91386409").replace(/ /g,""),"hex"),G:n.from(("04"+"00c6 858e06b7 0404e9cd 9e3ecb66 2395b442"+"9c648139 053fb521 f828af60 6b4d3dba"+"a14b5e77 efe75928 fe1dc127 a2ffa8de"+"3348b3c1 856a429b f97e7e31 c2e5bd66"+"0118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9"+"98f54449 579b4468 17afbd17 273e662c"+"97ee7299 5ef42640 c550b901 3fad0761"+"353c7086 a272c240 88be9476 9fd16650").replace(/ /g,""),"hex")}};e.exports={info:r,privInfo:s,hashAlgs:a,curves:o}},7406:(e,t,i)=>{e.exports=Certificate;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(13079);var u=i(91394);var c=i(27979);var l=i(31669);var p=i(80575);var d=i(36814);var f=i(29602);var h=i(70508);var m={};m["openssh"]=i(94033);m["x509"]=i(10267);m["pem"]=i(30217);var b=c.CertificateParseError;var g=c.InvalidAlgorithmError;function Certificate(e){n.object(e,"options");n.arrayOfObject(e.subjects,"options.subjects");p.assertCompatible(e.subjects[0],h,[1,0],"options.subjects");p.assertCompatible(e.subjectKey,d,[1,0],"options.subjectKey");p.assertCompatible(e.issuer,h,[1,0],"options.issuer");if(e.issuerKey!==undefined){p.assertCompatible(e.issuerKey,d,[1,0],"options.issuerKey")}n.object(e.signatures,"options.signatures");n.buffer(e.serial,"options.serial");n.date(e.validFrom,"options.validFrom");n.date(e.validUntil,"optons.validUntil");n.optionalArrayOfString(e.purposes,"options.purposes");this._hashCache={};this.subjects=e.subjects;this.issuer=e.issuer;this.subjectKey=e.subjectKey;this.issuerKey=e.issuerKey;this.signatures=e.signatures;this.serial=e.serial;this.validFrom=e.validFrom;this.validUntil=e.validUntil;this.purposes=e.purposes}Certificate.formats=m;Certificate.prototype.toBuffer=function(e,t){if(e===undefined)e="x509";n.string(e,"format");n.object(m[e],"formats[format]");n.optionalObject(t,"options");return m[e].write(this,t)};Certificate.prototype.toString=function(e,t){if(e===undefined)e="pem";return this.toBuffer(e,t).toString()};Certificate.prototype.fingerprint=function(e){if(e===undefined)e="sha256";n.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new o(t)};Certificate.prototype.hash=function(e){n.string(e,"algorithm");e=e.toLowerCase();if(s.hashAlgs[e]===undefined)throw new g(e);if(this._hashCache[e])return this._hashCache[e];var t=a.createHash(e).update(this.toBuffer("x509")).digest();this._hashCache[e]=t;return t};Certificate.prototype.isExpired=function(e){if(e===undefined)e=new Date;return!(e.getTime()>=this.validFrom.getTime()&&e.getTime()0&&this.issuer.purposes.indexOf("ca")===-1){return false}return this.isSignedByKey(e.subjectKey)};Certificate.prototype.getExtension=function(e){n.string(e,"keyOrOid");var t=this.getExtensions().filter(function(t){if(t.format==="x509")return t.oid===e;if(t.format==="openssh")return t.name===e;return false})[0];return t};Certificate.prototype.getExtensions=function(){var e=[];var t=this.signatures.x509;if(t&&t.extras&&t.extras.exts){t.extras.exts.forEach(function(t){t.format="x509";e.push(t)})}var i=this.signatures.openssh;if(i&&i.exts){i.exts.forEach(function(t){t.format="openssh";e.push(t)})}return e};Certificate.prototype.isSignedByKey=function(e){p.assertCompatible(e,d,[1,2],"issuerKey");if(this.issuerKey!==undefined){return this.issuerKey.fingerprint("sha512").matches(e)}var t=Object.keys(this.signatures)[0];var i=m[t].verify(this,e);if(i)this.issuerKey=e;return i};Certificate.prototype.signWith=function(e){p.assertCompatible(e,f,[1,2],"key");var t=Object.keys(m);var i=false;for(var n=0;n0){if(l.indexOf("serverAuth")===-1)l.push("serverAuth")}if(m.length>0){if(l.indexOf("clientAuth")===-1)l.push("clientAuth")}if(m.length>0||d.length>0){if(l.indexOf("keyAgreement")===-1)l.push("keyAgreement");if(t.type==="rsa"&&l.indexOf("encryption")===-1)l.push("encryption")}}var b=new Certificate({subjects:s,issuer:s[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:c,validFrom:a,validUntil:o,purposes:l});b.signWith(t);return b};Certificate.create=function(e,t,i,s,a){var o;if(Array.isArray(e))o=e;else o=[e];n.arrayOfObject(o);o.forEach(function(e){p.assertCompatible(e,h,[1,0],"subject")});p.assertCompatible(t,d,[1,0],"key");if(f.isPrivateKey(t))t=t.toPublic();p.assertCompatible(i,h,[1,0],"issuer");p.assertCompatible(s,f,[1,2],"issuer key");n.optionalObject(a,"options");if(a===undefined)a={};n.optionalObject(a.validFrom,"options.validFrom");n.optionalObject(a.validUntil,"options.validUntil");var u=a.validFrom;var c=a.validUntil;if(u===undefined)u=new Date;if(c===undefined){n.optionalNumber(a.lifetime,"options.lifetime");var l=a.lifetime;if(l===undefined)l=10*365*24*3600;c=new Date;c.setTime(c.getTime()+l*1e3)}n.optionalBuffer(a.serial,"options.serial");var m=a.serial;if(m===undefined)m=r.from("0000000000000001","hex");var b=a.purposes;if(b===undefined)b=[];if(b.indexOf("signature")===-1)b.push("signature");if(a.ca===true){if(b.indexOf("ca")===-1)b.push("ca");if(b.indexOf("crl")===-1)b.push("crl")}var g=o.filter(function(e){return e.type==="host"});var y=o.filter(function(e){return e.type==="user"});if(g.length>0){if(b.indexOf("serverAuth")===-1)b.push("serverAuth")}if(y.length>0){if(b.indexOf("clientAuth")===-1)b.push("clientAuth")}if(y.length>0||g.length>0){if(b.indexOf("keyAgreement")===-1)b.push("keyAgreement");if(t.type==="rsa"&&b.indexOf("encryption")===-1)b.push("encryption")}var S=new Certificate({subjects:o,issuer:i,subjectKey:t,issuerKey:s.toPublic(),signatures:{},serial:m,validFrom:u,validUntil:c,purposes:b});S.signWith(s);return S};Certificate.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var r=m[t].read(e,i);return r}catch(e){throw new b(i.filename,t,e)}};Certificate.isCertificate=function(e,t){return p.isCompatible(e,Certificate,t)};Certificate.prototype._sshpkApiVersion=[1,1];Certificate._oldVersionDetect=function(e){return[1,0]}},57602:(e,t,i)=>{e.exports={DiffieHellman:DiffieHellman,generateECDSA:generateECDSA,generateED25519:generateED25519};var n=i(66631);var r=i(76417);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(68729);var c=i(36814);var l=i(29602);var p=r.createECDH!==undefined;var d=i(49865);var f=i(3943);var h=i(85587).BigInteger;function DiffieHellman(e){o.assertCompatible(e,c,[1,4],"key");this._isPriv=l.isPrivateKey(e,[1,3]);this._algo=e.type;this._curve=e.curve;this._key=e;if(e.type==="dsa"){if(!p){throw new Error("Due to bugs in the node 0.10 "+"crypto API, node 0.12.x or later is required "+"to use DH")}this._dh=r.createDiffieHellman(e.part.p.data,undefined,e.part.g.data,undefined);this._p=e.part.p;this._g=e.part.g;if(this._isPriv)this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(!p){this._ecParams=new X9ECParameters(this._curve);if(this._isPriv){this._priv=new ECPrivate(this._ecParams,e.part.d.data)}return}var t={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];this._dh=r.createECDH(t);if(typeof this._dh!=="object"||typeof this._dh.setPrivateKey!=="function"){p=false;DiffieHellman.call(this,e);return}if(this._isPriv)this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else if(e.type==="curve25519"){if(this._isPriv){o.assertCompatible(e,l,[1,5],"key");this._priv=e.part.k.data}}else{throw new Error("DH not supported for "+e.type+" keys")}}DiffieHellman.prototype.getPublicKey=function(){if(this._isPriv)return this._key.toPublic();return this._key};DiffieHellman.prototype.getPrivateKey=function(){if(this._isPriv)return this._key;else return undefined};DiffieHellman.prototype.getKey=DiffieHellman.prototype.getPrivateKey;DiffieHellman.prototype._keyCheck=function(e,t){n.object(e,"key");if(!t)o.assertCompatible(e,l,[1,3],"key");o.assertCompatible(e,c,[1,4],"key");if(e.type!==this._algo){throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman")}if(e.curve!==this._curve){throw new Error("A key from the "+e.curve+" curve "+"cannot be used with a "+this._curve+" Diffie-Hellman")}if(e.type==="dsa"){n.deepEqual(e.part.p,this._p,"DSA key prime does not match");n.deepEqual(e.part.g,this._g,"DSA key generator does not match")}};DiffieHellman.prototype.setKey=function(e){this._keyCheck(e);if(e.type==="dsa"){this._dh.setPrivateKey(e.part.x.data);this._dh.setPublicKey(e.part.y.data)}else if(e.type==="ecdsa"){if(p){this._dh.setPrivateKey(e.part.d.data);this._dh.setPublicKey(e.part.Q.data)}else{this._priv=new ECPrivate(this._ecParams,e.part.d.data)}}else if(e.type==="curve25519"){var t=e.part.k;if(!e.part.k)t=e.part.r;this._priv=t.data;if(this._priv[0]===0)this._priv=this._priv.slice(1);this._priv=this._priv.slice(0,32)}this._key=e;this._isPriv=true};DiffieHellman.prototype.setPrivateKey=DiffieHellman.prototype.setKey;DiffieHellman.prototype.computeSecret=function(e){this._keyCheck(e,true);if(!this._isPriv)throw new Error("DH exchange has not been initialized with "+"a private key yet");var t;if(this._algo==="dsa"){return this._dh.computeSecret(e.part.y.data)}else if(this._algo==="ecdsa"){if(p){return this._dh.computeSecret(e.part.Q.data)}else{t=new ECPublic(this._ecParams,e.part.Q.data);return this._priv.deriveSharedSecret(t)}}else if(this._algo==="curve25519"){t=e.part.A.data;while(t[0]===0&&t.length>32)t=t.slice(1);var i=this._priv;n.strictEqual(t.length,32);n.strictEqual(i.length,32);var r=u.box.before(new Uint8Array(t),new Uint8Array(i));return s.from(r)}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKey=function(){var e=[];var t,i;if(this._algo==="dsa"){this._dh.generateKeys();e.push({name:"p",data:this._p.data});e.push({name:"q",data:this._key.part.q.data});e.push({name:"g",data:this._g.data});e.push({name:"y",data:this._dh.getPublicKey()});e.push({name:"x",data:this._dh.getPrivateKey()});this._key=new l({type:"dsa",parts:e});this._isPriv=true;return this._key}else if(this._algo==="ecdsa"){if(p){this._dh.generateKeys();e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:this._dh.getPublicKey()});e.push({name:"d",data:this._dh.getPrivateKey()});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}else{var a=this._ecParams.getN();var o=new h(r.randomBytes(a.bitLength()));var c=a.subtract(h.ONE);t=o.mod(c).add(h.ONE);i=this._ecParams.getG().multiply(t);t=s.from(t.toByteArray());i=s.from(this._ecParams.getCurve().encodePointHex(i),"hex");this._priv=new ECPrivate(this._ecParams,t);e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:i});e.push({name:"d",data:t});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}}else if(this._algo==="curve25519"){var d=u.box.keyPair();t=s.from(d.secretKey);i=s.from(d.publicKey);t=s.concat([t,i]);n.strictEqual(t.length,64);n.strictEqual(i.length,32);e.push({name:"A",data:i});e.push({name:"k",data:t});this._key=new l({type:"curve25519",parts:e});this._isPriv=true;return this._key}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKeys=DiffieHellman.prototype.generateKey;function X9ECParameters(e){var t=a.curves[e];n.object(t);var i=new h(t.p);var r=new h(t.a);var s=new h(t.b);var o=new h(t.n);var u=h.ONE;var c=new f.ECCurveFp(i,r,s);var l=c.decodePointHex(t.G.toString("hex"));this.curve=c;this.g=l;this.n=o;this.h=u}X9ECParameters.prototype.getCurve=function(){return this.curve};X9ECParameters.prototype.getG=function(){return this.g};X9ECParameters.prototype.getN=function(){return this.n};X9ECParameters.prototype.getH=function(){return this.h};function ECPublic(e,t){this._params=e;if(t[0]===0)t=t.slice(1);this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function ECPrivate(e,t){this._params=e;this._priv=new h(o.mpNormalize(t))}ECPrivate.prototype.deriveSharedSecret=function(e){n.ok(e instanceof ECPublic);var t=e._pub.multiply(this._priv);return s.from(t.getX().toBigInteger().toByteArray())};function generateED25519(){var e=u.sign.keyPair();var t=s.from(e.secretKey);var i=s.from(e.publicKey);n.strictEqual(t.length,64);n.strictEqual(i.length,32);var r=[];r.push({name:"A",data:i});r.push({name:"k",data:t.slice(0,32)});var a=new l({type:"ed25519",parts:r});return a}function generateECDSA(e){var t=[];var i;if(p){var n={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e];var a=r.createECDH(n);a.generateKeys();t.push({name:"curve",data:s.from(e)});t.push({name:"Q",data:a.getPublicKey()});t.push({name:"d",data:a.getPrivateKey()});i=new l({type:"ecdsa",curve:e,parts:t});return i}else{var o=new X9ECParameters(e);var u=o.getN();var c=Math.ceil((u.bitLength()+64)/8);var d=new h(r.randomBytes(c));var f=u.subtract(h.ONE);var m=d.mod(f).add(h.ONE);var b=o.getG().multiply(m);m=s.from(m.toByteArray());b=s.from(o.getCurve().encodePointHex(b),"hex");t.push({name:"curve",data:s.from(e)});t.push({name:"Q",data:b});t.push({name:"d",data:m});i=new l({type:"ecdsa",curve:e,parts:t});return i}}},14694:(e,t,i)=>{e.exports={Verifier:Verifier,Signer:Signer};var n=i(68729);var r=i(92413);var s=i(31669);var a=i(66631);var o=i(15118).Buffer;var u=i(91394);function Verifier(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Verifier,r.Writable);Verifier.prototype._write=function(e,t,i){this.chunks.push(e);i()};Verifier.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Verifier.prototype.verify=function(e,t){var i;if(u.isSignature(e,[2,0])){if(e.type!=="ed25519")return false;i=e.toBuffer("raw")}else if(typeof e==="string"){i=o.from(e,"base64")}else if(u.isSignature(e,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}a.buffer(i);return n.sign.detached.verify(new Uint8Array(o.concat(this.chunks)),new Uint8Array(i),new Uint8Array(this.key.part.A.data))};function Signer(e,t){if(t.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Signer,r.Writable);Signer.prototype._write=function(e,t,i){this.chunks.push(e);i()};Signer.prototype.update=function(e){if(typeof e==="string")e=o.from(e,"binary");this.chunks.push(e)};Signer.prototype.sign=function(){var e=n.sign.detached(new Uint8Array(o.concat(this.chunks)),new Uint8Array(o.concat([this.key.part.k.data,this.key.part.A.data])));var t=o.from(e);var i=u.parse(t,"ed25519","raw");i.hashAlgorithm="sha512";return i}},27979:(e,t,i)=>{var n=i(66631);var r=i(31669);function FingerprintFormatError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,FingerprintFormatError);this.name="FingerprintFormatError";this.fingerprint=e;this.format=t;this.message="Fingerprint format is not supported, or is invalid: ";if(e!==undefined)this.message+=" fingerprint = "+e;if(t!==undefined)this.message+=" format = "+t}r.inherits(FingerprintFormatError,Error);function InvalidAlgorithmError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,InvalidAlgorithmError);this.name="InvalidAlgorithmError";this.algorithm=e;this.message='Algorithm "'+e+'" is not supported'}r.inherits(InvalidAlgorithmError,Error);function KeyParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyParseError);this.name="KeyParseError";this.format=t;this.keyName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format key: "+i.message}r.inherits(KeyParseError,Error);function SignatureParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,SignatureParseError);this.name="SignatureParseError";this.type=e;this.format=t;this.innerErr=i;this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+i.message}r.inherits(SignatureParseError,Error);function CertificateParseError(e,t,i){if(Error.captureStackTrace)Error.captureStackTrace(this,CertificateParseError);this.name="CertificateParseError";this.format=t;this.certName=e;this.innerErr=i;this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+i.message}r.inherits(CertificateParseError,Error);function KeyEncryptedError(e,t){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyEncryptedError);this.name="KeyEncryptedError";this.format=t;this.keyName=e;this.message="The "+t+" format key "+e+" is "+"encrypted (password-protected), and no passphrase was "+"provided in `options`"}r.inherits(KeyEncryptedError,Error);e.exports={FingerprintFormatError:FingerprintFormatError,InvalidAlgorithmError:InvalidAlgorithmError,KeyParseError:KeyParseError,SignatureParseError:SignatureParseError,KeyEncryptedError:KeyEncryptedError,CertificateParseError:CertificateParseError}},13079:(e,t,i)=>{e.exports=Fingerprint;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(27979);var u=i(36814);var c=i(29602);var l=i(7406);var p=i(80575);var d=o.FingerprintFormatError;var f=o.InvalidAlgorithmError;function Fingerprint(e){n.object(e,"options");n.string(e.type,"options.type");n.buffer(e.hash,"options.hash");n.string(e.algorithm,"options.algorithm");this.algorithm=e.algorithm.toLowerCase();if(s.hashAlgs[this.algorithm]!==true)throw new f(this.algorithm);this.hash=e.hash;this.type=e.type;this.hashType=e.hashType}Fingerprint.prototype.toString=function(e){if(e===undefined){if(this.algorithm==="md5"||this.hashType==="spki")e="hex";else e="base64"}n.string(e);switch(e){case"hex":if(this.hashType==="spki")return this.hash.toString("hex");return addColons(this.hash.toString("hex"));case"base64":if(this.hashType==="spki")return this.hash.toString("base64");return sshBase64Format(this.algorithm,this.hash.toString("base64"));default:throw new d(undefined,e)}};Fingerprint.prototype.matches=function(e){n.object(e,"key or certificate");if(this.type==="key"&&this.hashType!=="ssh"){p.assertCompatible(e,u,[1,7],"key with spki");if(c.isPrivateKey(e)){p.assertCompatible(e,c,[1,6],"privatekey with spki support")}}else if(this.type==="key"){p.assertCompatible(e,u,[1,0],"key")}else{p.assertCompatible(e,l,[1,0],"certificate")}var t=e.hash(this.algorithm,this.hashType);var i=a.createHash(this.algorithm).update(t).digest("base64");if(this.hash2===undefined)this.hash2=a.createHash(this.algorithm).update(this.hash).digest("base64");return this.hash2===i};var h=/^[A-Za-z0-9+\/=]+$/;var m=/^[a-fA-F0-9]+$/;Fingerprint.parse=function(e,t){n.string(e,"fingerprint");var i,a,o;if(Array.isArray(t)){o=t;t={}}n.optionalObject(t,"options");if(t===undefined)t={};if(t.enAlgs!==undefined)o=t.enAlgs;if(t.algorithms!==undefined)o=t.algorithms;n.optionalArrayOfString(o,"algorithms");var u="ssh";if(t.hashType!==undefined)u=t.hashType;n.string(u,"options.hashType");var c=e.split(":");if(c.length==2){i=c[0].toLowerCase();if(!h.test(c[1]))throw new d(e);try{a=r.from(c[1],"base64")}catch(t){throw new d(e)}}else if(c.length>2){i="md5";if(c[0].toLowerCase()==="md5")c=c.slice(1);c=c.map(function(t){while(t.length<2)t="0"+t;if(t.length>2)throw new d(e);return t});c=c.join("");if(!m.test(c)||c.length%2!==0)throw new d(e);try{a=r.from(c,"hex")}catch(t){throw new d(e)}}else{if(m.test(e)){a=r.from(e,"hex")}else if(h.test(e)){a=r.from(e,"base64")}else{throw new d(e)}switch(a.length){case 32:i="sha256";break;case 16:i="md5";break;case 20:i="sha1";break;case 64:i="sha512";break;default:throw new d(e)}if(t.hashType===undefined)u="spki"}if(i===undefined)throw new d(e);if(s.hashAlgs[i]===undefined)throw new f(i);if(o!==undefined){o=o.map(function(e){return e.toLowerCase()});if(o.indexOf(i)===-1)throw new f(i)}return new Fingerprint({algorithm:i,hash:a,type:t.type||"key",hashType:u})};function addColons(e){return e.replace(/(.{2})(?=.)/g,"$1:")}function base64Strip(e){return e.replace(/=*$/,"")}function sshBase64Format(e,t){return e.toUpperCase()+":"+base64Strip(t)}Fingerprint.isFingerprint=function(e,t){return p.isCompatible(e,Fingerprint,t)};Fingerprint.prototype._sshpkApiVersion=[1,2];Fingerprint._oldVersionDetect=function(e){n.func(e.toString);n.func(e.matches);return[1,0]}},8243:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(80575);var a=i(36814);var o=i(29602);var u=i(14324);var c=i(68927);var l=i(88688);var p=i(63561);var d=i(80974);var f="Private-key-format: v1";function read(e,t){if(typeof e==="string"){if(e.trim().match(/^[-]+[ ]*BEGIN/))return u.read(e,t);if(e.match(/^\s*ssh-[a-z]/))return c.read(e,t);if(e.match(/^\s*ecdsa-/))return c.read(e,t);if(e.match(/^putty-user-key-file-2:/i))return d.read(e,t);if(findDNSSECHeader(e))return p.read(e,t);e=r.from(e,"binary")}else{n.buffer(e);if(findPEMHeader(e))return u.read(e,t);if(findSSHHeader(e))return c.read(e,t);if(findPuTTYHeader(e))return d.read(e,t);if(findDNSSECHeader(e))return p.read(e,t)}if(e.readUInt32BE(0)e.length||e.slice(t,t+5).toString("ascii")!=="BEGIN")return false;return true}function findDNSSECHeader(e){if(e.length<=f.length)return false;var t=e.slice(0,f.length);if(t.toString("ascii")===f)return true;if(typeof e!=="string"){e=e.toString("ascii")}var i=e.split("\n");var n=0;while(i[n].match(/^\;/))n++;if(i[n].toString("ascii").match(/\. IN KEY /))return true;if(i[n].toString("ascii").match(/\. IN DNSKEY /))return true;return false}function write(e,t){throw new Error('"auto" format cannot be used for writing')}},63561:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(36814);var a=i(29602);var o=i(80575);var u=i(25621);var c=i(57602);var l={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14};var p={};Object.keys(l).forEach(function(e){p[l[e]]=e.toUpperCase()});function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.split("\n");if(i[0].match(/^Private-key-format\: v1/)){var r=i[1].split(" ");var s=parseInt(r[1],10);var a=r[2];if(!p[s])throw new Error("Unsupported algorithm: "+a);return readDNSSECPrivateKey(s,i.slice(2))}var o=0;while(i[o].match(/^\;/))o++;if((i[o].match(/\. IN KEY /)||i[o].match(/\. IN DNSKEY /))&&i[o+1].length===0){return readRFC3110(i[o])}throw new Error("Cannot parse dnssec key")}function readRFC3110(e){var t=e.split(" ");var i=parseInt(t[5],10);if(!p[i])throw new Error("Unsupported algorithm: "+i);var n=t.slice(6,t.length).join();var a=r.from(n,"base64");if(p[i].match(/^RSA-/)){var u=a.readUInt8(0);if(u!=3&&u!=1)throw new Error("Cannot parse dnssec key: "+"unsupported exponent length");var c=a.slice(1,u+1);c=o.mpNormalize(c);var l=a.slice(1+u);l=o.mpNormalize(l);var d={type:"rsa",parts:[]};d.parts.push({name:"e",data:c});d.parts.push({name:"n",data:l});return new s(d)}if(p[i]==="ECDSA-P384-SHA384"||p[i]==="ECDSA-P256-SHA256"){var f="nistp384";var h=384;if(p[i].match(/^ECDSA-P256-SHA256/)){f="nistp256";h=256}var m={type:"ecdsa",curve:f,size:h,parts:[{name:"curve",data:r.from(f)},{name:"Q",data:o.ecNormalize(a)}]};return new s(m)}throw new Error("Unsupported algorithm: "+p[i])}function elementToBuf(e){return r.from(e.split(" ")[1],"base64")}function readDNSSECRSAPrivateKey(e){var t={};e.forEach(function(e){if(e.split(" ")[0]==="Modulus:")t["n"]=elementToBuf(e);else if(e.split(" ")[0]==="PublicExponent:")t["e"]=elementToBuf(e);else if(e.split(" ")[0]==="PrivateExponent:")t["d"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime1:")t["p"]=elementToBuf(e);else if(e.split(" ")[0]==="Prime2:")t["q"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent1:")t["dmodp"]=elementToBuf(e);else if(e.split(" ")[0]==="Exponent2:")t["dmodq"]=elementToBuf(e);else if(e.split(" ")[0]==="Coefficient:")t["iqmp"]=elementToBuf(e)});var i={type:"rsa",parts:[{name:"e",data:o.mpNormalize(t["e"])},{name:"n",data:o.mpNormalize(t["n"])},{name:"d",data:o.mpNormalize(t["d"])},{name:"p",data:o.mpNormalize(t["p"])},{name:"q",data:o.mpNormalize(t["q"])},{name:"dmodp",data:o.mpNormalize(t["dmodp"])},{name:"dmodq",data:o.mpNormalize(t["dmodq"])},{name:"iqmp",data:o.mpNormalize(t["iqmp"])}]};return new a(i)}function readDNSSECPrivateKey(e,t){if(p[e].match(/^RSA-/)){return readDNSSECRSAPrivateKey(t)}if(p[e]==="ECDSA-P384-SHA384"||p[e]==="ECDSA-P256-SHA256"){var i=r.from(t[0].split(" ")[1],"base64");var n="nistp384";var s=384;if(p[e]==="ECDSA-P256-SHA256"){n="nistp256";s=256}var u=o.publicFromPrivateECDSA(n,i);var c=u.part["Q"].data;var l={type:"ecdsa",curve:n,size:s,parts:[{name:"curve",data:r.from(n)},{name:"d",data:i},{name:"Q",data:c}]};return new a(l)}throw new Error("Unsupported algorithm: "+p[e])}function dnssecTimestamp(e){var t=e.getFullYear()+"";var i=e.getMonth()+1;var n=t+i+e.getUTCDate();n+=""+e.getUTCHours()+e.getUTCMinutes();n+=e.getUTCSeconds();return n}function rsaAlgFromOptions(e){if(!e||!e.hashAlgo||e.hashAlgo==="sha1")return"5 (RSASHA1)";else if(e.hashAlgo==="sha256")return"8 (RSASHA256)";else if(e.hashAlgo==="sha512")return"10 (RSASHA512)";else throw new Error("Unknown or unsupported hash: "+e.hashAlgo)}function writeRSA(e,t){if(!e.part.dmodp||!e.part.dmodq){o.addRSAMissing(e)}var i="";i+="Private-key-format: v1.3\n";i+="Algorithm: "+rsaAlgFromOptions(t)+"\n";var n=o.mpDenormalize(e.part["n"].data);i+="Modulus: "+n.toString("base64")+"\n";var s=o.mpDenormalize(e.part["e"].data);i+="PublicExponent: "+s.toString("base64")+"\n";var a=o.mpDenormalize(e.part["d"].data);i+="PrivateExponent: "+a.toString("base64")+"\n";var u=o.mpDenormalize(e.part["p"].data);i+="Prime1: "+u.toString("base64")+"\n";var c=o.mpDenormalize(e.part["q"].data);i+="Prime2: "+c.toString("base64")+"\n";var l=o.mpDenormalize(e.part["dmodp"].data);i+="Exponent1: "+l.toString("base64")+"\n";var p=o.mpDenormalize(e.part["dmodq"].data);i+="Exponent2: "+p.toString("base64")+"\n";var d=o.mpDenormalize(e.part["iqmp"].data);i+="Coefficient: "+d.toString("base64")+"\n";var f=new Date;i+="Created: "+dnssecTimestamp(f)+"\n";i+="Publish: "+dnssecTimestamp(f)+"\n";i+="Activate: "+dnssecTimestamp(f)+"\n";return r.from(i,"ascii")}function writeECDSA(e,t){var i="";i+="Private-key-format: v1.3\n";if(e.curve==="nistp256"){i+="Algorithm: 13 (ECDSAP256SHA256)\n"}else if(e.curve==="nistp384"){i+="Algorithm: 14 (ECDSAP384SHA384)\n"}else{throw new Error("Unsupported curve")}var n=e.part["d"].data.toString("base64");i+="PrivateKey: "+n+"\n";var s=new Date;i+="Created: "+dnssecTimestamp(s)+"\n";i+="Publish: "+dnssecTimestamp(s)+"\n";i+="Activate: "+dnssecTimestamp(s)+"\n";return r.from(i,"ascii")}function write(e,t){if(a.isPrivateKey(e)){if(e.type==="rsa"){return writeRSA(e,t)}else if(e.type==="ecdsa"){return writeECDSA(e,t)}else{throw new Error("Unsupported algorithm: "+e.type)}}else if(s.isKey(e)){throw new Error('Format "dnssec" only supports '+"writing private keys")}else{throw new Error("key is not a Key or PrivateKey")}}},94033:(e,t,i)=>{e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write,fromBuffer:fromBuffer,toBuffer:toBuffer};var n=i(66631);var r=i(25621);var s=i(76417);var a=i(15118).Buffer;var o=i(66126);var u=i(36814);var c=i(29602);var l=i(70508);var p=i(88688);var d=i(91394);var f=i(80575);var h=i(7406);function verify(e,t){return false}var m={user:1,host:2};Object.keys(m).forEach(function(e){m[m[e]]=e});var b=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function read(e,t){if(a.isBuffer(e))e=e.toString("ascii");var i=e.trim().split(/[ \t\n]+/g);if(i.length<2||i.length>3)throw new Error("Not a valid SSH certificate line");var n=i[0];var r=i[1];r=a.from(r,"base64");return fromBuffer(r,n)}function fromBuffer(e,t,i){var s=new r({buffer:e});var a=s.readString();if(t!==undefined&&a!==t)throw new Error("SSH certificate algorithm mismatch");if(t===undefined)t=a;var c={};c.signatures={};c.signatures.openssh={};c.signatures.openssh.nonce=s.readBuffer();var g={};var y=g.parts=[];g.type=getAlg(t);var S=o.info[g.type].parts.length;while(y.length=1,"key must have at least one part");var v=o.info[g.type];if(g.type==="ecdsa"){var w=b.exec(t);n.ok(w!==null);n.strictEqual(w[1],y[0].data.toString())}for(var j=0;j{e.exports={read:read,write:write};var n=i(66631);var r=i(80970);var s=i(76417);var a=i(15118).Buffer;var o=i(66126);var u=i(80575);var c=i(36814);var l=i(29602);var p=i(69367);var d=i(4173);var f=i(3923);var h=i(88688);var m=i(27979);var b="1.2.840.113549.1.5.13";var g="1.2.840.113549.1.5.12";var y={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var v={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};var w={};Object.keys(v).forEach(function(e){w[v[e]]=e});function read(e,t,i){var o=e;if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var c=e.trim().split(/[\r\n]+/g);var l;var S=-1;while(!l&&S0){w=c[--j].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}n.ok(w,"invalid PEM footer");n.equal(l[2],w[2]);var z=l[2].toLowerCase();var O;if(l[1]){n.equal(l[1],w[1],"PEM header and footer mismatch");O=l[1].trim()}c=c.slice(S,j+1);var k={};while(true){c=c.slice(1);l=c[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!l)break;k[l[1].toLowerCase()]=l[2]}c=c.slice(0,-1).join("");e=a.from(c,"base64");var C,T,_;if(k["proc-type"]){var A=k["proc-type"].split(",");if(A[0]==="4"&&A[1]==="ENCRYPTED"){if(typeof t.passphrase==="string"){t.passphrase=a.from(t.passphrase,"utf-8")}if(!a.isBuffer(t.passphrase)){throw new m.KeyEncryptedError(t.filename,"PEM")}else{A=k["dek-info"].split(",");n.ok(A.length===2);C=A[0].toLowerCase();_=a.from(A[1],"hex");T=u.opensslKeyDeriv(C,_,t.passphrase,1).key}}}if(O&&O.toLowerCase()==="encrypted"){var E=new r.BerReader(e);var R;E.readSequence();E.readSequence();R=E.offset+E.length;var x=E.readOID();if(x!==b){throw new Error("Unsupported PEM/PKCS8 encryption "+"scheme: "+x)}E.readSequence();E.readSequence();var N=E.offset+E.length;var V=E.readOID();if(V!==g)throw new Error("Unsupported PBES2 KDF: "+V);E.readSequence();var P=E.readString(r.Ber.OctetString,true);var M=E.readInt();var B="sha1";if(E.offsetf.length)y=f.length;b+=m.write(f.slice(g,y),b);m[b++]=10;g=y}b+=m.write("-----END "+o+"-----\n",b);return m.slice(0,b)}},69367:(e,t,i)=>{e.exports={read:read,readPkcs1:readPkcs1,write:write,writePkcs1:writePkcs1};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);var p=i(4173);var d=p.readECDSACurve;function read(e,t){return l.read(e,t,"pkcs1")}function write(e,t){return l.write(e,t,"pkcs1")}function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function readPkcs1(e,t,i){switch(e){case"RSA":if(t==="public")return readPkcs1RSAPublic(i);else if(t==="private")return readPkcs1RSAPrivate(i);throw new Error("Unknown key type: "+t);case"DSA":if(t==="public")return readPkcs1DSAPublic(i);else if(t==="private")return readPkcs1DSAPrivate(i);throw new Error("Unknown key type: "+t);case"EC":case"ECDSA":if(t==="private")return readPkcs1ECDSAPrivate(i);else if(t==="public")return readPkcs1ECDSAPublic(i);throw new Error("Unknown key type: "+t);case"EDDSA":case"EdDSA":if(t==="private")return readPkcs1EdDSAPrivate(i);throw new Error(t+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+e)}}function readPkcs1RSAPublic(e){var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs1RSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t[0],0);var i=readMPInt(e,"modulus");var r=readMPInt(e,"public exponent");var s=readMPInt(e,"private exponent");var a=readMPInt(e,"prime1");var o=readMPInt(e,"prime2");var u=readMPInt(e,"exponent1");var l=readMPInt(e,"exponent2");var p=readMPInt(e,"iqmp");var d={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:r},{name:"d",data:s},{name:"iqmp",data:p},{name:"p",data:a},{name:"q",data:o},{name:"dmodp",data:u},{name:"dmodq",data:l}]};return new c(d)}function readPkcs1DSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),0);var i=readMPInt(e,"p");var r=readMPInt(e,"q");var s=readMPInt(e,"g");var a=readMPInt(e,"y");var o=readMPInt(e,"x");var u={type:"dsa",parts:[{name:"p",data:i},{name:"q",data:r},{name:"g",data:s},{name:"y",data:a},{name:"x",data:o}]};return new c(u)}function readPkcs1EdDSAPrivate(e){var t=readMPInt(e,"version");n.strictEqual(t.readUInt8(0),1);var i=e.readString(r.Ber.OctetString,true);e.readSequence(160);var s=e.readOID();n.strictEqual(s,"1.3.101.112","the ed25519 curve identifier");e.readSequence(161);var a=o.readBitString(e);var u={type:"ed25519",parts:[{name:"A",data:o.zeroPadToLength(a,32)},{name:"k",data:i}]};return new c(u)}function readPkcs1DSAPublic(e){var t=readMPInt(e,"y");var i=readMPInt(e,"p");var n=readMPInt(e,"q");var r=readMPInt(e,"g");var s={type:"dsa",parts:[{name:"y",data:t},{name:"p",data:i},{name:"q",data:n},{name:"g",data:r}]};return new u(s)}function readPkcs1ECDSAPublic(e){e.readSequence();var t=e.readOID();n.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");var i=e.readOID();var c;var l=Object.keys(a.curves);for(var p=0;p{e.exports={read:read,readPkcs8:readPkcs8,write:write,writePkcs8:writePkcs8,pkcs8ToBuffer:pkcs8ToBuffer,readECDSACurve:readECDSACurve,writeECDSACurve:writeECDSACurve};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);function read(e,t){return l.read(e,t,"pkcs8")}function write(e,t){return l.write(e,t,"pkcs8")}function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function readPkcs8(e,t,i){if(i.peek()===r.Ber.Integer){n.strictEqual(t,"private","unexpected Integer at start of public key");i.readString(r.Ber.Integer,true)}i.readSequence();var s=i.offset+i.length;var a=i.readOID();switch(a){case"1.2.840.113549.1.1.1":i._offset=s;if(t==="public")return readPkcs8RSAPublic(i);else return readPkcs8RSAPrivate(i);case"1.2.840.10040.4.1":if(t==="public")return readPkcs8DSAPublic(i);else return readPkcs8DSAPrivate(i);case"1.2.840.10045.2.1":if(t==="public")return readPkcs8ECDSAPublic(i);else return readPkcs8ECDSAPrivate(i);case"1.3.101.112":if(t==="public"){return readPkcs8EdDSAPublic(i)}else{return readPkcs8EdDSAPrivate(i)}case"1.3.101.110":if(t==="public"){return readPkcs8X25519Public(i)}else{return readPkcs8X25519Private(i)}default:throw new Error("Unknown key type OID "+a)}}function readPkcs8RSAPublic(e){e.readSequence(r.Ber.BitString);e.readByte();e.readSequence();var t=readMPInt(e,"modulus");var i=readMPInt(e,"exponent");var n={type:"rsa",source:e.originalInput,parts:[{name:"e",data:i},{name:"n",data:t}]};return new u(n)}function readPkcs8RSAPrivate(e){e.readSequence(r.Ber.OctetString);e.readSequence();var t=readMPInt(e,"version");n.equal(t[0],0,"unknown RSA private key version");var i=readMPInt(e,"modulus");var s=readMPInt(e,"public exponent");var a=readMPInt(e,"private exponent");var o=readMPInt(e,"prime1");var u=readMPInt(e,"prime2");var l=readMPInt(e,"exponent1");var p=readMPInt(e,"exponent2");var d=readMPInt(e,"iqmp");var f={type:"rsa",parts:[{name:"n",data:i},{name:"e",data:s},{name:"d",data:a},{name:"iqmp",data:d},{name:"p",data:o},{name:"q",data:u},{name:"dmodp",data:l},{name:"dmodq",data:p}]};return new c(f)}function readPkcs8DSAPublic(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(r.Ber.BitString);e.readByte();var s=readMPInt(e,"y");var a={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:s}]};return new u(a)}function readPkcs8DSAPrivate(e){e.readSequence();var t=readMPInt(e,"p");var i=readMPInt(e,"q");var n=readMPInt(e,"g");e.readSequence(r.Ber.OctetString);var s=readMPInt(e,"x");var a=o.calculateDSAPublic(n,t,s);var u={type:"dsa",parts:[{name:"p",data:t},{name:"q",data:i},{name:"g",data:n},{name:"y",data:a},{name:"x",data:s}]};return new c(u)}function readECDSACurve(e){var t,i;var u,c,l;if(e.peek()===r.Ber.OID){var p=e.readOID();i=Object.keys(a.curves);for(u=0;u{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(88688);var a=i(36814);var o=i(27979);function read(e,t){var i=e.toString("ascii").split(/[\r\n]+/);var a=false;var o;var u=0;while(ui.length){throw new Error("Invalid public-lines count")}var d=r.from(i.slice(u,u+p).join(""),"base64");var f=s.algToKeyType(c);var h=s.read(d);if(h.type!==f){throw new Error("Outer key algorithm mismatch")}h.comment=l;return h}function splitHeader(e){var t=e.indexOf(":");if(t===-1)return null;var i=e.slice(0,t);++t;while(e[t]===" ")++t;var n=e.slice(t);return[i,n]}function write(e,t){n.object(e);if(!a.isKey(e))throw new Error("Must be a public key");var i=s.keyTypeToAlg(e);var o=s.write(e);var u=e.comment||"";var c=o.toString("base64");var l=wrap(c,64);l.unshift("Public-Lines: "+l.length);l.unshift("Comment: "+u);l.unshift("Encryption: none");l.unshift("PuTTY-User-Key-File-2: "+i);return r.from(l.join("\n")+"\n")}function wrap(e,t){var i=[];var n=0;while(n{e.exports={read:read.bind(undefined,false,undefined),readType:read.bind(undefined,false),write:write,readPartial:read.bind(undefined,true),readInternal:read,keyTypeToAlg:keyTypeToAlg,algToKeyType:algToKeyType};var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(80575);var o=i(36814);var u=i(29602);var c=i(25621);function algToKeyType(e){n.string(e);if(e==="ssh-dss")return"dsa";else if(e==="ssh-rsa")return"rsa";else if(e==="ssh-ed25519")return"ed25519";else if(e==="ssh-curve25519")return"curve25519";else if(e.match(/^ecdsa-sha2-/))return"ecdsa";else throw new Error("Unknown algorithm "+e)}function keyTypeToAlg(e){n.object(e);if(e.type==="dsa")return"ssh-dss";else if(e.type==="rsa")return"ssh-rsa";else if(e.type==="ed25519")return"ssh-ed25519";else if(e.type==="curve25519")return"ssh-curve25519";else if(e.type==="ecdsa")return"ecdsa-sha2-"+e.part.curve.data.toString();else throw new Error("Unknown key type "+e.type)}function read(e,t,i,l){if(typeof i==="string")i=r.from(i);n.buffer(i,"buf");var p={};var d=p.parts=[];var f=new c({buffer:i});var h=f.readString();n.ok(!f.atEnd(),"key must have at least one part");p.type=algToKeyType(h);var m=s.info[p.type].parts.length;if(t&&t==="private")m=s.privInfo[p.type].parts.length;while(!f.atEnd()&&d.length=1,"key must have at least one part");n.ok(e||f.atEnd(),"leftover bytes at end of key");var b=o;var g=s.info[p.type];if(t==="private"||g.parts.length!==d.length){g=s.privInfo[p.type];b=u}n.strictEqual(g.parts.length,d.length);if(p.type==="ecdsa"){var y=/^ecdsa-sha2-(.+)$/.exec(h);n.ok(y!==null);n.strictEqual(y[1],d[0].data.toString())}var S=true;for(var v=0;v{e.exports={read:read,readSSHPrivate:readSSHPrivate,write:write};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(76417);var c=i(36814);var l=i(29602);var p=i(14324);var d=i(88688);var f=i(25621);var h=i(27979);var m;function read(e,t){return p.read(e,t)}var b="openssh-key-v1";function readSSHPrivate(e,t,r){t=new f({buffer:t});var a=t.readCString();n.strictEqual(a,b,"bad magic string");var c=t.readString();var l=t.readString();var p=t.readBuffer();var g=t.readInt();if(g!==1){throw new Error("OpenSSH-format key file contains "+"multiple keys: this is unsupported.")}var y=t.readBuffer();if(e==="public"){n.ok(t.atEnd(),"excess bytes left after key");return d.read(y)}var S=t.readBuffer();n.ok(t.atEnd(),"excess bytes left after key");var v=new f({buffer:p});switch(l){case"none":if(c!=="none"){throw new Error('OpenSSH-format key uses KDF "none" '+'but specifies a cipher other than "none"')}break;case"bcrypt":var w=v.readBuffer();var j=v.readInt();var z=o.opensshCipherInfo(c);if(m===undefined){m=i(45447)}if(typeof r.passphrase==="string"){r.passphrase=s.from(r.passphrase,"utf-8")}if(!s.isBuffer(r.passphrase)){throw new h.KeyEncryptedError(r.filename,"OpenSSH")}var O=new Uint8Array(r.passphrase);var k=new Uint8Array(w);var C=new Uint8Array(z.keySize+z.blockSize);var T=m.pbkdf(O,O.length,k,k.length,C,C.length,j);if(T!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}C=s.from(C);var _=C.slice(0,z.keySize);var A=C.slice(z.keySize,z.keySize+z.blockSize);var E=u.createDecipheriv(z.opensslName,_,A);E.setAutoPadding(false);var R,x=[];E.once("error",function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e});E.write(S);E.end();while((R=E.read())!==null)x.push(R);S=s.concat(x);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+l+'"')}t=new f({buffer:S});var N=t.readInt();var V=t.readInt();if(N!==V){throw new Error("Incorrect passphrase supplied, could not "+"decrypt key")}var P={};var M=d.readInternal(P,"private",t.remainder());t.skip(P.consumed);var B=t.readString();M.comment=B;return M}function write(e,t){var r;if(l.isPrivateKey(e))r=e.toPublic();else r=e;var a="none";var c="none";var p=s.alloc(0);var d={blockSize:8};var h;if(t!==undefined){h=t.passphrase;if(typeof h==="string")h=s.from(h,"utf-8");if(h!==undefined){n.buffer(h,"options.passphrase");n.optionalString(t.cipher,"options.cipher");a=t.cipher;if(a===undefined)a="aes128-ctr";d=o.opensshCipherInfo(a);c="bcrypt"}}var g;if(l.isPrivateKey(e)){g=new f({});var y=u.randomBytes(4).readUInt32BE(0);g.writeInt(y);g.writeInt(y);g.write(e.toBuffer("rfc4253"));g.writeString(e.comment||"");var S=1;while(g._offset%d.blockSize!==0)g.writeChar(S++);g=g.toBuffer()}switch(c){case"none":break;case"bcrypt":var v=u.randomBytes(16);var w=16;var j=new f({});j.writeBuffer(v);j.writeInt(w);p=j.toBuffer();if(m===undefined){m=i(45447)}var z=new Uint8Array(h);var O=new Uint8Array(v);var k=new Uint8Array(d.keySize+d.blockSize);var C=m.pbkdf(z,z.length,O,O.length,k,k.length,w);if(C!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}k=s.from(k);var T=k.slice(0,d.keySize);var _=k.slice(d.keySize,d.keySize+d.blockSize);var A=u.createCipheriv(d.opensslName,T,_);A.setAutoPadding(false);var E,R=[];A.once("error",function(e){throw e});A.write(g);A.end();while((E=A.read())!==null)R.push(E);g=s.concat(R);break;default:throw new Error("Unsupported kdf "+c)}var x=new f({});x.writeCString(b);x.writeString(a);x.writeString(c);x.writeBuffer(p);x.writeInt(1);x.writeBuffer(r.toBuffer("rfc4253"));if(g)x.writeBuffer(g);x=x.toBuffer();var N;if(l.isPrivateKey(e))N="OPENSSH PRIVATE KEY";else N="OPENSSH PUBLIC KEY";var V=x.toString("base64");var P=V.length+V.length/70+18+16+N.length*2+10;x=s.alloc(P);var M=0;M+=x.write("-----BEGIN "+N+"-----\n",M);for(var B=0;BV.length)I=V.length;M+=x.write(V.slice(B,I),M);x[M++]=10;B=I}M+=x.write("-----END "+N+"-----\n",M);return x.slice(0,M)}},68927:(e,t,i)=>{e.exports={read:read,write:write};var n=i(66631);var r=i(15118).Buffer;var s=i(88688);var a=i(80575);var o=i(36814);var u=i(29602);var c=i(3923);var l=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/;var p=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function read(e,t){if(typeof e!=="string"){n.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().replace(/[\\\r]/g,"");var a=i.match(l);if(!a)a=i.match(p);n.ok(a,"key must match regex");var o=s.algToKeyType(a[1]);var u=r.from(a[2],"base64");var c;var d={};if(a[4]){try{c=s.read(u)}catch(e){a=i.match(p);n.ok(a,"key must match regex");u=r.from(a[2],"base64");c=s.readInternal(d,"public",u)}}else{c=s.readInternal(d,"public",u)}n.strictEqual(o,c.type);if(a[4]&&a[4].length>0){c.comment=a[4]}else if(d.consumed){var f=a[2]+(a[3]?a[3]:"");var h=Math.ceil(d.consumed/3)*4;f=f.slice(0,h-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+f.slice(h-2);var m=d.consumed%3;if(m>0&&f.slice(h-1,h)!=="=")h--;while(f.slice(h,h+1)==="=")h++;var b=f.slice(h);b=b.replace(/[\r\n]/g," ").replace(/^\s+/,"");if(b.match(/^[a-zA-Z0-9]/))c.comment=b}return c}function write(e,t){n.object(e);if(!o.isKey(e))throw new Error("Must be a public key");var i=[];var a=s.keyTypeToAlg(e);i.push(a);var u=s.write(e);i.push(u.toString("base64"));if(e.comment)i.push(e.comment);return r.from(i.join(" "))}},30217:(e,t,i)=>{var n=i(10267);e.exports={read:read,verify:n.verify,sign:n.sign,write:write};var r=i(66631);var s=i(80970);var a=i(15118).Buffer;var o=i(66126);var u=i(80575);var c=i(36814);var l=i(29602);var p=i(14324);var d=i(70508);var f=i(91394);var h=i(7406);function read(e,t){if(typeof e!=="string"){r.buffer(e,"buf");e=e.toString("ascii")}var i=e.trim().split(/[\r\n]+/g);var s;var o=-1;while(!s&&o0){u=i[--c].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/)}r.ok(u,"invalid PEM footer");i=i.slice(o,c+1);var l={};while(true){i=i.slice(1);s=i[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!s)break;l[s[1].toLowerCase()]=s[2]}i=i.slice(0,-1).join("");e=a.from(i,"base64");return n.read(e,t)}function write(e,t){var i=n.write(e,t);var r="CERTIFICATE";var s=i.toString("base64");var o=s.length+s.length/64+18+16+r.length*2+10;var u=a.alloc(o);var c=0;c+=u.write("-----BEGIN "+r+"-----\n",c);for(var l=0;ls.length)p=s.length;c+=u.write(s.slice(l,p),c);u[c++]=10;l=p}c+=u.write("-----END "+r+"-----\n",c);return u.slice(0,c)}},10267:(e,t,i)=>{e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write};var n=i(66631);var r=i(80970);var s=i(15118).Buffer;var a=i(66126);var o=i(80575);var u=i(36814);var c=i(29602);var l=i(14324);var p=i(70508);var d=i(91394);var f=i(7406);var h=i(4173);function readMPInt(e,t){n.strictEqual(e.peek(),r.Ber.Integer,t+" is not an Integer");return o.mpNormalize(e.readString(r.Ber.Integer,true))}function verify(e,t){var i=e.signatures.x509;n.object(i,"x509 signature");var s=i.algo.split("-");if(s[0]!==t.type)return false;var a=i.cache;if(a===undefined){var o=new r.BerWriter;writeTBSCert(e,o);a=o.buffer}var u=t.createVerify(s[1]);u.write(a);return u.verify(i.signature)}function Local(e){return r.Ber.Context|r.Ber.Constructor|e}function Context(e){return r.Ber.Context|e}var m={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(m).forEach(function(e){m[m[e]]=e});m["1.3.14.3.2.3"]="rsa-md5";m["1.3.14.3.2.29"]="rsa-sha1";var b={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function read(e,t){if(typeof e==="string"){e=s.from(e,"binary")}n.buffer(e,"buf");var i=new r.BerReader(e);i.readSequence();if(Math.abs(i.length-i.remain)>1){throw new Error("DER sequence does not contain whole byte "+"stream")}var a=i.offset;i.readSequence();var o=i.offset+i.length;var u=o;if(i.peek()===Local(0)){i.readSequence(Local(0));var c=i.readInt();n.ok(c<=3,"only x.509 versions up to v3 supported")}var l={};l.signatures={};var b=l.signatures.x509={};b.extras={};l.serial=readMPInt(i,"serial");i.readSequence();var g=i.offset+i.length;var y=i.readOID();var S=m[y];if(S===undefined)throw new Error("unknown signature algorithm "+y);i._offset=g;l.issuer=p.parseAsn1(i);i.readSequence();l.validFrom=readDate(i);l.validUntil=readDate(i);l.subjects=[p.parseAsn1(i)];i.readSequence();g=i.offset+i.length;l.subjectKey=h.readPkcs8(undefined,"public",i);i._offset=g;if(i.peek()===Local(1)){i.readSequence(Local(1));b.extras.issuerUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(2)){i.readSequence(Local(2));b.extras.subjectUniqueID=e.slice(i.offset,i.offset+i.length);i._offset+=i.length}if(i.peek()===Local(3)){i.readSequence(Local(3));var v=i.offset+i.length;i.readSequence();while(i.offset=2050||t.getUTCFullYear()<1950){e.writeString(dateToGTime(t),r.Ber.GeneralizedTime)}else{e.writeString(dateToUTCTime(t),r.Ber.UTCTime)}}var g={OtherName:Local(0),RFC822Name:Context(1),DNSName:Context(2),X400Address:Local(3),DirectoryName:Local(4),EDIPartyName:Local(5),URI:Context(6),IPAddress:Context(7),OID:Context(8)};var y={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"};var S={};Object.keys(y).forEach(function(e){S[y[e]]=e});var v=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function readExtension(e,t,i){i.readSequence();var n=i.offset+i.length;var s=i.readOID();var a;var o=e.signatures.x509;if(!o.extras.exts)o.extras.exts=[];var u;if(i.peek()===r.Ber.Boolean)u=i.readBoolean();switch(s){case b.basicConstraints:i.readSequence(r.Ber.OctetString);i.readSequence();var c=i.offset+i.length;var l=false;if(i.peek()===r.Ber.Boolean)l=i.readBoolean();if(e.purposes===undefined)e.purposes=[];if(l===true)e.purposes.push("ca");var d={oid:s,critical:u};if(i.offset=60)a+=s-1;else a+=s;i.setUTCFullYear(a,parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}var j=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function gTimeToDate(e){var t=e.match(j);n.ok(t);var i=new Date;i.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10));i.setUTCHours(parseInt(t[4],10),parseInt(t[5],10));if(t[6]&&t[6].length>0)i.setUTCSeconds(parseInt(t[6],10));return i}function zeroPad(e,t){if(t===undefined)t=2;var i=""+e;while(i.length0||s.type==="host"||e.purposes!==undefined&&e.purposes.length>0||i.extras&&i.extras.exts){t.startSequence(Local(3));t.startSequence();var u=[];if(e.purposes!==undefined&&e.purposes.length>0){u.push({oid:b.basicConstraints,critical:true});u.push({oid:b.keyUsage,critical:true});u.push({oid:b.extKeyUsage,critical:true})}u.push({oid:b.altName});if(i.extras&&i.extras.exts)u=i.extras.exts;for(var c=0;c{e.exports=Identity;var n=i(66631);var r=i(66126);var s=i(76417);var a=i(13079);var o=i(91394);var u=i(27979);var c=i(31669);var l=i(80575);var p=i(80970);var d=i(15118).Buffer;var f=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i;var h={};h.cn="2.5.4.3";h.o="2.5.4.10";h.ou="2.5.4.11";h.l="2.5.4.7";h.s="2.5.4.8";h.c="2.5.4.6";h.sn="2.5.4.4";h.postalCode="2.5.4.17";h.serialNumber="2.5.4.5";h.street="2.5.4.9";h.x500UniqueIdentifier="2.5.4.45";h.role="2.5.4.72";h.telephoneNumber="2.5.4.20";h.description="2.5.4.13";h.dc="0.9.2342.19200300.100.1.25";h.uid="0.9.2342.19200300.100.1.1";h.mail="0.9.2342.19200300.100.1.3";h.title="2.5.4.12";h.gn="2.5.4.42";h.initials="2.5.4.43";h.pseudonym="2.5.4.65";h.emailAddress="1.2.840.113549.1.9.1";var m={};Object.keys(h).forEach(function(e){m[h[e]]=e});function Identity(e){var t=this;n.object(e,"options");n.arrayOfObject(e.components,"options.components");this.components=e.components;this.componentLookup={};this.components.forEach(function(e){if(e.name&&!e.oid)e.oid=h[e.name];if(e.oid&&!e.name)e.name=m[e.oid];if(t.componentLookup[e.name]===undefined)t.componentLookup[e.name]=[];t.componentLookup[e.name].push(e)});if(this.componentLookup.cn&&this.componentLookup.cn.length>0){this.cn=this.componentLookup.cn[0].value}n.optionalString(e.type,"options.type");if(e.type===undefined){if(this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length){this.type="host";this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")}else if(this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(f)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.uid&&this.componentLookup.uid.length===1){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.mail&&this.componentLookup.mail.length===1){this.type="email";this.email=this.componentLookup.mail[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1){this.type="user";this.uid=this.componentLookup.cn[0].value}else{this.type="unknown"}}else{this.type=e.type;if(this.type==="host")this.hostname=e.hostname;else if(this.type==="user")this.uid=e.uid;else if(this.type==="email")this.email=e.email;else throw new Error("Unknown type "+this.type)}}Identity.prototype.toString=function(){return this.components.map(function(e){var t=e.name.toUpperCase();t=t.replace(/=/g,"\\=");var i=e.value;i=i.replace(/,/g,"\\,");return t+"="+i}).join(", ")};Identity.prototype.get=function(e,t){n.string(e,"name");var i=this.componentLookup[e];if(i===undefined||i.length===0)return undefined;if(!t&&i.length>1)throw new Error("Multiple values for attribute "+e);if(!t)return i[0].value;return i.map(function(e){return e.value})};Identity.prototype.toArray=function(e){return this.components.map(function(e){return{name:e.name,value:e.value}})};var b=/[^a-zA-Z0-9 '(),+.\/:=?-]/;var g=/[^\x00-\x7f]/;Identity.prototype.toAsn1=function(e,t){e.startSequence(t);this.components.forEach(function(t){e.startSequence(p.Ber.Constructor|p.Ber.Set);e.startSequence();e.writeOID(t.oid);if(t.asn1type===p.Ber.Utf8String||t.value.match(g)){var i=d.from(t.value,"utf8");e.writeBuffer(i,p.Ber.Utf8String)}else if(t.asn1type===p.Ber.IA5String||t.value.match(b)){e.writeString(t.value,p.Ber.IA5String)}else{var n=p.Ber.PrintableString;if(t.asn1type!==undefined)n=t.asn1type;e.writeString(t.value,n)}e.endSequence();e.endSequence()});e.endSequence()};function globMatch(e,t){if(e==="**"||t==="**")return true;var i=e.split(".");var n=t.split(".");if(i.length!==n.length)return false;for(var r=0;r0){var s;if((s=/^,/.exec(r))!==null){t[++i]="";r=r.slice(s[0].length)}else if((s=/^\\,/.exec(r))!==null){t[i]+=",";r=r.slice(s[0].length)}else if((s=/^\\./.exec(r))!==null){t[i]+=s[0];r=r.slice(s[0].length)}else if((s=/^[^\\,]+/.exec(r))!==null){t[i]+=s[0];r=r.slice(s[0].length)}else{throw new Error("Failed to parse DN")}}var a=t.map(function(e){e=e.trim();var t=e.indexOf("=");while(t>0&&e.charAt(t-1)==="\\")t=e.indexOf("=",t+1);if(t===-1){throw new Error("Failed to parse DN")}var i=e.slice(0,t).toLowerCase().replace(/\\=/g,"=");var n=e.slice(t+1);return{name:i,value:n}});return new Identity({components:a})};Identity.fromArray=function(e){n.arrayOfObject(e,"components");e.forEach(function(e){n.object(e,"component");n.string(e.name,"component.name");if(!d.isBuffer(e.value)&&!(typeof e.value==="string")){throw new Error("Invalid component value")}});return new Identity({components:e})};Identity.parseAsn1=function(e,t){var i=[];e.readSequence(t);var n=e.offset+e.length;while(e.offset{var n=i(36814);var r=i(13079);var s=i(91394);var a=i(29602);var o=i(7406);var u=i(70508);var c=i(27979);e.exports={Key:n,parseKey:n.parse,Fingerprint:r,parseFingerprint:r.parse,Signature:s,parseSignature:s.parse,PrivateKey:a,parsePrivateKey:a.parse,generatePrivateKey:a.generate,Certificate:o,parseCertificate:o.parse,createSelfSignedCertificate:o.createSelfSigned,createCertificate:o.create,Identity:u,identityFromDN:u.parseDN,identityForHost:u.forHost,identityForUser:u.forUser,identityForEmail:u.forEmail,identityFromArray:u.fromArray,FingerprintFormatError:c.FingerprintFormatError,InvalidAlgorithmError:c.InvalidAlgorithmError,KeyParseError:c.KeyParseError,SignatureParseError:c.SignatureParseError,KeyEncryptedError:c.KeyEncryptedError,CertificateParseError:c.CertificateParseError}},36814:(e,t,i)=>{e.exports=Key;var n=i(66631);var r=i(66126);var s=i(76417);var a=i(13079);var o=i(91394);var u=i(57602).DiffieHellman;var c=i(27979);var l=i(80575);var p=i(29602);var d;try{d=i(14694)}catch(e){}var f=c.InvalidAlgorithmError;var h=c.KeyParseError;var m={};m["auto"]=i(8243);m["pem"]=i(14324);m["pkcs1"]=i(69367);m["pkcs8"]=i(4173);m["rfc4253"]=i(88688);m["ssh"]=i(68927);m["ssh-private"]=i(3923);m["openssh"]=m["ssh-private"];m["dnssec"]=i(63561);m["putty"]=i(80974);m["ppk"]=m["putty"];function Key(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");n.optionalString(e.comment,"options.comment");var t=r.info[e.type];if(typeof t!=="object")throw new f(e.type);var i={};for(var s=0;s1024)e="sha256";if(this.type==="ed25519")e="sha512";if(this.type==="ecdsa"){if(this.size<=256)e="sha256";else if(this.size<=384)e="sha384";else e="sha512"}return e};Key.prototype.createVerify=function(e){if(e===undefined)e=this.defaultHashAlgorithm();n.string(e,"hash algorithm");if(this.type==="ed25519"&&d!==undefined)return new d.Verifier(this,e);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var t,i,r;try{i=e.toUpperCase();t=s.createVerify(i)}catch(e){r=e}if(t===undefined||r instanceof Error&&r.message.match(/Unknown message digest/)){i="RSA-";i+=e.toUpperCase();t=s.createVerify(i)}n.ok(t,"failed to create verifier");var a=t.verify.bind(t);var u=this.toBuffer("pkcs8");var c=this.curve;var l=this;t.verify=function(t,i){if(o.isSignature(t,[2,0])){if(t.type!==l.type)return false;if(t.hashAlgorithm&&t.hashAlgorithm!==e)return false;if(t.curve&&l.type==="ecdsa"&&t.curve!==c)return false;return a(u,t.toBuffer("asn1"))}else if(typeof t==="string"||Buffer.isBuffer(t)){return a(u,t,i)}else if(o.isSignature(t,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}else{throw new TypeError("signature must be a string, "+"Buffer, or Signature object")}};return t};Key.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)};Key.prototype.createDH=Key.prototype.createDiffieHellman;Key.parse=function(e,t,i){if(typeof e!=="string")n.buffer(e,"data");if(t===undefined)t="auto";n.string(t,"format");if(typeof i==="string")i={filename:i};n.optionalObject(i,"options");if(i===undefined)i={};n.optionalString(i.filename,"options.filename");if(i.filename===undefined)i.filename="(unnamed)";n.object(m[t],"formats[format]");try{var r=m[t].read(e,i);if(r instanceof p)r=r.toPublic();if(!r.comment)r.comment=i.filename;return r}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new h(i.filename,t,e)}};Key.isKey=function(e,t){return l.isCompatible(e,Key,t)};Key.prototype._sshpkApiVersion=[1,7];Key._oldVersionDetect=function(e){n.func(e.toBuffer);n.func(e.fingerprint);if(e.createDH)return[1,4];if(e.defaultHashAlgorithm)return[1,3];if(e.formats["auto"])return[1,2];if(e.formats["pkcs1"])return[1,1];return[1,0]}},29602:(e,t,i)=>{e.exports=PrivateKey;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(13079);var u=i(91394);var c=i(27979);var l=i(31669);var p=i(80575);var d=i(57602);var f=d.generateECDSA;var h=d.generateED25519;var m=i(14694);var b=i(68729);var g=i(36814);var y=c.InvalidAlgorithmError;var S=c.KeyParseError;var v=c.KeyEncryptedError;var w={};w["auto"]=i(8243);w["pem"]=i(14324);w["pkcs1"]=i(69367);w["pkcs8"]=i(4173);w["rfc4253"]=i(88688);w["ssh-private"]=i(3923);w["openssh"]=w["ssh-private"];w["ssh"]=w["ssh-private"];w["dnssec"]=i(63561);function PrivateKey(e){n.object(e,"options");g.call(this,e);this._pubCache=undefined}l.inherits(PrivateKey,g);PrivateKey.formats=w;PrivateKey.prototype.toBuffer=function(e,t){if(e===undefined)e="pkcs1";n.string(e,"format");n.object(w[e],"formats[format]");n.optionalObject(t,"options");return w[e].write(this,t)};PrivateKey.prototype.hash=function(e,t){return this.toPublic().hash(e,t)};PrivateKey.prototype.fingerprint=function(e,t){return this.toPublic().fingerprint(e,t)};PrivateKey.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;var e=s.info[this.type];var t=[];for(var i=0;i{e.exports=Signature;var n=i(66631);var r=i(15118).Buffer;var s=i(66126);var a=i(76417);var o=i(27979);var u=i(80575);var c=i(80970);var l=i(25621);var p=o.InvalidAlgorithmError;var d=o.SignatureParseError;function Signature(e){n.object(e,"options");n.arrayOfObject(e.parts,"options.parts");n.string(e.type,"options.type");var t={};for(var i=0;i20&&s[0]===0)s=s.slice(1);a=this.part.s.data;if(a.length>20&&a[0]===0)a=a.slice(1);if(this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||s.length+a.length!==40){throw new Error("OpenSSH only supports "+"DSA signatures with SHA1 hash")}t.writeBuffer(r.concat([s,a]));return t.toBuffer()}else if(e==="ssh"&&this.type==="ecdsa"){var p=new l({});s=this.part.r.data;p.writeBuffer(s);p.writePart(this.part.s);t=new l({});var d;if(s[0]===0)s=s.slice(1);var f=s.length*8;if(f===256)d="nistp256";else if(f===384)d="nistp384";else if(f===528)d="nistp521";t.writeString("ecdsa-sha2-"+d);t.writeBuffer(p.toBuffer());return t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}};Signature.prototype.toString=function(e){n.optionalString(e,"format");return this.toBuffer(e).toString("base64")};Signature.parse=function(e,t,i){if(typeof e==="string")e=r.from(e,"base64");n.buffer(e,"data");n.string(i,"format");n.string(t,"type");var s={};s.type=t.toLowerCase();s.parts=[];try{n.ok(e.length>0,"signature must not be empty");switch(s.type){case"rsa":return parseOneNum(e,t,i,s);case"ed25519":return parseOneNum(e,t,i,s);case"dsa":case"ecdsa":if(i==="asn1")return parseDSAasn1(e,t,i,s);else if(s.type==="dsa")return parseDSA(e,t,i,s);else return parseECDSA(e,t,i,s);default:throw new p(t)}}catch(e){if(e instanceof p)throw e;throw new d(t,i,e)}};function parseOneNum(e,t,i,r){if(i==="ssh"){try{var s=new l({buffer:e});var a=s.readString()}catch(e){}if(s!==undefined){var o="SSH signature does not match expected "+"type (expected "+t+", got "+a+")";switch(a){case"ssh-rsa":n.strictEqual(t,"rsa",o);r.hashAlgo="sha1";break;case"rsa-sha2-256":n.strictEqual(t,"rsa",o);r.hashAlgo="sha256";break;case"rsa-sha2-512":n.strictEqual(t,"rsa",o);r.hashAlgo="sha512";break;case"ssh-ed25519":n.strictEqual(t,"ed25519",o);r.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature "+"type: "+a)}var u=s.readPart();n.ok(s.atEnd(),"extra trailing bytes");u.name="sig";r.parts.push(u);return new Signature(r)}}r.parts.push({name:"sig",data:e});return new Signature(r)}function parseDSAasn1(e,t,i,n){var r=new c.BerReader(e);r.readSequence();var s=r.readString(c.Ber.Integer,true);var a=r.readString(c.Ber.Integer,true);n.parts.push({name:"r",data:u.mpNormalize(s)});n.parts.push({name:"s",data:u.mpNormalize(a)});return new Signature(n)}function parseDSA(e,t,i,r){if(e.length!=40){var s=new l({buffer:e});var a=s.readBuffer();if(a.toString("ascii")==="ssh-dss")a=s.readBuffer();n.ok(s.atEnd(),"extra trailing bytes");n.strictEqual(a.length,40,"invalid inner length");e=a}r.parts.push({name:"r",data:e.slice(0,20)});r.parts.push({name:"s",data:e.slice(20,40)});return new Signature(r)}function parseECDSA(e,t,i,r){var s=new l({buffer:e});var a,o;var u=s.readBuffer();var c=u.toString("ascii");if(c.slice(0,6)==="ecdsa-"){var p=c.split("-");n.strictEqual(p[0],"ecdsa");n.strictEqual(p[1],"sha2");r.curve=p[2];switch(r.curve){case"nistp256":r.hashAlgo="sha256";break;case"nistp384":r.hashAlgo="sha384";break;case"nistp521":r.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+r.curve)}u=s.readBuffer();n.ok(s.atEnd(),"extra trailing bytes on outer");s=new l({buffer:u});a=s.readPart()}else{a={data:u}}o=s.readPart();n.ok(s.atEnd(),"extra trailing bytes");a.name="r";o.name="s";r.parts.push(a);r.parts.push(o);return new Signature(r)}Signature.isSignature=function(e,t){return u.isCompatible(e,Signature,t)};Signature.prototype._sshpkApiVersion=[2,1];Signature._oldVersionDetect=function(e){n.func(e.toBuffer);if(e.hasOwnProperty("hashAlgorithm"))return[2,0];return[1,0]}},25621:(e,t,i)=>{e.exports=SSHBuffer;var n=i(66631);var r=i(15118).Buffer;function SSHBuffer(e){n.object(e,"options");if(e.buffer!==undefined)n.buffer(e.buffer,"options.buffer");this._size=e.buffer?e.buffer.length:1024;this._buffer=e.buffer||r.alloc(this._size);this._offset=0}SSHBuffer.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)};SSHBuffer.prototype.atEnd=function(){return this._offset>=this._buffer.length};SSHBuffer.prototype.remainder=function(){return this._buffer.slice(this._offset)};SSHBuffer.prototype.skip=function(e){this._offset+=e};SSHBuffer.prototype.expand=function(){this._size*=2;var e=r.alloc(this._size);this._buffer.copy(e,0);this._buffer=e};SSHBuffer.prototype.readPart=function(){return{data:this.readBuffer()}};SSHBuffer.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4;n.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);this._offset+=e;return t};SSHBuffer.prototype.readString=function(){return this.readBuffer().toString()};SSHBuffer.prototype.readCString=function(){var e=this._offset;while(ethis._size)this.expand();this._buffer.writeUInt32BE(e.length,this._offset);this._offset+=4;e.copy(this._buffer,this._offset);this._offset+=e.length};SSHBuffer.prototype.writeString=function(e){this.writeBuffer(r.from(e,"utf8"))};SSHBuffer.prototype.writeCString=function(e){while(this._offset+1+e.length>this._size)this.expand();this._buffer.write(e,this._offset);this._offset+=e.length;this._buffer[this._offset++]=0};SSHBuffer.prototype.writeInt=function(e){while(this._offset+4>this._size)this.expand();this._buffer.writeUInt32BE(e,this._offset);this._offset+=4};SSHBuffer.prototype.writeInt64=function(e){n.buffer(e,"value");if(e.length>8){var t=e.slice(0,e.length-8);for(var i=0;ithis._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=8};SSHBuffer.prototype.writeChar=function(e){while(this._offset+1>this._size)this.expand();this._buffer[this._offset++]=e};SSHBuffer.prototype.writePart=function(e){this.writeBuffer(e.data)};SSHBuffer.prototype.write=function(e){while(this._offset+e.length>this._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=e.length}},80575:(e,t,i)=>{e.exports={bufferSplit:bufferSplit,addRSAMissing:addRSAMissing,calculateDSAPublic:calculateDSAPublic,calculateED25519Public:calculateED25519Public,calculateX25519Public:calculateX25519Public,mpNormalize:mpNormalize,mpDenormalize:mpDenormalize,ecNormalize:ecNormalize,countZeros:countZeros,assertCompatible:assertCompatible,isCompatible:isCompatible,opensslKeyDeriv:opensslKeyDeriv,opensshCipherInfo:opensshCipherInfo,publicFromPrivateECDSA:publicFromPrivateECDSA,zeroPadToLength:zeroPadToLength,writeBitString:writeBitString,readBitString:readBitString,pbkdf2:pbkdf2};var n=i(66631);var r=i(15118).Buffer;var s=i(29602);var a=i(36814);var o=i(76417);var u=i(66126);var c=i(80970);var l=i(3943);var p=i(85587).BigInteger;var d=i(68729);var f=3;function isCompatible(e,t,i){if(e===null||typeof e!=="object")return false;if(i===undefined)i=t.prototype._sshpkApiVersion;if(e instanceof t&&t.prototype._sshpkApiVersion[0]==i[0])return true;var n=Object.getPrototypeOf(e);var r=0;while(n.constructor.name!==t.name){n=Object.getPrototypeOf(n);if(!n||++r>f)return false}if(n.constructor.name!==t.name)return false;var s=n._sshpkApiVersion;if(s===undefined)s=t._oldVersionDetect(e);if(s[0]!=i[0]||s[1]=i[1],r+" must be compatible with "+t.name+" klass "+"version "+i[0]+"."+i[1])}var h={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};var m=8;function opensslKeyDeriv(e,t,i,s){n.buffer(t,"salt");n.buffer(i,"passphrase");n.number(s,"iteration count");var a=h[e];n.object(a,"supported cipher");t=t.slice(0,m);var u,c,l;var p=r.alloc(0);while(p.length=t.length){var o=a+1;i.push(e.slice(r,o-s));r=o;s=0}}if(r<=e.length)i.push(e.slice(r,e.length));return i}function ecNormalize(e,t){n.buffer(e);if(e[0]===0&&e[1]===4){if(t)return e;return e.slice(1)}else if(e[0]===4){if(!t)return e}else{while(e[0]===0)e=e.slice(1);if(e[0]===2||e[0]===3)throw new Error("Compressed elliptic curve points "+"are not supported");if(e[0]!==4)throw new Error("Not a valid elliptic curve point");if(!t)return e}var i=r.alloc(e.length+1);i[0]=0;e.copy(i,1);return i}function readBitString(e,t){if(t===undefined)t=c.Ber.BitString;var i=e.readString(t,true);n.strictEqual(i[0],0,"bit strings with unused bits are "+"not supported (0x"+i[0].toString(16)+")");return i.slice(1)}function writeBitString(e,t,i){if(i===undefined)i=c.Ber.BitString;var n=r.alloc(t.length+1);n[0]=0;t.copy(n,1);e.writeBuffer(n,i)}function mpNormalize(e){n.buffer(e);while(e.length>1&&e[0]===0&&(e[1]&128)===0)e=e.slice(1);if((e[0]&128)===128){var t=r.alloc(e.length+1);t[0]=0;e.copy(t,1);e=t}return e}function mpDenormalize(e){n.buffer(e);while(e.length>1&&e[0]===0)e=e.slice(1);return e}function zeroPadToLength(e,t){n.buffer(e);n.number(t);while(e.length>t){n.equal(e[0],0);e=e.slice(1)}while(e.length{"use strict";e.exports={DEFAULT_INITIAL_SIZE:8*1024,DEFAULT_INCREMENT_AMOUNT:8*1024,DEFAULT_FREQUENCY:1,DEFAULT_CHUNK_SIZE:1024}},18838:(e,t,i)=>{"use strict";var n=i(92413);var r=i(2619);var s=i(31669);var a=e.exports=function(e){var t=this;e=e||{};n.Readable.call(this,e);this.stopped=false;var i=e.hasOwnProperty("frequency")?e.frequency:r.DEFAULT_FREQUENCY;var s=e.chunkSize||r.DEFAULT_CHUNK_SIZE;var a=e.initialSize||r.DEFAULT_INITIAL_SIZE;var o=e.incrementAmount||r.DEFAULT_INCREMENT_AMOUNT;var u=0;var c=new Buffer(a);var l=false;var p=function(){var e=Math.min(s,u);var n=false;if(e>0){var r=null;r=new Buffer(e);c.copy(r,0,0,e);n=t.push(r)!==false;l=n;c.copy(c,0,e,u);u-=e}if(u===0&&t.stopped){t.push(null)}if(n){p.timeout=setTimeout(p,i)}else{p.timeout=null}};this.stop=function(){if(this.stopped){throw new Error("stop() called on already stopped ReadableStreamBuffer")}this.stopped=true;if(u===0){this.push(null)}};this.size=function(){return u};this.maxSize=function(){return c.length};var d=function(e){if(c.length-u{"use strict";e.exports=i(2619);e.exports.ReadableStreamBuffer=i(18838);e.exports.WritableStreamBuffer=i(86055)},86055:(e,t,i)=>{"use strict";var n=i(31669);var r=i(92413);var s=i(2619);var a=e.exports=function(e){e=e||{};e.decodeStrings=true;r.Writable.call(this,e);var t=e.initialSize||s.DEFAULT_INITIAL_SIZE;var i=e.incrementAmount||s.DEFAULT_INCREMENT_AMOUNT;var n=new Buffer(t);var a=0;this.size=function(){return a};this.maxSize=function(){return n.length};this.getContents=function(e){if(!a)return false;var t=new Buffer(Math.min(e||a,a));n.copy(t,0,0,t.length);if(t.length{"use strict";e.exports=function(e){var t=typeof e==="string"?"\n":"\n".charCodeAt();var i=typeof e==="string"?"\r":"\r".charCodeAt();if(e[e.length-1]===t){e=e.slice(0,e.length-1)}if(e[e.length-1]===i){e=e.slice(0,e.length-1)}return e}},74674:(e,t,i)=>{"use strict";t.c=t.create=i(44016);t.r=t.replace=i(45923);t.t=t.list=i(51525);t.u=t.update=i(94404);t.x=t.extract=i(75317);t.Pack=i(7900);t.Unpack=i(17628);t.Parse=i(68917);t.ReadEntry=i(38116);t.WriteEntry=i(55450);t.Header=i(66043);t.Pax=i(77996);t.types=i(24173)},44016:(e,t,i)=>{"use strict";const n=i(95274);const r=i(7900);const s=i(27714);const a=i(51525);const o=i(85622);e.exports=((e,t,i)=>{if(typeof t==="function")i=t;if(Array.isArray(e))t=e,e={};if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");return r.file&&r.sync?u(r,t):r.file?c(r,t,i):r.sync?d(r,t):f(r,t)});const u=(e,t)=>{const i=new r.Sync(e);const n=new s.WriteStreamSync(e.file,{mode:e.mode||438});i.pipe(n);l(i,t)};const c=(e,t,i)=>{const n=new r(e);const a=new s.WriteStream(e.file,{mode:e.mode||438});n.pipe(a);const o=new Promise((e,t)=>{a.on("error",t);a.on("close",e);n.on("error",t)});p(n,t);return i?o.then(i,i):o};const l=(e,t)=>{t.forEach(t=>{if(t.charAt(0)==="@"){a({file:o.resolve(e.cwd,t.substr(1)),sync:true,noResume:true,onentry:t=>e.add(t)})}else e.add(t)});e.end()};const p=(e,t)=>{while(t.length){const i=t.shift();if(i.charAt(0)==="@"){return a({file:o.resolve(e.cwd,i.substr(1)),noResume:true,onentry:t=>e.add(t)}).then(i=>p(e,t))}else e.add(i)}e.end()};const d=(e,t)=>{const i=new r.Sync(e);l(i,t);return i};const f=(e,t)=>{const i=new r(e);p(i,t);return i}},75317:(e,t,i)=>{"use strict";const n=i(95274);const r=i(17628);const s=i(35747);const a=i(27714);const o=i(85622);e.exports=((e,t,i)=>{if(typeof e==="function")i=e,t=null,e={};else if(Array.isArray(e))t=e,e={};if(typeof t==="function")i=t,t=null;if(!t)t=[];else t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");if(t.length)u(r,t);return r.file&&r.sync?c(r):r.file?l(r,i):r.sync?p(r):d(r)});const u=(e,t)=>{const i=new Map(t.map(e=>[e.replace(/\/+$/,""),true]));const n=e.filter;const r=(e,t)=>{const n=t||o.parse(e).root||".";const s=e===n?false:i.has(e)?i.get(e):r(o.dirname(e),n);i.set(e,s);return s};e.filter=n?(e,t)=>n(e,t)&&r(e.replace(/\/+$/,"")):e=>r(e.replace(/\/+$/,""))};const c=e=>{const t=new r.Sync(e);const i=e.file;const n=s.statSync(i);const o=e.maxReadSize||16*1024*1024;const u=new a.ReadStreamSync(i,{readSize:o,size:n.size});u.pipe(t)};const l=(e,t)=>{const i=new r(e);const n=e.maxReadSize||16*1024*1024;const o=e.file;const u=new Promise((e,t)=>{i.on("error",t);i.on("close",e);s.stat(o,(e,r)=>{if(e)t(e);else{const e=new a.ReadStream(o,{readSize:n,size:r.size});e.on("error",t);e.pipe(i)}})});return t?u.then(t,t):u};const p=e=>new r.Sync(e);const d=e=>new r(e)},91172:(e,t,i)=>{const n=process.env.__FAKE_PLATFORM__||process.platform;const r=n==="win32";const s=global.__FAKE_TESTING_FS__||i(35747);const{O_CREAT:a,O_TRUNC:o,O_WRONLY:u,UV_FS_O_FILEMAP:c=0}=s.constants;const l=r&&!!c;const p=512*1024;const d=c|o|a|u;e.exports=!l?()=>"w":e=>e{"use strict";const n=i(24173);const r=i(85622).posix;const s=i(52370);const a=Symbol("slurp");const o=Symbol("type");class Header{constructor(e,t,i,n){this.cksumValid=false;this.needPax=false;this.nullBlock=false;this.block=null;this.path=null;this.mode=null;this.uid=null;this.gid=null;this.size=null;this.mtime=null;this.cksum=null;this[o]="0";this.linkpath=null;this.uname=null;this.gname=null;this.devmaj=0;this.devmin=0;this.atime=null;this.ctime=null;if(Buffer.isBuffer(e))this.decode(e,t||0,i,n);else if(e)this.set(e)}decode(e,t,i,n){if(!t)t=0;if(!e||!(e.length>=t+512))throw new Error("need 512 bytes for header");this.path=c(e,t,100);this.mode=d(e,t+100,8);this.uid=d(e,t+108,8);this.gid=d(e,t+116,8);this.size=d(e,t+124,12);this.mtime=l(e,t+136,12);this.cksum=d(e,t+148,12);this[a](i);this[a](n,true);this[o]=c(e,t+156,1);if(this[o]==="")this[o]="0";if(this[o]==="0"&&this.path.substr(-1)==="/")this[o]="5";if(this[o]==="5")this.size=0;this.linkpath=c(e,t+157,100);if(e.slice(t+257,t+265).toString()==="ustar\x0000"){this.uname=c(e,t+265,32);this.gname=c(e,t+297,32);this.devmaj=d(e,t+329,8);this.devmin=d(e,t+337,8);if(e[t+475]!==0){const i=c(e,t+345,155);this.path=i+"/"+this.path}else{const i=c(e,t+345,130);if(i)this.path=i+"/"+this.path;this.atime=l(e,t+476,12);this.ctime=l(e,t+488,12)}}let r=8*32;for(let i=t;i=t+512))throw new Error("need 512 bytes for header");const i=this.ctime||this.atime?130:155;const n=u(this.path||"",i);const r=n[0];const s=n[1];this.needPax=n[2];this.needPax=j(e,t,100,r)||this.needPax;this.needPax=b(e,t+100,8,this.mode)||this.needPax;this.needPax=b(e,t+108,8,this.uid)||this.needPax;this.needPax=b(e,t+116,8,this.gid)||this.needPax;this.needPax=b(e,t+124,12,this.size)||this.needPax;this.needPax=v(e,t+136,12,this.mtime)||this.needPax;e[t+156]=this[o].charCodeAt(0);this.needPax=j(e,t+157,100,this.linkpath)||this.needPax;e.write("ustar\x0000",t+257,8);this.needPax=j(e,t+265,32,this.uname)||this.needPax;this.needPax=j(e,t+297,32,this.gname)||this.needPax;this.needPax=b(e,t+329,8,this.devmaj)||this.needPax;this.needPax=b(e,t+337,8,this.devmin)||this.needPax;this.needPax=j(e,t+345,i,s)||this.needPax;if(e[t+475]!==0)this.needPax=j(e,t+345,155,s)||this.needPax;else{this.needPax=j(e,t+345,130,s)||this.needPax;this.needPax=v(e,t+476,12,this.atime)||this.needPax;this.needPax=v(e,t+488,12,this.ctime)||this.needPax}let a=8*32;for(let i=t;i{const i=100;let n=e;let s="";let a;const o=r.parse(e).root||".";if(Buffer.byteLength(n)i&&Buffer.byteLength(s)<=t)a=[n.substr(0,i-1),s,true];else{n=r.join(r.basename(s),n);s=r.dirname(s)}}while(s!==o&&!a);if(!a)a=[e.substr(0,i-1),"",true]}return a};const c=(e,t,i)=>e.slice(t,t+i).toString("utf8").replace(/\0.*/,"");const l=(e,t,i)=>p(d(e,t,i));const p=e=>e===null?null:new Date(e*1e3);const d=(e,t,i)=>e[t]&128?s.parse(e.slice(t,t+i)):h(e,t,i);const f=e=>isNaN(e)?null:e;const h=(e,t,i)=>f(parseInt(e.slice(t,t+i).toString("utf8").replace(/\0.*$/,"").trim(),8));const m={12:8589934591,8:2097151};const b=(e,t,i,n)=>n===null?false:n>m[i]||n<0?(s.encode(n,e.slice(t,t+i)),true):(g(e,t,i,n),false);const g=(e,t,i,n)=>e.write(y(n,i),t,i,"ascii");const y=(e,t)=>S(Math.floor(e).toString(8),t);const S=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0";const v=(e,t,i,n)=>n===null?false:b(e,t,i,n.getTime()/1e3);const w=new Array(156).join("\0");const j=(e,t,i,n)=>n===null?false:(e.write(n+w,t,i,"utf8"),n.length!==Buffer.byteLength(n)||n.length>i);e.exports=Header},95274:e=>{"use strict";const t=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);e.exports=(e=>e?Object.keys(e).map(i=>[t.has(i)?t.get(i):i,e[i]]).reduce((e,t)=>(e[t[0]]=t[1],e),Object.create(null)):{})},52370:e=>{"use strict";const t=(e,t)=>{if(!Number.isSafeInteger(e))throw Error("cannot encode number outside of javascript safe integer range");else if(e<0)n(e,t);else i(e,t);return t};const i=(e,t)=>{t[0]=128;for(var i=t.length;i>1;i--){t[i-1]=e&255;e=Math.floor(e/256)}};const n=(e,t)=>{t[0]=255;var i=false;e=e*-1;for(var n=t.length;n>1;n--){var r=e&255;e=Math.floor(e/256);if(i)t[n-1]=o(r);else if(r===0)t[n-1]=0;else{i=true;t[n-1]=u(r)}}};const r=e=>{const t=e[0];const i=t===128?a(e.slice(1,e.length)):t===255?s(e):null;if(i===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(i))throw Error("parsed number outside of javascript safe integer range");return i};const s=e=>{var t=e.length;var i=0;var n=false;for(var r=t-1;r>-1;r--){var s=e[r];var a;if(n)a=o(s);else if(s===0)a=s;else{n=true;a=u(s)}if(a!==0)i-=a*Math.pow(256,t-r-1)}return i};const a=e=>{var t=e.length;var i=0;for(var n=t-1;n>-1;n--){var r=e[n];if(r!==0)i+=r*Math.pow(256,t-n-1)}return i};const o=e=>(255^e)&255;const u=e=>(255^e)+1&255;e.exports={encode:t,parse:r}},51525:(e,t,i)=>{"use strict";const n=i(95274);const r=i(68917);const s=i(35747);const a=i(27714);const o=i(85622);e.exports=((e,t,i)=>{if(typeof e==="function")i=e,t=null,e={};else if(Array.isArray(e))t=e,e={};if(typeof t==="function")i=t,t=null;if(!t)t=[];else t=Array.from(t);const r=n(e);if(r.sync&&typeof i==="function")throw new TypeError("callback not supported for sync tar functions");if(!r.file&&typeof i==="function")throw new TypeError("callback only supported with file option");if(t.length)c(r,t);if(!r.noResume)u(r);return r.file&&r.sync?l(r):r.file?p(r,i):d(r)});const u=e=>{const t=e.onentry;e.onentry=t?e=>{t(e);e.resume()}:e=>e.resume()};const c=(e,t)=>{const i=new Map(t.map(e=>[e.replace(/\/+$/,""),true]));const n=e.filter;const r=(e,t)=>{const n=t||o.parse(e).root||".";const s=e===n?false:i.has(e)?i.get(e):r(o.dirname(e),n);i.set(e,s);return s};e.filter=n?(e,t)=>n(e,t)&&r(e.replace(/\/+$/,"")):e=>r(e.replace(/\/+$/,""))};const l=e=>{const t=d(e);const i=e.file;let n=true;let r;try{const a=s.statSync(i);const o=e.maxReadSize||16*1024*1024;if(a.size{const i=new r(e);const n=e.maxReadSize||16*1024*1024;const o=e.file;const u=new Promise((e,t)=>{i.on("error",t);i.on("end",e);s.stat(o,(e,r)=>{if(e)t(e);else{const e=new a.ReadStream(o,{readSize:n,size:r.size});e.on("error",t);e.pipe(i)}})});return t?u.then(t,t):u};const d=e=>new r(e)},69624:(e,t,i)=>{"use strict";const n=i(66186);const r=i(35747);const s=i(85622);const a=i(59051);class SymlinkError extends Error{constructor(e,t){super("Cannot extract through symbolic link");this.path=t;this.symlink=e}get name(){return"SylinkError"}}class CwdError extends Error{constructor(e,t){super(t+": Cannot cd into '"+e+"'");this.path=e;this.code=t}get name(){return"CwdError"}}e.exports=((e,t,i)=>{const u=t.umask;const c=t.mode|448;const l=(c&u)!==0;const p=t.uid;const d=t.gid;const f=typeof p==="number"&&typeof d==="number"&&(p!==t.processUid||d!==t.processGid);const h=t.preserve;const m=t.unlink;const b=t.cache;const g=t.cwd;const y=(t,n)=>{if(t)i(t);else{b.set(e,true);if(n&&f)a(n,p,d,e=>y(e));else if(l)r.chmod(e,c,i);else i()}};if(b&&b.get(e)===true)return y();if(e===g){return r.stat(e,(t,i)=>{if(t||!i.isDirectory())t=new CwdError(e,t&&t.code||"ENOTDIR");y(t)})}if(h)return n(e,{mode:c}).then(e=>y(null,e),y);const S=s.relative(g,e);const v=S.split(/\/|\\/);o(g,v,c,b,m,g,null,y)});const o=(e,t,i,n,s,a,c,l)=>{if(!t.length)return l(null,c);const p=t.shift();const d=e+"/"+p;if(n.get(d))return o(d,t,i,n,s,a,c,l);r.mkdir(d,i,u(d,t,i,n,s,a,c,l))};const u=(e,t,i,n,a,c,l,p)=>d=>{if(d){if(d.path&&s.dirname(d.path)===c&&(d.code==="ENOTDIR"||d.code==="ENOENT"))return p(new CwdError(c,d.code));r.lstat(e,(s,f)=>{if(s)p(s);else if(f.isDirectory())o(e,t,i,n,a,c,l,p);else if(a){r.unlink(e,s=>{if(s)return p(s);r.mkdir(e,i,u(e,t,i,n,a,c,l,p))})}else if(f.isSymbolicLink())return p(new SymlinkError(e,e+"/"+t.join("/")));else p(d)})}else{l=l||e;o(e,t,i,n,a,c,l,p)}};e.exports.sync=((e,t)=>{const i=t.umask;const o=t.mode|448;const u=(o&i)!==0;const c=t.uid;const l=t.gid;const p=typeof c==="number"&&typeof l==="number"&&(c!==t.processUid||l!==t.processGid);const d=t.preserve;const f=t.unlink;const h=t.cache;const m=t.cwd;const b=t=>{h.set(e,true);if(t&&p)a.sync(t,c,l);if(u)r.chmodSync(e,o)};if(h&&h.get(e)===true)return b();if(e===m){let t=false;let i="ENOTDIR";try{t=r.statSync(e).isDirectory()}catch(e){i=e.code}finally{if(!t)throw new CwdError(e,i)}b();return}if(d)return b(n.sync(e,o));const g=s.relative(m,e);const y=g.split(/\/|\\/);let S=null;for(let e=y.shift(),t=m;e&&(t+="/"+e);e=y.shift()){if(h.get(t))continue;try{r.mkdirSync(t,o);S=S||t;h.set(t,true)}catch(e){if(e.path&&s.dirname(e.path)===m&&(e.code==="ENOTDIR"||e.code==="ENOENT"))return new CwdError(m,e.code);const i=r.lstatSync(t);if(i.isDirectory()){h.set(t,true);continue}else if(f){r.unlinkSync(t);r.mkdirSync(t,o);S=S||t;h.set(t,true);continue}else if(i.isSymbolicLink())return new SymlinkError(t,t+"/"+y.join("/"))}}return b(S)})},88371:e=>{"use strict";e.exports=((e,t,i)=>{e&=4095;if(i)e=(e|384)&~18;if(t){if(e&256)e|=64;if(e&32)e|=8;if(e&4)e|=1}return e})},7900:(e,t,i)=>{"use strict";class PackJob{constructor(e,t){this.path=e||"./";this.absolute=t;this.entry=null;this.stat=null;this.readdir=null;this.pending=false;this.ignore=false;this.piped=false}}const n=i(41077);const r=i(33486);const s=i(38116);const a=i(55450);const o=a.Sync;const u=a.Tar;const c=i(40665);const l=Buffer.alloc(1024);const p=Symbol("onStat");const d=Symbol("ended");const f=Symbol("queue");const h=Symbol("current");const m=Symbol("process");const b=Symbol("processing");const g=Symbol("processJob");const y=Symbol("jobs");const S=Symbol("jobDone");const v=Symbol("addFSEntry");const w=Symbol("addTarEntry");const j=Symbol("stat");const z=Symbol("readdir");const O=Symbol("onreaddir");const k=Symbol("pipe");const C=Symbol("entry");const T=Symbol("entryOpt");const _=Symbol("writeEntryClass");const A=Symbol("write");const E=Symbol("ondrain");const R=i(35747);const x=i(85622);const N=i(85899);const V=N(class Pack extends n{constructor(e){super(e);e=e||Object.create(null);this.opt=e;this.file=e.file||"";this.cwd=e.cwd||process.cwd();this.maxReadSize=e.maxReadSize;this.preservePaths=!!e.preservePaths;this.strict=!!e.strict;this.noPax=!!e.noPax;this.prefix=(e.prefix||"").replace(/(\\|\/)+$/,"");this.linkCache=e.linkCache||new Map;this.statCache=e.statCache||new Map;this.readdirCache=e.readdirCache||new Map;this[_]=a;if(typeof e.onwarn==="function")this.on("warn",e.onwarn);this.portable=!!e.portable;this.zip=null;if(e.gzip){if(typeof e.gzip!=="object")e.gzip={};if(this.portable)e.gzip.portable=true;this.zip=new r.Gzip(e.gzip);this.zip.on("data",e=>super.write(e));this.zip.on("end",e=>super.end());this.zip.on("drain",e=>this[E]());this.on("resume",e=>this.zip.resume())}else this.on("drain",this[E]);this.noDirRecurse=!!e.noDirRecurse;this.follow=!!e.follow;this.noMtime=!!e.noMtime;this.mtime=e.mtime||null;this.filter=typeof e.filter==="function"?e.filter:e=>true;this[f]=new c;this[y]=0;this.jobs=+e.jobs||4;this[b]=false;this[d]=false}[A](e){return super.write(e)}add(e){this.write(e);return this}end(e){if(e)this.write(e);this[d]=true;this[m]();return this}write(e){if(this[d])throw new Error("write after end");if(e instanceof s)this[w](e);else this[v](e);return this.flowing}[w](e){const t=x.resolve(this.cwd,e.path);if(this.prefix)e.path=this.prefix+"/"+e.path.replace(/^\.(\/+|$)/,"");if(!this.filter(e.path,e))e.resume();else{const i=new PackJob(e.path,t,false);i.entry=new u(e,this[T](i));i.entry.on("end",e=>this[S](i));this[y]+=1;this[f].push(i)}this[m]()}[v](e){const t=x.resolve(this.cwd,e);if(this.prefix)e=this.prefix+"/"+e.replace(/^\.(\/+|$)/,"");this[f].push(new PackJob(e,t));this[m]()}[j](e){e.pending=true;this[y]+=1;const t=this.follow?"stat":"lstat";R[t](e.absolute,(t,i)=>{e.pending=false;this[y]-=1;if(t)this.emit("error",t);else this[p](e,i)})}[p](e,t){this.statCache.set(e.absolute,t);e.stat=t;if(!this.filter(e.path,t))e.ignore=true;this[m]()}[z](e){e.pending=true;this[y]+=1;R.readdir(e.absolute,(t,i)=>{e.pending=false;this[y]-=1;if(t)return this.emit("error",t);this[O](e,i)})}[O](e,t){this.readdirCache.set(e.absolute,t);e.readdir=t;this[m]()}[m](){if(this[b])return;this[b]=true;for(let e=this[f].head;e!==null&&this[y]this.warn(e,t,i),noPax:this.noPax,cwd:this.cwd,absolute:e.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime}}[C](e){this[y]+=1;try{return new this[_](e.path,this[T](e)).on("end",()=>this[S](e)).on("error",e=>this.emit("error",e))}catch(e){this.emit("error",e)}}[E](){if(this[h]&&this[h].entry)this[h].entry.resume()}[k](e){e.piped=true;if(e.readdir){e.readdir.forEach(t=>{const i=this.prefix?e.path.slice(this.prefix.length+1)||"./":e.path;const n=i==="./"?"":i.replace(/\/*$/,"/");this[v](n+t)})}const t=e.entry;const i=this.zip;if(i){t.on("data",e=>{if(!i.write(e))t.pause()})}else{t.on("data",e=>{if(!super.write(e))t.pause()})}}pause(){if(this.zip)this.zip.pause();return super.pause()}});class PackSync extends V{constructor(e){super(e);this[_]=o}pause(){}resume(){}[j](e){const t=this.follow?"statSync":"lstatSync";this[p](e,R[t](e.absolute))}[z](e,t){this[O](e,R.readdirSync(e.absolute))}[k](e){const t=e.entry;const i=this.zip;if(e.readdir){e.readdir.forEach(t=>{const i=this.prefix?e.path.slice(this.prefix.length+1)||"./":e.path;const n=i==="./"?"":i.replace(/\/*$/,"/");this[v](n+t)})}if(i){t.on("data",e=>{i.write(e)})}else{t.on("data",e=>{super[A](e)})}}}V.Sync=PackSync;e.exports=V},68917:(e,t,i)=>{"use strict";const n=i(85899);const r=i(66043);const s=i(28614);const a=i(40665);const o=1024*1024;const u=i(38116);const c=i(77996);const l=i(33486);const p=Buffer.from([31,139]);const d=Symbol("state");const f=Symbol("writeEntry");const h=Symbol("readEntry");const m=Symbol("nextEntry");const b=Symbol("processEntry");const g=Symbol("extendedHeader");const y=Symbol("globalExtendedHeader");const S=Symbol("meta");const v=Symbol("emitMeta");const w=Symbol("buffer");const j=Symbol("queue");const z=Symbol("ended");const O=Symbol("emittedEnd");const k=Symbol("emit");const C=Symbol("unzip");const T=Symbol("consumeChunk");const _=Symbol("consumeChunkSub");const A=Symbol("consumeBody");const E=Symbol("consumeMeta");const R=Symbol("consumeHeader");const x=Symbol("consuming");const N=Symbol("bufferConcat");const V=Symbol("maybeEnd");const P=Symbol("writing");const M=Symbol("aborted");const B=Symbol("onDone");const I=Symbol("sawValidEntry");const D=Symbol("sawNullBlock");const q=Symbol("sawEOF");const L=e=>true;e.exports=n(class Parser extends s{constructor(e){e=e||{};super(e);this.file=e.file||"";this[I]=null;this.on(B,e=>{if(this[d]==="begin"||this[I]===false){this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}});if(e.ondone)this.on(B,e.ondone);else{this.on(B,e=>{this.emit("prefinish");this.emit("finish");this.emit("end");this.emit("close")})}this.strict=!!e.strict;this.maxMetaEntrySize=e.maxMetaEntrySize||o;this.filter=typeof e.filter==="function"?e.filter:L;this.writable=true;this.readable=false;this[j]=new a;this[w]=null;this[h]=null;this[f]=null;this[d]="begin";this[S]="";this[g]=null;this[y]=null;this[z]=false;this[C]=null;this[M]=false;this[D]=false;this[q]=false;if(typeof e.onwarn==="function")this.on("warn",e.onwarn);if(typeof e.onentry==="function")this.on("entry",e.onentry)}[R](e,t){if(this[I]===null)this[I]=false;let i;try{i=new r(e,t,this[g],this[y])}catch(e){return this.warn("TAR_ENTRY_INVALID",e)}if(i.nullBlock){if(this[D]){this[q]=true;if(this[d]==="begin")this[d]="header";this[k]("eof")}else{this[D]=true;this[k]("nullBlock")}}else{this[D]=false;if(!i.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:i});else if(!i.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:i});else{const e=i.type;if(/^(Symbolic)?Link$/.test(e)&&!i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:i});else if(!/^(Symbolic)?Link$/.test(e)&&i.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:i});else{const e=this[f]=new u(i,this[g],this[y]);if(!this[I]){if(e.remain){const t=()=>{if(!e.invalid)this[I]=true};e.on("end",t)}else this[I]=true}if(e.meta){if(e.size>this.maxMetaEntrySize){e.ignore=true;this[k]("ignoredEntry",e);this[d]="ignore";e.resume()}else if(e.size>0){this[S]="";e.on("data",e=>this[S]+=e);this[d]="meta"}}else{this[g]=null;e.ignore=e.ignore||!this.filter(e.path,e);if(e.ignore){this[k]("ignoredEntry",e);this[d]=e.remain?"ignore":"header";e.resume()}else{if(e.remain)this[d]="body";else{this[d]="header";e.end()}if(!this[h]){this[j].push(e);this[m]()}else this[j].push(e)}}}}}}[b](e){let t=true;if(!e){this[h]=null;t=false}else if(Array.isArray(e))this.emit.apply(this,e);else{this[h]=e;this.emit("entry",e);if(!e.emittedEnd){e.on("end",e=>this[m]());t=false}}return t}[m](){do{}while(this[b](this[j].shift()));if(!this[j].length){const e=this[h];const t=!e||e.flowing||e.size===e.remain;if(t){if(!this[P])this.emit("drain")}else e.once("drain",e=>this.emit("drain"))}}[A](e,t){const i=this[f];const n=i.blockRemain;const r=n>=e.length&&t===0?e:e.slice(t,t+n);i.write(r);if(!i.blockRemain){this[d]="header";this[f]=null;i.end()}return r.length}[E](e,t){const i=this[f];const n=this[A](e,t);if(!this[f])this[v](i);return n}[k](e,t,i){if(!this[j].length&&!this[h])this.emit(e,t,i);else this[j].push([e,t,i])}[v](e){this[k]("meta",this[S]);switch(e.type){case"ExtendedHeader":case"OldExtendedHeader":this[g]=c.parse(this[S],this[g],false);break;case"GlobalExtendedHeader":this[y]=c.parse(this[S],this[y],true);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[g]=this[g]||Object.create(null);this[g].path=this[S].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[g]=this[g]||Object.create(null);this[g].linkpath=this[S].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+e.type)}}abort(e){this[M]=true;this.emit("abort",e);this.warn("TAR_ABORT",e,{recoverable:false})}write(e){if(this[M])return;if(this[C]===null&&e){if(this[w]){e=Buffer.concat([this[w],e]);this[w]=null}if(e.lengththis[T](e));this[C].on("error",e=>this.abort(e));this[C].on("end",e=>{this[z]=true;this[T]()});this[P]=true;const i=this[C][t?"end":"write"](e);this[P]=false;return i}}this[P]=true;if(this[C])this[C].write(e);else this[T](e);this[P]=false;const t=this[j].length?false:this[h]?this[h].flowing:true;if(!t&&!this[j].length)this[h].once("drain",e=>this.emit("drain"));return t}[N](e){if(e&&!this[M])this[w]=this[w]?Buffer.concat([this[w],e]):e}[V](){if(this[z]&&!this[O]&&!this[M]&&!this[x]){this[O]=true;const e=this[f];if(e&&e.blockRemain){const t=this[w]?this[w].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${e.blockRemain} more bytes, only ${t} available)`,{entry:e});if(this[w])e.write(this[w]);e.end()}this[k](B)}}[T](e){if(this[x])this[N](e);else if(!e&&!this[w])this[V]();else{this[x]=true;if(this[w]){this[N](e);const t=this[w];this[w]=null;this[_](t)}else this[_](e);while(this[w]&&this[w].length>=512&&!this[M]&&!this[q]){const e=this[w];this[w]=null;this[_](e)}this[x]=false}if(!this[w]||this[z])this[V]()}[_](e){let t=0;const i=e.length;while(t+512<=i&&!this[M]&&!this[q]){switch(this[d]){case"begin":case"header":this[R](e,t);t+=512;break;case"ignore":case"body":t+=this[A](e,t);break;case"meta":t+=this[E](e,t);break;default:throw new Error("invalid state: "+this[d])}}if(t{const n=i(42357);e.exports=(()=>{const e=new Map;const t=new Map;const{join:r}=i(85622);const s=e=>r(e).split(/[\\/]/).slice(0,-1).reduce((e,t)=>e.length?e.concat(r(e[e.length-1],t)):[t],[]);const a=new Set;const o=i=>{const n=t.get(i);if(!n)throw new Error("function does not have any path reservations");return{paths:n.paths.map(t=>e.get(t)),dirs:[...n.dirs].map(t=>e.get(t))}};const u=e=>{const{paths:t,dirs:i}=o(e);return t.every(t=>t[0]===e)&&i.every(t=>t[0]instanceof Set&&t[0].has(e))};const c=e=>{if(a.has(e)||!u(e))return false;a.add(e);e(()=>l(e));return true};const l=i=>{if(!a.has(i))return false;const{paths:r,dirs:s}=t.get(i);const o=new Set;r.forEach(t=>{const r=e.get(t);n.equal(r[0],i);if(r.length===1)e.delete(t);else{r.shift();if(typeof r[0]==="function")o.add(r[0]);else r[0].forEach(e=>o.add(e))}});s.forEach(t=>{const r=e.get(t);n(r[0]instanceof Set);if(r[0].size===1&&r.length===1)e.delete(t);else if(r[0].size===1){r.shift();o.add(r[0])}else r[0].delete(i)});a.delete(i);o.forEach(e=>c(e));return true};const p=(i,n)=>{const r=new Set(i.map(e=>s(e)).reduce((e,t)=>e.concat(t)));t.set(n,{dirs:r,paths:i});i.forEach(t=>{const i=e.get(t);if(!i)e.set(t,[n]);else i.push(n)});r.forEach(t=>{const i=e.get(t);if(!i)e.set(t,[new Set([n])]);else if(i[i.length-1]instanceof Set)i[i.length-1].add(n);else i.push(new Set([n]))});return c(n)};return{check:u,reserve:p}})},77996:(e,t,i)=>{"use strict";const n=i(66043);const r=i(85622);class Pax{constructor(e,t){this.atime=e.atime||null;this.charset=e.charset||null;this.comment=e.comment||null;this.ctime=e.ctime||null;this.gid=e.gid||null;this.gname=e.gname||null;this.linkpath=e.linkpath||null;this.mtime=e.mtime||null;this.path=e.path||null;this.size=e.size||null;this.uid=e.uid||null;this.uname=e.uname||null;this.dev=e.dev||null;this.ino=e.ino||null;this.nlink=e.nlink||null;this.global=t||false}encode(){const e=this.encodeBody();if(e==="")return null;const t=Buffer.byteLength(e);const i=512*Math.ceil(1+t/512);const s=Buffer.allocUnsafe(i);for(let e=0;e<512;e++)s[e]=0;new n({path:("PaxHeader/"+r.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:t,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(s);s.write(e,512,t,"utf8");for(let e=t+512;e=Math.pow(10,r))r+=1;const s=r+n;return s+i}}Pax.parse=((e,t,i)=>new Pax(s(a(e),t),i));const s=(e,t)=>t?Object.keys(e).reduce((t,i)=>(t[i]=e[i],t),t):e;const a=e=>e.replace(/\n$/,"").split("\n").reduce(o,Object.create(null));const o=(e,t)=>{const i=parseInt(t,10);if(i!==Buffer.byteLength(t)+1)return e;t=t.substr((i+" ").length);const n=t.split("=");const r=n.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!r)return e;const s=n.join("=");e[r]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(r)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s;return e};e.exports=Pax},38116:(e,t,i)=>{"use strict";const n=i(41077);const r=Symbol("slurp");e.exports=class ReadEntry extends n{constructor(e,t,i){super();this.pause();this.extended=t;this.globalExtended=i;this.header=e;this.startBlockSize=512*Math.ceil(e.size/512);this.blockRemain=this.startBlockSize;this.remain=e.size;this.type=e.type;this.meta=false;this.ignore=false;switch(this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=true;break;default:this.ignore=true}this.path=e.path;this.mode=e.mode;if(this.mode)this.mode=this.mode&4095;this.uid=e.uid;this.gid=e.gid;this.uname=e.uname;this.gname=e.gname;this.size=e.size;this.mtime=e.mtime;this.atime=e.atime;this.ctime=e.ctime;this.linkpath=e.linkpath;this.uname=e.uname;this.gname=e.gname;if(t)this[r](t);if(i)this[r](i,true)}write(e){const t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");const i=this.remain;const n=this.blockRemain;this.remain=Math.max(0,i-t);this.blockRemain=Math.max(0,n-t);if(this.ignore)return true;if(i>=t)return super.write(e);return super.write(e.slice(0,i))}[r](e,t){for(const i in e){if(e[i]!==null&&e[i]!==undefined&&!(t&&i==="path"))this[i]=e[i]}}}},45923:(e,t,i)=>{"use strict";const n=i(95274);const r=i(7900);const s=i(35747);const a=i(27714);const o=i(51525);const u=i(85622);const c=i(66043);e.exports=((e,t,i)=>{const r=n(e);if(!r.file)throw new TypeError("file is required");if(r.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);return r.sync?l(r,t):d(r,t,i)});const l=(e,t)=>{const i=new r.Sync(e);let n=true;let a;let o;try{try{a=s.openSync(e.file,"r+")}catch(t){if(t.code==="ENOENT")a=s.openSync(e.file,"w+");else throw t}const r=s.fstatSync(a);const u=Buffer.alloc(512);e:for(o=0;or.size)break;o+=i;if(e.mtimeCache)e.mtimeCache.set(t.path,t.mtime)}n=false;p(e,i,o,a,t)}finally{if(n){try{s.closeSync(a)}catch(e){}}}};const p=(e,t,i,n,r)=>{const s=new a.WriteStreamSync(e.file,{fd:n,start:i});t.pipe(s);f(t,r)};const d=(e,t,i)=>{t=Array.from(t);const n=new r(e);const o=(t,i,n)=>{const r=(e,i)=>{if(e)s.close(t,t=>n(e));else n(null,i)};let a=0;if(i===0)return r(null,0);let o=0;const u=Buffer.alloc(512);const l=(n,p)=>{if(n)return r(n);o+=p;if(o<512&&p){return s.read(t,u,o,u.length-o,a+o,l)}if(a===0&&u[0]===31&&u[1]===139)return r(new Error("cannot append to compressed archives"));if(o<512)return r(null,a);const d=new c(u);if(!d.cksumValid)return r(null,a);const f=512*Math.ceil(d.size/512);if(a+f+512>i)return r(null,a);a+=f+512;if(a>=i)return r(null,a);if(e.mtimeCache)e.mtimeCache.set(d.path,d.mtime);o=0;s.read(t,u,0,512,a,l)};s.read(t,u,0,512,a,l)};const u=new Promise((i,r)=>{n.on("error",r);let u="r+";const c=(l,p)=>{if(l&&l.code==="ENOENT"&&u==="r+"){u="w+";return s.open(e.file,u,c)}if(l)return r(l);s.fstat(p,(s,u)=>{if(s)return r(s);o(p,u.size,(s,o)=>{if(s)return r(s);const u=new a.WriteStream(e.file,{fd:p,start:o});n.pipe(u);u.on("error",r);u.on("close",i);h(n,t)})})};s.open(e.file,u,c)});return i?u.then(i,i):u};const f=(e,t)=>{t.forEach(t=>{if(t.charAt(0)==="@"){o({file:u.resolve(e.cwd,t.substr(1)),sync:true,noResume:true,onentry:t=>e.add(t)})}else e.add(t)});e.end()};const h=(e,t)=>{while(t.length){const i=t.shift();if(i.charAt(0)==="@"){return o({file:u.resolve(e.cwd,i.substr(1)),noResume:true,onentry:t=>e.add(t)}).then(i=>h(e,t))}else e.add(i)}e.end()}},24173:(e,t)=>{"use strict";t.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);t.code=new Map(Array.from(t.name).map(e=>[e[1],e[0]]))},17628:(e,t,i)=>{"use strict";const n=i(42357);const r=i(68917);const s=i(35747);const a=i(27714);const o=i(85622);const u=i(69624);const c=i(44808);const l=i(99587);const p=Symbol("onEntry");const d=Symbol("checkFs");const f=Symbol("checkFs2");const h=Symbol("isReusable");const m=Symbol("makeFs");const b=Symbol("file");const g=Symbol("directory");const y=Symbol("link");const S=Symbol("symlink");const v=Symbol("hardlink");const w=Symbol("unsupported");const j=Symbol("checkPath");const z=Symbol("mkdir");const O=Symbol("onError");const k=Symbol("pending");const C=Symbol("pend");const T=Symbol("unpend");const _=Symbol("ended");const A=Symbol("maybeClose");const E=Symbol("skip");const R=Symbol("doChown");const x=Symbol("uid");const N=Symbol("gid");const V=i(76417);const P=i(91172);const M=()=>{throw new Error("sync function called cb somehow?!?")};const B=(e,t)=>{if(process.platform!=="win32")return s.unlink(e,t);const i=e+".DELETE."+V.randomBytes(16).toString("hex");s.rename(e,i,e=>{if(e)return t(e);s.unlink(i,t)})};const I=e=>{if(process.platform!=="win32")return s.unlinkSync(e);const t=e+".DELETE."+V.randomBytes(16).toString("hex");s.renameSync(e,t);s.unlinkSync(t)};const D=(e,t,i)=>e===e>>>0?e:t===t>>>0?t:i;class Unpack extends r{constructor(e){if(!e)e={};e.ondone=(e=>{this[_]=true;this[A]()});super(e);this.reservations=l();this.transform=typeof e.transform==="function"?e.transform:null;this.writable=true;this.readable=false;this[k]=0;this[_]=false;this.dirCache=e.dirCache||new Map;if(typeof e.uid==="number"||typeof e.gid==="number"){if(typeof e.uid!=="number"||typeof e.gid!=="number")throw new TypeError("cannot set owner without number uid and gid");if(e.preserveOwner){throw new TypeError("cannot preserve owner in archive and also set owner explicitly")}this.uid=e.uid;this.gid=e.gid;this.setOwner=true}else{this.uid=null;this.gid=null;this.setOwner=false}if(e.preserveOwner===undefined&&typeof e.uid!=="number")this.preserveOwner=process.getuid&&process.getuid()===0;else this.preserveOwner=!!e.preserveOwner;this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null;this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null;this.forceChown=e.forceChown===true;this.win32=!!e.win32||process.platform==="win32";this.newer=!!e.newer;this.keep=!!e.keep;this.noMtime=!!e.noMtime;this.preservePaths=!!e.preservePaths;this.unlink=!!e.unlink;this.cwd=o.resolve(e.cwd||process.cwd());this.strip=+e.strip||0;this.processUmask=e.noChmod?0:process.umask();this.umask=typeof e.umask==="number"?e.umask:this.processUmask;this.dmode=e.dmode||511&~this.umask;this.fmode=e.fmode||438&~this.umask;this.on("entry",e=>this[p](e))}warn(e,t,i={}){if(e==="TAR_BAD_ARCHIVE"||e==="TAR_ABORT")i.recoverable=false;return super.warn(e,t,i)}[A](){if(this[_]&&this[k]===0){this.emit("prefinish");this.emit("finish");this.emit("end");this.emit("close")}}[j](e){if(this.strip){const t=e.path.split(/\/|\\/);if(t.length=this.strip)e.linkpath=t.slice(this.strip).join("/")}}if(!this.preservePaths){const t=e.path;if(t.match(/(^|\/|\\)\.\.(\\|\/|$)/)){this.warn("TAR_ENTRY_ERROR",`path contains '..'`,{entry:e,path:t});return false}if(o.win32.isAbsolute(t)){const i=o.win32.parse(t);e.path=t.substr(i.root.length);const n=i.root;this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:e,path:t})}}if(this.win32){const t=o.win32.parse(e.path);e.path=t.root===""?c.encode(e.path):t.root+c.encode(e.path.substr(t.root.length))}if(o.isAbsolute(e.path))e.absolute=e.path;else e.absolute=o.resolve(this.cwd,e.path);return true}[p](e){if(!this[j](e))return e.resume();n.equal(typeof e.absolute,"string");switch(e.type){case"Directory":case"GNUDumpDir":if(e.mode)e.mode=e.mode|448;case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[d](e);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[w](e)}}[O](e,t){if(e.name==="CwdError")this.emit("error",e);else{this.warn("TAR_ENTRY_ERROR",e,{entry:t});this[T]();t.resume()}}[z](e,t,i){u(e,{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t,noChmod:this.noChmod},i)}[R](e){return this.forceChown||this.preserveOwner&&(typeof e.uid==="number"&&e.uid!==this.processUid||typeof e.gid==="number"&&e.gid!==this.processGid)||(typeof this.uid==="number"&&this.uid!==this.processUid||typeof this.gid==="number"&&this.gid!==this.processGid)}[x](e){return D(this.uid,e.uid,this.processUid)}[N](e){return D(this.gid,e.gid,this.processGid)}[b](e,t){const i=e.mode&4095||this.fmode;const n=new a.WriteStream(e.absolute,{flags:P(e.size),mode:i,autoClose:false});n.on("error",t=>this[O](t,e));let r=1;const o=i=>{if(i)return this[O](i,e);if(--r===0){s.close(n.fd,i=>{t();i?this[O](i,e):this[T]()})}};n.on("finish",t=>{const i=e.absolute;const a=n.fd;if(e.mtime&&!this.noMtime){r++;const t=e.atime||new Date;const n=e.mtime;s.futimes(a,t,n,e=>e?s.utimes(i,t,n,t=>o(t&&e)):o())}if(this[R](e)){r++;const t=this[x](e);const n=this[N](e);s.fchown(a,t,n,e=>e?s.chown(i,t,n,t=>o(t&&e)):o())}o()});const u=this.transform?this.transform(e)||e:e;if(u!==e){u.on("error",t=>this[O](t,e));e.pipe(u)}u.pipe(n)}[g](e,t){const i=e.mode&4095||this.dmode;this[z](e.absolute,i,i=>{if(i){t();return this[O](i,e)}let n=1;const r=i=>{if(--n===0){t();this[T]();e.resume()}};if(e.mtime&&!this.noMtime){n++;s.utimes(e.absolute,e.atime||new Date,e.mtime,r)}if(this[R](e)){n++;s.chown(e.absolute,this[x](e),this[N](e),r)}r()})}[w](e){e.unsupported=true;this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${e.type}`,{entry:e});e.resume()}[S](e,t){this[y](e,e.linkpath,"symlink",t)}[v](e,t){this[y](e,o.resolve(this.cwd,e.linkpath),"link",t)}[C](){this[k]++}[T](){this[k]--;this[A]()}[E](e){this[T]();e.resume()}[h](e,t){return e.type==="File"&&!this.unlink&&t.isFile()&&t.nlink<=1&&process.platform!=="win32"}[d](e){this[C]();const t=[e.path];if(e.linkpath)t.push(e.linkpath);this.reservations.reserve(t,t=>this[f](e,t))}[f](e,t){this[z](o.dirname(e.absolute),this.dmode,i=>{if(i){t();return this[O](i,e)}s.lstat(e.absolute,(i,n)=>{if(n&&(this.keep||this.newer&&n.mtime>e.mtime)){this[E](e);t()}else if(i||this[h](e,n))this[m](null,e,t);else if(n.isDirectory()){if(e.type==="Directory"){if(!this.noChmod&&(!e.mode||(n.mode&4095)===e.mode))this[m](null,e,t);else{s.chmod(e.absolute,e.mode,i=>this[m](i,e,t))}}else s.rmdir(e.absolute,i=>this[m](i,e,t))}else B(e.absolute,i=>this[m](i,e,t))})})}[m](e,t,i){if(e)return this[O](e,t);switch(t.type){case"File":case"OldFile":case"ContiguousFile":return this[b](t,i);case"Link":return this[v](t,i);case"SymbolicLink":return this[S](t,i);case"Directory":case"GNUDumpDir":return this[g](t,i)}}[y](e,t,i,n){s[i](t,e.absolute,t=>{if(t)return this[O](t,e);n();this[T]();e.resume()})}}class UnpackSync extends Unpack{[d](e){const t=this[z](o.dirname(e.absolute),this.dmode,M);if(t)return this[O](t,e);try{const i=s.lstatSync(e.absolute);if(this.keep||this.newer&&i.mtime>e.mtime)return this[E](e);else if(this[h](e,i))return this[m](null,e,M);else{try{if(i.isDirectory()){if(e.type==="Directory"){if(!this.noChmod&&e.mode&&(i.mode&4095)!==e.mode)s.chmodSync(e.absolute,e.mode)}else s.rmdirSync(e.absolute)}else I(e.absolute);return this[m](null,e,M)}catch(t){return this[O](t,e)}}}catch(t){return this[m](null,e,M)}}[b](e,t){const i=e.mode&4095||this.fmode;const n=t=>{let i;try{s.closeSync(r)}catch(e){i=e}if(t||i)this[O](t||i,e)};let r;try{r=s.openSync(e.absolute,P(e.size),i)}catch(e){return n(e)}const a=this.transform?this.transform(e)||e:e;if(a!==e){a.on("error",t=>this[O](t,e));e.pipe(a)}a.on("data",e=>{try{s.writeSync(r,e,0,e.length)}catch(e){n(e)}});a.on("end",t=>{let i=null;if(e.mtime&&!this.noMtime){const t=e.atime||new Date;const n=e.mtime;try{s.futimesSync(r,t,n)}catch(r){try{s.utimesSync(e.absolute,t,n)}catch(e){i=r}}}if(this[R](e)){const t=this[x](e);const n=this[N](e);try{s.fchownSync(r,t,n)}catch(r){try{s.chownSync(e.absolute,t,n)}catch(e){i=i||r}}}n(i)})}[g](e,t){const i=e.mode&4095||this.dmode;const n=this[z](e.absolute,i);if(n)return this[O](n,e);if(e.mtime&&!this.noMtime){try{s.utimesSync(e.absolute,e.atime||new Date,e.mtime)}catch(n){}}if(this[R](e)){try{s.chownSync(e.absolute,this[x](e),this[N](e))}catch(n){}}e.resume()}[z](e,t){try{return u.sync(e,{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t})}catch(e){return e}}[y](e,t,i,n){try{s[i+"Sync"](t,e.absolute);e.resume()}catch(t){return this[O](t,e)}}}Unpack.Sync=UnpackSync;e.exports=Unpack},94404:(e,t,i)=>{"use strict";const n=i(95274);const r=i(45923);e.exports=((e,t,i)=>{const a=n(e);if(!a.file)throw new TypeError("file is required");if(a.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);s(a);return r(a,t,i)});const s=e=>{const t=e.filter;if(!e.mtimeCache)e.mtimeCache=new Map;e.filter=t?(i,n)=>t(i,n)&&!(e.mtimeCache.get(i)>n.mtime):(t,i)=>!(e.mtimeCache.get(t)>i.mtime)}},85899:e=>{"use strict";e.exports=(e=>(class extends e{warn(e,t,i={}){if(this.file)i.file=this.file;if(this.cwd)i.cwd=this.cwd;i.code=t instanceof Error&&t.code||e;i.tarCode=e;if(!this.strict&&i.recoverable!==false){if(t instanceof Error){i=Object.assign(t,i);t=t.message}this.emit("warn",i.tarCode,t,i)}else if(t instanceof Error)this.emit("error",Object.assign(t,i));else this.emit("error",Object.assign(new Error(`${e}: ${t}`),i))}}))},44808:e=>{"use strict";const t=["|","<",">","?",":"];const i=t.map(e=>String.fromCharCode(61440+e.charCodeAt(0)));const n=new Map(t.map((e,t)=>[e,i[t]]));const r=new Map(i.map((e,i)=>[e,t[i]]));e.exports={encode:e=>t.reduce((e,t)=>e.split(t).join(n.get(t)),e),decode:e=>i.reduce((e,t)=>e.split(t).join(r.get(t)),e)}},55450:(e,t,i)=>{"use strict";const n=i(41077);const r=i(77996);const s=i(66043);const a=i(35747);const o=i(85622);const u=16*1024*1024;const c=Symbol("process");const l=Symbol("file");const p=Symbol("directory");const d=Symbol("symlink");const f=Symbol("hardlink");const h=Symbol("header");const m=Symbol("read");const b=Symbol("lstat");const g=Symbol("onlstat");const y=Symbol("onread");const S=Symbol("onreadlink");const v=Symbol("openfile");const w=Symbol("onopenfile");const j=Symbol("close");const z=Symbol("mode");const O=i(85899);const k=i(44808);const C=i(88371);const T=O(class WriteEntry extends n{constructor(e,t){t=t||{};super(t);if(typeof e!=="string")throw new TypeError("path is required");this.path=e;this.portable=!!t.portable;this.myuid=process.getuid&&process.getuid();this.myuser=process.env.USER||"";this.maxReadSize=t.maxReadSize||u;this.linkCache=t.linkCache||new Map;this.statCache=t.statCache||new Map;this.preservePaths=!!t.preservePaths;this.cwd=t.cwd||process.cwd();this.strict=!!t.strict;this.noPax=!!t.noPax;this.noMtime=!!t.noMtime;this.mtime=t.mtime||null;if(typeof t.onwarn==="function")this.on("warn",t.onwarn);let i=false;if(!this.preservePaths&&o.win32.isAbsolute(e)){const t=o.win32.parse(e);this.path=e.substr(t.root.length);i=t.root}this.win32=!!t.win32||process.platform==="win32";if(this.win32){this.path=k.decode(this.path.replace(/\\/g,"/"));e=e.replace(/\\/g,"/")}this.absolute=t.absolute||o.resolve(this.cwd,e);if(this.path==="")this.path="./";if(i){this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path})}if(this.statCache.has(this.absolute))this[g](this.statCache.get(this.absolute));else this[b]()}[b](){a.lstat(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[g](t)})}[g](e){this.statCache.set(this.absolute,e);this.stat=e;if(!e.isFile())e.size=0;this.type=A(e);this.emit("stat",e);this[c]()}[c](){switch(this.type){case"File":return this[l]();case"Directory":return this[p]();case"SymbolicLink":return this[d]();default:return this.end()}}[z](e){return C(e,this.type==="Directory",this.portable)}[h](){if(this.type==="Directory"&&this.portable)this.noMtime=true;this.header=new s({path:this.path,linkpath:this.linkpath,mode:this[z](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime});if(this.header.encode()&&!this.noPax){this.write(new r({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this.path,linkpath:this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode())}this.write(this.header.block)}[p](){if(this.path.substr(-1)!=="/")this.path+="/";this.stat.size=0;this[h]();this.end()}[d](){a.readlink(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[S](t)})}[S](e){this.linkpath=e.replace(/\\/g,"/");this[h]();this.end()}[f](e){this.type="Link";this.linkpath=o.relative(this.cwd,e).replace(/\\/g,"/");this.stat.size=0;this[h]();this.end()}[l](){if(this.stat.nlink>1){const e=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(e)){const t=this.linkCache.get(e);if(t.indexOf(this.cwd)===0)return this[f](t)}this.linkCache.set(e,this.absolute)}this[h]();if(this.stat.size===0)return this.end();this[v]()}[v](){a.open(this.absolute,"r",(e,t)=>{if(e)return this.emit("error",e);this[w](t)})}[w](e){const t=512*Math.ceil(this.stat.size/512);const i=Math.min(t,this.maxReadSize);const n=Buffer.allocUnsafe(i);this[m](e,n,0,n.length,0,this.stat.size,t)}[m](e,t,i,n,r,s,o){a.read(e,t,i,n,r,(a,u)=>{if(a){return this[j](e,()=>this.emit("error",a))}this[y](e,t,i,n,r,s,o,u)})}[j](e,t){a.close(e,t)}[y](e,t,i,n,r,s,a,o){if(o<=0&&s>0){const t=new Error("encountered unexpected EOF");t.path=this.absolute;t.syscall="read";t.code="EOF";return this[j](e,()=>this.emit("error",t))}if(o>s){const t=new Error("did not encounter expected EOF");t.path=this.absolute;t.syscall="read";t.code="EOF";return this[j](e,()=>this.emit("error",t))}if(o===s){for(let e=o;ee?this.emit("error",e):this.end())}if(i>=n){t=Buffer.allocUnsafe(n);i=0}n=t.length-i;this[m](e,t,i,n,r,s,a)}});class WriteEntrySync extends T{[b](){this[g](a.lstatSync(this.absolute))}[d](){this[S](a.readlinkSync(this.absolute))}[v](){this[w](a.openSync(this.absolute,"r"))}[m](e,t,i,n,r,s,o){let u=true;try{const c=a.readSync(e,t,i,n,r);this[y](e,t,i,n,r,s,o,c);u=false}finally{if(u){try{this[j](e,()=>{})}catch(e){}}}}[j](e,t){a.closeSync(e);t()}}const _=O(class WriteEntryTar extends n{constructor(e,t){t=t||{};super(t);this.preservePaths=!!t.preservePaths;this.portable=!!t.portable;this.strict=!!t.strict;this.noPax=!!t.noPax;this.noMtime=!!t.noMtime;this.readEntry=e;this.type=e.type;if(this.type==="Directory"&&this.portable)this.noMtime=true;this.path=e.path;this.mode=this[z](e.mode);this.uid=this.portable?null:e.uid;this.gid=this.portable?null:e.gid;this.uname=this.portable?null:e.uname;this.gname=this.portable?null:e.gname;this.size=e.size;this.mtime=this.noMtime?null:t.mtime||e.mtime;this.atime=this.portable?null:e.atime;this.ctime=this.portable?null:e.ctime;this.linkpath=e.linkpath;if(typeof t.onwarn==="function")this.on("warn",t.onwarn);let i=false;if(o.isAbsolute(this.path)&&!this.preservePaths){const e=o.parse(this.path);i=e.root;this.path=this.path.substr(e.root.length)}this.remain=e.size;this.blockRemain=e.startBlockSize;this.header=new s({path:this.path,linkpath:this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime});if(i){this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:this,path:i+this.path})}if(this.header.encode()&&!this.noPax){super.write(new r({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this.path,linkpath:this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode())}super.write(this.header.block);e.pipe(this)}[z](e){return C(e,this.type==="Directory",this.portable)}write(e){const t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");this.blockRemain-=t;return super.write(e)}end(){if(this.blockRemain)this.write(Buffer.alloc(this.blockRemain));return super.end()}});T.Sync=WriteEntrySync;T.Tar=_;const A=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";e.exports=T},68065:(e,t,i)=>{"use strict";const{promisify:n}=i(31669);const r=i(8517);e.exports.fileSync=r.fileSync;const s=n((e,t)=>r.file(e,(e,i,r,s)=>e?t(e):t(undefined,{path:i,fd:r,cleanup:n(s)})));e.exports.file=(async e=>s(e));e.exports.withFile=async function withFile(t,i){const{path:n,fd:r,cleanup:s}=await e.exports.file(i);try{return await t({path:n,fd:r})}finally{await s()}};e.exports.dirSync=r.dirSync;const a=n((e,t)=>r.dir(e,(e,i,r)=>e?t(e):t(undefined,{path:i,cleanup:n(r)})));e.exports.dir=(async e=>a(e));e.exports.withDir=async function withDir(t,i){const{path:n,cleanup:r}=await e.exports.dir(i);try{return await t({path:n})}finally{await r()}};e.exports.tmpNameSync=r.tmpNameSync;e.exports.tmpName=n(r.tmpName);e.exports.tmpdir=r.tmpdir;e.exports.setGracefulCleanup=r.setGracefulCleanup},8517:(e,t,i)=>{const n=i(35747);const r=i(12087);const s=i(85622);const a=i(76417);const o={fs:n.constants,os:r.constants};const u=i(14959);const c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",l=/XXXXXX/,p=3,d=(o.O_CREAT||o.fs.O_CREAT)|(o.O_EXCL||o.fs.O_EXCL)|(o.O_RDWR||o.fs.O_RDWR),f=r.platform()==="win32",h=o.EBADF||o.os.errno.EBADF,m=o.ENOENT||o.os.errno.ENOENT,b=448,g=384,y="exit",S=[],v=n.rmdirSync.bind(n),w=u.sync;let j=false;function tmpName(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];try{_assertAndSanitizeOptions(r)}catch(e){return s(e)}let a=r.tries;(function _getUniqueName(){try{const e=_generateTmpName(r);n.stat(e,function(t){if(!t){if(a-- >0)return _getUniqueName();return s(new Error("Could not get a unique tmp filename, max tries reached "+e))}s(null,e)})}catch(e){s(e)}})()}function tmpNameSync(e){const t=_parseArguments(e),i=t[0];_assertAndSanitizeOptions(i);let r=i.tries;do{const e=_generateTmpName(i);try{n.statSync(e)}catch(t){return e}}while(r-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];tmpName(r,function _tmpNameCreated(e,t){if(e)return s(e);n.open(t,d,r.mode||g,function _fileCreated(e,i){if(e)return s(e);if(r.discardDescriptor){return n.close(i,function _discardCallback(e){return s(e,t,undefined,_prepareTmpFileRemoveCallback(t,-1,r,false))})}else{const e=r.discardDescriptor||r.detachDescriptor;s(null,t,i,_prepareTmpFileRemoveCallback(t,e?-1:i,r,false))}})})}function fileSync(e){const t=_parseArguments(e),i=t[0];const r=i.discardDescriptor||i.detachDescriptor;const s=tmpNameSync(i);var a=n.openSync(s,d,i.mode||g);if(i.discardDescriptor){n.closeSync(a);a=undefined}return{name:s,fd:a,removeCallback:_prepareTmpFileRemoveCallback(s,r?-1:a,i,true)}}function dir(e,t){const i=_parseArguments(e,t),r=i[0],s=i[1];tmpName(r,function _tmpNameCreated(e,t){if(e)return s(e);n.mkdir(t,r.mode||b,function _dirCreated(e){if(e)return s(e);s(null,t,_prepareTmpDirRemoveCallback(t,r,false))})})}function dirSync(e){const t=_parseArguments(e),i=t[0];const r=tmpNameSync(i);n.mkdirSync(r,i.mode||b);return{name:r,removeCallback:_prepareTmpDirRemoveCallback(r,i,true)}}function _removeFileAsync(e,t){const i=function(e){if(e&&!_isENOENT(e)){return t(e)}t()};if(0<=e[0])n.close(e[0],function(){n.unlink(e[1],i)});else n.unlink(e[1],i)}function _removeFileSync(e){let t=null;try{if(0<=e[0])n.closeSync(e[0])}catch(e){if(!_isEBADF(e)&&!_isENOENT(e))throw e}finally{try{n.unlinkSync(e[1])}catch(e){if(!_isENOENT(e))t=e}}if(t!==null){throw t}}function _prepareTmpFileRemoveCallback(e,t,i,n){const r=_prepareRemoveCallback(_removeFileSync,[t,e],n);const s=_prepareRemoveCallback(_removeFileAsync,[t,e],n,r);if(!i.keep)S.unshift(r);return n?r:s}function _prepareTmpDirRemoveCallback(e,t,i){const r=t.unsafeCleanup?u:n.rmdir.bind(n);const s=t.unsafeCleanup?w:v;const a=_prepareRemoveCallback(s,e,i);const o=_prepareRemoveCallback(r,e,i,a);if(!t.keep)S.unshift(a);return i?a:o}function _prepareRemoveCallback(e,t,i,n){let r=false;return function _cleanupCallback(s){if(!r){const a=n||_cleanupCallback;const o=S.indexOf(a);if(o>=0)S.splice(o,1);r=true;if(i||e===v||e===w){return e(t)}else{return e(t,s||function(){})}}}}function _garbageCollector(){if(!j)return;while(S.length){try{S[0]()}catch(e){}}}function _randomChars(e){let t=[],i=null;try{i=a.randomBytes(e)}catch(t){i=a.pseudoRandomBytes(e)}for(var n=0;n{"use strict";var n=i(11631);var r=i(78835).parse;var s=i(31669);var a=i(94401);var o=i(460).y;var u=i(52640).m;var c=i(54336).U;var l=i(93199);var p;try{p=i(94213)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var d=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var f=/[\x00-\x1F]/;var h=["\n","\r","\0"];var m=/[\x20-\x3A\x3C-\x7E]+/;var b=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var g={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var S=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var v=2147483647e3;var w=0;function parseDigits(e,t,i,n){var r=0;while(r=58){break}r++}if(ri){return null}if(!n&&r!=e.length){return null}return parseInt(e.substr(0,r),10)}function parseTime(e){var t=e.split(":");var i=[0,0,0];if(t.length!==3){return null}for(var n=0;n<3;n++){var r=n==2;var s=parseDigits(t[n],1,2,r);if(s===null){return null}i[n]=s}return i}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();var t=g[e];return t>=0?t:null}function parseDate(e){if(!e){return}var t=e.split(b);if(!t){return}var i=null;var n=null;var r=null;var s=null;var a=null;var o=null;for(var u=0;u=70&&o<=99){o+=1900}else if(o>=0&&o<=69){o+=2e3}}}}if(s===null||a===null||o===null||r===null||s<1||s>31||o<1601||i>23||n>59||r>59){return}return new Date(Date.UTC(o,a,s,i,n,r))}function formatDate(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var i=e.getUTCHours();i=i>=10?i:"0"+i;var n=e.getUTCMinutes();n=n>=10?n:"0"+n;var r=e.getUTCSeconds();r=r>=10?r:"0"+r;return S[e.getUTCDay()]+", "+t+" "+y[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+i+":"+n+":"+r+" GMT"}function canonicalDomain(e){if(e==null){return null}e=e.trim().replace(/^\./,"");if(p&&/[^\u0001-\u007f]/.test(e)){e=p.toASCII(e)}return e.toLowerCase()}function domainMatch(e,t,i){if(e==null||t==null){return null}if(i!==false){e=canonicalDomain(e);t=canonicalDomain(t)}if(e==t){return true}if(n.isIP(e)){return false}var r=e.indexOf(t);if(r<=0){return false}if(e.length!==t.length+r){return false}if(e.substr(r-1,1)!=="."){return false}return true}function defaultPath(e){if(!e||e.substr(0,1)!=="/"){return"/"}if(e==="/"){return e}var t=e.lastIndexOf("/");if(t===0){return"/"}return e.slice(0,t)}function trimTerminator(e){for(var t=0;t1){var i=e.lastIndexOf("/");if(i===0){break}e=e.substr(0,i);t.push(e)}t.push("/");return t}function getCookieContext(e){if(e instanceof Object){return e}try{e=decodeURI(e)}catch(e){}return r(e)}function Cookie(e){e=e||{};Object.keys(e).forEach(function(t){if(Cookie.prototype.hasOwnProperty(t)&&Cookie.prototype[t]!==e[t]&&t.substr(0,1)!=="_"){this[t]=e[t]}},this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter(function(e){return!(Cookie.prototype[e]instanceof Function||e==="creationIndex"||e.substr(0,1)==="_")});Cookie.prototype.inspect=function inspect(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'};if(s.inspect.custom){Cookie.prototype[s.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var e={};var t=Cookie.serializableProperties;for(var i=0;i{"use strict";var n=i(460).y;var r=i(55986).permuteDomain;var s=i(54336).U;var a=i(31669);function MemoryCookieStore(){n.call(this);this.idx={}}a.inherits(MemoryCookieStore,n);t.m=MemoryCookieStore;MemoryCookieStore.prototype.idx=null;MemoryCookieStore.prototype.synchronous=true;MemoryCookieStore.prototype.inspect=function(){return"{ idx: "+a.inspect(this.idx,false,2)+" }"};if(a.inspect.custom){MemoryCookieStore.prototype[a.inspect.custom]=MemoryCookieStore.prototype.inspect}MemoryCookieStore.prototype.findCookie=function(e,t,i,n){if(!this.idx[e]){return n(null,undefined)}if(!this.idx[e][t]){return n(null,undefined)}return n(null,this.idx[e][t][i]||null)};MemoryCookieStore.prototype.findCookies=function(e,t,i){var n=[];if(!e){return i(null,[])}var a;if(!t){a=function matchAll(e){for(var t in e){var i=e[t];for(var r in i){n.push(i[r])}}}}else{a=function matchRFC(e){Object.keys(e).forEach(function(i){if(s(t,i)){var r=e[i];for(var a in r){n.push(r[a])}}})}}var o=r(e)||[e];var u=this.idx;o.forEach(function(e){var t=u[e];if(!t){return}a(t)});i(null,n)};MemoryCookieStore.prototype.putCookie=function(e,t){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;t(null)};MemoryCookieStore.prototype.updateCookie=function(e,t,i){this.putCookie(t,i)};MemoryCookieStore.prototype.removeCookie=function(e,t,i,n){if(this.idx[e]&&this.idx[e][t]&&this.idx[e][t][i]){delete this.idx[e][t][i]}n(null)};MemoryCookieStore.prototype.removeCookies=function(e,t,i){if(this.idx[e]){if(t){delete this.idx[e][t]}else{delete this.idx[e]}}return i(null)};MemoryCookieStore.prototype.removeAllCookies=function(e){this.idx={};return e(null)};MemoryCookieStore.prototype.getAllCookies=function(e){var t=[];var i=this.idx;var n=Object.keys(i);n.forEach(function(e){var n=Object.keys(i[e]);n.forEach(function(n){var r=Object.keys(i[e][n]);r.forEach(function(r){if(r!==null){t.push(i[e][n][r])}})})});t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)});e(null,t)}},54336:(e,t)=>{"use strict";function pathMatch(e,t){if(t===e){return true}var i=e.indexOf(t);if(i===0){if(t.substr(-1)==="/"){return true}if(e.substr(t.length,1)==="/"){return true}}return false}t.U=pathMatch},55986:(e,t,i)=>{"use strict";var n=i(94401);function permuteDomain(e){var t=n.getPublicSuffix(e);if(!t){return null}if(t==e){return[e]}var i=e.slice(0,-(t.length+1));var r=i.split(".").reverse();var s=t;var a=[s];while(r.length){s=r.shift()+"."+s;a.push(s)}return a}t.permuteDomain=permuteDomain},94401:(e,t,i)=>{"use strict";var n=i(29975);function getPublicSuffix(e){return n.get(e)}t.getPublicSuffix=getPublicSuffix},460:(e,t)=>{"use strict";function Store(){}t.y=Store;Store.prototype.synchronous=false;Store.prototype.findCookie=function(e,t,i,n){throw new Error("findCookie is not implemented")};Store.prototype.findCookies=function(e,t,i){throw new Error("findCookies is not implemented")};Store.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")};Store.prototype.updateCookie=function(e,t,i){throw new Error("updateCookie is not implemented")};Store.prototype.removeCookie=function(e,t,i,n){throw new Error("removeCookie is not implemented")};Store.prototype.removeCookies=function(e,t,i){throw new Error("removeCookies is not implemented")};Store.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")};Store.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},93199:e=>{e.exports="2.5.0"},75636:(e,t,i)=>{"use strict";i.r(t);i.d(t,{__extends:()=>__extends,__assign:()=>r,__rest:()=>__rest,__decorate:()=>__decorate,__param:()=>__param,__metadata:()=>__metadata,__awaiter:()=>__awaiter,__generator:()=>__generator,__createBinding:()=>__createBinding,__exportStar:()=>__exportStar,__values:()=>__values,__read:()=>__read,__spread:()=>__spread,__spreadArrays:()=>__spreadArrays,__await:()=>__await,__asyncGenerator:()=>__asyncGenerator,__asyncDelegator:()=>__asyncDelegator,__asyncValues:()=>__asyncValues,__makeTemplateObject:()=>__makeTemplateObject,__importStar:()=>__importStar,__importDefault:()=>__importDefault,__classPrivateFieldGet:()=>__classPrivateFieldGet,__classPrivateFieldSet:()=>__classPrivateFieldSet});var n=function(e,t){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)if(t.hasOwnProperty(i))e[i]=t[i]};return n(e,t)};function __extends(e,t){n(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)}var r=function(){r=Object.assign||function __assign(e){for(var t,i=1,n=arguments.length;i=0;o--)if(a=e[o])s=(r<3?a(s):r>3?a(t,i,s):a(t,i))||s;return r>3&&s&&Object.defineProperty(t,i,s),s}function __param(e,t){return function(i,n){t(i,n,e)}}function __metadata(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)}function __awaiter(e,t,i,n){function adopt(e){return e instanceof i?e:new i(function(t){t(e)})}return new(i||(i=Promise))(function(i,r){function fulfilled(e){try{step(n.next(e))}catch(e){r(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){r(e)}}function step(e){e.done?i(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})}function __generator(e,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,a;return a={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function verb(e){return function(t){return step([e,t])}}function step(a){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(s=a[0]&2?r["return"]:a[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;if(r=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(e,t){var i=typeof Symbol==="function"&&e[Symbol.iterator];if(!i)return e;var n=i.call(e),r,s=[],a;try{while((t===void 0||t-- >0)&&!(r=n.next()).done)s.push(r.value)}catch(e){a={error:e}}finally{try{if(r&&!r.done&&(i=n["return"]))i.call(n)}finally{if(a)throw a.error}}return s}function __spread(){for(var e=[],t=0;t1||resume(e,t)})}}function resume(e,t){try{step(n[e](t))}catch(e){settle(s[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(s[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),s.shift(),s.length)resume(s[0][0],s[0][1])}}function __asyncDelegator(e){var t,i;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,r){t[n]=e[n]?function(t){return(i=!i)?{value:__await(e[n](t)),done:n==="return"}:r?r(t):t}:r}}function __asyncValues(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],i;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(t){i[t]=e[t]&&function(i){return new Promise(function(n,r){i=e[t](i),settle(n,r,i.done,i.value)})}}function settle(e,t,i,n){Promise.resolve(n).then(function(t){e({value:t,done:i})},t)}}function __makeTemplateObject(e,t){if(Object.defineProperty){Object.defineProperty(e,"raw",{value:t})}else{e.raw=t}return e}function __importStar(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)if(Object.hasOwnProperty.call(e,i))t[i]=e[i];t.default=e;return t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}function __classPrivateFieldGet(e,t){if(!t.has(e)){throw new TypeError("attempted to get private field on non-instance")}return t.get(e)}function __classPrivateFieldSet(e,t,i){if(!t.has(e)){throw new TypeError("attempted to set private field on non-instance")}t.set(e,i);return i}},11137:(e,t,i)=>{"use strict";var n=i(11631),r=i(4016),s=i(98605),a=i(57211),o=i(28614),u=i(42357),c=i(31669),l=i(21867).Buffer;t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||s.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,i,n){for(var r=0,s=t.requests.length;r=this.maxSockets){i.requests.push({host:t.host,port:t.port,request:e});return}i.createConnection({host:t.host,port:t.port,request:e})};TunnelingAgent.prototype.createConnection=function createConnection(e){var t=this;t.createSocket(e,function(i){i.on("free",onFree);i.on("close",onCloseOrRemove);i.on("agentRemove",onCloseOrRemove);e.request.onSocket(i);function onFree(){t.emit("free",i,e.host,e.port)}function onCloseOrRemove(e){t.removeSocket(i);i.removeListener("free",onFree);i.removeListener("close",onCloseOrRemove);i.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var i=this;var n={};i.sockets.push(n);var r=mergeOptions({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false});if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+l.from(r.proxyAuth).toString("base64")}p("making CONNECT request");var s=i.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,i){process.nextTick(function(){onConnect(e,t,i)})}function onConnect(r,a,o){s.removeAllListeners();a.removeAllListeners();if(r.statusCode===200){u.equal(o.length,0);p("tunneling connection has established");i.sockets[i.sockets.indexOf(n)]=a;t(a)}else{p("tunneling socket could not be established, statusCode=%d",r.statusCode);var c=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);c.code="ECONNRESET";e.request.emit("error",c);i.removeSocket(n)}}function onError(t){s.removeAllListeners();p("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, "+"cause="+t.message);r.code="ECONNRESET";e.request.emit("error",r);i.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1)return;this.sockets.splice(t,1);var i=this.requests.shift();if(i){this.createConnection(i)}};function createSecureSocket(e,t){var i=this;TunnelingAgent.prototype.createSocket.call(i,e,function(n){var s=r.connect(0,mergeOptions({},i.options,{servername:e.host,socket:n}));i.sockets[i.sockets.indexOf(n)]=s;t(s)})}function mergeOptions(e){for(var t=1,i=arguments.length;t{e.exports=i(54219)},54219:(e,t,i)=>{"use strict";var n=i(11631);var r=i(4016);var s=i(98605);var a=i(57211);var o=i(28614);var u=i(42357);var c=i(31669);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=s.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||s.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",function onFree(e,i,n,r){var s=toOptions(i,n,r);for(var a=0,o=t.requests.length;a=this.maxSockets){r.requests.push(s);return}r.createSocket(s,function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){r.emit("free",t,s)}function onCloseOrRemove(e){r.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var i=this;var n={};i.sockets.push(n);var r=mergeOptions({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){r.localAddress=e.localAddress}if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+new Buffer(r.proxyAuth).toString("base64")}l("making CONNECT request");var s=i.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,i){process.nextTick(function(){onConnect(e,t,i)})}function onConnect(r,a,o){s.removeAllListeners();a.removeAllListeners();if(r.statusCode!==200){l("tunneling socket could not be established, statusCode=%d",r.statusCode);a.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);u.code="ECONNRESET";e.request.emit("error",u);i.removeSocket(n);return}if(o.length>0){l("got illegal response body from proxy");a.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);i.removeSocket(n);return}l("tunneling connection has established");i.sockets[i.sockets.indexOf(n)]=a;return t(a)}function onError(t){s.removeAllListeners();l("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, "+"cause="+t.message);r.code="ECONNRESET";e.request.emit("error",r);i.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var i=this.requests.shift();if(i){this.createSocket(i,function(e){i.request.onSocket(e)})}};function createSecureSocket(e,t){var i=this;TunnelingAgent.prototype.createSocket.call(i,e,function(n){var s=e.request.getHeader("host");var a=mergeOptions({},i.options,{socket:n,servername:s?s.replace(/:.*$/,""):e.host});var o=r.connect(0,a);i.sockets[i.sockets.indexOf(n)]=o;t(o)})}function toOptions(e,t,i){if(typeof e==="string"){return{host:e,port:t,localAddress:i}}return e}function mergeOptions(e){for(var t=1,i=arguments.length;t{(function(e){"use strict";var t=function(e){var t,i=new Float64Array(16);if(e)for(t=0;t>24&255;e[t+1]=i>>16&255;e[t+2]=i>>8&255;e[t+3]=i&255;e[t+4]=n>>24&255;e[t+5]=n>>16&255;e[t+6]=n>>8&255;e[t+7]=n&255}function vn(e,t,i,n,r){var s,a=0;for(s=0;s>>8)-1}function crypto_verify_16(e,t,i,n){return vn(e,t,i,n,16)}function crypto_verify_32(e,t,i,n){return vn(e,t,i,n,32)}function core_salsa20(e,t,i,n){var r=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,s=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,a=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,c=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,l=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,p=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,d=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var v=r,w=s,j=a,z=o,O=u,k=c,C=l,T=p,_=d,A=f,E=h,R=m,x=b,N=g,V=y,P=S,M;for(var B=0;B<20;B+=2){M=v+x|0;O^=M<<7|M>>>32-7;M=O+v|0;_^=M<<9|M>>>32-9;M=_+O|0;x^=M<<13|M>>>32-13;M=x+_|0;v^=M<<18|M>>>32-18;M=k+w|0;A^=M<<7|M>>>32-7;M=A+k|0;N^=M<<9|M>>>32-9;M=N+A|0;w^=M<<13|M>>>32-13;M=w+N|0;k^=M<<18|M>>>32-18;M=E+C|0;V^=M<<7|M>>>32-7;M=V+E|0;j^=M<<9|M>>>32-9;M=j+V|0;C^=M<<13|M>>>32-13;M=C+j|0;E^=M<<18|M>>>32-18;M=P+R|0;z^=M<<7|M>>>32-7;M=z+P|0;T^=M<<9|M>>>32-9;M=T+z|0;R^=M<<13|M>>>32-13;M=R+T|0;P^=M<<18|M>>>32-18;M=v+z|0;w^=M<<7|M>>>32-7;M=w+v|0;j^=M<<9|M>>>32-9;M=j+w|0;z^=M<<13|M>>>32-13;M=z+j|0;v^=M<<18|M>>>32-18;M=k+O|0;C^=M<<7|M>>>32-7;M=C+k|0;T^=M<<9|M>>>32-9;M=T+C|0;O^=M<<13|M>>>32-13;M=O+T|0;k^=M<<18|M>>>32-18;M=E+A|0;R^=M<<7|M>>>32-7;M=R+E|0;_^=M<<9|M>>>32-9;M=_+R|0;A^=M<<13|M>>>32-13;M=A+_|0;E^=M<<18|M>>>32-18;M=P+V|0;x^=M<<7|M>>>32-7;M=x+P|0;N^=M<<9|M>>>32-9;M=N+x|0;V^=M<<13|M>>>32-13;M=V+N|0;P^=M<<18|M>>>32-18}v=v+r|0;w=w+s|0;j=j+a|0;z=z+o|0;O=O+u|0;k=k+c|0;C=C+l|0;T=T+p|0;_=_+d|0;A=A+f|0;E=E+h|0;R=R+m|0;x=x+b|0;N=N+g|0;V=V+y|0;P=P+S|0;e[0]=v>>>0&255;e[1]=v>>>8&255;e[2]=v>>>16&255;e[3]=v>>>24&255;e[4]=w>>>0&255;e[5]=w>>>8&255;e[6]=w>>>16&255;e[7]=w>>>24&255;e[8]=j>>>0&255;e[9]=j>>>8&255;e[10]=j>>>16&255;e[11]=j>>>24&255;e[12]=z>>>0&255;e[13]=z>>>8&255;e[14]=z>>>16&255;e[15]=z>>>24&255;e[16]=O>>>0&255;e[17]=O>>>8&255;e[18]=O>>>16&255;e[19]=O>>>24&255;e[20]=k>>>0&255;e[21]=k>>>8&255;e[22]=k>>>16&255;e[23]=k>>>24&255;e[24]=C>>>0&255;e[25]=C>>>8&255;e[26]=C>>>16&255;e[27]=C>>>24&255;e[28]=T>>>0&255;e[29]=T>>>8&255;e[30]=T>>>16&255;e[31]=T>>>24&255;e[32]=_>>>0&255;e[33]=_>>>8&255;e[34]=_>>>16&255;e[35]=_>>>24&255;e[36]=A>>>0&255;e[37]=A>>>8&255;e[38]=A>>>16&255;e[39]=A>>>24&255;e[40]=E>>>0&255;e[41]=E>>>8&255;e[42]=E>>>16&255;e[43]=E>>>24&255;e[44]=R>>>0&255;e[45]=R>>>8&255;e[46]=R>>>16&255;e[47]=R>>>24&255;e[48]=x>>>0&255;e[49]=x>>>8&255;e[50]=x>>>16&255;e[51]=x>>>24&255;e[52]=N>>>0&255;e[53]=N>>>8&255;e[54]=N>>>16&255;e[55]=N>>>24&255;e[56]=V>>>0&255;e[57]=V>>>8&255;e[58]=V>>>16&255;e[59]=V>>>24&255;e[60]=P>>>0&255;e[61]=P>>>8&255;e[62]=P>>>16&255;e[63]=P>>>24&255}function core_hsalsa20(e,t,i,n){var r=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,s=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,a=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,o=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,u=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24,c=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,l=t[0]&255|(t[1]&255)<<8|(t[2]&255)<<16|(t[3]&255)<<24,p=t[4]&255|(t[5]&255)<<8|(t[6]&255)<<16|(t[7]&255)<<24,d=t[8]&255|(t[9]&255)<<8|(t[10]&255)<<16|(t[11]&255)<<24,f=t[12]&255|(t[13]&255)<<8|(t[14]&255)<<16|(t[15]&255)<<24,h=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,m=i[16]&255|(i[17]&255)<<8|(i[18]&255)<<16|(i[19]&255)<<24,b=i[20]&255|(i[21]&255)<<8|(i[22]&255)<<16|(i[23]&255)<<24,g=i[24]&255|(i[25]&255)<<8|(i[26]&255)<<16|(i[27]&255)<<24,y=i[28]&255|(i[29]&255)<<8|(i[30]&255)<<16|(i[31]&255)<<24,S=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24;var v=r,w=s,j=a,z=o,O=u,k=c,C=l,T=p,_=d,A=f,E=h,R=m,x=b,N=g,V=y,P=S,M;for(var B=0;B<20;B+=2){M=v+x|0;O^=M<<7|M>>>32-7;M=O+v|0;_^=M<<9|M>>>32-9;M=_+O|0;x^=M<<13|M>>>32-13;M=x+_|0;v^=M<<18|M>>>32-18;M=k+w|0;A^=M<<7|M>>>32-7;M=A+k|0;N^=M<<9|M>>>32-9;M=N+A|0;w^=M<<13|M>>>32-13;M=w+N|0;k^=M<<18|M>>>32-18;M=E+C|0;V^=M<<7|M>>>32-7;M=V+E|0;j^=M<<9|M>>>32-9;M=j+V|0;C^=M<<13|M>>>32-13;M=C+j|0;E^=M<<18|M>>>32-18;M=P+R|0;z^=M<<7|M>>>32-7;M=z+P|0;T^=M<<9|M>>>32-9;M=T+z|0;R^=M<<13|M>>>32-13;M=R+T|0;P^=M<<18|M>>>32-18;M=v+z|0;w^=M<<7|M>>>32-7;M=w+v|0;j^=M<<9|M>>>32-9;M=j+w|0;z^=M<<13|M>>>32-13;M=z+j|0;v^=M<<18|M>>>32-18;M=k+O|0;C^=M<<7|M>>>32-7;M=C+k|0;T^=M<<9|M>>>32-9;M=T+C|0;O^=M<<13|M>>>32-13;M=O+T|0;k^=M<<18|M>>>32-18;M=E+A|0;R^=M<<7|M>>>32-7;M=R+E|0;_^=M<<9|M>>>32-9;M=_+R|0;A^=M<<13|M>>>32-13;M=A+_|0;E^=M<<18|M>>>32-18;M=P+V|0;x^=M<<7|M>>>32-7;M=x+P|0;N^=M<<9|M>>>32-9;M=N+x|0;V^=M<<13|M>>>32-13;M=V+N|0;P^=M<<18|M>>>32-18}e[0]=v>>>0&255;e[1]=v>>>8&255;e[2]=v>>>16&255;e[3]=v>>>24&255;e[4]=k>>>0&255;e[5]=k>>>8&255;e[6]=k>>>16&255;e[7]=k>>>24&255;e[8]=E>>>0&255;e[9]=E>>>8&255;e[10]=E>>>16&255;e[11]=E>>>24&255;e[12]=P>>>0&255;e[13]=P>>>8&255;e[14]=P>>>16&255;e[15]=P>>>24&255;e[16]=C>>>0&255;e[17]=C>>>8&255;e[18]=C>>>16&255;e[19]=C>>>24&255;e[20]=T>>>0&255;e[21]=T>>>8&255;e[22]=T>>>16&255;e[23]=T>>>24&255;e[24]=_>>>0&255;e[25]=_>>>8&255;e[26]=_>>>16&255;e[27]=_>>>24&255;e[28]=A>>>0&255;e[29]=A>>>8&255;e[30]=A>>>16&255;e[31]=A>>>24&255}function crypto_core_salsa20(e,t,i,n){core_salsa20(e,t,i,n)}function crypto_core_hsalsa20(e,t,i,n){core_hsalsa20(e,t,i,n)}var h=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function crypto_stream_salsa20_xor(e,t,i,n,r,s,a){var o=new Uint8Array(16),u=new Uint8Array(64);var c,l;for(l=0;l<16;l++)o[l]=0;for(l=0;l<8;l++)o[l]=s[l];while(r>=64){crypto_core_salsa20(u,o,a,h);for(l=0;l<64;l++)e[t+l]=i[n+l]^u[l];c=1;for(l=8;l<16;l++){c=c+(o[l]&255)|0;o[l]=c&255;c>>>=8}r-=64;t+=64;n+=64}if(r>0){crypto_core_salsa20(u,o,a,h);for(l=0;l=64){crypto_core_salsa20(a,s,r,h);for(u=0;u<64;u++)e[t+u]=a[u];o=1;for(u=8;u<16;u++){o=o+(s[u]&255)|0;s[u]=o&255;o>>>=8}i-=64;t+=64}if(i>0){crypto_core_salsa20(a,s,r,h);for(u=0;u>>13|i<<3)&8191;n=e[4]&255|(e[5]&255)<<8;this.r[2]=(i>>>10|n<<6)&7939;r=e[6]&255|(e[7]&255)<<8;this.r[3]=(n>>>7|r<<9)&8191;s=e[8]&255|(e[9]&255)<<8;this.r[4]=(r>>>4|s<<12)&255;this.r[5]=s>>>1&8190;a=e[10]&255|(e[11]&255)<<8;this.r[6]=(s>>>14|a<<2)&8191;o=e[12]&255|(e[13]&255)<<8;this.r[7]=(a>>>11|o<<5)&8065;u=e[14]&255|(e[15]&255)<<8;this.r[8]=(o>>>8|u<<8)&8191;this.r[9]=u>>>5&127;this.pad[0]=e[16]&255|(e[17]&255)<<8;this.pad[1]=e[18]&255|(e[19]&255)<<8;this.pad[2]=e[20]&255|(e[21]&255)<<8;this.pad[3]=e[22]&255|(e[23]&255)<<8;this.pad[4]=e[24]&255|(e[25]&255)<<8;this.pad[5]=e[26]&255|(e[27]&255)<<8;this.pad[6]=e[28]&255|(e[29]&255)<<8;this.pad[7]=e[30]&255|(e[31]&255)<<8};m.prototype.blocks=function(e,t,i){var n=this.fin?0:1<<11;var r,s,a,o,u,c,l,p,d;var f,h,m,b,g,y,S,v,w,j;var z=this.h[0],O=this.h[1],k=this.h[2],C=this.h[3],T=this.h[4],_=this.h[5],A=this.h[6],E=this.h[7],R=this.h[8],x=this.h[9];var N=this.r[0],V=this.r[1],P=this.r[2],M=this.r[3],B=this.r[4],I=this.r[5],D=this.r[6],q=this.r[7],L=this.r[8],U=this.r[9];while(i>=16){r=e[t+0]&255|(e[t+1]&255)<<8;z+=r&8191;s=e[t+2]&255|(e[t+3]&255)<<8;O+=(r>>>13|s<<3)&8191;a=e[t+4]&255|(e[t+5]&255)<<8;k+=(s>>>10|a<<6)&8191;o=e[t+6]&255|(e[t+7]&255)<<8;C+=(a>>>7|o<<9)&8191;u=e[t+8]&255|(e[t+9]&255)<<8;T+=(o>>>4|u<<12)&8191;_+=u>>>1&8191;c=e[t+10]&255|(e[t+11]&255)<<8;A+=(u>>>14|c<<2)&8191;l=e[t+12]&255|(e[t+13]&255)<<8;E+=(c>>>11|l<<5)&8191;p=e[t+14]&255|(e[t+15]&255)<<8;R+=(l>>>8|p<<8)&8191;x+=p>>>5|n;d=0;f=d;f+=z*N;f+=O*(5*U);f+=k*(5*L);f+=C*(5*q);f+=T*(5*D);d=f>>>13;f&=8191;f+=_*(5*I);f+=A*(5*B);f+=E*(5*M);f+=R*(5*P);f+=x*(5*V);d+=f>>>13;f&=8191;h=d;h+=z*V;h+=O*N;h+=k*(5*U);h+=C*(5*L);h+=T*(5*q);d=h>>>13;h&=8191;h+=_*(5*D);h+=A*(5*I);h+=E*(5*B);h+=R*(5*M);h+=x*(5*P);d+=h>>>13;h&=8191;m=d;m+=z*P;m+=O*V;m+=k*N;m+=C*(5*U);m+=T*(5*L);d=m>>>13;m&=8191;m+=_*(5*q);m+=A*(5*D);m+=E*(5*I);m+=R*(5*B);m+=x*(5*M);d+=m>>>13;m&=8191;b=d;b+=z*M;b+=O*P;b+=k*V;b+=C*N;b+=T*(5*U);d=b>>>13;b&=8191;b+=_*(5*L);b+=A*(5*q);b+=E*(5*D);b+=R*(5*I);b+=x*(5*B);d+=b>>>13;b&=8191;g=d;g+=z*B;g+=O*M;g+=k*P;g+=C*V;g+=T*N;d=g>>>13;g&=8191;g+=_*(5*U);g+=A*(5*L);g+=E*(5*q);g+=R*(5*D);g+=x*(5*I);d+=g>>>13;g&=8191;y=d;y+=z*I;y+=O*B;y+=k*M;y+=C*P;y+=T*V;d=y>>>13;y&=8191;y+=_*N;y+=A*(5*U);y+=E*(5*L);y+=R*(5*q);y+=x*(5*D);d+=y>>>13;y&=8191;S=d;S+=z*D;S+=O*I;S+=k*B;S+=C*M;S+=T*P;d=S>>>13;S&=8191;S+=_*V;S+=A*N;S+=E*(5*U);S+=R*(5*L);S+=x*(5*q);d+=S>>>13;S&=8191;v=d;v+=z*q;v+=O*D;v+=k*I;v+=C*B;v+=T*M;d=v>>>13;v&=8191;v+=_*P;v+=A*V;v+=E*N;v+=R*(5*U);v+=x*(5*L);d+=v>>>13;v&=8191;w=d;w+=z*L;w+=O*q;w+=k*D;w+=C*I;w+=T*B;d=w>>>13;w&=8191;w+=_*M;w+=A*P;w+=E*V;w+=R*N;w+=x*(5*U);d+=w>>>13;w&=8191;j=d;j+=z*U;j+=O*L;j+=k*q;j+=C*D;j+=T*I;d=j>>>13;j&=8191;j+=_*B;j+=A*M;j+=E*P;j+=R*V;j+=x*N;d+=j>>>13;j&=8191;d=(d<<2)+d|0;d=d+f|0;f=d&8191;d=d>>>13;h+=d;z=f;O=h;k=m;C=b;T=g;_=y;A=S;E=v;R=w;x=j;t+=16;i-=16}this.h[0]=z;this.h[1]=O;this.h[2]=k;this.h[3]=C;this.h[4]=T;this.h[5]=_;this.h[6]=A;this.h[7]=E;this.h[8]=R;this.h[9]=x};m.prototype.finish=function(e,t){var i=new Uint16Array(10);var n,r,s,a;if(this.leftover){a=this.leftover;this.buffer[a++]=1;for(;a<16;a++)this.buffer[a]=0;this.fin=1;this.blocks(this.buffer,0,16)}n=this.h[1]>>>13;this.h[1]&=8191;for(a=2;a<10;a++){this.h[a]+=n;n=this.h[a]>>>13;this.h[a]&=8191}this.h[0]+=n*5;n=this.h[0]>>>13;this.h[0]&=8191;this.h[1]+=n;n=this.h[1]>>>13;this.h[1]&=8191;this.h[2]+=n;i[0]=this.h[0]+5;n=i[0]>>>13;i[0]&=8191;for(a=1;a<10;a++){i[a]=this.h[a]+n;n=i[a]>>>13;i[a]&=8191}i[9]-=1<<13;r=(n^1)-1;for(a=0;a<10;a++)i[a]&=r;r=~r;for(a=0;a<10;a++)this.h[a]=this.h[a]&r|i[a];this.h[0]=(this.h[0]|this.h[1]<<13)&65535;this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535;this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535;this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535;this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535;this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535;this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535;this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535;s=this.h[0]+this.pad[0];this.h[0]=s&65535;for(a=1;a<8;a++){s=(this.h[a]+this.pad[a]|0)+(s>>>16)|0;this.h[a]=s&65535}e[t+0]=this.h[0]>>>0&255;e[t+1]=this.h[0]>>>8&255;e[t+2]=this.h[1]>>>0&255;e[t+3]=this.h[1]>>>8&255;e[t+4]=this.h[2]>>>0&255;e[t+5]=this.h[2]>>>8&255;e[t+6]=this.h[3]>>>0&255;e[t+7]=this.h[3]>>>8&255;e[t+8]=this.h[4]>>>0&255;e[t+9]=this.h[4]>>>8&255;e[t+10]=this.h[5]>>>0&255;e[t+11]=this.h[5]>>>8&255;e[t+12]=this.h[6]>>>0&255;e[t+13]=this.h[6]>>>8&255;e[t+14]=this.h[7]>>>0&255;e[t+15]=this.h[7]>>>8&255};m.prototype.update=function(e,t,i){var n,r;if(this.leftover){r=16-this.leftover;if(r>i)r=i;for(n=0;n=16){r=i-i%16;this.blocks(e,t,r);t+=r;i-=r}if(i){for(n=0;n>16&1);a[n-1]&=65535}a[15]=o[15]-32767-(a[14]>>16&1);s=a[15]>>16&1;a[14]&=65535;sel25519(o,a,1-s)}for(n=0;n<16;n++){e[2*n]=o[n]&255;e[2*n+1]=o[n]>>8}}function neq25519(e,t){var i=new Uint8Array(32),n=new Uint8Array(32);pack25519(i,e);pack25519(n,t);return crypto_verify_32(i,0,n,0)}function par25519(e){var t=new Uint8Array(32);pack25519(t,e);return t[0]&1}function unpack25519(e,t){var i;for(i=0;i<16;i++)e[i]=t[2*i]+(t[2*i+1]<<8);e[15]&=32767}function A(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]+i[n]}function Z(e,t,i){for(var n=0;n<16;n++)e[n]=t[n]-i[n]}function M(e,t,i){var n,r,s=0,a=0,o=0,u=0,c=0,l=0,p=0,d=0,f=0,h=0,m=0,b=0,g=0,y=0,S=0,v=0,w=0,j=0,z=0,O=0,k=0,C=0,T=0,_=0,A=0,E=0,R=0,x=0,N=0,V=0,P=0,M=i[0],B=i[1],I=i[2],D=i[3],q=i[4],L=i[5],U=i[6],Q=i[7],H=i[8],K=i[9],G=i[10],W=i[11],F=i[12],J=i[13],Y=i[14],X=i[15];n=t[0];s+=n*M;a+=n*B;o+=n*I;u+=n*D;c+=n*q;l+=n*L;p+=n*U;d+=n*Q;f+=n*H;h+=n*K;m+=n*G;b+=n*W;g+=n*F;y+=n*J;S+=n*Y;v+=n*X;n=t[1];a+=n*M;o+=n*B;u+=n*I;c+=n*D;l+=n*q;p+=n*L;d+=n*U;f+=n*Q;h+=n*H;m+=n*K;b+=n*G;g+=n*W;y+=n*F;S+=n*J;v+=n*Y;w+=n*X;n=t[2];o+=n*M;u+=n*B;c+=n*I;l+=n*D;p+=n*q;d+=n*L;f+=n*U;h+=n*Q;m+=n*H;b+=n*K;g+=n*G;y+=n*W;S+=n*F;v+=n*J;w+=n*Y;j+=n*X;n=t[3];u+=n*M;c+=n*B;l+=n*I;p+=n*D;d+=n*q;f+=n*L;h+=n*U;m+=n*Q;b+=n*H;g+=n*K;y+=n*G;S+=n*W;v+=n*F;w+=n*J;j+=n*Y;z+=n*X;n=t[4];c+=n*M;l+=n*B;p+=n*I;d+=n*D;f+=n*q;h+=n*L;m+=n*U;b+=n*Q;g+=n*H;y+=n*K;S+=n*G;v+=n*W;w+=n*F;j+=n*J;z+=n*Y;O+=n*X;n=t[5];l+=n*M;p+=n*B;d+=n*I;f+=n*D;h+=n*q;m+=n*L;b+=n*U;g+=n*Q;y+=n*H;S+=n*K;v+=n*G;w+=n*W;j+=n*F;z+=n*J;O+=n*Y;k+=n*X;n=t[6];p+=n*M;d+=n*B;f+=n*I;h+=n*D;m+=n*q;b+=n*L;g+=n*U;y+=n*Q;S+=n*H;v+=n*K;w+=n*G;j+=n*W;z+=n*F;O+=n*J;k+=n*Y;C+=n*X;n=t[7];d+=n*M;f+=n*B;h+=n*I;m+=n*D;b+=n*q;g+=n*L;y+=n*U;S+=n*Q;v+=n*H;w+=n*K;j+=n*G;z+=n*W;O+=n*F;k+=n*J;C+=n*Y;T+=n*X;n=t[8];f+=n*M;h+=n*B;m+=n*I;b+=n*D;g+=n*q;y+=n*L;S+=n*U;v+=n*Q;w+=n*H;j+=n*K;z+=n*G;O+=n*W;k+=n*F;C+=n*J;T+=n*Y;_+=n*X;n=t[9];h+=n*M;m+=n*B;b+=n*I;g+=n*D;y+=n*q;S+=n*L;v+=n*U;w+=n*Q;j+=n*H;z+=n*K;O+=n*G;k+=n*W;C+=n*F;T+=n*J;_+=n*Y;A+=n*X;n=t[10];m+=n*M;b+=n*B;g+=n*I;y+=n*D;S+=n*q;v+=n*L;w+=n*U;j+=n*Q;z+=n*H;O+=n*K;k+=n*G;C+=n*W;T+=n*F;_+=n*J;A+=n*Y;E+=n*X;n=t[11];b+=n*M;g+=n*B;y+=n*I;S+=n*D;v+=n*q;w+=n*L;j+=n*U;z+=n*Q;O+=n*H;k+=n*K;C+=n*G;T+=n*W;_+=n*F;A+=n*J;E+=n*Y;R+=n*X;n=t[12];g+=n*M;y+=n*B;S+=n*I;v+=n*D;w+=n*q;j+=n*L;z+=n*U;O+=n*Q;k+=n*H;C+=n*K;T+=n*G;_+=n*W;A+=n*F;E+=n*J;R+=n*Y;x+=n*X;n=t[13];y+=n*M;S+=n*B;v+=n*I;w+=n*D;j+=n*q;z+=n*L;O+=n*U;k+=n*Q;C+=n*H;T+=n*K;_+=n*G;A+=n*W;E+=n*F;R+=n*J;x+=n*Y;N+=n*X;n=t[14];S+=n*M;v+=n*B;w+=n*I;j+=n*D;z+=n*q;O+=n*L;k+=n*U;C+=n*Q;T+=n*H;_+=n*K;A+=n*G;E+=n*W;R+=n*F;x+=n*J;N+=n*Y;V+=n*X;n=t[15];v+=n*M;w+=n*B;j+=n*I;z+=n*D;O+=n*q;k+=n*L;C+=n*U;T+=n*Q;_+=n*H;A+=n*K;E+=n*G;R+=n*W;x+=n*F;N+=n*J;V+=n*Y;P+=n*X;s+=38*w;a+=38*j;o+=38*z;u+=38*O;c+=38*k;l+=38*C;p+=38*T;d+=38*_;f+=38*A;h+=38*E;m+=38*R;b+=38*x;g+=38*N;y+=38*V;S+=38*P;r=1;n=s+r+65535;r=Math.floor(n/65536);s=n-r*65536;n=a+r+65535;r=Math.floor(n/65536);a=n-r*65536;n=o+r+65535;r=Math.floor(n/65536);o=n-r*65536;n=u+r+65535;r=Math.floor(n/65536);u=n-r*65536;n=c+r+65535;r=Math.floor(n/65536);c=n-r*65536;n=l+r+65535;r=Math.floor(n/65536);l=n-r*65536;n=p+r+65535;r=Math.floor(n/65536);p=n-r*65536;n=d+r+65535;r=Math.floor(n/65536);d=n-r*65536;n=f+r+65535;r=Math.floor(n/65536);f=n-r*65536;n=h+r+65535;r=Math.floor(n/65536);h=n-r*65536;n=m+r+65535;r=Math.floor(n/65536);m=n-r*65536;n=b+r+65535;r=Math.floor(n/65536);b=n-r*65536;n=g+r+65535;r=Math.floor(n/65536);g=n-r*65536;n=y+r+65535;r=Math.floor(n/65536);y=n-r*65536;n=S+r+65535;r=Math.floor(n/65536);S=n-r*65536;n=v+r+65535;r=Math.floor(n/65536);v=n-r*65536;s+=r-1+37*(r-1);r=1;n=s+r+65535;r=Math.floor(n/65536);s=n-r*65536;n=a+r+65535;r=Math.floor(n/65536);a=n-r*65536;n=o+r+65535;r=Math.floor(n/65536);o=n-r*65536;n=u+r+65535;r=Math.floor(n/65536);u=n-r*65536;n=c+r+65535;r=Math.floor(n/65536);c=n-r*65536;n=l+r+65535;r=Math.floor(n/65536);l=n-r*65536;n=p+r+65535;r=Math.floor(n/65536);p=n-r*65536;n=d+r+65535;r=Math.floor(n/65536);d=n-r*65536;n=f+r+65535;r=Math.floor(n/65536);f=n-r*65536;n=h+r+65535;r=Math.floor(n/65536);h=n-r*65536;n=m+r+65535;r=Math.floor(n/65536);m=n-r*65536;n=b+r+65535;r=Math.floor(n/65536);b=n-r*65536;n=g+r+65535;r=Math.floor(n/65536);g=n-r*65536;n=y+r+65535;r=Math.floor(n/65536);y=n-r*65536;n=S+r+65535;r=Math.floor(n/65536);S=n-r*65536;n=v+r+65535;r=Math.floor(n/65536);v=n-r*65536;s+=r-1+37*(r-1);e[0]=s;e[1]=a;e[2]=o;e[3]=u;e[4]=c;e[5]=l;e[6]=p;e[7]=d;e[8]=f;e[9]=h;e[10]=m;e[11]=b;e[12]=g;e[13]=y;e[14]=S;e[15]=v}function S(e,t){M(e,t,t)}function inv25519(e,i){var n=t();var r;for(r=0;r<16;r++)n[r]=i[r];for(r=253;r>=0;r--){S(n,n);if(r!==2&&r!==4)M(n,n,i)}for(r=0;r<16;r++)e[r]=n[r]}function pow2523(e,i){var n=t();var r;for(r=0;r<16;r++)n[r]=i[r];for(r=250;r>=0;r--){S(n,n);if(r!==1)M(n,n,i)}for(r=0;r<16;r++)e[r]=n[r]}function crypto_scalarmult(e,i,n){var r=new Uint8Array(32);var s=new Float64Array(80),a,o;var c=t(),l=t(),p=t(),d=t(),f=t(),h=t();for(o=0;o<31;o++)r[o]=i[o];r[31]=i[31]&127|64;r[0]&=248;unpack25519(s,n);for(o=0;o<16;o++){l[o]=s[o];d[o]=c[o]=p[o]=0}c[0]=d[0]=1;for(o=254;o>=0;--o){a=r[o>>>3]>>>(o&7)&1;sel25519(c,l,a);sel25519(p,d,a);A(f,c,p);Z(c,c,p);A(p,l,d);Z(l,l,d);S(d,f);S(h,c);M(c,p,c);M(p,l,f);A(f,c,p);Z(c,c,p);S(l,c);Z(p,d,h);M(c,p,u);A(c,c,d);M(p,p,c);M(c,d,h);M(d,l,s);S(l,f);sel25519(c,l,a);sel25519(p,d,a)}for(o=0;o<16;o++){s[o+16]=c[o];s[o+32]=p[o];s[o+48]=l[o];s[o+64]=d[o]}var m=s.subarray(32);var b=s.subarray(16);inv25519(m,m);M(b,b,m);pack25519(e,b);return 0}function crypto_scalarmult_base(e,t){return crypto_scalarmult(e,t,s)}function crypto_box_keypair(e,t){n(t,32);return crypto_scalarmult_base(e,t)}function crypto_box_beforenm(e,t,i){var n=new Uint8Array(32);crypto_scalarmult(n,i,t);return crypto_core_hsalsa20(e,r,n,h)}var b=crypto_secretbox;var g=crypto_secretbox_open;function crypto_box(e,t,i,n,r,s){var a=new Uint8Array(32);crypto_box_beforenm(a,r,s);return b(e,t,i,n,a)}function crypto_box_open(e,t,i,n,r,s){var a=new Uint8Array(32);crypto_box_beforenm(a,r,s);return g(e,t,i,n,a)}var y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function crypto_hashblocks_hl(e,t,i,n){var r=new Int32Array(16),s=new Int32Array(16),a,o,u,c,l,p,d,f,h,m,b,g,S,v,w,j,z,O,k,C,T,_,A,E,R,x;var N=e[0],V=e[1],P=e[2],M=e[3],B=e[4],I=e[5],D=e[6],q=e[7],L=t[0],U=t[1],Q=t[2],H=t[3],K=t[4],G=t[5],W=t[6],F=t[7];var J=0;while(n>=128){for(k=0;k<16;k++){C=8*k+J;r[k]=i[C+0]<<24|i[C+1]<<16|i[C+2]<<8|i[C+3];s[k]=i[C+4]<<24|i[C+5]<<16|i[C+6]<<8|i[C+7]}for(k=0;k<80;k++){a=N;o=V;u=P;c=M;l=B;p=I;d=D;f=q;h=L;m=U;b=Q;g=H;S=K;v=G;w=W;j=F;T=q;_=F;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=(B>>>14|K<<32-14)^(B>>>18|K<<32-18)^(K>>>41-32|B<<32-(41-32));_=(K>>>14|B<<32-14)^(K>>>18|B<<32-18)^(B>>>41-32|K<<32-(41-32));A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=B&I^~B&D;_=K&G^~K&W;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=y[k*2];_=y[k*2+1];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=r[k%16];_=s[k%16];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;z=R&65535|x<<16;O=A&65535|E<<16;T=z;_=O;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=(N>>>28|L<<32-28)^(L>>>34-32|N<<32-(34-32))^(L>>>39-32|N<<32-(39-32));_=(L>>>28|N<<32-28)^(N>>>34-32|L<<32-(34-32))^(N>>>39-32|L<<32-(39-32));A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;T=N&V^N&P^V&P;_=L&U^L&Q^U&Q;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;f=R&65535|x<<16;j=A&65535|E<<16;T=c;_=g;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=z;_=O;A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;c=R&65535|x<<16;g=A&65535|E<<16;V=a;P=o;M=u;B=c;I=l;D=p;q=d;N=f;U=h;Q=m;H=b;K=g;G=S;W=v;F=w;L=j;if(k%16===15){for(C=0;C<16;C++){T=r[C];_=s[C];A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=r[(C+9)%16];_=s[(C+9)%16];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;z=r[(C+1)%16];O=s[(C+1)%16];T=(z>>>1|O<<32-1)^(z>>>8|O<<32-8)^z>>>7;_=(O>>>1|z<<32-1)^(O>>>8|z<<32-8)^(O>>>7|z<<32-7);A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;z=r[(C+14)%16];O=s[(C+14)%16];T=(z>>>19|O<<32-19)^(O>>>61-32|z<<32-(61-32))^z>>>6;_=(O>>>19|z<<32-19)^(z>>>61-32|O<<32-(61-32))^(O>>>6|z<<32-6);A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;r[C]=R&65535|x<<16;s[C]=A&65535|E<<16}}}T=N;_=L;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[0];_=t[0];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[0]=N=R&65535|x<<16;t[0]=L=A&65535|E<<16;T=V;_=U;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[1];_=t[1];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[1]=V=R&65535|x<<16;t[1]=U=A&65535|E<<16;T=P;_=Q;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[2];_=t[2];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[2]=P=R&65535|x<<16;t[2]=Q=A&65535|E<<16;T=M;_=H;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[3];_=t[3];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[3]=M=R&65535|x<<16;t[3]=H=A&65535|E<<16;T=B;_=K;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[4];_=t[4];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[4]=B=R&65535|x<<16;t[4]=K=A&65535|E<<16;T=I;_=G;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[5];_=t[5];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[5]=I=R&65535|x<<16;t[5]=G=A&65535|E<<16;T=D;_=W;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[6];_=t[6];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[6]=D=R&65535|x<<16;t[6]=W=A&65535|E<<16;T=q;_=F;A=_&65535;E=_>>>16;R=T&65535;x=T>>>16;T=e[7];_=t[7];A+=_&65535;E+=_>>>16;R+=T&65535;x+=T>>>16;E+=A>>>16;R+=E>>>16;x+=R>>>16;e[7]=q=R&65535|x<<16;t[7]=F=A&65535|E<<16;J+=128;n-=128}return n}function crypto_hash(e,t,i){var n=new Int32Array(8),r=new Int32Array(8),s=new Uint8Array(256),a,o=i;n[0]=1779033703;n[1]=3144134277;n[2]=1013904242;n[3]=2773480762;n[4]=1359893119;n[5]=2600822924;n[6]=528734635;n[7]=1541459225;r[0]=4089235720;r[1]=2227873595;r[2]=4271175723;r[3]=1595750129;r[4]=2917565137;r[5]=725511199;r[6]=4215389547;r[7]=327033209;crypto_hashblocks_hl(n,r,t,i);i%=128;for(a=0;a=0;--r){n=i[r/8|0]>>(r&7)&1;cswap(e,t,n);add(t,e);add(e,e);cswap(e,t,n)}}function scalarbase(e,i){var n=[t(),t(),t(),t()];set25519(n[0],p);set25519(n[1],d);set25519(n[2],o);M(n[3],p,d);scalarmult(e,n,i)}function crypto_sign_keypair(e,i,r){var s=new Uint8Array(64);var a=[t(),t(),t(),t()];var o;if(!r)n(i,32);crypto_hash(s,i,32);s[0]&=248;s[31]&=127;s[31]|=64;scalarbase(a,s);pack(e,a);for(o=0;o<32;o++)i[o+32]=e[o];return 0}var v=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function modL(e,t){var i,n,r,s;for(n=63;n>=32;--n){i=0;for(r=n-32,s=n-12;r>8;t[r]-=i*256}t[r]+=i;t[n]=0}i=0;for(r=0;r<32;r++){t[r]+=i-(t[31]>>4)*v[r];i=t[r]>>8;t[r]&=255}for(r=0;r<32;r++)t[r]-=i*v[r];for(n=0;n<32;n++){t[n+1]+=t[n]>>8;e[n]=t[n]&255}}function reduce(e){var t=new Float64Array(64),i;for(i=0;i<64;i++)t[i]=e[i];for(i=0;i<64;i++)e[i]=0;modL(e,t)}function crypto_sign(e,i,n,r){var s=new Uint8Array(64),a=new Uint8Array(64),o=new Uint8Array(64);var u,c,l=new Float64Array(64);var p=[t(),t(),t(),t()];crypto_hash(s,r,32);s[0]&=248;s[31]&=127;s[31]|=64;var d=n+64;for(u=0;u>7)Z(e[0],a,e[0]);M(e[3],e[0],e[1]);return 0}function crypto_sign_open(e,i,n,r){var s,a;var o=new Uint8Array(32),u=new Uint8Array(64);var c=[t(),t(),t(),t()],l=[t(),t(),t(),t()];a=-1;if(n<64)return-1;if(unpackneg(l,r))return-1;for(s=0;s=0};e.sign.keyPair=function(){var e=new Uint8Array(P);var t=new Uint8Array(B);crypto_sign_keypair(e,t);return{publicKey:e,secretKey:t}};e.sign.keyPair.fromSecretKey=function(e){checkArrayTypes(e);if(e.length!==B)throw new Error("bad secret key size");var t=new Uint8Array(P);for(var i=0;i=0&&i<=S}}function shallowProperty(e){return function(t){return t==null?void 0:t[e]}}var D=shallowProperty("byteLength");var q=createSizePropertyCheck(D);var L=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function isTypedArray(e){return h?h(e)&&!P(e):q(e)&&L.test(o.call(e))}var U=c?isTypedArray:constant(false);var Q=shallowProperty("length");function emulatedSet(e){var t={};for(var i=e.length,n=0;n":">",'"':""","'":"'","`":"`"};var oe=createEscaper(ae);var ue=invert(ae);var ce=createEscaper(ue);var le=_.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var pe=/(.)^/;var de={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"};var fe=/\\|'|\r|\n|\u2028|\u2029/g;function escapeChar(e){return"\\"+de[e]}var he=/^\s*(\w|\$)+\s*$/;function template(e,t,i){if(!t&&i)t=i;t=re({},t,_.templateSettings);var n=RegExp([(t.escape||pe).source,(t.interpolate||pe).source,(t.evaluate||pe).source].join("|")+"|$","g");var r=0;var s="__p+='";e.replace(n,function(t,i,n,a,o){s+=e.slice(r,o).replace(fe,escapeChar);r=o+t.length;if(i){s+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'"}else if(n){s+="'+\n((__t=("+n+"))==null?'':__t)+\n'"}else if(a){s+="';\n"+a+"\n__p+='"}return t});s+="';\n";var a=t.variable;if(a){if(!he.test(a))throw new Error(a)}else{s="with(obj||{}){\n"+s+"}\n";a="obj"}s="var __t,__p='',__j=Array.prototype.join,"+"print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";var o;try{o=new Function(a,"_",s)}catch(e){e.source=s;throw e}var u=function(e){return o.call(this,e,_)};u.source="function("+a+"){\n"+s+"}";return u}function result(e,t,i){t=toPath$1(t);var n=t.length;if(!n){return E(i)?i.call(e):i}for(var r=0;r1){flatten(o,t-1,i,n);r=n.length}else{var u=0,c=o.length;while(ut){if(n){clearTimeout(n);n=null}o=c;a=e.apply(r,s);if(!n)r=s=null}else if(!n&&i.trailing!==false){n=setTimeout(u,l)}return a};c.cancel=function(){clearTimeout(n);o=0;n=r=s=null};return c}function debounce(e,t,i){var n,r,s,a,o;var u=function(){var c=se()-r;if(t>c){n=setTimeout(u,t-c)}else{n=null;if(!i)a=e.apply(o,s);if(!n)s=o=null}};var c=restArguments(function(c){o=this;s=c;r=se();if(!n){n=setTimeout(u,t);if(i)a=e.apply(o,s)}return a});c.cancel=function(){clearTimeout(n);n=s=o=null};return c}function wrap(e,t){return be(t,e)}function negate(e){return function(){return!e.apply(this,arguments)}}function compose(){var e=arguments;var t=e.length-1;return function(){var i=t;var n=e[t].apply(this,arguments);while(i--)n=e[i].call(this,n);return n}}function after(e,t){return function(){if(--e<1){return t.apply(this,arguments)}}}function before(e,t){var i;return function(){if(--e>0){i=t.apply(this,arguments)}if(e<=1)t=null;return i}}var je=be(before,2);function findKey(e,t,i){t=cb(t,i);var n=keys(e),r;for(var s=0,a=n.length;s0?0:r-1;for(;s>=0&&s0){o=s>=0?s:Math.max(s+u,o)}else{u=s>=0?Math.min(s+1,u):s+u+1}}else if(i&&s&&u){s=i(n,r);return n[s]===r?s:-1}if(r!==r){s=t(a.call(n,o,u),isNaN$1);return s>=0?s+o:-1}for(s=e>0?o:u-1;s>=0&&s0?0:a-1;if(!r){n=t[s?s[o]:o];o+=e}for(;o>=0&&o=3;return t(e,optimizeCb(i,r,4),n,s)}}var Te=createReduce(1);var _e=createReduce(-1);function filter(e,t,i){var n=[];t=cb(t,i);each(e,function(e,i,r){if(t(e,i,r))n.push(e)});return n}function reject(e,t,i){return filter(e,negate(cb(t)),i)}function every(e,t,i){t=cb(t,i);var n=!ye(e)&&keys(e),r=(n||e).length;for(var s=0;s=0}var Ae=restArguments(function(e,t,i){var n,r;if(E(t)){r=t}else{t=toPath$1(t);n=t.slice(0,-1);t=t[t.length-1]}return map(e,function(e){var s=r;if(!s){if(n&&n.length){e=deepGet(e,n)}if(e==null)return void 0;s=e[t]}return s==null?s:s.apply(e,i)})});function pluck(e,t){return map(e,property(t))}function where(e,t){return filter(e,matcher(t))}function max(e,t,i){var n=-Infinity,r=-Infinity,s,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ye(e)?e:values(e);for(var o=0,u=e.length;on){n=s}}}else{t=cb(t,i);each(e,function(e,i,s){a=t(e,i,s);if(a>r||a===-Infinity&&n===-Infinity){n=e;r=a}})}return n}function min(e,t,i){var n=Infinity,r=Infinity,s,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ye(e)?e:values(e);for(var o=0,u=e.length;on||i===void 0)return 1;if(i1)n=optimizeCb(n,t[1]);t=allKeys(e)}else{n=keyInObj;t=flatten(t,false,false);e=Object(e)}for(var r=0,s=t.length;r1)n=t[1]}else{t=map(flatten(t,false,false),String);i=function(e,i){return!contains(t,i)}}return Pe(e,i,n)});function initial(e,t,i){return a.call(e,0,Math.max(0,e.length-(t==null||i?1:t)))}function first(e,t,i){if(e==null||e.length<1)return t==null||i?void 0:[];if(t==null||i)return e[0];return initial(e,e.length-t)}function rest(e,t,i){return a.call(e,t==null||i?1:t)}function last(e,t,i){if(e==null||e.length<1)return t==null||i?void 0:[];if(t==null||i)return e[e.length-1];return rest(e,Math.max(0,e.length-t))}function compact(e){return filter(e,Boolean)}function flatten$1(e,t){return flatten(e,t,false)}var Be=restArguments(function(e,t){t=flatten(t,true,true);return filter(e,function(e){return!contains(t,e)})});var Ie=restArguments(function(e,t){return Be(e,t)});function uniq(e,t,i,n){if(!isBoolean(t)){n=i;i=t;t=false}if(i!=null)i=cb(i,n);var r=[];var s=[];for(var a=0,o=Q(e);a{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}t.getUserAgent=getUserAgent},70020:function(e,t){(function(e,i){true?i(t):0})(this,function(e){"use strict";function merge(){for(var e=arguments.length,t=Array(e),i=0;i1){t[0]=t[0].slice(0,-1);var n=t.length-1;for(var r=1;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var y=a-o;var S=Math.floor;var v=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,t){var i=[];var n=e.length;while(n--){i[n]=t(e[n])}return i}function mapDomain(e,t){var i=e.split("@");var n="";if(i.length>1){n=i[0]+"@";e=i[1]}e=e.replace(b,".");var r=e.split(".");var s=map(r,t).join(".");return n+s}function ucs2decode(e){var t=[];var i=0;var n=e.length;while(i=55296&&r<=56319&&i>1;e+=S(e/t);for(;e>y*u>>1;n+=a){e=S(e/y)}return S(n+(y+1)*e/(e+c))};var k=function decode(e){var t=[];var i=e.length;var n=0;var r=d;var c=p;var l=e.lastIndexOf(f);if(l<0){l=0}for(var h=0;h=128){error$1("not-basic")}t.push(e.charCodeAt(h))}for(var m=l>0?l+1:0;m=i){error$1("invalid-input")}var v=j(e.charCodeAt(m++));if(v>=a||v>S((s-n)/g)){error$1("overflow")}n+=v*g;var w=y<=c?o:y>=c+u?u:y-c;if(vS(s/z)){error$1("overflow")}g*=z}var k=t.length+1;c=O(n-b,k,b==0);if(S(n/k)>s-r){error$1("overflow")}r+=S(n/k);n%=k;t.splice(n++,0,r)}return String.fromCodePoint.apply(String,t)};var C=function encode(e){var t=[];e=ucs2decode(e);var i=e.length;var n=d;var r=0;var c=p;var l=true;var h=false;var m=undefined;try{for(var b=e[Symbol.iterator](),g;!(l=(g=b.next()).done);l=true){var y=g.value;if(y<128){t.push(v(y))}}}catch(e){h=true;m=e}finally{try{if(!l&&b.return){b.return()}}finally{if(h){throw m}}}var w=t.length;var j=w;if(w){t.push(f)}while(j=n&&RS((s-r)/x)){error$1("overflow")}r+=(k-n)*x;n=k;var N=true;var V=false;var P=undefined;try{for(var M=e[Symbol.iterator](),B;!(N=(B=M.next()).done);N=true){var I=B.value;if(Is){error$1("overflow")}if(I==n){var D=r;for(var q=a;;q+=a){var L=q<=c?o:q>=c+u?u:q-c;if(D>6|192).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();else i="%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(t&63|128).toString(16).toUpperCase();return i}function pctDecChars(e){var t="";var i=0;var n=e.length;while(i=194&&r<224){if(n-i>=6){var s=parseInt(e.substr(i+4,2),16);t+=String.fromCharCode((r&31)<<6|s&63)}else{t+=e.substr(i,6)}i+=6}else if(r>=224){if(n-i>=9){var a=parseInt(e.substr(i+4,2),16);var o=parseInt(e.substr(i+7,2),16);t+=String.fromCharCode((r&15)<<12|(a&63)<<6|o&63)}else{t+=e.substr(i,9)}i+=9}else{t+=e.substr(i,3);i+=3}}return t}function _normalizeComponentEncoding(e,t){function decodeUnreserved(e){var i=pctDecChars(e);return!i.match(t.UNRESERVED)?e:i}if(e.scheme)e.scheme=String(e.scheme).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_USERINFO,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(t.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(t.NOT_HOST,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(t.PCT_ENCODED,decodeUnreserved).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_QUERY,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(t.PCT_ENCODED,decodeUnreserved).replace(t.NOT_FRAGMENT,pctEncChar).replace(t.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,t){var i=e.match(t.IPV4ADDRESS)||[];var r=n(i,2),s=r[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,t){var i=e.match(t.IPV6ADDRESS)||[];var r=n(i,3),s=r[1],a=r[2];if(s){var o=s.toLowerCase().split("::").reverse(),u=n(o,2),c=u[0],l=u[1];var p=l?l.split(":").map(_stripLeadingZeros):[];var d=c.split(":").map(_stripLeadingZeros);var f=t.IPV4ADDRESS.test(d[d.length-1]);var h=f?7:8;var m=d.length-h;var b=Array(h);for(var g=0;g1){var w=b.slice(0,S.index);var j=b.slice(S.index+S.length);v=w.join(":")+"::"+j.join(":")}else{v=b.join(":")}if(a){v+="%"+a}return v}else{return e}}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var x="".match(/(){0}/)[1]===undefined;function parse(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r={};var s=n.iri!==false?i:t;if(n.reference==="suffix")e=(n.scheme?n.scheme+":":"")+"//"+e;var a=e.match(R);if(a){if(x){r.scheme=a[1];r.userinfo=a[3];r.host=a[4];r.port=parseInt(a[5],10);r.path=a[6]||"";r.query=a[7];r.fragment=a[8];if(isNaN(r.port)){r.port=a[5]}}else{r.scheme=a[1]||undefined;r.userinfo=e.indexOf("@")!==-1?a[3]:undefined;r.host=e.indexOf("//")!==-1?a[4]:undefined;r.port=parseInt(a[5],10);r.path=a[6]||"";r.query=e.indexOf("?")!==-1?a[7]:undefined;r.fragment=e.indexOf("#")!==-1?a[8]:undefined;if(isNaN(r.port)){r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?a[4]:undefined}}if(r.host){r.host=_normalizeIPv6(_normalizeIPv4(r.host,s),s)}if(r.scheme===undefined&&r.userinfo===undefined&&r.host===undefined&&r.port===undefined&&!r.path&&r.query===undefined){r.reference="same-document"}else if(r.scheme===undefined){r.reference="relative"}else if(r.fragment===undefined){r.reference="absolute"}else{r.reference="uri"}if(n.reference&&n.reference!=="suffix"&&n.reference!==r.reference){r.error=r.error||"URI is not a "+n.reference+" reference."}var o=E[(n.scheme||r.scheme||"").toLowerCase()];if(!n.unicodeSupport&&(!o||!o.unicodeSupport)){if(r.host&&(n.domainHost||o&&o.domainHost)){try{r.host=A.toASCII(r.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(r,t)}else{_normalizeComponentEncoding(r,s)}if(o&&o.parse){o.parse(r,n)}}else{r.error=r.error||"URI can not be parsed."}return r}function _recomposeAuthority(e,n){var r=n.iri!==false?i:t;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),r),r).replace(r.IPV6ADDRESS,function(e,t,i){return"["+t+(i?"%25"+i:"")+"]"}))}if(typeof e.port==="number"||typeof e.port==="string"){s.push(":");s.push(String(e.port))}return s.length?s.join(""):undefined}var N=/^\.\.?\//;var V=/^\/\.(\/|$)/;var P=/^\/\.\.(\/|$)/;var M=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var t=[];while(e.length){if(e.match(N)){e=e.replace(N,"")}else if(e.match(V)){e=e.replace(V,"/")}else if(e.match(P)){e=e.replace(P,"/");t.pop()}else if(e==="."||e===".."){e=""}else{var i=e.match(M);if(i){var n=i[0];e=e.slice(n.length);t.push(n)}else{throw new Error("Unexpected dot segment condition")}}}return t.join("")}function serialize(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=n.iri?i:t;var s=[];var a=E[(n.scheme||e.scheme||"").toLowerCase()];if(a&&a.serialize)a.serialize(e,n);if(e.host){if(r.IPV6ADDRESS.test(e.host)){}else if(n.domainHost||a&&a.domainHost){try{e.host=!n.iri?A.toASCII(e.host.replace(r.PCT_ENCODED,pctDecChars).toLowerCase()):A.toUnicode(e.host)}catch(t){e.error=e.error||"Host's domain name can not be converted to "+(!n.iri?"ASCII":"Unicode")+" via punycode: "+t}}}_normalizeComponentEncoding(e,r);if(n.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var o=_recomposeAuthority(e,n);if(o!==undefined){if(n.reference!=="suffix"){s.push("//")}s.push(o);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var u=e.path;if(!n.absolutePath&&(!a||!a.absolutePath)){u=removeDotSegments(u)}if(o===undefined){u=u.replace(/^\/\//,"/%2F")}s.push(u)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,t){var i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var n=arguments[3];var r={};if(!n){e=parse(serialize(e,i),i);t=parse(serialize(t,i),i)}i=i||{};if(!i.tolerant&&t.scheme){r.scheme=t.scheme;r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=removeDotSegments(t.path||"");r.query=t.query}else{if(t.userinfo!==undefined||t.host!==undefined||t.port!==undefined){r.userinfo=t.userinfo;r.host=t.host;r.port=t.port;r.path=removeDotSegments(t.path||"");r.query=t.query}else{if(!t.path){r.path=e.path;if(t.query!==undefined){r.query=t.query}else{r.query=e.query}}else{if(t.path.charAt(0)==="/"){r.path=removeDotSegments(t.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){r.path="/"+t.path}else if(!e.path){r.path=t.path}else{r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path}r.path=removeDotSegments(r.path)}r.query=t.query}r.userinfo=e.userinfo;r.host=e.host;r.port=e.port}r.scheme=e.scheme}r.fragment=t.fragment;return r}function resolve(e,t,i){var n=assign({scheme:"null"},i);return serialize(resolveComponents(parse(e,n),parse(t,n),n,true),n)}function normalize(e,t){if(typeof e==="string"){e=serialize(parse(e,t),t)}else if(typeOf(e)==="object"){e=parse(serialize(e,t),t)}return e}function equal(e,t,i){if(typeof e==="string"){e=serialize(parse(e,i),i)}else if(typeOf(e)==="object"){e=serialize(e,i)}if(typeof t==="string"){t=serialize(parse(t,i),i)}else if(typeOf(t)==="object"){t=serialize(t,i)}return e===t}function escapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.ESCAPE:i.ESCAPE,pctEncChar)}function unescapeComponent(e,n){return e&&e.toString().replace(!n||!n.iri?t.PCT_ENCODED:i.PCT_ENCODED,pctDecChars)}var B={scheme:"http",domainHost:true,parse:function parse(e,t){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,t){var i=String(e.scheme).toLowerCase()==="https";if(e.port===(i?443:80)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var I={scheme:"https",domainHost:B.domainHost,parse:B.parse,serialize:B.serialize};function isSecure(e){return typeof e.secure==="boolean"?e.secure:String(e.scheme).toLowerCase()==="wss"}var D={scheme:"ws",domainHost:true,parse:function parse(e,t){var i=e;i.secure=isSecure(i);i.resourceName=(i.path||"/")+(i.query?"?"+i.query:"");i.path=undefined;i.query=undefined;return i},serialize:function serialize(e,t){if(e.port===(isSecure(e)?443:80)||e.port===""){e.port=undefined}if(typeof e.secure==="boolean"){e.scheme=e.secure?"wss":"ws";e.secure=undefined}if(e.resourceName){var i=e.resourceName.split("?"),r=n(i,2),s=r[0],a=r[1];e.path=s&&s!=="/"?s:undefined;e.query=a;e.resourceName=undefined}e.fragment=undefined;return e}};var q={scheme:"wss",domainHost:D.domainHost,parse:D.parse,serialize:D.serialize};var L={};var U=true;var Q="[A-Za-z0-9\\-\\.\\_\\~"+(U?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var H="[0-9A-Fa-f]";var K=subexp(subexp("%[EFef]"+H+"%"+H+H+"%"+H+H)+"|"+subexp("%[89A-Fa-f]"+H+"%"+H+H)+"|"+subexp("%"+H+H));var G="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var W="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var F=merge(W,'[\\"\\\\]');var J="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Y=new RegExp(Q,"g");var X=new RegExp(K,"g");var Z=new RegExp(merge("[^]",G,"[\\.]",'[\\"]',F),"g");var $=new RegExp(merge("[^]",Q,J),"g");var ee=$;function decodeUnreserved(e){var t=pctDecChars(e);return!t.match(Y)?e:t}var te={scheme:"mailto",parse:function parse$$1(e,t){var i=e;var n=i.to=i.path?i.path.split(","):[];i.path=undefined;if(i.query){var r=false;var s={};var a=i.query.split("&");for(var o=0,u=a.length;o{var t=[];for(var i=0;i<256;++i){t[i]=(i+256).toString(16).substr(1)}function bytesToUuid(e,i){var n=i||0;var r=t;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}e.exports=bytesToUuid},15859:(e,t,i)=>{var n=i(76417);e.exports=function nodeRNG(){return n.randomBytes(16)}},80824:(e,t,i)=>{var n=i(15859);var r=i(92707);function v4(e,t,i){var s=t&&i||0;if(typeof e=="string"){t=e==="binary"?new Array(16):null;e=null}e=e||{};var a=e.random||(e.rng||n)();a[6]=a[6]&15|64;a[8]=a[8]&63|128;if(t){for(var o=0;o<16;++o){t[s+o]=a[o]}}return t||r(a)}e.exports=v4},81692:(e,t,i)=>{var n=i(66631);var r=i(31669);var s=i(41508);var a=i(95898).VZ;var o=s.sprintf;e.exports=VError;VError.VError=VError;VError.SError=SError;VError.WError=WError;VError.MultiError=MultiError;function parseConstructorArguments(e){var t,i,r,s,u;n.object(e,"args");n.bool(e.strict,"args.strict");n.array(e.argv,"args.argv");t=e.argv;if(t.length===0){i={};r=[]}else if(a(t[0])){i={cause:t[0]};r=t.slice(1)}else if(typeof t[0]==="object"){i={};for(u in t[0]){i[u]=t[0][u]}r=t.slice(1)}else{n.string(t[0],"first argument to VError, SError, or WError "+"constructor must be a string, object, or Error");i={};r=t}n.object(i);if(!i.strict&&!e.strict){r=r.map(function(e){return e===null?"null":e===undefined?"undefined":e})}if(r.length===0){s=""}else{s=o.apply(null,r)}return{options:i,shortmessage:s}}function VError(){var e,t,i,r,s,o,u;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof VError)){t=Object.create(VError.prototype);VError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:false});if(i.options.name){n.string(i.options.name,'error\'s "name" must be a string');this.name=i.options.name}this.jse_shortmsg=i.shortmessage;o=i.shortmessage;r=i.options.cause;if(r){n.ok(a(r),"cause is not an Error");this.jse_cause=r;if(!i.options.skipCauseMessage){o+=": "+r.message}}this.jse_info={};if(i.options.info){for(u in i.options.info){this.jse_info[u]=i.options.info[u]}}this.message=o;Error.call(this,o);if(Error.captureStackTrace){s=i.options.constructorOpt||this.constructor;Error.captureStackTrace(this,s)}return this}r.inherits(VError,Error);VError.prototype.name="VError";VError.prototype.toString=function ve_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;return e};VError.prototype.cause=function ve_cause(){var e=VError.cause(this);return e===null?undefined:e};VError.cause=function(e){n.ok(a(e),"err must be an Error");return a(e.jse_cause)?e.jse_cause:null};VError.info=function(e){var t,i,r;n.ok(a(e),"err must be an Error");i=VError.cause(e);if(i!==null){t=VError.info(i)}else{t={}}if(typeof e.jse_info=="object"&&e.jse_info!==null){for(r in e.jse_info){t[r]=e.jse_info[r]}}return t};VError.findCauseByName=function(e,t){var i;n.ok(a(e),"err must be an Error");n.string(t,"name");n.ok(t.length>0,"name cannot be empty");for(i=e;i!==null;i=VError.cause(i)){n.ok(a(i));if(i.name==t){return i}}return null};VError.hasCauseWithName=function(e,t){return VError.findCauseByName(e,t)!==null};VError.fullStack=function(e){n.ok(a(e),"err must be an Error");var t=VError.cause(e);if(t){return e.stack+"\ncaused by: "+VError.fullStack(t)}return e.stack};VError.errorFromList=function(e){n.arrayOfObject(e,"errors");if(e.length===0){return null}e.forEach(function(e){n.ok(a(e))});if(e.length==1){return e[0]}return new MultiError(e)};VError.errorForEach=function(e,t){n.ok(a(e),"err must be an Error");n.func(t,"func");if(e instanceof MultiError){e.errors().forEach(function iterError(e){t(e)})}else{t(e)}};function SError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof SError)){t=Object.create(SError.prototype);SError.apply(t,arguments);return t}i=parseConstructorArguments({argv:e,strict:true});n=i.options;VError.call(this,n,"%s",i.shortmessage);return this}r.inherits(SError,VError);function MultiError(e){n.array(e,"list of errors");n.ok(e.length>0,"must be at least one error");this.ase_errors=e;VError.call(this,{cause:e[0]},"first of %d error%s",e.length,e.length==1?"":"s")}r.inherits(MultiError,VError);MultiError.prototype.name="MultiError";MultiError.prototype.errors=function me_errors(){return this.ase_errors.slice(0)};function WError(){var e,t,i,n;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof WError)){t=Object.create(WError.prototype);WError.apply(t,e);return t}i=parseConstructorArguments({argv:e,strict:false});n=i.options;n["skipCauseMessage"]=true;VError.call(this,n,"%s",i.shortmessage);return this}r.inherits(WError,VError);WError.prototype.name="WError";WError.prototype.toString=function we_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;if(this.jse_cause&&this.jse_cause.message)e+="; caused by "+this.jse_cause.toString();return e};WError.prototype.cause=function we_cause(e){if(a(e))this.jse_cause=e;return this.jse_cause}},41508:(e,t,i)=>{var n=i(42357);var r=i(31669);t.sprintf=jsSprintf;t.printf=jsPrintf;t.fprintf=jsFprintf;function jsSprintf(e){var t=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var i=new RegExp(t);var s=Array.prototype.slice.call(arguments,1);var a=e;var o,u,c,l;var p,d,f,h,m;var b="";var g=1;var y=0;var S;var v;n.equal("string",typeof a,"first argument must be a format string");while((m=i.exec(a))!==null){b+=m[1];a=a.substring(m[0].length);v=m[0].substring(m[1].length);S=y+m[1].length+1;y+=m[0].length;o=m[2]||"";u=m[3]||0;c=m[4]||"";l=m[6];p=false;f=false;d=" ";if(l=="%"){b+="%";continue}if(s.length===0){throw jsError(e,S,v,"has no matching argument "+"(too few arguments passed)")}h=s.shift();g++;if(o.match(/[\' #]/)){throw jsError(e,S,v,"uses unsupported flags")}if(c.length>0){throw jsError(e,S,v,"uses non-zero precision (not supported)")}if(o.match(/-/))p=true;if(o.match(/0/))d="0";if(o.match(/\+/))f=true;switch(l){case"s":if(h===undefined||h===null){throw jsError(e,S,v,"attempted to print undefined or null "+"as a string (argument "+g+" to "+"sprintf)")}b+=doPad(d,u,p,h.toString());break;case"d":h=Math.floor(h);case"f":f=f&&h>0?"+":"";b+=f+doPad(d,u,p,h.toString());break;case"x":b+=doPad(d,u,p,h.toString(16));break;case"j":if(u===0)u=10;b+=r.inspect(h,false,u);break;case"r":b+=dumpException(h);break;default:throw jsError(e,S,v,"is not supported")}}b+=a;return b}function jsError(e,t,i,r){n.equal(typeof e,"string");n.equal(typeof i,"string");n.equal(typeof t,"number");n.equal(typeof r,"string");return new Error('format string "'+e+'": conversion specifier "'+i+'" at character '+t+" "+r)}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var t=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,t))}function doPad(e,t,i,n){var r=n;while(r.length{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach(function(t){wrapper[t]=e[t]});return wrapper;function wrapper(){var t=new Array(arguments.length);for(var i=0;i{"use strict";const n=i(91518);n.createWebSocketStream=i(41658);n.Server=i(58887);n.Receiver=i(25066);n.Sender=i(36947);e.exports=n},9436:(e,t,i)=>{"use strict";const{EMPTY_BUFFER:n}=i(15949);function concat(e,t){if(e.length===0)return n;if(e.length===1)return e[0];const i=Buffer.allocUnsafe(t);let r=0;for(let t=0;t{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},64561:e=>{"use strict";class Event{constructor(e,t){this.target=t;this.type=e}}class MessageEvent extends Event{constructor(e,t){super("message",t);this.data=e}}class CloseEvent extends Event{constructor(e,t,i){super("close",i);this.wasClean=i._closeFrameReceived&&i._closeFrameSent;this.reason=t;this.code=e}}class OpenEvent extends Event{constructor(e){super("open",e)}}class ErrorEvent extends Event{constructor(e,t){super("error",t);this.message=e.message;this.error=e}}const t={addEventListener(e,t,i){if(typeof t!=="function")return;function onMessage(e){t.call(this,new MessageEvent(e,this))}function onClose(e,i){t.call(this,new CloseEvent(e,i,this))}function onError(e){t.call(this,new ErrorEvent(e,this))}function onOpen(){t.call(this,new OpenEvent(this))}const n=i&&i.once?"once":"on";if(e==="message"){onMessage._listener=t;this[n](e,onMessage)}else if(e==="close"){onClose._listener=t;this[n](e,onClose)}else if(e==="error"){onError._listener=t;this[n](e,onError)}else if(e==="open"){onOpen._listener=t;this[n](e,onOpen)}else{this[n](e,t)}},removeEventListener(e,t){const i=this.listeners(e);for(let n=0;n{"use strict";const t=[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 push(e,t,i){if(e[t]===undefined)e[t]=[i];else e[t].push(i)}function parse(e){const i=Object.create(null);if(e===undefined||e==="")return i;let n=Object.create(null);let r=false;let s=false;let a=false;let o;let u;let c=-1;let l=-1;let p=0;for(;p{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>{return[t].concat(Object.keys(e).map(t=>{let i=e[t];if(!Array.isArray(i))i=[i];return i.map(e=>e===true?t:`${t}=${e}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}e.exports={format:format,parse:parse}},41356:e=>{"use strict";const t=Symbol("kDone");const i=Symbol("kRun");class Limiter{constructor(e){this[t]=(()=>{this.pending--;this[i]()});this.concurrency=e||Infinity;this.jobs=[];this.pending=0}add(e){this.jobs.push(e);this[i]()}[i](){if(this.pending===this.concurrency)return;if(this.jobs.length){const e=this.jobs.shift();this.pending++;e(this[t])}}}e.exports=Limiter},56684:(e,t,i)=>{"use strict";const n=i(78761);const r=i(9436);const s=i(41356);const{kStatusCode:a,NOOP:o}=i(15949);const u=Buffer.from([0,0,255,255]);const c=Symbol("permessage-deflate");const l=Symbol("total-length");const p=Symbol("callback");const d=Symbol("buffers");const f=Symbol("error");let h;class PerMessageDeflate{constructor(e,t,i){this._maxPayload=i|0;this._options=e||{};this._threshold=this._options.threshold!==undefined?this._options.threshold:1024;this._isServer=!!t;this._deflate=null;this._inflate=null;this.params=null;if(!h){const e=this._options.concurrencyLimit!==undefined?this._options.concurrencyLimit:10;h=new s(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[p];this._deflate.close();this._deflate=null;if(e){e(new Error("The deflate stream was closed while data was being processed"))}}}acceptAsServer(e){const t=this._options;const i=e.find(e=>{if(t.serverNoContextTakeover===false&&e.server_no_context_takeover||e.server_max_window_bits&&(t.serverMaxWindowBits===false||typeof t.serverMaxWindowBits==="number"&&t.serverMaxWindowBits>e.server_max_window_bits)||typeof t.clientMaxWindowBits==="number"&&!e.client_max_window_bits){return false}return true});if(!i){throw new Error("None of the extension offers can be accepted")}if(t.serverNoContextTakeover){i.server_no_context_takeover=true}if(t.clientNoContextTakeover){i.client_no_context_takeover=true}if(typeof t.serverMaxWindowBits==="number"){i.server_max_window_bits=t.serverMaxWindowBits}if(typeof t.clientMaxWindowBits==="number"){i.client_max_window_bits=t.clientMaxWindowBits}else if(i.client_max_window_bits===true||t.clientMaxWindowBits===false){delete i.client_max_window_bits}return i}acceptAsClient(e){const t=e[0];if(this._options.clientNoContextTakeover===false&&t.client_no_context_takeover){throw new Error('Unexpected parameter "client_no_context_takeover"')}if(!t.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number"){t.client_max_window_bits=this._options.clientMaxWindowBits}}else if(this._options.clientMaxWindowBits===false||typeof this._options.clientMaxWindowBits==="number"&&t.client_max_window_bits>this._options.clientMaxWindowBits){throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}return t}normalizeParams(e){e.forEach(e=>{Object.keys(e).forEach(t=>{let i=e[t];if(i.length>1){throw new Error(`Parameter "${t}" must have only a single value`)}i=i[0];if(t==="client_max_window_bits"){if(i!==true){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(!this._isServer){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else if(t==="server_max_window_bits"){const e=+i;if(!Number.isInteger(e)||e<8||e>15){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}i=e}else if(t==="client_no_context_takeover"||t==="server_no_context_takeover"){if(i!==true){throw new TypeError(`Invalid value for parameter "${t}": ${i}`)}}else{throw new Error(`Unknown parameter "${t}"`)}e[t]=i})});return e}decompress(e,t,i){h.add(n=>{this._decompress(e,t,(e,t)=>{n();i(e,t)})})}compress(e,t,i){h.add(n=>{this._compress(e,t,(e,t)=>{n();i(e,t)})})}_decompress(e,t,i){const s=this._isServer?"client":"server";if(!this._inflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t});this._inflate[c]=this;this._inflate[l]=0;this._inflate[d]=[];this._inflate.on("error",inflateOnError);this._inflate.on("data",inflateOnData)}this._inflate[p]=i;this._inflate.write(e);if(t)this._inflate.write(u);this._inflate.flush(()=>{const e=this._inflate[f];if(e){this._inflate.close();this._inflate=null;i(e);return}const n=r.concat(this._inflate[d],this._inflate[l]);if(this._inflate._readableState.endEmitted){this._inflate.close();this._inflate=null}else{this._inflate[l]=0;this._inflate[d]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._inflate.reset()}}i(null,n)})}_compress(e,t,i){const s=this._isServer?"server":"client";if(!this._deflate){const e=`${s}_max_window_bits`;const t=typeof this.params[e]!=="number"?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t});this._deflate[l]=0;this._deflate[d]=[];this._deflate.on("error",o);this._deflate.on("data",deflateOnData)}this._deflate[p]=i;this._deflate.write(e);this._deflate.flush(n.Z_SYNC_FLUSH,()=>{if(!this._deflate){return}let e=r.concat(this._deflate[d],this._deflate[l]);if(t)e=e.slice(0,e.length-4);this._deflate[p]=null;this._deflate[l]=0;this._deflate[d]=[];if(t&&this.params[`${s}_no_context_takeover`]){this._deflate.reset()}i(null,e)})}}e.exports=PerMessageDeflate;function deflateOnData(e){this[d].push(e);this[l]+=e.length}function inflateOnData(e){this[l]+=e.length;if(this[c]._maxPayload<1||this[l]<=this[c]._maxPayload){this[d].push(e);return}this[f]=new RangeError("Max payload size exceeded");this[f][a]=1009;this.removeListener("data",inflateOnData);this.reset()}function inflateOnError(e){this[c]._inflate=null;e[a]=1007;this[p](e)}},25066:(e,t,i)=>{"use strict";const{Writable:n}=i(92413);const r=i(56684);const{BINARY_TYPES:s,EMPTY_BUFFER:a,kStatusCode:o,kWebSocket:u}=i(15949);const{concat:c,toArrayBuffer:l,unmask:p}=i(9436);const{isValidStatusCode:d,isValidUTF8:f}=i(86279);const h=0;const m=1;const b=2;const g=3;const y=4;const S=5;class Receiver extends n{constructor(e,t,i,n){super();this._binaryType=e||s[0];this[u]=undefined;this._extensions=t||{};this._isServer=!!i;this._maxPayload=n|0;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._state=h;this._loop=false}_write(e,t,i){if(this._opcode===8&&this._state==h)return i();this._bufferedBytes+=e.length;this._buffers.push(e);this.startLoop(i)}consume(e){this._bufferedBytes-=e;if(e===this._buffers[0].length)return this._buffers.shift();if(e=i.length){t.set(this._buffers.shift(),n)}else{t.set(new Uint8Array(i.buffer,i.byteOffset,e),n);this._buffers[0]=i.slice(e)}e-=i.length}while(e>0);return t}startLoop(e){let t;this._loop=true;do{switch(this._state){case h:t=this.getInfo();break;case m:t=this.getPayloadLength16();break;case b:t=this.getPayloadLength64();break;case g:this.getMask();break;case y:t=this.getData(e);break;default:this._loop=false;return}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2){this._loop=false;return}const e=this.consume(2);if((e[0]&48)!==0){this._loop=false;return error(RangeError,"RSV2 and RSV3 must be clear",true,1002)}const t=(e[0]&64)===64;if(t&&!this._extensions[r.extensionName]){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}this._fin=(e[0]&128)===128;this._opcode=e[0]&15;this._payloadLength=e[1]&127;if(this._opcode===0){if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(!this._fragmented){this._loop=false;return error(RangeError,"invalid opcode 0",true,1002)}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}this._compressed=t}else if(this._opcode>7&&this._opcode<11){if(!this._fin){this._loop=false;return error(RangeError,"FIN must be set",true,1002)}if(t){this._loop=false;return error(RangeError,"RSV1 must be clear",true,1002)}if(this._payloadLength>125){this._loop=false;return error(RangeError,`invalid payload length ${this._payloadLength}`,true,1002)}}else{this._loop=false;return error(RangeError,`invalid opcode ${this._opcode}`,true,1002)}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;this._masked=(e[1]&128)===128;if(this._isServer){if(!this._masked){this._loop=false;return error(RangeError,"MASK must be set",true,1002)}}else if(this._masked){this._loop=false;return error(RangeError,"MASK must be clear",true,1002)}if(this._payloadLength===126)this._state=m;else if(this._payloadLength===127)this._state=b;else return this.haveLength()}getPayloadLength16(){if(this._bufferedBytes<2){this._loop=false;return}this._payloadLength=this.consume(2).readUInt16BE(0);return this.haveLength()}getPayloadLength64(){if(this._bufferedBytes<8){this._loop=false;return}const e=this.consume(8);const t=e.readUInt32BE(0);if(t>Math.pow(2,53-32)-1){this._loop=false;return error(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",false,1009)}this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4);return this.haveLength()}haveLength(){if(this._payloadLength&&this._opcode<8){this._totalPayloadLength+=this._payloadLength;if(this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){this._loop=false;return error(RangeError,"Max payload size exceeded",false,1009)}}if(this._masked)this._state=g;else this._state=y}getMask(){if(this._bufferedBytes<4){this._loop=false;return}this._mask=this.consume(4);this._state=y}getData(e){let t=a;if(this._payloadLength){if(this._bufferedBytes7)return this.controlMessage(t);if(this._compressed){this._state=S;this.decompress(t,e);return}if(t.length){this._messageLength=this._totalPayloadLength;this._fragments.push(t)}return this.dataMessage()}decompress(e,t){const i=this._extensions[r.extensionName];i.decompress(e,this._fin,(e,i)=>{if(e)return t(e);if(i.length){this._messageLength+=i.length;if(this._messageLength>this._maxPayload&&this._maxPayload>0){return t(error(RangeError,"Max payload size exceeded",false,1009))}this._fragments.push(i)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)})}dataMessage(){if(this._fin){const e=this._messageLength;const t=this._fragments;this._totalPayloadLength=0;this._messageLength=0;this._fragmented=0;this._fragments=[];if(this._opcode===2){let i;if(this._binaryType==="nodebuffer"){i=c(t,e)}else if(this._binaryType==="arraybuffer"){i=l(c(t,e))}else{i=t}this.emit("message",i)}else{const i=c(t,e);if(!f(i)){this._loop=false;return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("message",i.toString())}}this._state=h}controlMessage(e){if(this._opcode===8){this._loop=false;if(e.length===0){this.emit("conclude",1005,"");this.end()}else if(e.length===1){return error(RangeError,"invalid payload length 1",true,1002)}else{const t=e.readUInt16BE(0);if(!d(t)){return error(RangeError,`invalid status code ${t}`,true,1002)}const i=e.slice(2);if(!f(i)){return error(Error,"invalid UTF-8 sequence",true,1007)}this.emit("conclude",t,i.toString());this.end()}}else if(this._opcode===9){this.emit("ping",e)}else{this.emit("pong",e)}this._state=h}}e.exports=Receiver;function error(e,t,i,n){const r=new e(i?`Invalid WebSocket frame: ${t}`:t);Error.captureStackTrace(r,error);r[o]=n;return r}},36947:(e,t,i)=>{"use strict";const{randomFillSync:n}=i(76417);const r=i(56684);const{EMPTY_BUFFER:s}=i(15949);const{isValidStatusCode:a}=i(86279);const{mask:o,toBuffer:u}=i(9436);const c=Buffer.alloc(4);class Sender{constructor(e,t){this._extensions=t||{};this._socket=e;this._firstFragment=true;this._compress=false;this._bufferedBytes=0;this._deflating=false;this._queue=[]}static frame(e,t){const i=t.mask&&t.readOnly;let r=t.mask?6:2;let s=e.length;if(e.length>=65536){r+=8;s=127}else if(e.length>125){r+=2;s=126}const a=Buffer.allocUnsafe(i?e.length+r:r);a[0]=t.fin?t.opcode|128:t.opcode;if(t.rsv1)a[0]|=64;a[1]=s;if(s===126){a.writeUInt16BE(e.length,2)}else if(s===127){a.writeUInt32BE(0,2);a.writeUInt32BE(e.length,6)}if(!t.mask)return[a,e];n(c,0,4);a[1]|=128;a[r-4]=c[0];a[r-3]=c[1];a[r-2]=c[2];a[r-1]=c[3];if(i){o(e,c,a,r,e.length);return[a]}o(e,c,e,0,e.length);return[a,e]}close(e,t,i,n){let r;if(e===undefined){r=s}else if(typeof e!=="number"||!a(e)){throw new TypeError("First argument must be a valid error code number")}else if(t===undefined||t===""){r=Buffer.allocUnsafe(2);r.writeUInt16BE(e,0)}else{const i=Buffer.byteLength(t);if(i>123){throw new RangeError("The message must not be greater than 123 bytes")}r=Buffer.allocUnsafe(2+i);r.writeUInt16BE(e,0);r.write(t,2)}if(this._deflating){this.enqueue([this.doClose,r,i,n])}else{this.doClose(r,i,n)}}doClose(e,t,i){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:8,mask:t,readOnly:false}),i)}ping(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPing,n,t,u.readOnly,i])}else{this.doPing(n,t,u.readOnly,i)}}doPing(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:9,mask:t,readOnly:i}),n)}pong(e,t,i){const n=u(e);if(n.length>125){throw new RangeError("The data size must not be greater than 125 bytes")}if(this._deflating){this.enqueue([this.doPong,n,t,u.readOnly,i])}else{this.doPong(n,t,u.readOnly,i)}}doPong(e,t,i,n){this.sendFrame(Sender.frame(e,{fin:true,rsv1:false,opcode:10,mask:t,readOnly:i}),n)}send(e,t,i){const n=u(e);const s=this._extensions[r.extensionName];let a=t.binary?2:1;let o=t.compress;if(this._firstFragment){this._firstFragment=false;if(o&&s){o=n.length>=s._threshold}this._compress=o}else{o=false;a=0}if(t.fin)this._firstFragment=true;if(s){const e={fin:t.fin,rsv1:o,opcode:a,mask:t.mask,readOnly:u.readOnly};if(this._deflating){this.enqueue([this.dispatch,n,this._compress,e,i])}else{this.dispatch(n,this._compress,e,i)}}else{this.sendFrame(Sender.frame(n,{fin:t.fin,rsv1:false,opcode:a,mask:t.mask,readOnly:u.readOnly}),i)}}dispatch(e,t,i,n){if(!t){this.sendFrame(Sender.frame(e,i),n);return}const s=this._extensions[r.extensionName];this._bufferedBytes+=e.length;this._deflating=true;s.compress(e,i.fin,(t,r)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");if(typeof n==="function")n(e);for(let t=0;t{"use strict";const{Duplex:n}=i(92413);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,t){let i=true;function receiverOnDrain(){if(i)e._socket.resume()}if(e.readyState===e.CONNECTING){e.once("open",function open(){e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)})}else{e._receiver.removeAllListeners("drain");e._receiver.on("drain",receiverOnDrain)}const r=new n({...t,autoDestroy:false,emitClose:false,objectMode:false,writableObjectMode:false});e.on("message",function message(t){if(!r.push(t)){i=false;e._socket.pause()}});e.once("error",function error(e){if(r.destroyed)return;r.destroy(e)});e.once("close",function close(){if(r.destroyed)return;r.push(null)});r._destroy=function(t,i){if(e.readyState===e.CLOSED){i(t);process.nextTick(emitClose,r);return}let n=false;e.once("error",function error(e){n=true;i(e)});e.once("close",function close(){if(!n)i(t);process.nextTick(emitClose,r)});e.terminate()};r._final=function(t){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._final(t)});return}if(e._socket===null)return;if(e._socket._writableState.finished){t();if(r._readableState.endEmitted)r.destroy()}else{e._socket.once("finish",function finish(){t()});e.close()}};r._read=function(){if(e.readyState===e.OPEN&&!i){i=true;if(!e._receiver._writableState.needDrain)e._socket.resume()}};r._write=function(t,i,n){if(e.readyState===e.CONNECTING){e.once("open",function open(){r._write(t,i,n)});return}e.send(t,n)};r.on("end",duplexOnEnd);r.on("error",duplexOnError);return r}e.exports=createWebSocketStream},86279:(e,t,i)=>{"use strict";try{const e=i(24592);t.isValidUTF8=typeof e==="object"?e.Validation.isValidUTF8:e}catch(e){t.isValidUTF8=(()=>true)}t.isValidStatusCode=(e=>{return e>=1e3&&e<=1014&&e!==1004&&e!==1005&&e!==1006||e>=3e3&&e<=4999})},58887:(e,t,i)=>{"use strict";const n=i(28614);const{createHash:r}=i(76417);const{createServer:s,STATUS_CODES:a}=i(98605);const o=i(56684);const u=i(91518);const{format:c,parse:l}=i(92035);const{GUID:p,kWebSocket:d}=i(15949);const f=/^[+/0-9A-Za-z]{22}==$/;class WebSocketServer extends n{constructor(e,t){super();e={maxPayload:100*1024*1024,perMessageDeflate:false,handleProtocols:null,clientTracking:true,verifyClient:null,noServer:false,backlog:null,server:null,host:null,path:null,port:null,...e};if(e.port==null&&!e.server&&!e.noServer){throw new TypeError('One of the "port", "server", or "noServer" options must be specified')}if(e.port!=null){this._server=s((e,t)=>{const i=a[426];t.writeHead(426,{"Content-Length":i.length,"Content-Type":"text/plain"});t.end(i)});this._server.listen(e.port,e.host,e.backlog,t)}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:(t,i,n)=>{this.handleUpgrade(t,i,n,e)}})}if(e.perMessageDeflate===true)e.perMessageDeflate={};if(e.clientTracking)this.clients=new Set;this.options=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(e)this.once("close",e);if(this.clients){for(const e of this.clients)e.terminate()}const t=this._server;if(t){this._removeListeners();this._removeListeners=this._server=null;if(this.options.port!=null){t.close(()=>this.emit("close"));return}}process.nextTick(emitClose,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");const i=t!==-1?e.url.slice(0,t):e.url;if(i!==this.options.path)return false}return true}handleUpgrade(e,t,i,n){t.on("error",socketOnError);const r=e.headers["sec-websocket-key"]!==undefined?e.headers["sec-websocket-key"].trim():false;const s=+e.headers["sec-websocket-version"];const a={};if(e.method!=="GET"||e.headers.upgrade.toLowerCase()!=="websocket"||!r||!f.test(r)||s!==8&&s!==13||!this.shouldHandle(e)){return abortHandshake(t,400)}if(this.options.perMessageDeflate){const i=new o(this.options.perMessageDeflate,true,this.options.maxPayload);try{const n=l(e.headers["sec-websocket-extensions"]);if(n[o.extensionName]){i.accept(n[o.extensionName]);a[o.extensionName]=i}}catch(e){return abortHandshake(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[`${s===8?"sec-websocket-origin":"origin"}`],secure:!!(e.socket.authorized||e.socket.encrypted),req:e};if(this.options.verifyClient.length===2){this.options.verifyClient(o,(s,o,u,c)=>{if(!s){return abortHandshake(t,o||401,u,c)}this.completeUpgrade(r,a,e,t,i,n)});return}if(!this.options.verifyClient(o))return abortHandshake(t,401)}this.completeUpgrade(r,a,e,t,i,n)}completeUpgrade(e,t,i,n,s,a){if(!n.readable||!n.writable)return n.destroy();if(n[d]){throw new Error("server.handleUpgrade() was called more than once with the same "+"socket, possibly due to a misconfiguration")}const l=r("sha1").update(e+p).digest("base64");const f=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${l}`];const h=new u(null);let m=i.headers["sec-websocket-protocol"];if(m){m=m.trim().split(/ *, */);if(this.options.handleProtocols){m=this.options.handleProtocols(m,i)}else{m=m[0]}if(m){f.push(`Sec-WebSocket-Protocol: ${m}`);h._protocol=m}}if(t[o.extensionName]){const e=t[o.extensionName].params;const i=c({[o.extensionName]:[e]});f.push(`Sec-WebSocket-Extensions: ${i}`);h._extensions=t}this.emit("headers",f,i);n.write(f.concat("\r\n").join("\r\n"));n.removeListener("error",socketOnError);h.setSocket(n,s,this.options.maxPayload);if(this.clients){this.clients.add(h);h.on("close",()=>this.clients.delete(h))}a(h,i)}}e.exports=WebSocketServer;function addListeners(e,t){for(const i of Object.keys(t))e.on(i,t[i]);return function removeListeners(){for(const i of Object.keys(t)){e.removeListener(i,t[i])}}}function emitClose(e){e.emit("close")}function socketOnError(){this.destroy()}function abortHandshake(e,t,i,n){if(e.writable){i=i||a[t];n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(i),...n};e.write(`HTTP/1.1 ${t} ${a[t]}\r\n`+Object.keys(n).map(e=>`${e}: ${n[e]}`).join("\r\n")+"\r\n\r\n"+i)}e.removeListener("error",socketOnError);e.destroy()}},91518:(e,t,i)=>{"use strict";const n=i(28614);const r=i(57211);const s=i(98605);const a=i(11631);const o=i(4016);const{randomBytes:u,createHash:c}=i(76417);const{URL:l}=i(78835);const p=i(56684);const d=i(25066);const f=i(36947);const{BINARY_TYPES:h,EMPTY_BUFFER:m,GUID:b,kStatusCode:g,kWebSocket:y,NOOP:S}=i(15949);const{addEventListener:v,removeEventListener:w}=i(64561);const{format:j,parse:z}=i(92035);const{toBuffer:O}=i(9436);const k=["CONNECTING","OPEN","CLOSING","CLOSED"];const C=[8,13];const T=30*1e3;class WebSocket extends n{constructor(e,t,i){super();this._binaryType=h[0];this._closeCode=1006;this._closeFrameReceived=false;this._closeFrameSent=false;this._closeMessage="";this._closeTimer=null;this._extensions={};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(Array.isArray(t)){t=t.join(", ")}else if(typeof t==="object"&&t!==null){i=t;t=undefined}initAsClient(this,e,t,i)}else{this._isServer=true}}get binaryType(){return this._binaryType}set binaryType(e){if(!h.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 protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,i){const n=new d(this.binaryType,this._extensions,this._isServer,i);this._sender=new f(e,this._extensions);this._receiver=n;this._socket=e;n[y]=this;e[y]=this;n.on("conclude",receiverOnConclude);n.on("drain",receiverOnDrain);n.on("error",receiverOnError);n.on("message",receiverOnMessage);n.on("ping",receiverOnPing);n.on("pong",receiverOnPong);e.setTimeout(0);e.setNoDelay();if(t.length>0)e.unshift(t);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[p.extensionName]){this._extensions[p.extensionName].cleanup()}this._receiver.removeAllListeners();this._readyState=WebSocket.CLOSED;this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this.readyState===WebSocket.CLOSING){if(this._closeFrameSent&&this._closeFrameReceived)this._socket.end();return}this._readyState=WebSocket.CLOSING;this._sender.close(e,t,!this._isServer,e=>{if(e)return;this._closeFrameSent=true;if(this._closeFrameReceived)this._socket.end()});this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),T)}ping(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.ping(e||m,t,i)}pong(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof e==="function"){i=e;e=t=undefined}else if(typeof t==="function"){i=t;t=undefined}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}if(t===undefined)t=!this._isServer;this._sender.pong(e||m,t,i)}send(e,t,i){if(this.readyState===WebSocket.CONNECTING){throw new Error("WebSocket is not open: readyState 0 (CONNECTING)")}if(typeof t==="function"){i=t;t={}}if(typeof e==="number")e=e.toString();if(this.readyState!==WebSocket.OPEN){sendAfterClose(this,e,i);return}const n={binary:typeof e!=="string",mask:!this._isServer,compress:true,fin:true,...t};if(!this._extensions[p.extensionName]){n.compress=false}this._sender.send(e||m,n,i)}terminate(){if(this.readyState===WebSocket.CLOSED)return;if(this.readyState===WebSocket.CONNECTING){const e="WebSocket was closed before the connection was established";return abortHandshake(this,this._req,e)}if(this._socket){this._readyState=WebSocket.CLOSING;this._socket.destroy()}}}k.forEach((e,t)=>{const i={enumerable:true,value:t};Object.defineProperty(WebSocket.prototype,e,i);Object.defineProperty(WebSocket,e,i)});["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach(e=>{Object.defineProperty(WebSocket.prototype,e,{enumerable:true})});["open","error","close","message"].forEach(e=>{Object.defineProperty(WebSocket.prototype,`on${e}`,{configurable:true,enumerable:true,get(){const t=this.listeners(e);for(let e=0;e{abortHandshake(e,S,"Opening handshake has timed out")})}S.on("error",t=>{if(S===null||S.aborted)return;S=e._req=null;e._readyState=WebSocket.CLOSING;e.emit("error",t);e.emitClose()});S.on("response",r=>{const s=r.headers.location;const o=r.statusCode;if(s&&a.followRedirects&&o>=300&&o<400){if(++e._redirects>a.maxRedirects){abortHandshake(e,S,"Maximum redirects exceeded");return}S.abort();const r=new l(s,t);initAsClient(e,r,i,n)}else if(!e.emit("unexpected-response",S,r)){abortHandshake(e,S,`Unexpected server response: ${r.statusCode}`)}});S.on("upgrade",(t,n,r)=>{e.emit("upgrade",t);if(e.readyState!==WebSocket.CONNECTING)return;S=e._req=null;const s=c("sha1").update(m+b).digest("base64");if(t.headers["sec-websocket-accept"]!==s){abortHandshake(e,n,"Invalid Sec-WebSocket-Accept header");return}const o=t.headers["sec-websocket-protocol"];const u=(i||"").split(/, */);let l;if(!i&&o){l="Server sent a subprotocol but none was requested"}else if(i&&!o){l="Server sent no subprotocol"}else if(o&&!u.includes(o)){l="Server sent an invalid subprotocol"}if(l){abortHandshake(e,n,l);return}if(o)e._protocol=o;if(y){try{const i=z(t.headers["sec-websocket-extensions"]);if(i[p.extensionName]){y.accept(i[p.extensionName]);e._extensions[p.extensionName]=y}}catch(t){abortHandshake(e,n,"Invalid Sec-WebSocket-Extensions header");return}}e.setSocket(n,r,a.maxPayload)})}function netConnect(e){e.path=e.socketPath;return a.connect(e)}function tlsConnect(e){e.path=undefined;if(!e.servername&&e.servername!==""){e.servername=a.isIP(e.host)?"":e.host}return o.connect(e)}function abortHandshake(e,t,i){e._readyState=WebSocket.CLOSING;const n=new Error(i);Error.captureStackTrace(n,abortHandshake);if(t.setHeader){t.abort();t.once("abort",e.emitClose.bind(e));e.emit("error",n)}else{t.destroy(n);t.once("error",e.emit.bind(e,"error"));t.once("close",e.emitClose.bind(e))}}function sendAfterClose(e,t,i){if(t){const i=O(t).length;if(e._socket)e._sender._bufferedBytes+=i;else e._bufferedAmount+=i}if(i){const t=new Error(`WebSocket is not open: readyState ${e.readyState} `+`(${k[e.readyState]})`);i(t)}}function receiverOnConclude(e,t){const i=this[y];i._socket.removeListener("data",socketOnData);i._socket.resume();i._closeFrameReceived=true;i._closeMessage=t;i._closeCode=e;if(e===1005)i.close();else i.close(e,t)}function receiverOnDrain(){this[y]._socket.resume()}function receiverOnError(e){const t=this[y];t._socket.removeListener("data",socketOnData);t._readyState=WebSocket.CLOSING;t._closeCode=e[g];t.emit("error",e);t._socket.destroy()}function receiverOnFinish(){this[y].emitClose()}function receiverOnMessage(e){this[y].emit("message",e)}function receiverOnPing(e){const t=this[y];t.pong(e,!t._isServer,S);t.emit("ping",e)}function receiverOnPong(e){this[y].emit("pong",e)}function socketOnClose(){const e=this[y];this.removeListener("close",socketOnClose);this.removeListener("end",socketOnEnd);e._readyState=WebSocket.CLOSING;e._socket.read();e._receiver.end();this.removeListener("data",socketOnData);this[y]=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[y]._receiver.write(e)){this.pause()}}function socketOnEnd(){const e=this[y];e._readyState=WebSocket.CLOSING;e._receiver.end();this.end()}function socketOnError(){const e=this[y];this.removeListener("error",socketOnError);this.on("error",S);if(e){e._readyState=WebSocket.CLOSING;this.destroy()}}},4091:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},40665:(e,t,i)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.push(e)})}else if(arguments.length>0){for(var i=0,n=arguments.length;i1){i=t}else if(this.head){n=this.head.next;i=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var r=0;n!==null;r++){i=e(i,n.value,r);n=n.next}return i};Yallist.prototype.reduceReverse=function(e,t){var i;var n=this.tail;if(arguments.length>1){i=t}else if(this.tail){n=this.tail.prev;i=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var r=this.length-1;n!==null;r--){i=e(i,n.value,r);n=n.prev}return i};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,i=this.head;i!==null;t++){e[t]=i.value;i=i.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,i=this.tail;i!==null;t++){e[t]=i.value;i=i.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var i=new Yallist;if(tthis.length){t=this.length}for(var n=0,r=this.head;r!==null&&nthis.length){t=this.length}for(var n=this.length,r=this.tail;r!==null&&n>t;n--){r=r.prev}for(;r!==null&&n>e;n--,r=r.prev){i.push(r.value)}return i};Yallist.prototype.splice=function(e,t,...i){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,r=this.head;r!==null&&n{const{isLoadBalancer:n,hasExternalAddress:r,createComment:s}=i(2831);const a=i(54742);const o=i(89679);const u=i(42186);const{context:c}=i(95438);const{getOctokit:l}=i(95438);async function fetchServiceStatus(){const e=new o.KubeConfig;e.loadFromDefault();const t=e.makeApiClient(o.CoreV1Api);const i=await t.readNamespacedServiceStatus(u.getInput("loadbalancer"),u.getInput("namespace"));if(!n(i.body)){throw Error("Given service is not a load balancer.")}if(!r(i.body)){throw Error("Given load balancer has no external ip assigned yet.")}return i.body}const p=async()=>{if(c.payload.pull_request==null){throw Error("No pull request found.")}const e=await a(function(e,t){if(t>1){console.log(`Retry Attempt: ${t}.`)}return fetchServiceStatus().catch(e)});const t=s(e);const i=l(u.getInput("token"));i.issues.createComment({...c.repo,issue_number:c.payload.pull_request.number,body:t})};p().then().catch(e=>u.setFailed(e.message))},2831:e=>{const t=e=>e.spec.type==="LoadBalancer";const i=e=>Object.prototype.hasOwnProperty.call(e.status.loadBalancer,"ingress");const n=e=>{const t=e.status.loadBalancer.ingress[0].ip;const i=e.metadata.name;return`${i} is now available at ${t}. :sunglasses:`};e.exports={isLoadBalancer:t,hasExternalAddress:i,createComment:n}},71269:module=>{module.exports=eval("require")("bufferutil")},22877:module=>{module.exports=eval("require")("encoding")},24592:module=>{module.exports=eval("require")("utf-8-validate")},66835:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},81030:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-06/schema#","$id":"http://json-schema.org/draft-06/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"title":{"type":"string"},"description":{"type":"string"},"default":{},"examples":{"type":"array","items":{}},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":{}},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":{},"enum":{"type":"array","minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":{}}')},40038:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},24391:e=>{"use strict";e.exports=JSON.parse('{"$id":"afterRequest.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["lastAccess","eTag","hitCount"],"properties":{"expires":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"lastAccess":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"eTag":{"type":"string"},"hitCount":{"type":"integer"},"comment":{"type":"string"}}}')},94440:e=>{"use strict";e.exports=JSON.parse('{"$id":"beforeRequest.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["lastAccess","eTag","hitCount"],"properties":{"expires":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"lastAccess":{"type":"string","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))?"},"eTag":{"type":"string"},"hitCount":{"type":"integer"},"comment":{"type":"string"}}}')},99850:e=>{"use strict";e.exports=JSON.parse('{"$id":"browser.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"string"},"comment":{"type":"string"}}}')},77654:e=>{"use strict";e.exports=JSON.parse('{"$id":"cache.json#","$schema":"http://json-schema.org/draft-06/schema#","properties":{"beforeRequest":{"oneOf":[{"type":"null"},{"$ref":"beforeRequest.json#"}]},"afterRequest":{"oneOf":[{"type":"null"},{"$ref":"afterRequest.json#"}]},"comment":{"type":"string"}}}')},73656:e=>{"use strict";e.exports=JSON.parse('{"$id":"content.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["size","mimeType"],"properties":{"size":{"type":"integer"},"compression":{"type":"integer"},"mimeType":{"type":"string"},"text":{"type":"string"},"encoding":{"type":"string"},"comment":{"type":"string"}}}')},67948:e=>{"use strict";e.exports=JSON.parse('{"$id":"cookie.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"path":{"type":"string"},"domain":{"type":"string"},"expires":{"type":["string","null"],"format":"date-time"},"httpOnly":{"type":"boolean"},"secure":{"type":"boolean"},"comment":{"type":"string"}}}')},33412:e=>{"use strict";e.exports=JSON.parse('{"$id":"creator.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"string"},"comment":{"type":"string"}}}')},32525:e=>{"use strict";e.exports=JSON.parse('{"$id":"entry.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["startedDateTime","time","request","response","cache","timings"],"properties":{"pageref":{"type":"string"},"startedDateTime":{"type":"string","format":"date-time","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))"},"time":{"type":"number","min":0},"request":{"$ref":"request.json#"},"response":{"$ref":"response.json#"},"cache":{"$ref":"cache.json#"},"timings":{"$ref":"timings.json#"},"serverIPAddress":{"type":"string","oneOf":[{"format":"ipv4"},{"format":"ipv6"}]},"connection":{"type":"string"},"comment":{"type":"string"}}}')},84943:e=>{"use strict";e.exports=JSON.parse('{"$id":"har.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["log"],"properties":{"log":{"$ref":"log.json#"}}}')},68344:e=>{"use strict";e.exports=JSON.parse('{"$id":"header.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"comment":{"type":"string"}}}')},69142:e=>{"use strict";e.exports=JSON.parse('{"$id":"log.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["version","creator","entries"],"properties":{"version":{"type":"string"},"creator":{"$ref":"creator.json#"},"browser":{"$ref":"browser.json#"},"pages":{"type":"array","items":{"$ref":"page.json#"}},"entries":{"type":"array","items":{"$ref":"entry.json#"}},"comment":{"type":"string"}}}')},29075:e=>{"use strict";e.exports=JSON.parse('{"$id":"page.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["startedDateTime","id","title","pageTimings"],"properties":{"startedDateTime":{"type":"string","format":"date-time","pattern":"^(\\\\d{4})(-)?(\\\\d\\\\d)(-)?(\\\\d\\\\d)(T)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(:)?(\\\\d\\\\d)(\\\\.\\\\d+)?(Z|([+-])(\\\\d\\\\d)(:)?(\\\\d\\\\d))"},"id":{"type":"string","unique":true},"title":{"type":"string"},"pageTimings":{"$ref":"pageTimings.json#"},"comment":{"type":"string"}}}')},15096:e=>{"use strict";e.exports=JSON.parse('{"$id":"pageTimings.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","properties":{"onContentLoad":{"type":"number","min":-1},"onLoad":{"type":"number","min":-1},"comment":{"type":"string"}}}')},73697:e=>{"use strict";e.exports=JSON.parse('{"$id":"postData.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","optional":true,"required":["mimeType"],"properties":{"mimeType":{"type":"string"},"text":{"type":"string"},"params":{"type":"array","required":["name"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"fileName":{"type":"string"},"contentType":{"type":"string"},"comment":{"type":"string"}}},"comment":{"type":"string"}}}')},70877:e=>{"use strict";e.exports=JSON.parse('{"$id":"query.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"},"comment":{"type":"string"}}}')},92084:e=>{"use strict";e.exports=JSON.parse('{"$id":"request.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],"properties":{"method":{"type":"string"},"url":{"type":"string","format":"uri"},"httpVersion":{"type":"string"},"cookies":{"type":"array","items":{"$ref":"cookie.json#"}},"headers":{"type":"array","items":{"$ref":"header.json#"}},"queryString":{"type":"array","items":{"$ref":"query.json#"}},"postData":{"$ref":"postData.json#"},"headersSize":{"type":"integer"},"bodySize":{"type":"integer"},"comment":{"type":"string"}}}')},20702:e=>{"use strict";e.exports=JSON.parse('{"$id":"response.json#","$schema":"http://json-schema.org/draft-06/schema#","type":"object","required":["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],"properties":{"status":{"type":"integer"},"statusText":{"type":"string"},"httpVersion":{"type":"string"},"cookies":{"type":"array","items":{"$ref":"cookie.json#"}},"headers":{"type":"array","items":{"$ref":"header.json#"}},"content":{"$ref":"content.json#"},"redirectURL":{"type":"string"},"headersSize":{"type":"integer"},"bodySize":{"type":"integer"},"comment":{"type":"string"}}}')},36941:e=>{"use strict";e.exports=JSON.parse('{"$id":"timings.json#","$schema":"http://json-schema.org/draft-06/schema#","required":["send","wait","receive"],"properties":{"dns":{"type":"number","min":-1},"connect":{"type":"number","min":-1},"blocked":{"type":"number","min":-1},"send":{"type":"number","min":-1},"wait":{"type":"number","min":-1},"receive":{"type":"number","min":-1},"ssl":{"type":"number","min":-1},"comment":{"type":"string"}}}')},73313:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["keynote"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana"},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana"},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana"},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76710:e=>{"use strict";e.exports=JSON.parse('{"name":"openid-client","version":"4.5.1","description":"OpenID Connect Relying Party (RP, Client) implementation for Node.js runtime, supports passportjs","keywords":["auth","authentication","basic","certified","client","connect","dynamic","electron","hybrid","identity","implicit","oauth","oauth2","oidc","openid","passport","relying party","strategy"],"homepage":"https://github.com/panva/node-openid-client","repository":"panva/node-openid-client","funding":{"url":"https://github.com/sponsors/panva"},"license":"MIT","author":"Filip Skokan ","exports":{"import":"./lib/index.mjs","require":"./lib/index.js"},"main":"lib/index.js","types":"types/index.d.ts","files":["lib","types/index.d.ts"],"scripts":{"coverage":"nyc mocha test/**/*.test.js","lint":"eslint lib test","lint-fix":"eslint lib test --fix","lint-ts":"npx typescript@~3.6.0 --build types","test":"mocha test/**/*.test.js"},"nyc":{"reporter":["lcov","text-summary"]},"dependencies":{"aggregate-error":"^3.1.0","got":"^11.8.0","jose":"^2.0.4","lru-cache":"^6.0.0","make-error":"^1.3.6","object-hash":"^2.0.1","oidc-token-hash":"^5.0.1"},"devDependencies":{"@types/passport":"^1.0.4","base64url":"^3.0.1","chai":"^4.2.0","eslint":"^7.12.1","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","mocha":"^8.2.0","nock":"^13.0.2","nyc":"^15.1.0","readable-mock-req":"^0.2.2","sinon":"^9.2.0","timekeeper":"^2.2.0"},"engines":{"node":"^10.19.0 || >=12.0.0 < 13 || >=13.7.0 < 14 || >= 14.2.0"},"standard-version":{"scripts":{"postchangelog":"sed -i \'\' -e \'s/### \\\\[/## [/g\' CHANGELOG.md"},"types":[{"type":"feat","section":"Features"},{"type":"fix","section":"Bug Fixes"},{"type":"chore","hidden":true},{"type":"docs","hidden":true},{"type":"style","hidden":true},{"type":"refactor","section":"Refactor","hidden":true},{"type":"perf","section":"Performance","hidden":false},{"type":"test","hidden":true}]}}')},2156:e=>{"use strict";e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')},42357:e=>{"use strict";e.exports=require("assert")},64293:e=>{"use strict";e.exports=require("buffer")},63129:e=>{"use strict";e.exports=require("child_process")},76417:e=>{"use strict";e.exports=require("crypto")},40881:e=>{"use strict";e.exports=require("dns")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},98605:e=>{"use strict";e.exports=require("http")},97565:e=>{"use strict";e.exports=require("http2")},57211:e=>{"use strict";e.exports=require("https")},11631:e=>{"use strict";e.exports=require("net")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},94213:e=>{"use strict";e.exports=require("punycode")},71191:e=>{"use strict";e.exports=require("querystring")},92413:e=>{"use strict";e.exports=require("stream")},24304:e=>{"use strict";e.exports=require("string_decoder")},78213:e=>{"use strict";e.exports=require("timers")},4016:e=>{"use strict";e.exports=require("tls")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")},92184:e=>{"use strict";e.exports=require("vm")},78761:e=>{"use strict";e.exports=require("zlib")}};var __webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={id:e,loaded:false,exports:{}};var i=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}t.loaded=true;return t.exports}(()=>{__webpack_require__.d=((e,t)=>{for(var i in t){if(__webpack_require__.o(t,i)&&!__webpack_require__.o(e,i)){Object.defineProperty(e,i,{enumerable:true,get:t[i]})}}})})();(()=>{__webpack_require__.o=((e,t)=>Object.prototype.hasOwnProperty.call(e,t))})();(()=>{__webpack_require__.r=(e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})})})();(()=>{__webpack_require__.nmd=(e=>{e.paths=[];if(!e.children)e.children=[];return e})})();__webpack_require__.ab=__dirname+"/";return __webpack_require__(4351)})(); \ No newline at end of file