From 5b2937610bee3a84d2748fd49386c405d3b4298a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 19:24:20 +0000 Subject: [PATCH] [dependabot skip] chore: update generated content --- dist/index.cjs | 225 +++++++++++++++++++++++---------------------- dist/index.cjs.map | 8 +- dist/licenses.txt | 5 +- 3 files changed, 121 insertions(+), 117 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index 9edb5c8..b104c45 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1,83 +1,83 @@ -var aIe=Object.create;var cz=Object.defineProperty;var cIe=Object.getOwnPropertyDescriptor;var uIe=Object.getOwnPropertyNames;var pIe=Object.getPrototypeOf,AIe=Object.prototype.hasOwnProperty;var i=(t,e)=>cz(t,"name",{value:e,configurable:!0});var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),lIe=(t,e)=>{for(var r in e)cz(t,r,{get:e[r],enumerable:!0})},dIe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of uIe(e))!AIe.call(t,o)&&o!==r&&cz(t,o,{get:()=>e[o],enumerable:!(n=cIe(e,o))||n.enumerable});return t};var w=(t,e,r)=>(r=t!=null?aIe(pIe(t)):{},dIe(e||!t||!t.__esModule?cz(r,"default",{value:t,enumerable:!0}):r,t));var P9=m(pA=>{"use strict";var G40=require("net"),zIe=require("tls"),YD=require("http"),L9=require("https"),OIe=require("events"),H40=require("assert"),gIe=require("util");pA.httpOverHttp=EIe;pA.httpsOverHttp=CIe;pA.httpOverHttps=yIe;pA.httpsOverHttps=BIe;function EIe(t){var e=new zi(t);return e.request=YD.request,e}i(EIe,"httpOverHttp");function CIe(t){var e=new zi(t);return e.request=YD.request,e.createSocket=Q9,e.defaultPort=443,e}i(CIe,"httpsOverHttp");function yIe(t){var e=new zi(t);return e.request=L9.request,e}i(yIe,"httpOverHttps");function BIe(t){var e=new zi(t);return e.request=L9.request,e.createSocket=Q9,e.defaultPort=443,e}i(BIe,"httpsOverHttps");function zi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||YD.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",i(function(n,o,s,a){for(var c=_9(o,s,a),u=0,p=e.requests.length;u
=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",u),c.on("close",p),c.on("agentRemove",p),e.onSocket(c);function u(){s.emit("free",c,a)}i(u,"onFree");function p(A){s.removeSocket(c),c.removeListener("free",u),c.removeListener("close",p),c.removeListener("agentRemove",p)}i(p,"onCloseOrRemove")})},"addRequest");zi.prototype.createSocket=i(function(e,r){var n=this,o={};n.sockets.push(o);var s=JD({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Na("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",u),a.once("connect",p),a.once("error",A),a.end();function c(l){l.upgrade=!0}i(c,"onResponse");function u(l,b,f){process.nextTick(function(){p(l,b,f)})}i(u,"onUpgrade");function p(l,b,f){if(a.removeAllListeners(),b.removeAllListeners(),l.statusCode!==200){Na("tunneling socket could not be established, statusCode=%d",l.statusCode),b.destroy();var z=new Error("tunneling socket could not be established, statusCode="+l.statusCode);z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}if(f.length>0){Na("got illegal response body from proxy"),b.destroy();var z=new Error("got illegal response body from proxy");z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}return Na("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=b,r(b)}i(p,"onConnect");function A(l){a.removeAllListeners(),Na(`tunneling socket could not be established, cause=%s
-`,l.message,l.stack);var b=new Error("tunneling socket could not be established, cause="+l.message);b.code="ECONNRESET",e.request.emit("error",b),n.removeSocket(o)}i(A,"onError")},"createSocket");zi.prototype.removeSocket=i(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(o){n.request.onSocket(o)})}},"removeSocket");function Q9(t,e){var r=this;zi.prototype.createSocket.call(r,t,function(n){var o=t.request.getHeader("host"),s=JD({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):t.host}),a=zIe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}i(Q9,"createSecureSocket");function _9(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}i(_9,"toOptions");function JD(t){for(var e=1,r=arguments.length;e =this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",u),c.on("close",p),c.on("agentRemove",p),e.onSocket(c);function u(){s.emit("free",c,a)}i(u,"onFree");function p(A){s.removeSocket(c),c.removeListener("free",u),c.removeListener("close",p),c.removeListener("agentRemove",p)}i(p,"onCloseOrRemove")})},"addRequest");gi.prototype.createSocket=i(function(e,r){var n=this,o={};n.sockets.push(o);var s=rI({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),wa("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",u),a.once("connect",p),a.once("error",A),a.end();function c(l){l.upgrade=!0}i(c,"onResponse");function u(l,b,M){process.nextTick(function(){p(l,b,M)})}i(u,"onUpgrade");function p(l,b,M){if(a.removeAllListeners(),b.removeAllListeners(),l.statusCode!==200){wa("tunneling socket could not be established, statusCode=%d",l.statusCode),b.destroy();var z=new Error("tunneling socket could not be established, statusCode="+l.statusCode);z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}if(M.length>0){wa("got illegal response body from proxy"),b.destroy();var z=new Error("got illegal response body from proxy");z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}return wa("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=b,r(b)}i(p,"onConnect");function A(l){a.removeAllListeners(),wa(`tunneling socket could not be established, cause=%s
+`,l.message,l.stack);var b=new Error("tunneling socket could not be established, cause="+l.message);b.code="ECONNRESET",e.request.emit("error",b),n.removeSocket(o)}i(A,"onError")},"createSocket");gi.prototype.removeSocket=i(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(o){n.request.onSocket(o)})}},"removeSocket");function J9(t,e){var r=this;gi.prototype.createSocket.call(r,t,function(n){var o=t.request.getHeader("host"),s=rI({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):t.host}),a=SIe.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}i(J9,"createSecureSocket");function Y9(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}i(Y9,"toOptions");function rI(t){for(var e=1,r=arguments.length;e{"use strict";var Vd=require("node:assert"),{kDestroyed:gU,kBodyUsed:AA,kListeners:OI,kBody:OU}=k0(),{IncomingMessage:DIe}=require("node:http"),zz=require("node:stream"),IIe=require("node:net"),{Blob:RIe}=require("node:buffer"),NIe=require("node:util"),{stringify:wIe}=require("node:querystring"),{EventEmitter:SIe}=require("node:events"),{InvalidArgumentError:Y1}=i0(),{headerNameLowerCasedRecord:FIe}=Mz(),{tree:EU}=zU(),[WIe,xIe]=process.versions.node.split(".").map(t=>Number(t)),hz=class{static{i(this,"BodyAsyncIterable")}constructor(e){this[OU]=e,this[AA]=!1}async*[Symbol.asyncIterator](){Vd(!this[AA],"disturbed"),this[AA]=!0,yield*this[OU]}};function TIe(t){return Oz(t)?(DU(t)===0&&t.on("data",function(){Vd(!1)}),typeof t.readableDidRead!="boolean"&&(t[AA]=!1,SIe.prototype.on.call(t,"data",function(){this[AA]=!0})),t):t&&typeof t.pipeTo=="function"?new hz(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&qU(t)?new hz(t):t}i(TIe,"wrapRequestBody");function vIe(){}i(vIe,"nop");function Oz(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}i(Oz,"isStream");function CU(t){if(t===null)return!1;if(t instanceof RIe)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}i(CU,"isBlobLike");function LIe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=wIe(e);return r&&(t+="?"+r),t}i(LIe,"buildURL");function yU(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}i(yU,"isValidPort");function mz(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}i(mz,"isHttpOrHttpsPrefixed");function BU(t){if(typeof t=="string"){if(t=new URL(t),!mz(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Y1("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&yU(t.port)===!1)throw new Y1("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Y1("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Y1("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Y1("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Y1("Invalid URL origin: the origin must be a string or null/undefined.");if(!mz(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!mz(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}i(BU,"parseURL");function QIe(t){if(t=BU(t),t.pathname!=="/"||t.search||t.hash)throw new Y1("invalid url");return t}i(QIe,"parseOrigin");function _Ie(t){if(t[0]==="["){let r=t.indexOf("]");return Vd(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}i(_Ie,"getHostname");function PIe(t){if(!t)return null;Vd(typeof t=="string");let e=_Ie(t);return IIe.isIP(e)?"":e}i(PIe,"getServerName");function kIe(t){return JSON.parse(JSON.stringify(t))}i(kIe,"deepClone");function UIe(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}i(UIe,"isAsyncIterable");function qU(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}i(qU,"isIterable");function DU(t){if(t==null)return 0;if(Oz(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(CU(t))return t.size!=null?t.size:null;if(NU(t))return t.byteLength}return null}i(DU,"bodyLength");function IU(t){return t&&!!(t.destroyed||t[gU]||zz.isDestroyed?.(t))}i(IU,"isDestroyed");function GIe(t,e){t==null||!Oz(t)||IU(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===DIe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[gU]=!0))}i(GIe,"destroy");var HIe=/timeout=(\d+)/;function XIe(t){let e=t.toString().match(HIe);return e?parseInt(e[1],10)*1e3:null}i(XIe,"parseKeepAliveTimeout");function RU(t){return typeof t=="string"?FIe[t]??t.toLowerCase():EU.lookup(t)??t.toString("latin1").toLowerCase()}i(RU,"headerNameToString");function VIe(t){return EU.lookup(t)??t.toString("latin1").toLowerCase()}i(VIe,"bufferToLowerCasedHeaderName");function YIe(t,e){e===void 0&&(e={});for(let r=0;ro)throw _.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${o}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),o),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=_.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};_.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};_.util.Stringify=function(t){switch(_.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return ORe(t);case"String":return`"${t}"`;default:return`${t}`}};_.sequenceConverter=function(t){return(e,r,n,o)=>{if(_.util.Type(e)!=="Object")throw _.errors.exception({header:r,message:`${n} (${_.util.Stringify(e)}) is not iterable.`});let s=typeof o=="function"?o():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw _.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:u,value:p}=s.next();if(u)break;a.push(t(p,r,`${n}[${c++}]`))}return a}};_.recordConverter=function(t,e){return(r,n,o)=>{if(_.util.Type(r)!=="Object")throw _.errors.exception({header:n,message:`${o} ("${_.util.Type(r)}") is not an Object.`});let s={};if(!ko.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let u of c){let p=t(u,n,o),A=e(r[u],n,o);s[p]=A}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let p=t(c,n,o),A=e(r[c],n,o);s[p]=A}return s}};_.interfaceConverter=function(t){return(e,r,n,o)=>{if(o?.strict!==!1&&!(e instanceof t))throw _.errors.exception({header:r,message:`Expected ${n} ("${_.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};_.dictionaryConverter=function(t){return(e,r,n)=>{let o=_.util.Type(e),s={};if(o==="Null"||o==="Undefined")return s;if(o!=="Object")throw _.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:u,required:p,converter:A}=a;if(p===!0&&!Object.hasOwn(e,c))throw _.errors.exception({header:r,message:`Missing required key "${c}".`});let l=e[c],b=Object.hasOwn(a,"defaultValue");if(b&&l!==null&&(l??=u()),p||b||l!==void 0){if(l=A(l,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(l))throw _.errors.exception({header:r,message:`${l} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=l}}return s}};_.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};_.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw _.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};_.converters.ByteString=function(t,e,r){let n=_.converters.DOMString(t,e,r);for(let o=0;o{"use strict";var jd=require("node:assert"),{kDestroyed:NU,kBodyUsed:dA,kListeners:DI,kBody:RU}=G0(),{IncomingMessage:QIe}=require("node:http"),yz=require("node:stream"),PIe=require("node:net"),{Blob:kIe}=require("node:buffer"),UIe=require("node:util"),{stringify:GIe}=require("node:querystring"),{EventEmitter:HIe}=require("node:events"),{InvalidArgumentError:Y1}=p0(),{headerNameLowerCasedRecord:XIe}=gz(),{tree:wU}=IU(),[VIe,JIe]=process.versions.node.split(".").map(t=>Number(t)),Cz=class{static{i(this,"BodyAsyncIterable")}constructor(e){this[RU]=e,this[dA]=!1}async*[Symbol.asyncIterator](){jd(!this[dA],"disturbed"),this[dA]=!0,yield*this[RU]}};function YIe(t){return Bz(t)?(TU(t)===0&&t.on("data",function(){jd(!1)}),typeof t.readableDidRead!="boolean"&&(t[dA]=!1,HIe.prototype.on.call(t,"data",function(){this[dA]=!0})),t):t&&typeof t.pipeTo=="function"?new Cz(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&xU(t)?new Cz(t):t}i(YIe,"wrapRequestBody");function $Ie(){}i($Ie,"nop");function Bz(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}i(Bz,"isStream");function SU(t){if(t===null)return!1;if(t instanceof kIe)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}i(SU,"isBlobLike");function jIe(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=GIe(e);return r&&(t+="?"+r),t}i(jIe,"buildURL");function FU(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}i(FU,"isValidPort");function Ez(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}i(Ez,"isHttpOrHttpsPrefixed");function WU(t){if(typeof t=="string"){if(t=new URL(t),!Ez(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Y1("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&FU(t.port)===!1)throw new Y1("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Y1("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Y1("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Y1("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Y1("Invalid URL origin: the origin must be a string or null/undefined.");if(!Ez(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!Ez(t.origin||t.protocol))throw new Y1("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}i(WU,"parseURL");function KIe(t){if(t=WU(t),t.pathname!=="/"||t.search||t.hash)throw new Y1("invalid url");return t}i(KIe,"parseOrigin");function ZIe(t){if(t[0]==="["){let r=t.indexOf("]");return jd(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}i(ZIe,"getHostname");function e5e(t){if(!t)return null;jd(typeof t=="string");let e=ZIe(t);return PIe.isIP(e)?"":e}i(e5e,"getServerName");function t5e(t){return JSON.parse(JSON.stringify(t))}i(t5e,"deepClone");function r5e(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}i(r5e,"isAsyncIterable");function xU(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}i(xU,"isIterable");function TU(t){if(t==null)return 0;if(Bz(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(SU(t))return t.size!=null?t.size:null;if(_U(t))return t.byteLength}return null}i(TU,"bodyLength");function vU(t){return t&&!!(t.destroyed||t[NU]||yz.isDestroyed?.(t))}i(vU,"isDestroyed");function n5e(t,e){t==null||!Bz(t)||vU(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===QIe&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[NU]=!0))}i(n5e,"destroy");var o5e=/timeout=(\d+)/;function s5e(t){let e=t.toString().match(o5e);return e?parseInt(e[1],10)*1e3:null}i(s5e,"parseKeepAliveTimeout");function LU(t){return typeof t=="string"?XIe[t]??t.toLowerCase():wU.lookup(t)??t.toString("latin1").toLowerCase()}i(LU,"headerNameToString");function i5e(t){return wU.lookup(t)??t.toString("latin1").toLowerCase()}i(i5e,"bufferToLowerCasedHeaderName");function a5e(t,e){e===void 0&&(e={});for(let r=0;ro)throw P.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${o}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),o),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=P.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};P.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};P.util.Stringify=function(t){switch(P.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return FRe(t);case"String":return`"${t}"`;default:return`${t}`}};P.sequenceConverter=function(t){return(e,r,n,o)=>{if(P.util.Type(e)!=="Object")throw P.errors.exception({header:r,message:`${n} (${P.util.Stringify(e)}) is not iterable.`});let s=typeof o=="function"?o():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw P.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:u,value:p}=s.next();if(u)break;a.push(t(p,r,`${n}[${c++}]`))}return a}};P.recordConverter=function(t,e){return(r,n,o)=>{if(P.util.Type(r)!=="Object")throw P.errors.exception({header:n,message:`${o} ("${P.util.Type(r)}") is not an Object.`});let s={};if(!Uo.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let u of c){let p=t(u,n,o),A=e(r[u],n,o);s[p]=A}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let p=t(c,n,o),A=e(r[c],n,o);s[p]=A}return s}};P.interfaceConverter=function(t){return(e,r,n,o)=>{if(o?.strict!==!1&&!(e instanceof t))throw P.errors.exception({header:r,message:`Expected ${n} ("${P.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};P.dictionaryConverter=function(t){return(e,r,n)=>{let o=P.util.Type(e),s={};if(o==="Null"||o==="Undefined")return s;if(o!=="Object")throw P.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:u,required:p,converter:A}=a;if(p===!0&&!Object.hasOwn(e,c))throw P.errors.exception({header:r,message:`Missing required key "${c}".`});let l=e[c],b=Object.hasOwn(a,"defaultValue");if(b&&l!==null&&(l??=u()),p||b||l!==void 0){if(l=A(l,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(l))throw P.errors.exception({header:r,message:`${l} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=l}}return s}};P.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};P.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw P.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};P.converters.ByteString=function(t,e,r){let n=P.converters.DOMString(t,e,r);for(let o=0;o=0?u:p;n.length&&(c=[s,a])}return c}i(iee,"range")});var fee=m((zw0,Mee)=>{var dke=nee(),uee=cee();Mee.exports=fke;var pee="\0SLASH"+Math.random()+"\0",Aee="\0OPEN"+Math.random()+"\0",gw="\0CLOSE"+Math.random()+"\0",lee="\0COMMA"+Math.random()+"\0",dee="\0PERIOD"+Math.random()+"\0";function Ow(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}i(Ow,"numeric");function bke(t){return t.split("\\\\").join(pee).split("\\{").join(Aee).split("\\}").join(gw).split("\\,").join(lee).split("\\.").join(dee)}i(bke,"escapeBraces");function Mke(t){return t.split(pee).join("\\").split(Aee).join("{").split(gw).join("}").split(lee).join(",").split(dee).join(".")}i(Mke,"unescapeBraces");function bee(t){if(!t)return[""];var e=[],r=uee("{","}",t);if(!r)return t.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";var c=bee(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}i(bee,"parseCommaParts");function fke(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),dl(bke(t),r,!0).map(Mke)}i(fke,"expandTop");function mke(t){return"{"+t+"}"}i(mke,"embrace");function hke(t){return/^-?0\d/.test(t)}i(hke,"isPadded");function zke(t,e){return t<=e}i(zke,"lte");function Oke(t,e){return t>=e}i(Oke,"gte");function dl(t,e,r){var n=[],o=uee("{","}",t);if(!o||/\$$/.test(o.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),c=s||a,u=o.body.indexOf(",")>=0;if(!c&&!u)return o.post.match(/,(?!,).*\}/)?(t=o.pre+"{"+o.body+gw+o.post,dl(t,e,!0)):[t];var p;if(c)p=o.body.split(/\.\./);else if(p=bee(o.body),p.length===1&&(p=dl(p[0],e,!1).map(mke),p.length===1)){var l=o.post.length?dl(o.post,e,!1):[""];return l.map(function(ge){return o.pre+p[0]+ge})}var A=o.pre,l=o.post.length?dl(o.post,e,!1):[""],b;if(c){var f=Ow(p[0]),z=Ow(p[1]),g=Math.max(p[0].length,p[1].length),y=p.length==3?Math.max(Math.abs(Ow(p[2])),1):1,E=zke,B=z"u"?this.pattern:t,wg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:gke(t)}i(Oee,"braceExpand");var Ike=1024*64,wg=i(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Ike)throw new TypeError("pattern is too long")},"assertValidPattern");ct.prototype.parse=Rke;var Ng={};function Rke(t,e){wg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return yw;if(t==="")return"";var n="",o=!!r.nocase,s=!1,a=[],c=[],u,p=!1,A=-1,l=-1,b=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function z(){if(u){switch(u){case"*":n+=Cw,o=!0;break;case"?":n+=Ew,o=!0;break;default:n+="\\"+u;break}f.debug("clearStateChar %j %j",u,n),u=!1}}i(z,"clearStateChar");for(var g=0,y=t.length,E;g=0?u:p;n.length&&(c=[s,a])}return c}i(fee,"range")});var Bee=m((xw0,yee)=>{var qke=lee(),hee=mee();yee.exports=Rke;var zee="\0SLASH"+Math.random()+"\0",gee="\0OPEN"+Math.random()+"\0",Iw="\0CLOSE"+Math.random()+"\0",Oee="\0COMMA"+Math.random()+"\0",Eee="\0PERIOD"+Math.random()+"\0";function Dw(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}i(Dw,"numeric");function Dke(t){return t.split("\\\\").join(zee).split("\\{").join(gee).split("\\}").join(Iw).split("\\,").join(Oee).split("\\.").join(Eee)}i(Dke,"escapeBraces");function Ike(t){return t.split(zee).join("\\").split(gee).join("{").split(Iw).join("}").split(Oee).join(",").split(Eee).join(".")}i(Ike,"unescapeBraces");function Cee(t){if(!t)return[""];var e=[],r=hee("{","}",t);if(!r)return t.split(",");var n=r.pre,o=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+o+"}";var c=Cee(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}i(Cee,"parseCommaParts");function Rke(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),fl(Dke(t),r,!0).map(Ike)}i(Rke,"expandTop");function Nke(t){return"{"+t+"}"}i(Nke,"embrace");function wke(t){return/^-?0\d/.test(t)}i(wke,"isPadded");function Ske(t,e){return t<=e}i(Ske,"lte");function Fke(t,e){return t>=e}i(Fke,"gte");function fl(t,e,r){var n=[],o=hee("{","}",t);if(!o||/\$$/.test(o.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),c=s||a,u=o.body.indexOf(",")>=0;if(!c&&!u)return o.post.match(/,(?!,).*\}/)?(t=o.pre+"{"+o.body+Iw+o.post,fl(t,e,!0)):[t];var p;if(c)p=o.body.split(/\.\./);else if(p=Cee(o.body),p.length===1&&(p=fl(p[0],e,!1).map(Nke),p.length===1)){var l=o.post.length?fl(o.post,e,!1):[""];return l.map(function(ze){return o.pre+p[0]+ze})}var A=o.pre,l=o.post.length?fl(o.post,e,!1):[""],b;if(c){var M=Dw(p[0]),z=Dw(p[1]),O=Math.max(p[0].length,p[1].length),y=p.length==3?Math.max(Math.abs(Dw(p[2])),1):1,E=Ske,B=z"u"?this.pattern:t,TO(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Wke(t)}i(Ree,"braceExpand");var Pke=1024*64,TO=i(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Pke)throw new TypeError("pattern is too long")},"assertValidPattern");ut.prototype.parse=kke;var xO={};function kke(t,e){TO(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return ww;if(t==="")return"";var n="",o=!!r.nocase,s=!1,a=[],c=[],u,p=!1,A=-1,l=-1,b=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",M=this;function z(){if(u){switch(u){case"*":n+=Nw,o=!0;break;case"?":n+=Rw,o=!0;break;default:n+="\\"+u;break}M.debug("clearStateChar %j %j",u,n),u=!1}}i(z,"clearStateChar");for(var O=0,y=t.length,E;O